/* Custom Styles & Utilities - Dark Royal Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary: #020d1f;
    --accent: #c9a96e;
    --glass-bg: rgba(201, 169, 110, 0.05);
    --glass-border: rgba(201, 169, 110, 0.15);
    --liquid-duration: 0.6s;
    --gold: #c9a96e;
    --cream: #e8dcc8;
    --dark-surface: #020d1f;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #020d1f;
}

::-webkit-scrollbar-thumb {
    background: #1a1e2e;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a96e;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #020d1f;
    color: #e8dcc8;
    overflow-x: hidden;
}

/* Performance & Hardware Acceleration Optimizations */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    content-visibility: auto;
}

.glass-card, 
.vertical-video-wrapper, 
#navbar, 
.floating-whatsapp {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Liquid Glass Button - Dark Royal Gold */
.liquid-glass-btn {
    position: relative;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 12px;
    color: #c9a96e;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.08);
}

.liquid-glass-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, #c9a96e 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    opacity: 0;
}

.liquid-glass-btn:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: #c9a96e;
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.2);
    transform: translateY(-3px);
    color: #c9a96e;
}

.liquid-glass-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.15;
}

/* Specific variation for hero/dark sections if needed */
.liquid-glass-btn.glass-white {
    background: rgba(201, 169, 110, 0.08);
    backdrop-filter: blur(10px);
    border-color: rgba(201, 169, 110, 0.35);
    color: #c9a96e;
}

.liquid-glass-btn.glass-white:hover {
    background: rgba(201, 169, 110, 0.18);
    border-color: #c9a96e;
}


/* Glass Card - Dark Royal */
.glass-card {
    background: rgba(201, 169, 110, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 110, 0.12);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(201, 169, 110, 0.3);
}

/* Smooth Entrance Revelations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Typewriter Cursor */
.typewriter-cursor::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: #c9a96e;
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Hero Swiper Overrides */
.hero-swiper-pagination .swiper-pagination-bullet {
    background: rgba(201, 169, 110, 0.3);
    width: 30px;
    height: 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    background: #c9a96e;
    width: 50px;
}

/* Shimmer Effect for Buttons */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.2), transparent);
    animation: shimmer 2s infinite linear;
}

/* Perfect Alignment Helpers */
.container-premium {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Removed Useless Floating Animation as per user request */
/* .float-anim removed */

.js-tilt-glare {
    border-radius: inherit;
}

/* --- Premium Elaborate Footer Style --- */
@keyframes rotate-logo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate-logo {
    animation: rotate-logo 10s linear infinite;
}

.footer-link-hover {
    position: relative;
    transition: color 0.3s ease;
}

.footer-link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a96e;
    transition: width 0.3s ease;
}

.footer-link-hover:hover {
    color: #c9a96e;
}

.footer-link-hover:hover::after {
    width: 100%;
}

.phone-icon-tilt {
    transform: rotate(-270deg);
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-col li:hover .phone-icon-tilt {
    animation: phoneWiggle 0.5s ease-in-out;
}

@keyframes phoneWiggle {

    0%,
    100% {
        transform: rotate(-270deg);
    }

    25% {
        transform: rotate(-280deg);
    }           

    75% {
        transform: rotate(-260deg);
    }
}

/* Mobile Centering Helper */
@media (max-width: 768px) {
    .footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col li {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem !important;
    }
}


/* ==========================================================================
   Expert Level Responsiveness (30 Years UI/UX Quality)
   ========================================================================== */

/* Root Level Fixes to prevent horizontal scroll/gaps */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Tablet & Mobile Improvements */
@media (max-width: 1024px) {
    .font-display.text-8xl {
        font-size: 4.5rem;
    }

    .font-display.text-7xl {
        font-size: 3.5rem;
    }

    .py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .pt-48 {
        padding-top: 7rem;
    }

    .pt-60 {
        padding-top: 8rem;
    }
}

/* Mobile Specific Overhaul (768px and below) */
@media (max-width: 768px) {
    .font-display.text-8xl {
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .font-display.text-7xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .font-display.text-6xl {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .font-display.text-5xl {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .font-display.text-4xl {
        font-size: 1.65rem;
    }

    .py-32 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

}

/* Shimmer Effect for Buttons */
@keyframes shimmer {
    0% {
        transform: translateX(-100%) skewX(-15deg);
    }

    100% {
        transform: translateX(200%) skewX(-15deg);
    }
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.2), transparent);
    animation: shimmer 2s infinite linear;
}

/* Perfect Alignment Helpers */
.container-premium {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Removed Useless Floating Animation as per user request */
/* .float-anim removed */

.js-tilt-glare {
    border-radius: inherit;
}

/* --- Premium Elaborate Footer Style --- */
@keyframes rotate-logo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.rotate-logo {
    animation: rotate-logo 10s linear infinite;
}

.footer-link-hover {
    position: relative;
    transition: color 0.3s ease;
}

.footer-link-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a96e;
    transition: width 0.3s ease;
}

.footer-link-hover:hover {
    color: #c9a96e;
}

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

.phone-icon-tilt {
    transform: rotate(-270deg);
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-col li:hover .phone-icon-tilt {
    animation: phoneWiggle 0.5s ease-in-out;
}

@keyframes phoneWiggle {

    0%,
    100% {
        transform: rotate(-270deg);
    }

    25% {
        transform: rotate(-280deg);
    }           

    75% {
        transform: rotate(-260deg);
    }
}

/* Mobile Centering Helper */
@media (max-width: 768px) {
    .footer-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col li {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem !important;
    }
}


/* ==========================================================================
   Expert Level Responsiveness (30 Years UI/UX Quality)
   ========================================================================== */

/* Root Level Fixes to prevent horizontal scroll/gaps */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Tablet & Mobile Improvements */
@media (max-width: 1024px) {
    .font-display.text-8xl {
        font-size: 4.5rem;
    }

    .font-display.text-7xl {
        font-size: 3.5rem;
    }

    .py-32 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .pt-48 {
        padding-top: 7rem;
    }

    .pt-60 {
        padding-top: 8rem;
    }
}

/* Mobile Specific Overhaul (768px and below) */
@media (max-width: 768px) {
    .font-display.text-8xl {
        font-size: 2.75rem;
        line-height: 1.1;
    }

    .font-display.text-7xl {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .font-display.text-6xl {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .font-display.text-5xl {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .font-display.text-4xl {
        font-size: 1.65rem;
    }

    .py-32 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .py-24 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* --- Ultra Premium Mobile Menu Design --- */
#mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2, 13, 31, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
}

#mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Background Luxury Glow */
#mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(201, 169, 110, 0.2), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Inner Glass Card Container */
.mobile-menu-inner {
    width: 90%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 3rem 1.5rem 2.5rem;
    background: rgba(10, 25, 47, 0.85);
    border: 1px solid rgba(201, 169, 110, 0.35);
    border-radius: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 169, 110, 0.15);
}

/* Close Button Expert Styling */
#close-menu {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(201, 169, 110, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a96e;
    font-size: 1.1rem;
    background: rgba(201, 169, 110, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

#close-menu:hover {
    background: #c9a96e;
    border-color: #c9a96e;
    color: #020d1f;
    transform: rotate(90deg) scale(1.05);
}

/* Nav Links inside Mobile Menu */
.mobile-menu-links a {
    font-size: 1.35rem;
    color: #e8dcc8;
    margin: 0.65rem 0;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
    text-align: center;
}

#mobile-menu.active .mobile-menu-links a {
    opacity: 1;
    transform: translateY(0);
}

/* Active Link Glow */
.mobile-menu-links a.active-link {
    color: #c9a96e;
    font-weight: 800;
}

.mobile-menu-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #c9a96e;
    transition: width 0.3s ease;
}

.mobile-menu-links a:hover::after,
.mobile-menu-links a.active-link::after {
    width: 80%;
}

/* Book Appointment CTA Button inside Drawer */
.mobile-book-appointment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.2), rgba(201, 169, 110, 0.05));
    border: 1.5px solid #c9a96e;
    color: #c9a96e;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    padding: 0.85rem 1.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(201, 169, 110, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.25rem;
    text-decoration: none !important;
}

.mobile-book-appointment-btn:hover {
    background: #c9a96e;
    color: #020d1f;
    box-shadow: 0 0 35px rgba(201, 169, 110, 0.6);
    transform: translateY(-2px);
}

/* --- Logo Entrance Animation --- */
@keyframes spin-zoom-in {
    0% {
        transform: scale(0.1) rotate(-360deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.animate-spin-zoom {
    animation: spin-zoom-in 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* --- Delivery Truck Animation --- */
@keyframes driveTruck {
    0% { transform: translateX(-200px); }
    100% { transform: translateX(100vw); }
}

.delivery-truck-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35px;
    overflow: hidden;
    background: rgba(2, 13, 31, 0.95);
    border-top: 1px dashed rgba(201, 169, 110, 0.3);
    display: flex;
    align-items: center;
    z-index: 50;
}

.delivery-truck-moving {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c9a96e;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: driveTruck 12s linear infinite;
    white-space: nowrap;
}

/* --- In-Place Truck Driving Animation --- */
@keyframes truck-drive {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-1px) rotate(-2deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-1px) rotate(1deg); }
}

.animate-truck-drive {
    animation: truck-drive 0.8s infinite linear;
    display: inline-block;
}

/* --- Marquee Left to Right --- */
@keyframes marquee-lr {
    0% { left: 0; transform: translateX(-150%); }
    100% { left: 100%; transform: translateX(50%); }
}

.animate-marquee-lr {
    position: absolute;
    white-space: nowrap;
    animation: marquee-lr 12s linear infinite;
}
