/* CSS MODERNIZED - SHINY BLACK & GOLD */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --shiny-black: #050505;
    --dark-grey: #1a1a1a;
    --gold: #FFD700;
    --gold-bright: #FFB700;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* LOADING SCREEN */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shiny-black);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-logo {
    width: 100px;
    margin-bottom: 20px;
    animation: pulseLogo 2s infinite ease-in-out;
}

.loader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.loader-progress {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 15px var(--gold)); }
}

#loader-wrapper.fade-out {
    opacity: 0;
    visibility: hidden;
}

.gold-text {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.navbar {
    padding: 0.8rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.logo:hover img {
    transform: scale(1.1) rotate(3deg);
}

.logo-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: 0.4s;
}

/* HERO SECTION */
.hero {
    background: radial-gradient(circle at center, #1a1a1a 0%, #050505 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shineText 5s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* BUTTONS */
.cta-button {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.gold-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--shiny-black);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.gold-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: 0.7s;
    z-index: -1;
}

.gold-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.6);
}

.gold-button:hover::before {
    left: 100%;
}

.outline-button {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 2px solid var(--gold);
    backdrop-filter: blur(10px);
}

.outline-button:hover {
    background: var(--gold);
    color: var(--shiny-black);
    transform: translateY(-8px) scale(1.05);
}

/* PAGE HERO (For Subpages) */
.page-hero {
    background: linear-gradient(135deg, var(--shiny-black) 0%, var(--dark-grey) 100%);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* CONTENT SECTIONS */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.modern-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.modern-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.modern-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

/* STATS */
.stats-section {
    background: var(--shiny-black);
    color: #fff;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

/* FOOTER */
.footer {
    background: var(--shiny-black);
    color: #fff;
    padding: 80px 0 30px;
    border-top: 2px solid var(--gold);
}

/* FLOATING */
.whatsapp-float, .phone-float, .back-to-top {
    position: fixed;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float { bottom: 110px; }
.phone-float { bottom: 190px; }
.back-to-top { 
    bottom: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.4s;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.whatsapp-link { background: #25D366; }
.phone-link { background: #007bff; }
.top-link { background: var(--gold); color: var(--shiny-black); }

.float-link:hover {
    transform: scale(1.1) translateY(-5px);
}

/* RIPPLE */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to { transform: scale(4); opacity: 0; }
}

/* MODERN FORM STYLES */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modern-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 20px;
    color: var(--gold);
    font-size: 1.1rem;
    transition: var(--transition);
    opacity: 0.7;
    z-index: 2;
}

.textarea-icon {
    top: 20px;
}

.modern-form input, 
.modern-form select, 
.modern-form textarea {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: #fcfcfc;
    border: 2px solid #eee;
    border-radius: 15px;
    font-size: 1rem;
    color: #333;
    transition: var(--transition);
    outline: none;
    font-family: inherit;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.modern-form select {
    appearance: none;
    cursor: pointer;
}

.modern-form .input-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    color: var(--gold);
    pointer-events: none;
    display: none;
}

.modern-form .input-wrapper:has(select)::after {
    display: block;
}

.modern-form textarea {
    resize: none;
    min-height: 120px;
}

.modern-form input:focus, 
.modern-form select:focus, 
.modern-form textarea:focus {
    border-color: var(--gold);
    background: #fff;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
}

.modern-form input:focus + .floating-label,
.modern-form input:not(:placeholder-shown) + .floating-label,
.modern-form textarea:focus + .floating-label,
.modern-form textarea:not(:placeholder-shown) + .floating-label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--gold);
    background: #fff;
    padding: 0 8px;
    opacity: 1;
}

.floating-label {
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: var(--transition);
    font-size: 0.9rem;
    opacity: 0; /* Hide default placeholder-like label since we have real placeholders */
}

/* Adjust for textarea */
.modern-form textarea + .floating-label {
    top: 25px;
    transform: none;
}

.submit-btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px !important;
    font-size: 1.1rem !important;
}

.submit-btn i {
    font-size: 1.4rem;
}

/* Dark mode tweaks for contact details container */
.contact-details > div {
    background: linear-gradient(135deg, var(--shiny-black) 0%, var(--dark-grey) 100%) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4) !important;
}

/* MOBILE FORM FIXES */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--shiny-black);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
    }
    .nav-menu.active { right: 0; }
    .hamburger { display: flex; }
    .hero-title { font-size: 2.5rem; }
}