:root {
    --primary-gold: #c5a059;
    --dark-gold: #a67c00;
    --off-white: #fafafa;
    --luxury-black: #0a0a0a;
    --charcoal: #1a1a1a;
    --soft-gray: #f4f4f4;
    --text-muted: #888;
    --serif-font: 'Cormorant Garamond', serif;
    --sans-font: 'Outfit', sans-serif;
    --gold-grad: linear-gradient(135deg, #c5a059 0%, #ecd6ad 50%, #c5a059 100%);
    --shadow-lux: 0 30px 60px rgba(0,0,0,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--off-white);
    color: var(--charcoal);
    font-family: var(--sans-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* --- Scroll Bar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary-gold); border-radius: 10px; }

/* --- Restoration Header Navigation --- */
#main-header {
    position: absolute;
    top: 0; 
    width: 100%;
    z-index: 1000;
    padding: 30px 5%;
}

#main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
}

.nav-links:last-child {
    justify-content: flex-end;
}

.nav-logo-centered {
    flex: 0 0 auto;
    text-align: center;
    position: relative;
}

.nav-logo-centered img {
    height: 55px;
    margin-bottom: -15px; /* Aesthetic overlap */
    transition: 0.3s;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    text-transform: uppercase;
    transition: 0.3s;
}

.register-pill {
    background: white;
    color: black !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-decoration: none;
    transition: 0.3s;
}

.register-pill:hover { background: var(--primary-gold); color: white !important; }

/* --- Corrected Split Hero Overhaul --- */
.hero-split-overhaul {
    height: 100vh;
    display: flex;
    position: relative;
    background: #000;
}

.hero-brand {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease, filter 1s ease;
    filter: brightness(0.6);
}

.hero-brand:hover .brand-bg-img {
    transform: scale(1.1);
    filter: brightness(0.85);
}

.brand-footer-text {
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
    color: white;
    z-index: 10;
    transition: 0.5s ease;
}

.brand-footer-text h3 {
    font-family: var(--serif-font);
    font-size: 3rem;
    letter-spacing: 12px;
    margin-bottom: 10px;
}

.btn-minimal {
    font-size: 0.75rem;
    letter-spacing: 5px;
    border-bottom: 1px solid rgba(255,255,255,0);
    padding-bottom: 5px;
}

.hero-brand:hover .btn-minimal {
    border-bottom: 1px solid white;
}

.hero-scroll-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 60;
}

.hero-scroll-btn i { color: var(--primary-gold); font-size: 1.5rem; animation: bounce 2s infinite; }

/* --- Features Section (Elegance) --- */
.about-luxury {
    padding: 150px 10%;
    background: white;
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    box-shadow: 30px 30px 0 var(--soft-gray);
}

.about-info {
    flex: 1;
}

.about-info span {
    color: var(--primary-gold);
    letter-spacing: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.about-info h2 {
    font-family: var(--serif-font);
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.about-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-luxury {
    display: inline-block;
    padding: 15px 45px;
    background: var(--primary-gold);
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-luxury:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4); }

/* --- Brands Section --- */
.brand-grid-section {
    padding: 100px 5%;
    background: var(--off-white);
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h3 {
    font-family: var(--serif-font);
    font-size: 3rem;
    letter-spacing: 3px;
}

.brand-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.brand-card {
    height: 600px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 40px; /* Elegant, pronounced roundness */
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.brand-card:hover img { transform: scale(1.05); }

.brand-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.brand-overlay h4 {
    font-family: var(--serif-font);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- Footer --- */
footer {
    background: var(--charcoal);
    padding: 100px 10% 50px;
    color: white;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
}

.footer-col h5 {
    font-family: var(--serif-font);
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.footer-col p { color: #aaa; font-size: 0.9rem; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a { color: #888; text-decoration: none; transition: 0.3s; font-size: 0.85rem; }
.footer-col ul li a:hover { color: white; padding-left: 5px; }

.wa-link-footer {
    color: #25D366;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.wa-link-footer span { font-size: 0.9rem; color: #aaa; transition: 0.3s; }
.wa-link-footer:hover span { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    font-size: 0.75rem;
    color: #666;
}

/* --- Form Modal --- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(10px); /* Modern blur effect */
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-inner {
    background: white;
    width: 100%;
    max-width: 800px; /* Reduced from 900px */
    display: flex;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
    border-radius: 20px; /* Softer, more modern look */
}


.modal-visual {
    flex: 1;
    background: url('../images/banner1.png') no-repeat center center;
    background-size: cover;
}

.modal-form-wrap {
    flex: 1.2;
    padding: 45px 50px; /* Reduced from 60px */
}

.modal-form-wrap h2 {
    font-family: var(--serif-font);
    font-size: 2.2rem; /* Reduced from 2.5rem */
    margin-bottom: 8px;
    letter-spacing: 2px;
}


.form-group { margin-bottom: 20px; } /* Reduced spacing */
.form-group label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; font-weight: 700; color: #333; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #eee;
    background: transparent;
    font-family: var(--sans-font);
    outline: none;
}

.form-group input:focus { border-color: var(--primary-gold); }

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--charcoal);
    color: white;
    border: none;
    font-weight: 700;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover { background: var(--primary-gold); }

.close-modal {
    position: absolute;
    top: 30px; right: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}


/* --- Brand Focus Sections (New Forms) --- */
.brand-focus-section {
    display: flex;
    min-height: 80vh;
    background: white;
    overflow: hidden;
}

.brand-focus-section.section-reverse {
    flex-direction: row-reverse;
}

.brand-focus-img {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.brand-focus-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s ease;
}

.brand-focus-section:hover .brand-focus-img img {
    transform: scale(1.05);
}

.brand-focus-content {
    flex: 1;
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-left: 1px solid #eee;
}

.section-reverse .brand-focus-content {
    border-left: none;
    border-right: 1px solid #eee;
}

.brand-focus-content h2 {
    font-family: var(--serif-font);
    font-size: 3.5rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
    color: var(--charcoal);
}

.direct-form .form-group {
    margin-bottom: 30px;
}

.direct-form .form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: 2px;
}

.direct-form .form-group input {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 2px solid #eee;
}

.direct-form .form-group input:focus {
    border-color: var(--primary-gold);
}

.gold-btn {
    background: var(--primary-gold);
    color: white;
    margin-top: 20px;
}

.gold-btn:hover {
    background: var(--dark-gold);
}

/* Success Message Overlay style in sections */
.success-overlay {
    text-align: center;
    padding: 40px 0;
}

/* --- Elegant Offer Section Redesign --- */
.offer-section {
    padding: 150px 10%;
    background: radial-gradient(circle at top, #fff, #f8f8f8);
    text-align: center;
    border-top: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: "";
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05), transparent 70%);
    z-index: 0;
}

.offer-header { margin-bottom: 80px; }
.offer-header span { color: var(--primary-gold); letter-spacing: 5px; font-size: 0.8rem; font-weight: 700; display: block; margin-bottom: 20px; text-transform: uppercase; }
.offer-header h2 { font-family: var(--serif-font); font-size: 4rem; color: var(--charcoal); font-weight: 400; line-height: 1.1; }

.offer-tabs {
    display: inline-flex;
    background: #f4f4f4;
    padding: 8px;
    border-radius: 60px;
    gap: 8px;
    margin-bottom: 80px;
    box-shadow: inset 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.tab-btn {
    padding: 22px 60px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tab-btn p { 
    font-size: 0.6rem; 
    color: #888; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    margin-bottom: 6px; 
    font-weight: 700;
}

.tab-btn h4 { 
    font-size: 1.15rem; 
    color: var(--charcoal); 
    letter-spacing: 2px; 
    font-family: var(--sans-font); 
    font-weight: 700; 
    transition: color 0.4s;
}

.tab-btn.active {
    background: white;
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.15), 0 5px 15px rgba(0,0,0,0.05);
}

.tab-btn.active h4 { 
    color: var(--primary-gold); 
    text-shadow: 0 0 1px rgba(197, 160, 89, 0.3);
}

.tab-btn:not(.active):hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.5);
}


.offer-content-wrap {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    border-radius: 30px;
    overflow: hidden;
}

.brand-offer-pane {
    display: none;
    animation: luxuriousFade 0.8s ease forwards;
    grid-template-columns: 1.2fr 1fr;
    align-items: center; /* Better alignment with text */
}

.brand-offer-pane.active { display: grid; }

.offer-details { 
    padding: 80px 80px 80px 100px; 
    text-align: left; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-details h3 { font-family: var(--serif-font); font-size: 2.8rem; margin-bottom: 30px; line-height: 1.2; color: #1a1a1a; font-weight: 400; }
.offer-details ul { list-style: none; margin-bottom: 45px; }
.offer-details ul li { margin-bottom: 20px; font-size: 1.05rem; color: #555; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid #f4f4f4; padding-bottom: 15px; }
.offer-details ul li i { color: var(--primary-gold); font-size: 0.9rem; }

.offer-visual {
    position: relative;
    overflow: hidden;
    border-radius: 40px;
    margin: 40px 60px 40px 0; /* Adjusted margins */
    max-height: 500px; /* Prevent tall banners */
}

.offer-visual img { width: 100%; height: 100%; object-fit: cover; transition: 1.5s ease; }

.brand-offer-pane:hover .offer-visual img { transform: scale(1.05); }

@keyframes luxuriousFade {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}


/* --- Comprehensive Responsiveness --- */

/* Tablets (Max 1100px) */
@media (max-width: 1100px) {
    .about-luxury { padding: 100px 5%; gap: 50px; }
    .about-info h2 { font-size: 2.8rem; }
    .offer-section { padding: 100px 5%; }
    .brand-offer-pane { grid-template-columns: 1fr; }
    .offer-visual { height: 400px; order: -1; margin: 20px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Phones & Smaller Tablets (Max 768px) */
@media (max-width: 768px) {
    /* Header */
    #main-header { padding: 20px 5%; background: var(--luxury-black); position: fixed; }
    .nav-links { display: none; } /* Simplified mobile header */
    .nav-logo-centered img { height: 40px; }
    
    /* Hero */
    .hero-split-overhaul { flex-direction: column; height: auto; }
    .hero-brand { height: 50vh; width: 100%; border-bottom: 2px solid var(--charcoal); }
    .brand-footer-text h3 { font-size: 2rem; letter-spacing: 5px; }
    
    /* About */
    .about-luxury { flex-direction: column; text-align: center; }
    .about-img { order: -1; }
    .about-img img { box-shadow: 15px 15px 0 var(--soft-gray); }
    .about-info h2 { font-size: 2.2rem; }
    
    /* Brands Grid */
    .brand-wrapper { grid-template-columns: 1fr; }
    .brand-card { height: 450px; border-radius: 20px; }
    .brand-overlay h4 { font-size: 1.8rem; }
    
    /* Offers */
    .offer-header h2 { font-size: 2.5rem; }
    .offer-tabs { display: flex; flex-direction: column; width: 100%; }
    .tab-btn { width: 100%; padding: 15px; }
    .offer-details { padding: 40px 20px; text-align: center; }
    .offer-details ul li { font-size: 0.95rem; justify-content: center; }
    .offer-details h3 { font-size: 2rem; }
    
    /* Brand Focus / Forms */
    .brand-focus-section, .brand-focus-section.section-reverse { flex-direction: column; }
    .brand-focus-img { height: 350px; }
    .brand-focus-content { padding: 40px 5%; text-align: center; }
    .brand-focus-content h2 { font-size: 2.2rem; }
    
    /* Footer */
    .footer-main { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .wa-link-footer { justify-content: center; }
    .footer-col ul li a:hover { padding-left: 0; color: var(--primary-gold); }
    .footer-bottom { flex-direction: column; gap: 20px; align-items: center; }
    .legal { justify-content: center; }
    
    /* Modal */
    .modal-inner { flex-direction: column; max-height: 90vh; overflow-y: auto; }
    .modal-visual { display: none; }
    .modal-form-wrap { padding: 30px; }
    .modal-form-wrap h2 { font-size: 1.8rem; }
}

/* Small Phones (Max 480px) */
@media (max-width: 480px) {
    .hero-brand { height: 40vh; }
    .brand-footer-text h3 { font-size: 1.5rem; }
    .about-info h2 { font-size: 1.8rem; }
    .offer-header h2 { font-size: 2rem; }
}

/* --- Institutional GRC Section (Elegant Redesign) --- */
.grc-dedicated {
    padding: 150px 10%;
    background: #fff; /* Match general theme */
    color: var(--charcoal);
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.grc-head { margin-bottom: 80px; }
.grc-head span { color: var(--primary-gold); font-size: 0.9rem; letter-spacing: 6px; font-weight: 700; display: block; margin-bottom: 20px; }
.grc-head h2 { font-family: var(--serif-font); font-size: 4rem; color: var(--charcoal); line-height: 1.1; }

.grc-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    padding: 60px 40px;
    background: #fafafa;
    border: 1px solid #eee;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 20px;
}

.pillar-card:hover {
    background: #fff;
    border-color: var(--primary-gold);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(197, 160, 89, 0.1);
}

.pillar-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 30px;
}

.pillar-card h4 {
    font-family: var(--serif-font);
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    color: var(--charcoal);
}

.pillar-card p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .grc-pillars { grid-template-columns: 1fr; }
    .grc-head h2 { font-size: 2.5rem; }
}

/* --- WhatsApp CTA Section --- */
.whatsapp-cta-section {
    padding: 120px 10%;
    background: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.cta-content { max-width: 850px; margin: 0 auto; }
.cta-subtitle { color: var(--primary-gold); letter-spacing: 5px; font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 25px; }

.cta-title { font-family: var(--serif-font); font-size: 4.2rem; line-height: 1.1; color: var(--charcoal); margin-bottom: 35px; font-weight: 400; }

.cta-desc { color: #888; font-size: 1.15rem; line-height: 1.8; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }

.cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #25D366;
    color: white;
    padding: 22px 55px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.95rem;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.25);
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.cta-whatsapp-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(37, 211, 102, 0.35);
    background: #20BA56;
}

.cta-whatsapp-btn i { font-size: 1.3rem; }

@media (max-width: 768px) {
    .whatsapp-cta-section { padding: 80px 5%; }
    .cta-title { font-size: 2.8rem; }
    .cta-whatsapp-btn { padding: 18px 35px; letter-spacing: 1px; font-size: 0.8rem; }
}

/* --- WhatsApp Sticky --- */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 3000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-sticky:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }
}
