/* ==========================================================================
   1. CORE GLOBAL RESET & TOKENS
   ========================================================================== */
:root {
    --brand-indigo: #4f46e5;
    --brand-blue: #2563eb;
    --brand-gradient: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    --bg-light: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #64748b;
    --surface-white: #ffffff;
    --radius-card: 16px;
    --transition-quick: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.rental {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    padding-top: 75px; /* FIXED: Prevents Hero from getting tucked behind the fixed navbar */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. REPAIRED & POLISHED FIX-POSITIONED NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 75px;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.nav-logo {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-icon img {
    height: 48px; /* Upgraded from 32px to 48px for better prominence */
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.nav-logo:hover .logo-icon img {
    transform: rotate(-8deg) scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-quick);
}

.nav-link:hover {
    color: var(--brand-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-gradient);
    transition: var(--transition-quick);
    border-radius: 2px;
}

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

.btn-contact {
    background: var(--brand-gradient);
    color: #ffffff !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
    font-weight: 600 !important;
    display: inline-block;
}

.btn-contact:hover {
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.btn-contact::after {
    display: none !important;
}

/* Hamburger mobile button trigger layout rules */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 8px;
    z-index: 2100;
}

.bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    transition: var(--transition-quick);
    background-color: var(--text-primary);
    border-radius: 2px;
}
/* ==========================================================================
   ULTRA-MODERN CINEMATIC HERO CANVAS
   ========================================================================== */
.hero-canvas {
    position: relative;
    padding: 160px 24px 140px 24px;
    background-size: cover;
    background-position: center 35%; /* Keeps mountain tops/landscapes framed correctly */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 70vh; /* Scaled viewport footprint for premium impact */
}

/* Sophisticated dark linear radial veil for beautiful text readability scores */
.hero-tint-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15, 23, 42, 0.65) 0%, 
        rgba(15, 23, 42, 0.45) 60%,
        #f8fafc 100% /* Blends directly with your main body page color seamlessly */
    );
    z-index: 1;
}

.hero-inner-container {
    position: relative;
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

/* Minimalist context pill box badge */
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-inner-container h1 {
    font-size: clamp(2.25rem, 5.5vw, 3.85rem);
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;
    color: #ffffff !important;
    margin: 0 0 20px 0;
}

/* Premium dual-color look */
.text-gradient-accent {
    background: linear-gradient(90deg, #a5b4fc 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: #e2e8f0;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto 40px auto;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
}

/* --- INTEGRATED PREMIUM SEARCH STYLING --- */
.hero-search-wrapper {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.search-box-mock {
    background: #ffffff;
    border-radius: 14px;
    padding: 4px 6px 4px 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.15), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: #94a3b8;
    margin-right: 14px;
    flex-shrink: 0;
}

.search-box-mock input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.05rem;
    color: #0f172a;
    padding: 14px 0;
    font-family: inherit;
}

.search-box-mock input::placeholder {
    color: #94a3b8;
}

/* Horizontal trending tags underneath search box */
.search-trending {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    padding: 0 12px;
}

.search-trending span {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
}

.search-trending a {
    font-size: 0.85rem;
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.search-trending a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* ==========================================================================
   MOBILE DEVICE HERO COMPRESSION
   ========================================================================== */
@media (max-width: 768px) {
    .hero-canvas {
        padding: 100px 16px 80px 16px;
        min-height: auto;
    }
    
    .hero-badge {
        margin-bottom: 16px;
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-subtitle {
        margin-bottom: 28px;
    }

    .search-box-mock {
        padding: 2px 6px 2px 14px;
        border-radius: 12px;
    }

    .search-box-mock input {
        padding: 11px 0;
        font-size: 0.95rem;
    }

    .search-trending {
        display: none; /* Cleans up vertical viewport clutter on phones */
    }
}

/* ==========================================================================
   4. CONTENT CARDS GRID LAYOUT SYSTEM
   ========================================================================== */
.content-section {
    padding: 80px 24px;
    flex-grow: 1;
}

.blog-bg-accent {
    background-color: #f1f5f9;
}

/* Changes wave color seamlessly to match background switches */
.blog-bg-accent .wave-divider {
    color: #f1f5f9;
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--brand-gradient);
    border-radius: 2px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* Premium Card Blocks */
.media-card {
    background-color: var(--surface-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    flex-direction: column;
    transition: var(--transition-quick);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08);
}

.card-image-wrap {
    width: 100%;
    height: 230px;
    overflow: hidden;
    background-color: #0f172a;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.media-card:hover .card-image-wrap img {
    transform: scale(1.03);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-tags {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-indigo);
    margin-bottom: 12px;
}

.card-title-link {
    text-decoration: none;
    color: var(--text-primary);
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-title-link:hover h3 {
    color: var(--brand-blue);
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* ==========================================================================
   5. INTERACTIVE BUTTON STYLES
   ========================================================================== */
.btn-action-sm {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: #f1f5f9;
    color: #334155;
    font-weight: 600;
    font-size: 0.87rem;
    padding: 10px 20px;
    border-radius: 10px;
    transition: var(--transition-quick);
    width: fit-content;
}

.btn-action-sm:hover {
    background-color: var(--brand-indigo);
    color: #ffffff;
}

.btn-text-arrow {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--brand-indigo);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-quick);
    margin-top: auto;
}

.btn-text-arrow:hover {
    transform: translateX(4px);
}

.global-action-wrap {
    text-align: center;
    padding: 0 24px 80px 24px;
}

.btn-primary-lg {
    display: inline-block;
    text-decoration: none;
    background: var(--brand-gradient);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 12px;
    box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.3);
    transition: var(--transition-quick);
}

.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 24px -4px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   6. PREMIUM MATTE-BLACK CLEAN FOOTER SYSTEM
   ========================================================================== */
footer {
    text-align: center;
    padding: 48px 24px;
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.9rem;
    border-top: 1px solid #1e293b;
    line-height: 1.6;
    margin-top: auto; /* Pushes footer seamlessly down if page has short content */
    width: 100%;
}

footer p {
    max-width: 800px;
    margin: 0 auto 8px auto;
}

footer p:last-child {
    margin-bottom: 0;
    color: #64748b;
}

/* ==========================================================================
   7. HIGH-FIDELITY MOBILE DEVICE VIEWPORT STYLING
   ========================================================================== */
@media (max-width: 768px) {
    body.rental {
        padding-top: 65px; /* Matches compressed layout on slim screen states */
    }

    .navbar {
        height: 65px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        gap: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 100%;
        height: calc(100vh - 65px);
        overflow-y: auto;
        padding: 30px 24px;
        box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.15);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(0);
    }

    /* Hardware-accelerated sliding transition initialization */
    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(241, 245, 249, 0.8);
    }

    .nav-link::after {
        display: none !important;
    }

    .btn-contact {
        width: 100% !important;
        margin-top: 24px;
        padding: 14px 0 !important;
        font-size: 1rem;
    }

    /* Smooth CSS Morph animation logic for transforming Hamburger to an 'X' symbol */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-12px);
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .btn-primary-lg {
        width: 100%;
    }
}
/* ==========================================================================
   PREMIUM HIGH-CONTRAST LIGHT FOOTER SYSTEM
   ========================================================================== */
.site-footer.light-version {
    background-color: #ffffff; /* Matches your navigation background color perfectly */
    color: #475569;
    padding: 80px 24px 40px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8); /* Crisp subtle border separator */
    font-family: 'Roboto', sans-serif;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Brand Logo Image Settings */
.footer-logo-img {
    display: inline-block;
    max-width: 220px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img img {
    width: 100%;
    height: 48px; /* Perfectly scaled to mirror the top navigation brand footprint */
    object-fit: contain;
    display: block;
}

.footer-logo-img:hover {
    transform: scale(1.02);
}

.brand-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b; /* Soft gray typography for premium hierarchy balancing */
    max-width: 360px;
}

/* Inner block column headings */
.footer-col h4 {
    color: #0f172a; /* Strong slate color for headers */
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #2563eb; /* Matches primary brand link interactions */
    transform: translateX(4px);
}

/* Bottom attribution metadata rules */
.footer-bottom {
    padding-top: 32px;
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cc-license-notice {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.cc-license-notice a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
}

.cc-license-notice a:hover {
    text-decoration: underline;
}

.copyright-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

.copyright-text span {
    color: #475569;
    font-weight: 500;
}
/* ==========================================================================
   PREMIUM MODERN MINIMALIST LIGHT FOOTER
   ========================================================================== */
.site-footer.modern-light {
    background-color: #ffffff;
    padding: 64px 24px 48px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-family: 'Roboto', sans-serif;
    margin-top: auto;
    width: 100%;
}

.footer-wrap {
    max-width: 800px; /* Constrains layout width for optimal readability */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* Forces total horizontal centering */
    text-align: center;
}

/* 1. Brand Layout Elements */
.footer-brand-center {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-centered {
    display: block;
    max-width: 240px;
    height: auto;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.footer-logo-centered img {
    height: 52px; /* Prominent sizing for high clarity */
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-centered:hover {
    transform: scale(1.02);
}

.footer-mission {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    max-width: 520px; /* Clean word-wrapping constraints */
    margin: 0 auto;
}

/* 2. Horizontal Clean Navigation Row */
.footer-nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 32px; /* Generous breathing room for click targets */
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    width: 100%;
}

.footer-nav-links a {
    text-decoration: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-links a:hover {
    color: #2563eb; /* Accent Blue */
    transform: translateY(-1px);
}

/* 3. Bottom Legal Metadata Area */
.footer-meta-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.license-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.license-text a {
    color: #4f46e5; /* Accent Purple */
    text-decoration: none;
    font-weight: 500;
}

.license-text a:hover {
    text-decoration: underline;
}

.copyright-text {
    font-size: 0.85rem;
    color: #94a3b8;
    letter-spacing: 0.2px;
}

.copyright-text .brand-text {
    color: #475569;
    font-weight: 500;
}



/* ==========================================================================
   PREMIUM ASYMMETRICAL SPLIT LIGHT FOOTER
   ========================================================================== */
.site-footer.split-light {
    background-color: #ffffff;
    padding: 60px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    font-family: 'Roboto', sans-serif;
    margin-top: auto;
    width: 100%;
}

.footer-split-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Pushes brand/links left and compliance right */
    align-items: center; /* Vertically centers the two halves */
    gap: 48px;
}

/* --- LEFT ZONE: BRANDING & NAVIGATION --- */
.footer-left-zone {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start; /* Left-aligns content on desktop */
}

.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-logo-link {
    display: block;
    height: 42px;
    transition: transform 0.3s ease;
}

.footer-logo-link img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-link:hover {
    transform: scale(1.02);
}

.footer-tagline {
    font-size: 0.9rem;
    color: #64748b;
    border-left: 1px solid #e2e8f0;
    padding-left: 16px;
    margin: 0;
    line-height: 1.4;
}

.footer-horizontal-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
}

.footer-horizontal-nav a {
    text-decoration: none;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-horizontal-nav a:hover {
    color: #2563eb; /* Brand Blue */
}

/* --- RIGHT ZONE: LEGAL & COMPLIANCE --- */
.footer-right-zone {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 420px; /* Prevents text from expanding into the navigation area */
    text-align: right; /* Aligns all text nicely against the right wall */
}

.license-split-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    margin: 0;
}

.license-split-text a {
    color: #4f46e5; /* Brand Purple */
    text-decoration: none;
    font-weight: 500;
}

.license-split-text a:hover {
    text-decoration: underline;
}

.copyright-split-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.copyright-split-text .brand-highlight {
    color: #475569;
    font-weight: 500;
}

/* ==========================================================================
   MOBILE DEVICE VIEWPORT OPTIMIZATIONS
   ========================================================================== */
@media (max-width: 900px) {
    .site-footer.split-light {
        padding: 48px 20px;
    }

    .footer-split-container {
        flex-direction: column; /* Collapses into a centered single stack */
        text-align: center;
        gap: 32px;
    }

    .footer-left-zone {
        align-items: center;
        width: 100%;
    }

    .footer-brand-header {
        flex-direction: column;
        gap: 12px;
    }

    .footer-tagline {
        border-left: none;
        padding-left: 0;
    }

    .footer-horizontal-nav {
        justify-content: center;
        gap: 12px 20px;
    }

    .footer-right-zone {
        align-items: center;
        text-align: center; /* Returns to clean center text on small viewports */
        width: 100%;
        border-top: 1px solid rgba(241, 245, 249, 0.9);
        padding-top: 24px;
    }
}