@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
@import url('footer_styles.css');

/* Global Variables */
:root {
    --primary-blue: #1173ff;
    --text-dark: #222222;
    --text-light: #f8f9fa;
    /* Also background */
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --font-main: 'Roboto', sans-serif;
    --transition-speed: 0.3s;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Header */
/* Header Navigation */
.site-header {
    background: var(--white);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo img {
    max-height: 80px;
    /* Adjust based on logo aspect ratio */
    width: auto;
    margin: 0 auto;
}

.logo {
    display: block;
    margin-bottom: 1rem;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav a {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    /* Slightly smaller for cleaner list */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s, background 0.3s;
    text-decoration: none;
    border-radius: 4px;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-blue);
    background-color: rgba(17, 115, 255, 0.05);
}

/* --- Desktop Sidebar Layout (min-width: 1025px) --- */
@media (min-width: 1025px) {
    body {
        /* padding-left: 280px;  Removed body padding, using main-content-wrapper instead */
        margin: 0;
    }

    .main-content-wrapper {
        padding-left: 280px;
        width: 100%;
        min-height: 100vh;
    }


    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        height: 100vh;
        border-right: 1px solid #eaeaea;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        overflow-y: auto;
        /* Allow scrolling if menu is tall */
    }

    .header-inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 40px;
    }

    .main-nav {
        width: 100%;
    }

    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .mobile-toggle {
        display: none;
    }

    /* Sidebar Footer / Gold Badge Styling */
    #header4_footer {
        margin-top: auto;
        width: 100%;
        padding: 20px;
        border-top: 1px solid #eaeaea;
    }

    #header4_footer .wp-block-media-text {
        display: grid;
        grid-template-columns: 80px 1fr !important;
        /* Fixed width for badge */
        align-items: center;
        gap: 15px;
    }

    #header4_footer img {
        width: 100%;
        height: auto;
        display: block;
    }
}


/* --- Mobile/Tablet Top Bar Layout (max-width: 1024px) --- */
@media (max-width: 1024px) {
    body {
        padding-left: 0;
        padding-top: 80px;
        /* Push content down for fixed header */
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .header-inner {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-bottom: 0;
    }

    .logo img {
        max-height: 50px;
    }

    .mobile-toggle {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: var(--text-dark);
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        /* Hidden by default */
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    /* Hide Sidebar Footer in Mobile Topbar */
    #header4_footer {
        display: none !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    /* Premium look */
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../assets/hero-bg.jpg') no-repeat center center/cover;
    /* Placeholder needed or color */
    background-color: #333;
    /* Fallback */
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Added text shadow for better readability over video */
}

/* Gold Badge Styling */
.gold-badge {
    width: 150px;
    /* Increased size */
    height: auto;
    transition: transform 0.3s ease;
    display: inline-block;
}

.gold-badge:hover {
    transform: scale(1.1);
}

/* Updated Menu Item Hover */
.main-nav a {
    /* ... existing properties ... */
    transition: color 0.3s, background 0.3s, transform 0.3s;
    /* Added transform */
}

.main-nav a:hover {
    color: var(--primary-blue);
    background-color: rgba(17, 115, 255, 0.05);
    transform: scale(1.05);
    /* Enlarge on hover */
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 4px;
    /* Slight roundness */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(17, 115, 255, 0.3);
}

/* Features/Services Teaser */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Footer */
.site-footer {
    background: #000000;
    color: #aeaeae;
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .main-nav {
        display: none;
        /* Hide for now, need JS for toggle */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 32px;
    }
}

/* Specific styles for App functionality */
.filter-bar {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: -40px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.filter-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: var(--primary-blue);
}

/* ALEA Objects Grid Redesign */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
}

.property-card {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.card-image-wrapper {
    position: relative;
    padding-top: 66%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.card-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .card-image-wrapper img {
    transform: scale(1.05);
    /* Slight zoom on hover like reference */
}

/* Header: Location on top of title */
.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-location {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-location i {
    color: #ccc;
    /* Subtle icon color */
}

.card-title {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    min-height: 50px;
    /* Align grid rows */
}

.card-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.card-title a:hover {
    color: var(--primary-blue);
}

/* Data Grid: 4 items */
.card-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    /* 4 columns desktop */
    gap: 10px;
    margin-bottom: 25px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

@media (max-width: 480px) {
    .card-data-grid {
        grid-template-columns: 1fr 1fr;
        /* 2x2 on mobile */
        gap: 20px 10px;
    }
}

.data-item {
    text-align: center;
    padding: 0 5px;
    border-right: 1px solid #eee;
    /* Dividers */
}

.data-item:last-child {
    border-right: none;
}

.data-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 4px;
}

.data-label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.card-footer {
    margin-top: auto;
}

.btn-expose {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 12px 0;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-expose:hover {
    background-color: #0056b3;
    color: white;
}

.btn-outline {
    display: block;
    text-align: center;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
}

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

/* Progress Steps Style */
.steps-container {
    max-width: 800px;
    margin: 40px auto;
}

.step-item {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
}

.progress-bar-container {
    background-color: #eee;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar-fill {
    background-color: var(--primary-blue);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5px;
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.step-content p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.step-highlight {
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Checklist Form */
.checklist-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.checklist-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.checklist-form-group {
    margin-bottom: 20px;
}

.checklist-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.checklist-form-group input[type="text"],
.checklist-form-group input[type="email"],
.checklist-form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.checkbox-wrapper {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #666;
    align-items: flex-start;
}

.checkbox-wrapper input {
    margin-top: 5px;
}

.checkbox-wrapper a {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* CTA Section */
.cta-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/img/cta-handshake.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-banner-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-banner-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-phone-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-phone-btn:hover {
    background: #0056b3;
}

/* Hero Section with Overlay */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    /* Reduced to match observed */
    background-color: #000;
    /* Use local image */
    background-image: url('../assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    color: white;
    text-align: center;
}

/* Overlay removed for clean video display on homepage */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
}

/* Media Query for mobile adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
}

/* Service CTA Cards (Leistungen Page) */
.service-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    /* 2 columns on large screens */
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .service-cta-grid {
        grid-template-columns: 1fr;
    }
}

.service-cta-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 2px;
    /* Sharper edges as per Alea style usually, or keeping it slight */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    /* Center content vertically */
    justify-content: center;
    text-align: center;
    color: white;
    text-decoration: none;
    /* In case it's a link */
}

.service-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

.service-cta-card:hover .service-cta-bg {
    transform: scale(1.05);
}

.service-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    transition: background 0.3s ease;
    z-index: 2;
}

.service-cta-card:hover .service-cta-overlay {
    background: rgba(0, 0, 0, 0.6);
    /* Slightly darker on hover */
}

.service-cta-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    max-width: 600px;
}

.service-cta-title {
    font-family: var(--font-heading);
    /* Roboto as per site */
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: none;
    /* Site doesn't force uppercase */
    letter-spacing: 0.5px;
}

.service-cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.95;
}

/* Bewertung Page Styles */
.bewertung-hero {
    background-image: url('../assets/img/bewertung-hero.jpg') !important;
}

.valuation-options {
    max-width: 900px;
    /* Readability width */
    margin: 0 auto;
}

.valuation-intro {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.valuation-section {
    padding: 30px 0;
}

.valuation-section h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.valuation-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.valuation-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.valuation-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.valuation-list li::before {
    content: "•";
    /* Or icon */
    color: var(--primary-blue);
    font-weight: bold;
    position: absolute;
    left: 10px;
    font-size: 1.2em;
}

/* Numbered list custom style */
.valuation-list-numbered {
    counter-reset: valuation-counter;
    list-style: none;
    padding: 0;
}

.valuation-list-numbered li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.valuation-list-numbered li::before {
    counter-increment: valuation-counter;
    content: counter(valuation-counter) ".";
    color: var(--primary-blue);
    font-weight: 700;
    position: absolute;
    left: 0;
    width: 25px;
    display: inline-block;
}

.valuation-result {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 30px;
    display: block;
}

.section-divider {
    height: 1px;
    background-color: #ddd;
    margin: 60px 0;
    width: 100%;
    position: relative;
}

.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* --- Image Slider Styles --- */
.card-image-wrapper {
    position: relative;
    padding-top: 66%;
    /* 3:2 Aspect Ratio */
    overflow: hidden;
    background: #f0f0f0;
}

/* Reset the absolute positioning from previous styles for slider images */
.card-image-slider .slider-img {
    position: relative;
    /* specific override */
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.card-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.slider-img-link {
    display: block;
    height: 100%;
    flex-shrink: 0;
    /* Width is set inline per number of images */
}

/* Transform Reset */
.property-card:hover .card-image-wrapper img {
    transform: none !important;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    /* Hidden by default */
    transition: opacity 0.3s, background 0.3s;
    font-size: 14px;
}

.property-card:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    pointer-events: none;
    /* Allows clicking through if needed, but we want click visual */
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}/* --- LIGHTBOX (Lightroom Style) --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.98);
    /* Deep dark background */
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10002;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-blue);
}

/* Main Content Area */
.lightbox-main {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 80px;
    /* Space for arrows */
    overflow: hidden;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    border-radius: 2px;
}

/* Captions if needed */
.lightbox-caption {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #888;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
}

/* Large Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
    background: transparent;
    border: none;
    outline: none;
}

.lightbox-arrow:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow i,
.lightbox-arrow svg {
    width: 60px;
    height: 60px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Filmstrip (Bottom) */
.lightbox-strip {
    height: 120px;
    width: 100%;
    background: #000;
    border-top: 1px solid #222;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center initially, or flex-start if scroll */
    padding: 10px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #444 #000;
}

/* Scrollbar styling for Webkit */
.lightbox-strip::-webkit-scrollbar {
    height: 8px;
}

.lightbox-strip::-webkit-scrollbar-track {
    background: #000;
}

.lightbox-strip::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.lightbox-thumb {
    height: 80px;
    width: auto;
    max-width: 120px;
    object-fit: cover;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, border-color 0.2s;
    border: 2px solid transparent;
    border-radius: 2px;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}/* --- LIGHTBOX (Refined Lightroom Style) --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.90);
    /* Semi-transparent */
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    /* Optional: Blur background for float effect */
}

.lightbox-overlay.active {
    opacity: 1;
}

/* Close Button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10002;
    transition: all 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--primary-blue);
    transform: scale(1.2);
}

/* Main Content Area */
.lightbox-main {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 80px;
    overflow: hidden;
}

/* Floating Image */
.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    /* Floating shadow */
    border-radius: 4px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* Large Arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
    background: transparent;
    border: none;
    outline: none;
}

.lightbox-arrow:hover {
    color: var(--primary-blue);
    /* Blue hover */
    transform: translateY(-50%) scale(1.2);
    /* Grow on hover */
}

.lightbox-arrow i,
.lightbox-arrow svg {
    width: 60px;
    height: 60px;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Caption Check */
.lightbox-caption-container {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    padding-top: 10px;
}

.lightbox-caption-text {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Filmstrip Container */
.lightbox-strip-wrapper {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Different dark shade */
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}

/* Filmstrip (Bottom) */
.lightbox-strip {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Start alignment for scrolling */
    padding: 10px 20px;
    gap: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #555 transparent;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
.lightbox-strip::-webkit-scrollbar {
    height: 6px;
}

.lightbox-strip::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-strip::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

.lightbox-thumb {
    height: 70px;
    width: auto;
    max-width: 120px;
    /* Limit width */
    object-fit: cover;
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    border-radius: 4px;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 2;
}
/* Map & Location Styles */
.location-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.map-container {
    width: 100%;
    height: 350px;
    background-color: #eee;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.travel-time-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.travel-time-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.travel-time-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.travel-icon-box {
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}
