/* CSS Variables for consistent theming */
:root {
    --primary-green: #2d5a3d;
    --secondary-green: #4a7c59;
    --accent-green: #6b9b6b;
    --light-green: #e8f3e8;
    --primary-blue: #4a6fa5;
    --light-blue: #e6f0ff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray-medium: #dee2e6;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--gray-medium);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: var(--primary-green);
    margin: 0;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link.booking-link {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-link.booking-link:hover {
    background: var(--secondary-green);
    color: var(--white);
}

.nav-link.active {
    background: var(--secondary-green);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 61, 0.4);
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 90, 61, 0.3);
}

.cta-button.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-text p {
    margin-bottom: 1.5rem;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow);
}

.image-gallery img:first-child {
    grid-column: 1 / -1;
    height: 300px;
}

/* Compact Gallery */
.image-gallery-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.image-gallery-compact img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.image-gallery-compact img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow);
}

/* Compact Stay Section */
.stay-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.stay-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
}

.stay-content-compact h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.stay-content-compact p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.stay-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.stay-features span {
    background: var(--light-green);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Section Backgrounds */
.village-section {
    background: var(--white);
}

.history-section {
    background: var(--light-green);
}

.nature-section {
    background: var(--white);
}

.stay-section {
    background: var(--light-blue);
}

/* Stay Section */
.stay-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stay-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.stay-cta {
    text-align: center;
}

.discretion-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Booking Page Styles */
.booking-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.booking-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.booking-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 90, 61, 0.5);
}

.booking-hero-content {
    text-align: center;
    color: var(--white);
    z-index: 1;
    max-width: 600px;
    padding: 0 2rem;
}

.booking-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.booking-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Booking Section */
.booking-section {
    padding: 5rem 0;
    background: var(--gray-light);
}

.booking-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.booking-info h2 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

.booking-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.amenities h3,
.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.amenities ul {
    list-style: none;
    padding: 0;
}

.amenities li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.amenities li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.contact-info a {
    color: var(--primary-green);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Booking Form */
.booking-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px var(--shadow);
}

.booking-form h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.booking-form p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-medium);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

.submit-button {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .content-grid.reverse {
        direction: ltr;
    }

    .image-gallery-compact {
        grid-template-columns: 1fr;
    }

    .stay-compact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stay-features {
        justify-content: flex-start;
    }

    .partners-links {
        gap: 0.5rem;
    }

    .partners-links a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

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

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

    .booking-form-container {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Partners Simple Section */
.partners-simple {
    background: var(--light-green);
    padding: 2rem 0;
    text-align: center;
}

.partners-simple h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.partners-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.partners-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: white;
    transition: var(--transition);
}

.partners-links a:hover {
    background: var(--primary-green);
    color: white;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
    border-radius: 25px;
    background: var(--gray-light);
    padding: 0.25rem;
}

.lang-option {
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.lang-option:hover {
    background: rgba(45, 90, 61, 0.1);
}

.lang-option.active {
    background: var(--primary-green);
    color: var(--white);
}

/* Accommodations Section */
.accommodations-section {
    background: var(--gray-light);
}

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

.accommodation-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.accommodation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.accommodation-card.coming-soon {
    opacity: 0.8;
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(45, 90, 61, 0.9);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 90, 61, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
}

.card-title {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light-green);
    border-radius: 8px;
}

.features-text {
    color: var(--primary-green);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    flex: 1;
    text-align: center;
    min-width: 120px;
}

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

.btn-primary:hover:not(.disabled) {
    background: var(--secondary-green);
    transform: translateY(-1px);
}

.btn-primary.disabled {
    background: var(--gray-medium);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-1px);
}

/* Partners Floating Button */
.partners-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(45, 90, 61, 0.3);
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
    user-select: none;
}

.partners-float-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(45, 90, 61, 0.4);
}

.partners-float-btn i {
    width: 20px;
    height: 20px;
}

/* Partners Panel */
.partners-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.partners-panel.active {
    right: 0;
}

.partners-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.partners-header {
    padding: 2rem;
    border-bottom: 1px solid var(--gray-medium);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-green);
}

.partners-header h3 {
    color: var(--primary-green);
    margin: 0;
    font-size: 1.3rem;
}

.close-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--primary-green);
}

.close-btn:hover {
    background: rgba(45, 90, 61, 0.1);
}

.close-btn i {
    width: 20px;
    height: 20px;
}

.partners-content {
    padding: 2rem;
}

.partners-section {
    margin-bottom: 2rem;
}

.partners-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partners-list {
    list-style: none;
    padding: 0;
}

.partners-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.partners-list li:hover {
    background: var(--light-green);
}

.partners-list li i {
    width: 16px;
    height: 16px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.partners-list a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.partners-list a:hover {
    color: var(--primary-green);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .accommodations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-actions {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        flex: none;
    }
    
    .partners-panel {
        width: 100%;
        right: -100%;
    }
    
    .partners-float-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
    }
    
    .partners-float-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .accommodation-card {
        margin: 0 0.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .partners-header {
        padding: 1.5rem 1rem;
    }
    
    .partners-content {
        padding: 1.5rem 1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .partners-float-btn,
    .partners-panel,
    .partners-overlay {
        display: none !important;
    }
    
    .hero {
        height: auto;
        page-break-after: always;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    .accommodation-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-medium);
    }
}
