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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Important Update Banner */
.important-update {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    animation: gradientShift 3s ease infinite;
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
    border-bottom: 3px solid #ff4757;
}

.important-update::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.update-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.update-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: #ff4757;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.update-title {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.update-text {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 500;
}

.update-text strong {
    font-weight: 700;
    text-decoration: underline;
}

/* Header Styles */
.header {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 300;
    color: #8B7FB8;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #8B7FB8;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none; /* shown on mobile via media query */
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #E0D0E0;
    background: linear-gradient(180deg, #ffffff, #f8f6fb);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: #CFC3D6;
    box-shadow: 0 4px 14px rgba(139, 127, 184, 0.18);
}

.menu-toggle:active {
    transform: scale(0.98);
}

.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #5A4B6B; /* brand tone */
    border-radius: 999px;
    margin: 5px 0;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.menu-toggle[aria-expanded="true"] {
    background: #F1EDF7;
    border-color: #D9D0E3;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero Section */
.hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hero-logo-img {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #E8D5E8 0%, #D4C5D9 100%);
    padding: 80px 0;
    text-align: center;
}

.welcome-section h2 {
    font-size: 48px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 30px;
    text-transform: lowercase;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 40px;
    height: 40px;
}

.welcome-section p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #5A4B6B;
}

.nature-image {
    margin: 40px 0;
}

.nature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quote {
    background: rgba(255,255,255,0.3);
    padding: 30px;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.quote p {
    font-size: 24px;
    font-style: italic;
    color: #5A4B6B;
    margin-bottom: 10px;
}

.quote cite {
    font-size: 16px;
    color: #8B7FB8;
    font-style: normal;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: #fff;
}

.location-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 40px;
    text-transform: lowercase;
}

.location-section h3 {
    font-size: 28px;
    font-weight: 400;
    color: #8B7FB8;
    margin: 40px 0 20px;
    text-align: center;
}

.location-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.community-image {
    margin: 40px 0;
    text-align: center;
}

.community-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Elements Section */
.elements-section {
    background: linear-gradient(135deg, #F0E8F0 0%, #E8D5E8 100%);
    padding: 80px 0;
}

.elements-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 60px;
    text-align: center;
    text-transform: lowercase;
}

.elements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.element {
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.element h3 {
    font-size: 20px;
    font-weight: 600;
    color: #5A4B6B;
    margin-bottom: 15px;
}

.element p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 40px;
    text-transform: lowercase;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.about-text strong {
    color: #8B7FB8;
    font-weight: 600;
}

.caption {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.about-image img {
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #E8D5E8 0%, #D4C5D9 100%);
    padding: 80px 0;
}

.contact-section h2 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 40px;
    text-align: center;
    text-transform: lowercase;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #5A4B6B;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E0D0E0;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: rgba(255,255,255,0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B7FB8;
    box-shadow: 0 0 0 3px rgba(139, 127, 184, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #8B7FB8 0%, #A594C7 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 30px auto 0;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 127, 184, 0.3);
}

/* About Page Styles */
.about-page-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-page-section h1 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 40px;
    text-align: center;
    text-transform: lowercase;
}

.about-page-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.about-page-image img {
    width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.about-page-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #555;
}

.about-page-text strong {
    color: #8B7FB8;
    font-weight: 600;
}

/* What We Offer Page Styles */
.offer-section {
    padding: 80px 0;
    background-color: #fff;
}

.offer-section h1 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 40px;
    text-align: center;
    text-transform: lowercase;
}

.offer-category {
    background: linear-gradient(135deg, #F0E8F0 0%, #E8D5E8 100%);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.offer-category h2 {
    font-size: 32px;
    font-weight: 400;
    color: #5A4B6B;
    margin-bottom: 20px;
}

.offer-category h3 {
    font-size: 24px;
    font-weight: 500;
    color: #8B7FB8;
    margin: 30px 0 15px;
}

.offer-category h4 {
    font-size: 20px;
    font-weight: 500;
    color: #8B7FB8;
    margin: 25px 0 10px;
}

.offer-category p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.offer-category ul {
    margin: 15px 0 20px 20px;
    color: #555;
}

.offer-category li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.accommodation-item {
    background: rgba(255,255,255,0.7);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.accommodation-item:hover {
    transform: translateY(-5px);
}

.accommodation-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.accommodation-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #5A4B6B;
    margin-bottom: 15px;
}

.accommodation-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* Rentals Page Styles */
.rentals-section {
    padding: 80px 0;
    background-color: #fff;
}

.rentals-section h1 {
    font-size: 42px;
    font-weight: 300;
    color: #5A4B6B;
    margin-bottom: 20px;
    text-align: center;
    text-transform: lowercase;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 10px 0 30px;
}

.badge {
    display: inline-block;
    background: rgba(139, 127, 184, 0.12);
    color: #5A4B6B;
    border: 1px solid #E0D0E0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

.rentals-intro p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto 16px;
    max-width: 900px;
    color: #555;
    text-align: center;
}

.rentals-details {
    max-width: 1000px;
    margin: 30px auto 50px;
    background: linear-gradient(135deg, #F0E8F0 0%, #E8D5E8 100%);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}

.rentals-details h2 {
    font-size: 28px;
    font-weight: 500;
    color: #8B7FB8;
    margin: 25px 0 12px;
}

.feature-list {
    margin: 10px 0 10px 22px;
    color: #555;
}

.feature-list li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.cta-box {
    background: rgba(255,255,255,0.85);
    padding: 22px;
    border-radius: 16px;
    border: 2px solid #E0D0E0;
    margin-top: 20px;
    text-align: center;
}

.cta-button {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(135deg, #8B7FB8 0%, #A594C7 100%);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(139, 127, 184, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(139, 127, 184, 0.32);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Lightbox (Modal Gallery) */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.lightbox-overlay.open {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-close:hover,
.lightbox-nav:hover {
    background: rgba(255,255,255,0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap; /* allow nav to wrap below */
    }

    /* Show hamburger on mobile only when JS is enabled */
    .js .menu-toggle {
        display: grid;
        place-items: center;
    }

    /* Collapse nav by default on mobile (only when JS is enabled) */
    .js .nav {
        display: none;
        width: 100%;
    }

    .js .nav.open {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        text-align: left;
        gap: 16px;
        padding: 12px 0 4px;
        border-top: 1px solid #E0D0E0;
    }
    
    .hero {
        height: 250px;
    }
    
    .hero-logo-img {
        width: 150px;
        height: 150px;
    }
    
    .welcome-section h2,
    .location-section h2,
    .elements-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 32px;
    }
    
    .elements-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image img {
        width: 300px;
    }
    
    .about-page-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .about-page-image img {
        width: 250px;
    }
    
    .accommodation-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .welcome-section,
    .location-section,
    .elements-section,
    .about-section,
    .contact-section,
    .about-page-section,
    .offer-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 18px;
    }
    
    .nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hero-logo-img {
        width: 120px;
        height: 120px;
    }
    
    .welcome-section h2,
    .location-section h2,
    .elements-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 28px;
    }
    
    .welcome-section p {
        font-size: 16px;
    }
    
    .quote p {
        font-size: 20px;
    }
}
