/* --- 1. LUXURY RESET & THEME --- */
@import url('variables.css');

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

img {
    max-width: 100%;
    height: auto;
}

body {
    font-family: var(--font-secondary);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.8;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--black);
    line-height: 1.1;
}

/* --- 2. TYPOGRAPHY & LAYOUT UTILITIES --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding { padding: 75px 0; }
.text-center { text-align: center; }

.section-subtitle {
    font-family: var(--font-secondary);
    font-size: 0.7rem;
    color: var(--primary-accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: transparent;
    color: var(--black);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    border: 1px solid var(--black);
    transition: all 0.4s ease;
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--border-radius-pill);
}

.btn:hover {
    background: var(--primary-accent-dark);
    color: var(--white);
}

.btn-primary-accent {
    border-color: var(--primary-accent);
    color: var(--primary-accent);
}

.btn-primary-accent:hover {
    background-color: var(--primary-accent);
    color: var(--white);
}

/* --- 3. COMMON COMPONENTS --- */

/* Hero Section Base */
.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    opacity: 1;
}

.hero-content-box {
    position: relative;
    z-index: 2;
    background: rgba(var(--cream-rgb), 0.9);
    padding: 60px;
    max-width: 700px;
    border: 1px solid var(--black);
}

.hero-content-box h1 {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 30px;
}

/* How It Works Base */
.customer-layers {
    display: grid;
    gap: 40px;
    margin-top: 80px;
    margin-bottom: 80px;
}

.layer-card {
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    text-align: center;
    transition: all 0.4s ease;
    border-radius: var(--border-radius-pill);
}

.layer-card:hover {
    background: var(--white);
    border-color: var(--primary-accent);
    transform: translateY(-5px);
}

.layer-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Logo Band Base */
.logo-band {
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 40px 0;
    margin-bottom: 80px;
    background-color: var(--logo-band-bg);
}

.logo-band p {
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--primary-accent);
}

.logo-band .logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.brand-logo-item {
    width: 180px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Booking Steps Base */
.booking-steps { text-align: center; }
.booking-steps .step { margin-bottom: 20px; }
.booking-steps h3 { font-size: 2.5rem; font-style: italic; }
.booking-steps h3 a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
.booking-steps h3 a:hover { color: var(--primary-accent); }

/* Navigation Base */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(var(--anchor-color-rgb), 0.95);
    color: var(--white);
    padding: 25px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

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

.logo {
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
}

nav > .container > .logo {
    font-size: 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--white);
}

.nav-links { display: flex; gap: 50px; }
.nav-links a { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    color: var(--white);
    position: relative;
    text-decoration: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-accent);
    transition: width 0.3s;
}

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

/* Footer Base */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    background: var(--anchor-color);
    color: var(--white);
}

.footer-banner {
    font-family: var(--font-primary);
    font-size: 9rem;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
}

.social-icons { text-align: center; }
.social-icons a {
    color: var(--white);
    margin: 0 15px;
    font-size: 1.1rem;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover { color: var(--black); }

/* Site Loader Base */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-accent);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

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

.loader-content {
    text-align: center;
    width: 100%;
}

.loader-banner {
    font-family: var(--font-primary);
    font-size: 9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid var(--white);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* --- 4. SHARED COMPONENTS --- */

/* Reviews Component */
#reviews .reviews-grid {
    display: grid;
    gap: 40px;
}

#reviews .review-card {
    background: var(--cream);
    padding: 60px 40px;
    border: 1px solid var(--border-color);
    position: relative;
    max-height: 400px;
    overflow: hidden;
    cursor: pointer;
    transition: max-height 0.8s ease, box-shadow 0.3s ease;
}

#reviews .review-card.expanded {
    max-height: 80vh;
    overflow-y: auto;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

#reviews .review-card:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, var(--cream));
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#reviews .review-card.expanded::after { opacity: 0; }

#reviews .review-card .review-author {
    display: block;
    font-family: var(--font-secondary);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

#reviews .review-card p {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.4;
}

#reviews .review-card.expanded p { margin-bottom: 30px; }

/* Service Card Component */
.service-card {
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    transition: all 0.5s ease, opacity 0.3s ease;
    background: var(--white);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 1;
}

.service-card.card-shifting {
    opacity: 0;
}

.service-card.active { 
    background: var(--primary-accent); 
    text-align: left;
    padding: 60px;
}

.service-card.active > * { color: var(--white); }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.service-card .service-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    transition: height 0.5s ease;
}

.service-card.active .service-card-image img {
    height: 400px;
    margin-bottom: 0;
}

.service-card h3 { font-size: 1.8rem; margin-bottom: 15px; }
.service-card p { font-size: 0.9rem; margin-bottom: 20px; }

/* Content Swapping */
.service-card .long-desc { display: none; }
.service-card.active .long-desc { display: block; font-size: 1.1rem; line-height: 1.6; }
.service-card.active .short-desc { display: none; }

.price-tag { font-weight: 500; color: var(--primary-accent); }

.service-chips {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.service-card.active .service-chips {
    justify-content: flex-start;
    margin-top: 30px;
}

.service-chips i {
    color: var(--primary-accent);
    font-size: 1.1rem;
    cursor: help;
    transition: transform 0.3s ease;
    position: relative;
}

/* Custom Tooltip System */
.service-chips i::after {
    content: attr(data-title);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--black);
    color: var(--white);
    padding: 8px 12px;
    font-size: 0.65rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.service-chips i:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.service-chips i:hover {
    transform: scale(1.2);
}

.service-card.active .service-chips i {
    color: var(--white);
}

.service-details-container {
    margin-top: 40px;
    padding: 40px;
    border: 1px solid var(--border-color);
    background: var(--white);
    display: none;
}

/* Velvet Rope HNI Component */
.hni-section {
    background-color: var(--primary-accent);
    color: var(--white);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hni-section h2 { color: var(--white); margin-bottom: 30px; }

.hni-section p { 
    color: var(--grey); 
    margin-bottom: 50px; 
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hni-section .btn {
    border-color: var(--white);
    color: var(--white);
}

.hni-section .subscribe-form input {
    border-color: var(--white) !important;
    color: var(--white) !important;
    placeholder-color: rgba(255, 255, 255, 0.7);
}

.hni-section .subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Subscribe Section Component */
.subscribe-form {
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
    justify-content: center;
    gap: 15px; /* Spacing between form elements */
    margin-top: 40px;
    max-width: 700px; /* Allow wider layout for two columns */
    margin-left: auto;
    margin-right: auto;
}

.subscribe-form input[type="email"],
.subscribe-form input[type="text"] {
    flex: 1 1 250px; /* Allow inputs to grow but have a minimum width */
    padding: 18px 25px;
    border: 1px solid var(--black);
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    background: transparent;
}

.subscribe-form .btn {
    flex: 0 1 auto; /* Button doesn't grow much */
    border-radius: var(--border-radius-pill); /* Restore pill shape */
    border-left: 1px solid var(--black); /* Restore full border */
}

.legal-compliance {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--charcoal);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.legal-compliance input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    border: 1px solid var(--charcoal);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
    top: 1px;
}

.legal-compliance input[type="checkbox"]:checked {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.legal-compliance input[type="checkbox"]:checked::before {
    content: '\2713'; /* Checkmark */
    display: block;
    color: var(--white);
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.legal-compliance label {
    cursor: pointer;
    line-height: 1.5;
}

/* Luxury Popup Dialog Component */
.luxury-dialog {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 350px;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.luxury-dialog.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.luxury-dialog h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.luxury-dialog p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--charcoal);
    margin-bottom: 25px;
}

.dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--divider);
    line-height: 1;
    transition: color 0.3s ease;
}

.dialog-close:hover {
    color: var(--primary-accent);
}

@media (max-width: 768px) {
    .luxury-dialog {
        width: calc(100% - 40px);
        left: 20px;
        bottom: 20px;
        padding: 30px 20px;
    }
}

/* Floating Book Now Button */
.book-now-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-accent);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius-pill);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.book-now-floating:hover {
    background-color: var(--primary-accent-dark);
    transform: translateY(-5px) scale(1.05);
    color: var(--white);
}

.book-now-floating i {
    font-size: 1rem;
}

/* Services Page Base Layout */
.elegant-tabs {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.tabs-scroll-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-scroll-container::-webkit-scrollbar { display: none; }

.elegant-tabs ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    min-width: max-content;
    padding: 0 10px;
}

.elegant-tabs li {
    padding: 15px 0;
    cursor: pointer;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    color: var(--grey);
}

.elegant-tabs li.active { color: var(--black); }

.elegant-tabs li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-accent);
    transition: width 0.3s;
}

.elegant-tabs li.active::after { width: 100%; }

.services-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.services-grid.active { display: grid; }
