.luxury-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fafafa; /* Matches your smoky white aesthetic */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between text and line */
}

/* 1. The Breathing Typography */
.loader-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 4px;
    color: #111;
    opacity: 0;
    /* Softly fades in and floats slightly */
    animation: textBreathe 1.5s ease-in-out infinite alternate;
}

/* 2. The Progress Line Track */
.loader-progress-wrap {
    width: 100px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1); /* Very faint grey track */
    overflow: hidden;
    position: relative;
}

/* 3. The Sweeping Black Line */
.loader-progress {
    width: 100%;
    height: 100%;
    background: #111; /* Sharp dark ink color */
    transform: translateX(-100%);
    /* Sweeps from left to right, smoothly */
    animation: lineSweep 1.8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* --- Animations --- */
@keyframes textBreathe {
    0% { 
        opacity: 0.2; 
        transform: translateY(3px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes lineSweep {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); } /* Pauses slightly in the middle */
    100% { transform: translateX(100%); }
}

/* Class to fade out the entire screen when the page loads */
.luxury-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}



.navbar {
    position: fixed;
    top: 40px;
    right: 60px; /* Keeps it on the right side */
    z-index: 9999;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .35s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 1px;
    background: #000000;
    transition: .4s ease;
}

.navbar a:hover {
    color: #030303;
}

.navbar a:hover::after {
    width: 100%;
}

/* =========================================
   Hamburger Button Base
   ========================================= */
.hamburger {
    display: none; 
    cursor: pointer;
    flex-direction: column;
    gap: 8px;
    z-index: 10000; 
}

.hamburger .bar {
    display: block;
    width: 32px;
    height: 1.5px;
    background-color: #000000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger .bar:nth-child(2) {
    width: 22px;
    align-self: flex-end;
}

/* =========================================
   Mobile Media Query & Floating Cylinder Menu
   ========================================= */
@media screen and (max-width: 768px) {
    /* 1. Lock Hamburger to Top-Right Corner */
    .hamburger {
        display: flex;
        position: fixed; 
        top: 30px;
        right: 30px;
        z-index: 10000; 
    }

    /* Keep the 'X' white since the menu now floats below it! */
    .hamburger.active .bar {
        background-color: #000000; 
    }

    /* 2. The Floating Cylinder Widget */
    .navbar ul {
        position: fixed;
        top: 80px; /* Floats nicely below the hamburger */
        right: -100%; /* Hidden off-screen to the right */
        
        /* Cylinder Dimensions */
        width: 150px; 
        height: auto; 
        padding: 40px 0;
        
        /* The Pill/Cylinder Shape */
        border-radius: 40px; 
        
        /* Clean, frosted glass look */
        background: rgba(255, 255, 255, 0.215); 
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255,255,255,0.6);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px; 
        margin: 0;
        transition: right 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9998; 
    }

    /* When Active, slide in and float 20px from the right edge */
    .navbar ul.active {
        right: 20px;
    }

    /* 3. Premium Editorial Typography (Scaled down to fit cylinder) */
    .navbar a {
        font-family: "Cormorant Garamond", serif; 
        font-size: 22px; /* Adjusted to fit the small widget beautifully */
        letter-spacing: 2px;
        text-transform: capitalize;
        font-weight: 600;
        color: #111; 
    }

    /* Hide the underline effect on mobile */
    .navbar a::after {
        display: none; 
    }

    /* 4. Staggered Cascading Animation */
    .navbar ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar ul.active li:nth-child(1) { transition-delay: 0.2s; }
    .navbar ul.active li:nth-child(2) { transition-delay: 0.3s; }
    .navbar ul.active li:nth-child(3) { transition-delay: 0.4s; }
    .navbar ul.active li:nth-child(4) { transition-delay: 0.5s; }

    /* 5. Hamburger 'X' Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(4.75px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        width: 32px; 
        transform: translateY(-4.75px) rotate(-45deg);
    }
}




/* =========================================
   Luxury "Smoky Grey" About Section
   ========================================= */

.luxury-about {
    padding: 140px 8%;
    /* Smoky white to soft ash grey gradient */
    background: linear-gradient(135deg, #fafafa 0%, #ebebeb 100%);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.luxury-container {
    max-width: 1250px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 100px; /* Generous breathing room */
}

/* --- Left Side: Pro Image Styling --- */
.about-visual-pro {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 420px;
    z-index: 2;
}

/* The Image: Greyscale to Color on Hover */
.pro-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    /* Soft arch top, sharp bottom for an editorial look */
    border-radius: 200px 200px 0 0; 
    filter: grayscale(100%) contrast(110%) brightness(90%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-frame:hover .pro-img {
    filter: grayscale(0%) contrast(100%) brightness(100%);
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism Floating Badge */
.glass-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 30px;
    border-radius: 2px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: transform 0.6s ease;
    z-index: 3;
}

.image-frame:hover .glass-badge {
    transform: translate(10px, -10px);
}

.badge-title {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #111;
    font-weight: 600;
    margin-bottom: 5px;
}

.badge-subtitle {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #444;
    font-style: italic;
}

/* Smoky Offset Background Element */
.smoky-accent {
    position: absolute;
    top: 50px;
    right: 20px;
    width: 100%;
    height: 100%;
    background: #d4d4d8; /* Ash grey */
    border-radius: 200px 200px 0 0;
    z-index: 1;
    opacity: 0.5;
    mix-blend-mode: multiply;
    transition: transform 0.8s ease;
}

.about-visual-pro:hover .smoky-accent {
    transform: translate(15px, -15px);
}

/* --- Right Side: Typography --- */
.about-content-pro {
    flex: 1;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.subtitle-wrapper .line {
    width: 40px;
    height: 1px;
    background-color: #555;
}

.pro-subtitle {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #555;
}

.pro-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 56px;
    font-weight: 300;
    color: #111;
    margin-bottom: 40px;
    line-height: 1.1;
}

.pro-title em {
    color: #555;
    font-style: italic;
}

.pro-text-wrapper {
    position: relative;
    padding-left: 20px;
    border-left: 1px solid #d1d1d1;
    margin-bottom: 40px;
}

.pro-text {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 300;
}

.pro-text:last-child {
    margin-bottom: 0;
}

.pro-text strong {
    color: #111;
    font-weight: 500;
}

/* High-End Button */
.pro-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #111;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 1px solid #111;
    transition: gap 0.3s ease, opacity 0.3s ease;
}

.pro-btn:hover {
    gap: 25px; /* Arrow slides right on hover */
    opacity: 0.7;
}

/* =========================================
   Responsive Adjustments
   ========================================= */

@media screen and (max-width: 1024px) {
    .luxury-container {
        flex-direction: column;
        gap: 80px;
    }
    
    .glass-badge {
        left: 20px;
    }
}

@media screen and (max-width: 768px) {
    .luxury-about {
        padding: 100px 6%;
    }
    
    .pro-title {
        font-size: 42px;
    }
    
    .pro-img {
        height: 450px;
    }
}



/* Base Footer Setup */
.footer {
    padding: 120px 8% 70px;
    background: #f8f9fa; /* Slightly dynamic off-white background */
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle Animated Ambient Glow Background */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Heading with Subtle Reveal Effect */
.footer h2 {
    font-size: 60px; 
    font-weight: 400; 
    margin-bottom: 30px; 
    font-family: "Cormorant Garamond", serif; 
    color: #111; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.footer h2:hover {
    transform: translateY(-3px);
    color: #000;
}

/* Subtext */
.footer p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.9;
    transition: color 0.3s ease;
}

/* Animated Mail Link with Sliding Underline */
.mail {
    position: relative;
    display: inline-block;
    font-size: 28px;
    text-decoration: none;
    color: #111;
    margin-bottom: 60px;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

/* Animated Underline */
.mail::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mail:hover {
    transform: translateY(-2px);
    color: #000;
}

.mail:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Socials Flex Container */
.socials {
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Modern Social Links with Hover Lift & Underline */
.socials a {
    position: relative;
    color: #555; 
    text-decoration: none; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #111;
    transition: width 0.3s ease, left 0.3s ease;
}

.socials a:hover {
    color: #111;
    transform: translateY(-3px);
}

.socials a:hover::after {
    width: 100%;
    left: 0;
}

/* Copyright Text */
.copyright {
    color: #888;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease;
}

.copyright:hover {
    color: #444;
}



/* MOBILE LAYOUT (Max 768px) */
@media (max-width: 768px) {
    /* Center the Navbar */
    .navbar {
        top: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .navbar ul { gap: 20px; }
    .navbar a { font-size: 13px; }


    
}

/* SMALL MOBILE (Max 480px) */
@media (max-width: 480px) {
    /* Final tweaks for very small screens (like iPhone SE) */
    .navbar a { font-size: 11px; }
    
    
}

/* =========================================
   Responsive Media Queries for Footer
   ========================================= */

/* Tablet & Smaller Laptops (under 768px) */
@media screen and (max-width: 768px) {
    .footer {
        padding: 90px 6% 60px; /* Reduce top and bottom padding slightly */
    }
    
    .footer h2 {
        font-size: 46px; /* Scale down the giant heading */
        margin-bottom: 25px;
    }
    
    .footer p {
        font-size: 15px; 
        line-height: 1.7;
        margin-bottom: 35px;
    }
    
    .mail {
        font-size: 22px; /* Make email link fit better */
        margin-bottom: 45px;
    }
    
    .socials {
        gap: 25px; /* Bring social links closer together */
        margin-bottom: 40px;
    }
}

/* Mobile Phones (under 480px) */
@media screen and (max-width: 480px) {
    .footer {
        padding: 60px 5% 40px; /* Compress padding for small screens */
    }
    
    .footer h2 {
        font-size: 36px; /* Further scale down the heading */
    }
    
    .mail {
        font-size: 18px;
        word-break: break-word; /* Prevent long email addresses from breaking the screen width */
        margin-bottom: 35px;
    }
    
    .socials {
        flex-direction: column; /* Stack the social links vertically on tiny screens */
        gap: 20px;
    }

    .socials a {
        font-size: 12px;
    }
}

/* Optional: Disable hover effects for touch devices to prevent "sticky" hover states */
@media (hover: none) {
    .mail:hover::after,
    .socials a:hover::after {
        transform: scaleX(0);
        width: 0;
    }
    
    .footer h2:hover,
    .mail:hover,
    .socials a:hover {
        transform: none; /* Disables the jump/lift effect when tapped */
    }
}