/* CSS Variables for Premium Coastal Branding */
:root {
    --primary: #475f52;      /* Logo Green */
    --primary-light: #e5ebe8;
    --accent: #d1c8b4;       /* Logo Beige Accent */
    --text: #1f2937;         /* Dark Gray text */
    --text-muted: #6b7280;
    --bg: #ffffff;
    --bg-alt: #f8fafc;       /* Subtle off-white */
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.35rem;
}

p, li {
    font-size: 1rem;
    line-height: 1.7;
}

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

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

.section {
    padding: 120px 0;
}

/* Section Titles */
.section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: normal;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.home-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.home-btn:hover svg {
    stroke: var(--white);
}

.home-btn svg {
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    padding-bottom: 0.5rem; /* Better hover bridge */
    margin-bottom: -0.5rem;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg);
    min-width: 220px;
    padding: 1.25rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    list-style: none;
    z-index: 1001;
    border: 1px solid rgba(0,0,0,0.05);
    margin-top: 5px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.dropdown-menu li {
    padding: 0;
    margin: 0;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.75rem 2rem !important;
    color: var(--text-muted) !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    white-space: nowrap;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary) !important;
    padding-left: 2.25rem !important;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #35473d;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 0;
    text-align: center;
    padding-top: 80px; /* Offset for header */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Background Image crossfade Slider */
.hero-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-slider .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: kenburnsFade 24s infinite;
}

.hero-slider .slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/gallery_1.jpg');
    animation-delay: 0s;
}
.hero-slider .slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/gallery_2.jpg');
    animation-delay: 6s;
}
.hero-slider .slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/gallery_3.jpg');
    animation-delay: 12s;
}
.hero-slider .slide-4 {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/gallery_4.jpg');
    animation-delay: 18s;
}

@keyframes kenburnsFade {
    0% { opacity: 0; transform: scale(1.0); }
    10% { opacity: 1; }
    25% { opacity: 1; }
    35% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Property Grid - Junik Luxury Split Layout */
.property-grid {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.property-card {
    display: flex;
    flex-direction: row;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: var(--transition);
    align-items: center;
    gap: 4rem;
}

.property-card:nth-child(even) {
    flex-direction: row-reverse;
}

.property-card:hover {
    transform: none;
    box-shadow: none;
}

.property-image {
    flex: 1;
    height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 8px 16px;
    background: var(--bg);
    color: var(--primary);
    font-weight: 600;
    border-radius: 0px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.property-info {
    flex: 1;
    padding: 2rem;
    text-align: left;
}

.property-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.property-info p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Booking Widget Container */
.booking-section {
    background: var(--bg-alt);
    padding: 80px 0;
}

#smoobu-calendar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Smoobu Iframe Responsive Handling */
.smoobu-booking-tool-container iframe {
    border: none;
    max-width: 100%;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #cbd5e1;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Booking Bar & Search Form Styling */
.booking-bar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    max-width: 1000px;
    margin: 3rem auto 0;
    color: var(--text);
    text-align: left;
}

.booking-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.booking-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.booking-group input, 
.booking-group select {
    border: 1px solid #e2e8f0;
    padding: 0.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    width: 100%;
}

.booking-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.booking-bar .btn-primary {
    padding: 1rem 2rem;
    margin-top: 1rem;
}

/* Sidebar Search Form */
.sidebar-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Layout Classes */
.grid-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

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

.hero-content {
    animation: fadeInUp 1s ease-out;
}

/* ==================== Mobile Hamburger Menu ==================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==================== Responsive Design ==================== */

/* Tablet Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
    .section {
        padding: 80px 0;
    }

    .property-card {
        gap: 2.5rem;
    }

    .property-image {
        height: 450px;
    }

    .property-info h3 {
        font-size: 1.5rem;
    }

    .property-info p {
        font-size: 1.05rem;
    }

    .grid-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .booking-card {
        position: static !important;
    }

    .property-summary-card {
        grid-template-columns: 280px 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        gap: 0;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.9rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Mobile dropdown adjustments */
    .dropdown {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        opacity: 1;
        visibility: visible;
        min-width: 0;
        padding: 0 0 0 1rem;
        margin-top: 0;
        background: transparent;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 0.6rem 0 !important;
        font-size: 0.85rem !important;
    }

    .dropdown-menu a:hover {
        padding-left: 0 !important;
        background: transparent;
    }

    .mobile-nav-overlay.active {
    }

    /* Hide desktop booking button in header on mobile */
    nav > .btn {
        display: none;
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    /* Hero */
    .hero {
        height: 85vh;
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    /* Property Grid */
    .property-grid {
        gap: 3.5rem;
    }

    .property-card {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .property-image {
        height: 280px;
        width: 100%;
    }

    .property-info {
        padding: 1rem 0.5rem;
    }

    .property-info h3 {
        font-size: 1.4rem;
    }

    .property-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Gallery Grid */
    .gallery-detailed {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .gallery-item {
        height: 200px !important;
    }

    /* Features Grid */
    .features {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Booking Bar */
    .booking-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        margin: 2rem auto 0;
    }

    .booking-bar .btn-primary {
        margin-top: 0;
    }

    /* Booking Card (sidebar) */
    .booking-card {
        position: static !important;
        margin-top: 2rem;
    }

    /* Property Summary Card */
    .property-summary-card {
        grid-template-columns: 1fr;
    }

    .summary-image {
        height: 220px;
    }

    .summary-content {
        padding: 1.5rem;
    }

    .summary-content h2 {
        font-size: 1.5rem;
    }

    /* Map iframe */
    .grid-content iframe {
        height: 250px !important;
    }

    /* Footer */
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Host images */
    .host-image-refined {
        width: 200px;
        height: 200px;
    }

    .host-image-small {
        width: 120px;
        height: 120px;
    }

    /* Booking page specific */
    .booking-container {
        padding: 100px 0 40px !important;
    }

    .booking-header-plain h1 {
        font-size: 1.75rem;
    }

    .summary-text {
        font-size: 1.05rem;
    }

    .booking-frame-wrapper {
        min-height: 1000px !important;
    }

    #full-booking-iframe {
        min-height: 1000px !important;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 40px 0;
    }

    /* Hero */
    .hero {
        height: 75vh;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        letter-spacing: 0;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    /* Typography */
    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    p, li {
        font-size: 0.95rem;
    }

    /* Property Cards */
    .property-image {
        height: 220px;
    }

    .property-info h3 {
        font-size: 1.25rem;
    }

    /* Gallery Grid */
    .gallery-detailed {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .gallery-item {
        height: 220px !important;
    }

    /* Booking Bar */
    .booking-bar {
        padding: 1.25rem;
        gap: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 22px;
        font-size: 0.9rem;
    }

    /* Footer Contact */
    .footer-contact p {
        font-size: 0.9rem;
    }

    /* Booking page header */
    .booking-header-plain h1 {
        font-size: 1.5rem;
    }

    .summary-text {
        font-size: 0.95rem;
    }

    /* Property info description on detail pages */
    .property-info p,
    .grid-content p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* Welcome section on index page */
    .section p[style*="font-size: 1.5rem"] {
        font-size: 1.15rem !important;
    }

    /* Home button styling on small screens */
    .home-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    /* Amenity grid */
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenity-card-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    /* Host images */
    .host-image-refined {
        width: 160px;
        height: 160px;
    }

    .host-image-small {
        width: 100px;
        height: 100px;
    }
}

.booking-header-plain {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.booking-header-plain h1 {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.summary-text {
    font-size: 1.35rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.summary-text .highlight {
    color: var(--primary);
    font-weight: 600;
}

.summary-text .divider {
    margin: 0 0.5rem;
    color: #cbd5e1;
}

.instructions {
    font-size: 1.1rem;
    color: #64748b;
    font-style: italic;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .booking-header-plain h1 {
        font-size: 2rem;
    }
    .summary-text {
        font-size: 1.15rem;
    }
}

/* Property Summary Card for Booking Page */
.property-summary-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 350px 1fr;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid rgba(0,0,0,0.05);
}

.summary-image {
    height: 100%;
}

.summary-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.summary-content h2 {
    margin-bottom: 0.25rem;
    font-size: 2rem;
    color: var(--primary);
}

.summary-content .badge-premium {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.amenity-card-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-alt);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.amenity-card-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.host-image-refined {
    width: 250px;
    height: 250px;
    border-radius: 20px;
    object-fit: cover;
    border: 6px solid var(--white);
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto 2rem auto;
}

.host-image-small {
    width: 150px;
    height: 150px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto 1.5rem auto;
}

.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 2.5rem 0 1.5rem 0;
    margin-top: 4rem;
}

.footer-contact h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #cbd5e1;
}

.footer-contact a {
    color: #8cb09a;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: #b5ccbf;
    text-decoration: underline;
}

.footer-bottom-bar {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-link:hover, .lang-link.active {
    color: #475f52;
}

.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.lang-link:hover .flag-icon, .lang-link.active .flag-icon {
    opacity: 1;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

.host-link {
    transition: var(--transition);
    display: inline-block;
}

.host-link:hover {
    transform: translateY(-5px);
}

.host-link:hover img {
    box-shadow: 0 10px 25px -10px rgba(0,0,0,0.3);
}

/* Booking Status Banner */
.status-banner {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.5s ease-out;
    box-shadow: var(--shadow);
}

.status-banner.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.status-banner.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.status-banner.error .status-icon {
    background: #ef4444;
}

.status-banner.error h4 {
    color: #991b1b;
}

.status-banner.error p {
    color: #b91c1c;
    opacity: 1;
}

/* Loading State */
.status-banner.loading {
    background: #f8fafc;
    border-color: #e2e8f0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.status-banner.loading .status-icon {
    background: #cbd5e1;
    animation: banner-pulse 1.5s infinite;
}

@keyframes banner-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.status-banner.loading h4, .status-banner.loading p {
    color: #64748b;
}

.status-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-content h4 {
    color: var(--white);
    margin: 0;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.1rem;
}

.status-content p {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Premium Flatpickr Calendar Styling */
.premium-calendar {
    background: var(--white) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-hover) !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    padding: 10px !important;
}

.premium-calendar .flatpickr-months {
    padding: 10px 0 !important;
}

.premium-calendar .flatpickr-month {
    color: var(--primary) !important;
    fill: var(--primary) !important;
}

.premium-calendar .flatpickr-weekday {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
}

.premium-calendar .flatpickr-day {
    border-radius: 8px !important;
    color: var(--text) !important;
}

.premium-calendar .flatpickr-day.today {
    border-color: var(--accent) !important;
    color: var(--primary) !important;
}

.premium-calendar .flatpickr-day.selected,
.premium-calendar .flatpickr-day.startRange,
.premium-calendar .flatpickr-day.endRange {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.premium-calendar .flatpickr-day.inRange {
    background: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.premium-calendar .flatpickr-day.flatpickr-disabled,
.premium-calendar .flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    text-decoration: line-through !important;
    background: transparent !important;
    cursor: not-allowed !important;
}

.premium-calendar .flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
    background: #f1f5f9 !important;
    border-color: #f1f5f9 !important;
}

/* NEW: Minimal White Booking Summary Card */
#availability-banner {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.booking-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    color: #1a202c;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.summary-header {
    margin-bottom: 1.25rem;
}

.summary-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #1a202c;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #4a5568;
}

.summary-item i {
    width: 20px;
    color: #718096;
    text-align: center;
}

.summary-divider {
    border: 0;
    border-top: 1px solid #edf2f7;
    margin: 1.25rem 0;
}

.summary-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.price-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 0.25rem;
}

.price-row span:first-child {
    color: #4a5568;
}

.price-row.total span:first-child {
    color: #1a202c;
}

.summary-status {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    padding: 0.75rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #2f855a;
}

.summary-status i {
    color: #38a169;
}

#booking-status.error .summary-status {
    background: #fff5f5;
    border-color: #feb2b2;
    color: #c53030;
}

#booking-status.error .summary-status i {
    color: #e53e3e;
}

#booking-status.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Hide original simple banner components when new design is active */
.banner-container {
    display: none;
}

/* ==================== Lightbox Gallery ==================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

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

.lightbox-image-wrapper {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-wrapper img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lightbox-overlay.active .lightbox-image-wrapper img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-size: 0.9rem;
    letter-spacing: 2px;
    z-index: 10001;
}

.gallery-item {
    cursor: pointer;
}

.gallery-item.gallery-hidden {
    display: none;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .lightbox-prev {
        left: 0.75rem;
    }
    .lightbox-next {
        right: 0.75rem;
    }
    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
    }
    .lightbox-image-wrapper img {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Language Switcher Alignment Fix */
.dropdown-trigger img, .dropdown-menu a img { margin-top: -3px; flex-shrink: 0; vertical-align: middle; }
.dropdown-menu a[style*="display: flex"] { display: flex !important; align-items: center !important; }

