/* ==========================================================================
   1. CORE DESIGN TOKENS & VARIABLES (ROYAL NAVY & CROWN GOLD THEME)
   ========================================================================== */
:root {
    --primary-navy: #0B1B3D;    /* Deep Royal Midnight Blue to match the logo */
    --card-dark: #12234A;       /* Elevated Navy for cards */
    --card-hover: #1A2F5C;      /* Lighter Navy for hovers */
    --crown-gold: #D4AF37;      /* Rich Metallic Crown Gold */
    --canvas-pearl: #F4F6F9;    /* Crisp, cool pearl background */
    --text-muted: #94A3B8;      /* Slate Gray */
    --text-dark: #334155;       /* Deep Slate for readability */
    --pure-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--pure-white);
    color: var(--primary-navy);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif; /* Royal, architectural headings */
    font-weight: 600;
}

.gold-text { color: var(--crown-gold); }

/* ==========================================================================
   2. GLOBAL NAVIGATION HEADER & BRAND LOGO
   ========================================================================== */
.global-navbar {
    position: sticky;
    top: 0;
    background-color: var(--primary-navy);
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15); /* Gold tinted border */
    height: 75px; 
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
}

.main-logo {
    height: 46px; 
    width: auto;  
    display: block;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-container:hover .main-logo {
    transform: scale(1.05);
}

/* ==========================================================================
   3. DESKTOP INTERFACE MENUS & BUTTON COMPONENTS
   ========================================================================== */
.desktop-menu {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px; /* Slightly smaller for Montserrat */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--crown-gold); /* Hover turns gold instead of white */
}

.btn-primary {
    background-color: var(--crown-gold);
    color: var(--primary-navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 2px; /* Sharper corners for a modern royal look */
    letter-spacing: 1px;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #BFA02E;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   4. LAYOUT STRUCTURES & UTILITY GRIDS
   ========================================================================== */
.section-padding { padding: 90px 20px; }
.container-boxed { max-width: 1200px; margin: 0 auto; }

/* Landmark Proximity Showcase System */
.landmark-bg { background-color: var(--primary-navy); color: var(--pure-white); }
.section-header { text-align: center; margin-bottom: 55px; }
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { font-size: 13px; color: var(--crown-gold); letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Montserrat', sans-serif;}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.landmark-card {
    background-color: var(--card-dark);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 45px 30px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.landmark-card:hover { 
    background-color: var(--card-hover); 
    transform: translateY(-5px);
}
.metric-large { font-size: 38px; font-weight: 700; color: var(--crown-gold); margin-bottom: 5px; font-family: 'Cinzel', serif;}
.landmark-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--pure-white); }
.landmark-card p { font-size: 13px; color: var(--text-muted); font-weight: 300; line-height: 1.6; }

/* ==========================================================================
   5. PREMIUM SPLIT-HERO INTERFACE CANVAS
   ========================================================================== */
.hero-section {
    background-color: var(--canvas-pearl);
    padding: 110px 20px 90px 20px;
    overflow: hidden;
}

.hero-flex-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content-left {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    background-color: #E8EDF5;
    border: 1px solid rgba(11, 27, 61, 0.15);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 25px;
}

.location-badge span {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-navy);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(38px, 4.8vw, 58px);
    line-height: 1.15;
    color: var(--primary-navy);
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.hero-description {
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 35px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 100%;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-navy);
    text-decoration: none;
    border: 1px solid var(--primary-navy);
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: var(--primary-navy);
    color: var(--pure-white);
}

.hero-image-right {
    flex: 1;
    min-width: 320px;
    max-width: 650px;
    position: relative;
}

.hero-frame-bracket {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.4); 
    bottom: -15px;
    right: -15px;
    border-radius: 4px;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    z-index: 2;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.15);
}

.hero-image-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   6. INTERACTIVE MOBILE DRAWER MENU COMPONENTS
   ========================================================================== */
.mobile-menu-trigger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1100;
}

.mobile-menu-trigger .bar {
    width: 100%;
    height: 2px;
    background-color: var(--crown-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navigation-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--primary-navy);
    z-index: 2000;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navigation-drawer.drawer-active { right: 0; }

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding-bottom: 15px;
}

.drawer-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--crown-gold);
    text-transform: uppercase;
}

.drawer-close-btn {
    background: transparent;
    border: none;
    font-size: 32px;
    color: var(--pure-white);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.drawer-close-btn:hover { color: var(--crown-gold); }

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--pure-white);
    text-decoration: none;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.drawer-link:hover {
    color: var(--crown-gold);
    padding-left: 8px;
}

.drawer-cta-btn {
    margin-top: 20px;
    background-color: var(--crown-gold);
    color: var(--primary-navy);
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 14px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.drawer-cta-btn:hover { background-color: #BFA02E; }

/* ==========================================================================
   7. RESPONSIVE DISPLAY MEDIA BREAKPOINTS ENGINE
   ========================================================================== */
@media (max-width: 992px) {
    .desktop-menu, .desktop-cta { display: none !important; }
    .mobile-menu-trigger { display: flex !important; }
    .grid-3-col { grid-template-columns: repeat(2, 1fr); }
    .hero-flex-container { flex-direction: column-reverse; gap: 40px; }
    .hero-content-left { align-items: center; text-align: center; }
    .hero-description { max-width: 100%; }
    .hero-cta-group { justify-content: center; }
    .hero-image-right { max-width: 100%; width: 100%; }
    img[src*="rr_comfots_"]:not(.main-logo):active {
        transform: translate(-50%, -50%) scale(1.35) !important;
        max-width: 92vw !important;
    }
}

@media (max-width: 768px) {
    .global-navbar { padding: 0 20px; height: 65px; }
    .main-logo { height: 38px; }
    .grid-3-col { grid-template-columns: 1fr; }
    .section-padding { padding: 60px 15px; }
    .section-header h2 { font-size: 28px; }
    .lightbox-close-trigger { top: 20px; right: 20px; font-size: 38px; }
	.floating-features-bar { 
        margin: -20px 15px 40px 15px; 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 20px;               
        padding: 25px;           
    }
    .feature-item { min-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
    .hero-section { padding: 60px 15px 50px 15px; }
    .hero-cta-group { flex-direction: column; }
    .hero-btn-main, .btn-secondary { width: 100%; }
    img[src*="rr_comfots_"]:not(.main-logo):active {
        transform: translate(-50%, -50%) scale(1.05) !important;
        max-width: 96vw !important;
    }
}

/* ==========================================================================
   8. PREMIUM INTERACTIVE LIGHTBOX & MODAL EFFECTS
   ========================================================================== */
.hero-image-right { cursor: pointer; }
.lightbox-trigger-img { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important; }
.hero-image-container { position: relative; }

.lightbox-hint-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 27, 61, 0.4); /* Navy tint mask */
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; z-index: 3;
}

.lightbox-hint-overlay span {
    color: var(--pure-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    border: 1px solid rgba(212, 175, 55, 0.5); /* Gold border */
    padding: 10px 18px; background: rgba(11, 27, 61, 0.8);
    backdrop-filter: blur(4px); border-radius: 2px;
}

.hero-image-right:hover .lightbox-hint-overlay { opacity: 1; }
.hero-image-right:hover .lightbox-trigger-img { transform: scale(1.03); }

.global-lightbox-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(6, 15, 33, 0.96); /* Deep Navy Background */
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
}

.global-lightbox-overlay.lightbox-active { opacity: 1; pointer-events: auto; visibility: visible; }

.lightbox-content-wrapper {
    max-width: 90%; max-height: 85%;
    display: flex; align-items: center; justify-content: center;
    transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.global-lightbox-overlay.lightbox-active .lightbox-content-wrapper { transform: scale(1); }

.lightbox-zoomed-image {
    max-width: 100%; max-height: 100vh; object-fit: contain;
    border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close-trigger {
    position: absolute; top: 30px; right: 40px; background: transparent;
    border: none; color: rgba(255, 255, 255, 0.6); font-size: 44px; font-weight: 300;
    cursor: pointer; line-height: 1; transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10000;
}

.lightbox-close-trigger:hover { color: var(--crown-gold); transform: scale(1.1); }

/* ==========================================================================
   9. GLOBAL AUTOMATED CLICK-TO-ZOOM INVENTORY ENGINE (MAGIC TRICK UPDATED)
   ========================================================================== */
/* Targets every layout image matching the new R.R. Comforts asset naming loop */
img[src*="rr_comfots_"]:not(.main-logo) {
    cursor: zoom-in;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    z-index: 5;
}

img[src*="rr_comfots_"]:not(.main-logo):hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 35px rgba(11, 27, 61, 0.15);
}

img[src*="rr_comfots_"]:not(.main-logo):active {
    cursor: zoom-out;
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1.6) !important;
    max-width: 85vw !important;
    max-height: 85vh !important;
    width: auto !important;
    height: auto !important;
    z-index: 99999 !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.88) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important; /* Gold border on zoom */
}

img[src*="rr_comfots_"]:not(.main-logo):active::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(6, 15, 33, 0.97); /* Deep Navy backdrop */
    z-index: -1;
}
/* ==========================================================================
   10. ULTRA PREMIUM FLOATING ACTION BUTTONS (WHATSAPP & BOOK NOW)
   ========================================================================== */
.wa-concierge-trigger {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: waPulse 2.5s infinite;
}

.wa-concierge-trigger:hover {
    transform: scale(1.15) rotate(10deg);
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.floating-book-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--crown-gold) 0%, #FFF3DB 50%, var(--crown-gold) 100%);
    background-size: 200% auto;
    color: var(--primary-navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    /* Combines the metallic shimmer with the heartbeat pulse */
    animation: premiumFlicker 3s linear infinite, bookPulse 2s infinite;
    transition: transform 0.3s ease;
}

.floating-book-btn i {
    font-size: 16px;
    animation: ringBell 4s ease infinite;
}

.floating-book-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

@keyframes premiumFlicker {
    to { background-position: 200% center; }
}

@keyframes bookPulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

@keyframes ringBell {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    60% { transform: rotate(0deg); }
}

/* Ensure mobile layouts look clean and out of the way */
@media (max-width: 768px) {
    .wa-concierge-trigger { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 28px; }
    .floating-book-btn { bottom: 20px; right: 20px; padding: 12px 20px; font-size: 12px; }
}