/* static/style.css - Modern 2025 Luxe Travel Design */

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Inter', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    overflow-x: hidden;
    scroll-behavior: smooth;
}
h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 3rem);
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
}

/* Navigation - Sticky, Modern */
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1rem 2rem; 
    background: rgba(255,255,255,0.95); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 100;
}
.nav-brand { 
    font-size: clamp(1.2rem, 3vw, 1.8rem); 
    font-weight: 700; 
    color: #2c5aa0; 
}
.lang-selector {
    display: flex;
    gap: 0.5rem;
}
.lang-selector a {
    font-size: 1.5rem;
    text-decoration: none;
    padding: 0.25rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}
.lang-selector a.active,
.lang-selector a:hover { 
    opacity: 1; 
    background: #2c5aa0; 
    color: white; 
    transform: scale(1.1);
}
.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 2rem;
}
.nav-menu a { 
    text-decoration: none; 
    color: #333; 
    font-weight: 400; 
    transition: color 0.3s ease; 
}
.nav-menu a:hover { 
    color: #2c5aa0; 
}

/* Sections - Gradient Backgrounds, Spacing */
.welcome-section { 
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 100%); 
    text-align: center; 
    padding: clamp(4rem, 10vh, 8rem) 0; 
}
.properties-section, .videos-section, .why-us-section, .contact-section, .property-desc, .gallery-section { 
    padding: clamp(3rem, 8vh, 6rem) 0; 
}
.property-hero { 
    position: relative; 
    height: clamp(50vh, 70vw, 80vh); 
    overflow: hidden; 
}
.hero-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}
.hero-overlay { 
    position: absolute; 
    bottom: 2rem; 
    left: 2rem; 
    background: rgba(0,0,0,0.7); 
    color: white; 
    padding: 2rem; 
    border-radius: 12px; 
    backdrop-filter: blur(5px);
}
.hero-overlay h1 { 
    margin-bottom: 1rem; 
    font-size: clamp(2rem, 5vw, 3.5rem);
}

/* Grids - CSS Grid, Responsive */
.properties-grid, .video-grid, .gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
    margin-top: 2rem; 
}
.gallery-grid { 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
}


/* Add to your existing static/style.css */

/* Gallery grid improvements */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.thumbnail-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* Keyboard shortcuts hint */
.modal-shortcuts {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .gallery-thumb {
        height: 150px;
    }
    
    .nav-btn, .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .gallery-thumb {
        height: 120px;
    }
}




/* Property Cards - Hover Effects */
.property-card { 
    background: white; 
    border-radius: 16px; 
    overflow: hidden; 
    box-shadow: 0 8px 32px rgba(0,0,0,0.1); 
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
.property-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
}
.property-img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
    transition: transform 0.4s ease;
}
.property-card:hover .property-img { transform: scale(1.05); }
.property-info { 
    padding: 1.5rem; 
}
.property-info h3 { 
    margin-bottom: 0.5rem; 
    color: #2c5aa0; 
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

/* Videos */
.video-grid iframe { 
    width: 100%; 
    height: clamp(250px, 40vw, 400px); 
    border-radius: 12px; 
}

/* Features List */
.features-list { 
    list-style: none; 
    max-width: 800px; 
    margin: 0 auto; 
    display: grid; 
    gap: 1rem;
}
.features-list li { 
    padding: 1rem; 
    background: rgba(255,255,255,0.8); 
    border-radius: 8px; 
    position: relative; 
    padding-left: 2.5rem; 
    transition: background 0.3s ease;
}
.features-list li:hover { background: rgba(172, 230, 207, 0.9); }
.features-list li:before { 
    content: ''; 
    position: absolute; 
    left: 1rem; 
    color: #2c5aa0; 
    font-size: 1.2rem;
}




/* Forms - Modern Inputs */
.form-group { 
    margin-bottom: 1.5rem; 
    max-width: 500px; 
    margin-left: auto; 
    margin-right: auto; 
}
label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 600; 
    color: #2c5aa0;
}
input, select, textarea { 
    width: 100%; 
    padding: 1rem; 
    border: 2px solid #e0e0e0; 
    border-radius: 8px; 
    font-size: 1rem; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, select:focus, textarea:focus { 
    outline: none; 
    border-color: #2c5aa0; 
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}
.cta-button { 
    display: inline-block; 
    padding: 1rem 2rem; 
    background: linear-gradient(135deg, #2c5aa0, #1e3d72); 
    color: white; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 600; 
    transition: all 0.3s ease; 
    border: none; 
    cursor: pointer;
}
.cta-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3); 
}
.cta-button.small { 
    padding: 0.75rem 1.5rem; 
    font-size: 0.9rem; 
}
.cta-button.secondary { 
    background: linear-gradient(135deg, #a8e6cf, #88b7a5); 
}
.cta-button.secondary:hover { 
    box-shadow: 0 8px 20px rgba(168, 230, 207, 0.3); 
}
.alert { 
    padding: 1rem; 
    margin: 1rem 0; 
    border-radius: 8px; 
    font-weight: 500;
}
.alert-success { 
    background: linear-gradient(135deg, #d4edda, #c3e6cb); 
    color: #155724; 
    border: 1px solid #c3e6cb; 
}
.alert-error { 
    background: linear-gradient(135deg, #f8d7da, #f5c6cb); 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}

/* Gallery - Masonry-like Grid */
.gallery-item { 
    display: block; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); 
    transition: all 0.4s ease;
}
.gallery-item:hover { 
    transform: scale(1.05); 
    box-shadow: 0 16px 32px rgba(0,0,0,0.15); 
}
.gallery-thumb { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    transition: transform 0.4s ease;
}
.gallery-item:hover .gallery-thumb { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
    .navbar { flex-direction: column; gap: 1rem; padding: 1rem; }
    .nav-menu { gap: 1rem; }
    .lang-selector { order: -1; }
    .properties-grid, .gallery-grid { grid-template-columns: 1fr; }
    .features-list li { padding-left: 1.5rem; font-size: 0.95rem; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
/* ===== MOBILE FIXES ===== */

/* 1. Touch-friendly tap targets */
button,
a.cta-button,
.nav-menu a {
    min-height: 44px; /* Minimum touch target size */
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 2. Mobile-first responsive breakpoints */
@media (max-width: 768px) {
    /* Mobile navbar */
    .navbar {
        flex-wrap: wrap;
        padding: 0.5rem 1rem;
        position: relative;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 100;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #2c5aa0;
        border-radius: 2px;
        transition: 0.3s;
    }

    .nav-content {
        display: none;
        width: 100%;
        order: 3;
        padding: 1rem 0;
    }

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

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

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

    .nav-menu a {
        display: block;
        padding: 0.75rem;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
        text-align: center;
    }

    .lang-selector {
        justify-content: center;
        margin-bottom: 1rem;
    }

    /* Property cards stack on mobile */
    .properties-grid,
    .video-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Hero adjustments */
    .hero-overlay {
        position: relative;
        bottom: 0;
        left: 0;
        margin: 1rem;
        background: rgba(0,0,0,0.8);
    }

    .property-hero {
        height: 40vh;
    }

    /* Form adjustments */
    .form-group {
        margin-bottom: 1rem;
    }

    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 0.75rem;
    }

    /* Reduce spacing on sections */
    .welcome-section,
    .properties-section,
    .videos-section,
    .why-us-section,
    .contact-section,
    .property-desc,
    .gallery-section {
        padding: 2rem 0;
    }

    /* Gallery modal fixes */
    .modal-nav {
        padding: 0 10px;
    }

    .nav-btn, .modal-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    /* Hide desktop-only elements */
    .desktop-only {
        display: none;
    }
}

/* 3. Small phones (<= 480px) */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    .container {
        padding: 0 0.75rem;
    }

    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Gallery grid for very small screens */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumb {
        height: 150px;
    }
}

/* 4. Tablet adjustments (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .properties-grid,
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hamburger {
        display: none;
    }

    .nav-content {
        display: flex !important;
    }
}

/* 5. Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* 6. Fix iOS input styling */
input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
}

/* 7. Modal gallery mobile fixes */
@media (max-width: 768px) {
    .modal-image {
        max-height: 60vh;
    }

    .modal-content {
        max-width: 95%;
    }
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}





/* ===== HAMBURGER MENU STYLES ===== */
.hamburger {
    display: none; /* Hidden on desktop by default */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #2c5aa0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hamburger animation when active */
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

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

/* Mobile navbar */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* Show on mobile */
    }

    .nav-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
        flex-direction: column;
    }

    .nav-content.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 1rem;
    }

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

    .nav-menu a {
        display: block;
        padding: 12px 16px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        transition: all 0.3s;
    }

    .nav-menu a:hover {
        background: #f5f5f5;
        color: #2c5aa0;
    }

    .lang-selector {
        display: flex;
        justify-content: center;
        gap: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }

    .lang-selector a {
        font-size: 1.8rem;
        padding: 5px;
        border-radius: 50%;
        transition: all 0.3s;
    }

    .lang-selector a.active {
        background: #2c5aa0;
        color: white;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== SIMPLE WORKING HAMBURGER ===== */

/* Desktop navigation - hidden on mobile */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Mobile hamburger button */
.hamburger-btn {
    display: none; /* Changed from display: none to block on mobile */
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #2c5aa0;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* ===== RESPONSIVE RULES ===== */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block !important; /* Force show on mobile */
    }
    
    .desktop-nav {
        display: none;
    }
}

/* Mobile navigation menu (hidden by default) */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding-top: 70px;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

/* Mobile language selector */
.mobile-lang {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-lang a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.mobile-lang a.active {
    background: #2c5aa0;
    color: white;
}

/* Mobile menu links */
.mobile-menu {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.mobile-menu a:hover {
    background: #f5f5f5;
    color: #2c5aa0;
    padding-left: 25px;
}

/* Close button for mobile menu */
.mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


