/* ========================================
   COMPLEX DUNI - MAIN STYLESHEET
   Beach-themed family hotel website
   ======================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --beige: #F8F1E7;
    --turquoise: #5FC8C0;
    --gold: #D7B768;
    --dark-gray: #333333;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    gap: 15px;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

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

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--turquoise);
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-gray);
    position: relative;
    white-space: nowrap;
    font-size: 1rem;
    padding: 1px 18px;
}

.nav-menu a:hover {
    color: var(--turquoise);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--turquoise);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Disable underline and rotation for dropdown toggle to avoid layout shift */
.nav-dropdown > a::after {
    display: none;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: var(--transition);
}

.nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 5px 20px var(--shadow);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--beige);
    color: var(--turquoise);
}

@media (max-width: 1200px) {
    .nav-menu {
        overflow-y: auto;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin: 10px 0 10px 20px;
    }
    
    .dropdown-menu a {
        padding: 10px 0;
    }
    
    .dropdown-menu a:hover {
        padding-left: 0;
    }
}

.btn-primary-nav {
    background: var(--turquoise);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-primary-nav::after {
    display: none;
}

.btn-primary-nav:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: var(--transition);
}

.language-switcher {
    display: flex;
    gap: 3px;
    border: 2px solid var(--turquoise);
    border-radius: 20px;
    padding: 3px;
    flex-shrink: 0;
}

.lang-btn {
    padding: 4px 10px;
    border-radius: 15px;
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    color: var(--dark-gray);
    min-width: 36px;
    text-align: center;
}

.lang-btn.active {
    background: var(--turquoise);
    color: var(--white);
}

.lang-btn:hover:not(.active) {
    background: var(--beige);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-feature i {
    font-size: 2rem;
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--white);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(95, 200, 192, 0.3);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--turquoise);
}

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--turquoise), var(--gold));
    margin: 0 auto;
    border-radius: 2px;
}

/* === ABOUT SECTION === */
.about {
    padding: var(--section-padding);
    background: var(--beige);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var (--dark-gray);
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.about-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
}

.about-image:first-child {
    grid-column: 1 / -1;
}

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

.about-image:hover img {
    transform: scale(1.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(95, 200, 192, 0.2);
}

.feature-card i {
    font-size: 3rem;
    color: var(--turquoise);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.feature-card p {
    color: #666;
}

/* === HOTELS SECTION === */
.hotels {
    padding: var(--section-padding);
    background: var(--white);
}

.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.hotel-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

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

.hotel-images {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.hotel-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.hotel-slider img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0;
    transition: var(--transition);
}

.hotel-card:hover .slider-controls {
    opacity: 1;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--turquoise);
    color: var(--white);
}

.hotel-content {
    padding: 30px;
}

.hotel-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.hotel-features {
    margin-bottom: 15px;
}

.hotel-badge {
    display: inline-block;
    background: var(--beige);
    color: var(--turquoise);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.hotel-content p {
    margin-bottom: 20px;
    color: #666;
}

/* === ROOMS SECTION === */
.rooms {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.discount-banner {
    background: linear-gradient(135deg, var(--gold), var(--turquoise));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.hero-content .discount-banner {
    display: block;
    width: fit-content;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    margin: 20px auto 32px;
    animation: none;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.rooms-container {
    display: grid;
    gap: 40px;
}

.room-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.room-images {
    position: relative;
    height: 100%;
    min-height: 350px;
}

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

.room-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.room-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.amenity i {
    color: var(--turquoise);
}

.room-description {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.pricing-table {
    background: var(--beige);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.pricing-table h4 {
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price-period {
    font-weight: 500;
}

.price-value {
    font-weight: 600;
    color: var(--turquoise);
}

.price-value.old-price,
.price-value .old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.price-value.discount-price,
.price-value .discount-price {
    color: var(--gold);
}

/* === DINING SECTION === */
.dining {
    padding: var(--section-padding);
    background: var(--white);
}

.dining-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dining-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

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

.dining-image:hover img {
    transform: scale(1.1);
}

.meal-section {
    margin-bottom: 30px;
}

.meal-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.meal-header i {
    font-size: 2rem;
    color: var(--turquoise);
}

.meal-header h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
}

.meal-time {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 500;
    margin-left: 50px;
}

.dining-details {
    margin: 30px 0;
    padding: 20px;
    background: var(--beige);
    border-radius: 10px;
}

.dining-details p {
    margin-bottom: 10px;
    line-height: 1.8;
}

.dining-note {
    font-style: italic;
    color: var(--turquoise);
    font-weight: 500;
}

.meal-note {
    font-style: italic;
    color: #666;
    margin-top: 5px;
    margin-left: 50px;
    font-size: 0.95rem;
}

.package-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.package {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--turquoise);
}

.package h4 {
    font-size: 1.5rem;
    color: var(--turquoise);
    margin-bottom: 10px;
}

/* === TERMS SECTION === */
.terms {
    padding: var(--section-padding);
    background: var(--beige);
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
}

.terms-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.terms-section h3 {
    color: var(--turquoise);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.terms-section h4 {
    color: var(--dark-gray);
    font-size: 1.2rem;
    margin: 20px 0 15px;
    font-weight: 600;
}

.terms-section h5 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin: 20px 0 15px;
    font-weight: 600;
}

.terms-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666;
}

.terms-section ul,
.terms-section ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
    color: #666;
}

.terms-section li {
    margin-bottom: 10px;
}

.terms-section strong {
    color: var(--dark-gray);
    font-weight: 600;
}

.meal-info {
    background: var(--beige);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.meal-info h4 {
    color: var(--turquoise);
    margin-top: 20px;
    margin-bottom: 10px;
}

.meal-info h4:first-child {
    margin-top: 0;
}

.terms-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--beige);
}

.accordion-header i:first-child {
    color: var(--turquoise);
    font-size: 1.5rem;
    margin-right: 15px;
}

.accordion-header span {
    flex: 1;
    text-align: left;
    font-weight: 500;
    font-size: 1.1rem;
}

.accordion-header i:last-child {
    transition: var(--transition);
}

.accordion-item.active .accordion-header i:last-child {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 20px 25px;
    line-height: 1.8;
    color: #666;
}

.bank-details {
    background: var(--beige);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.bank-details h4 {
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.bank-details p {
    padding: 5px 0;
    font-family: monospace;
}

/* === PRIVACY SECTION === */
.privacy {
    padding: var(--section-padding);
    background: var(--white);
}

.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #666;
}

.privacy-section {
    background: var(--beige);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.privacy-section h3 {
    color: var(--turquoise);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666;
}

.privacy-section ol {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
    color: #666;
}

.privacy-section li {
    margin-bottom: 10px;
}

.privacy-section strong {
    color: var(--dark-gray);
    font-weight: 600;
}

/* === GALLERY SECTION === */
.gallery {
    padding: var(--section-padding);
    background: var(--white);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 25px;
    border: 2px solid var(--turquoise);
    color: var(--dark-gray);
    background: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background: var(--turquoise);
    color: var(--white);
}

.filter-btn.active {
    background: var(--turquoise);
    color: var(--white);
    border-color: var(--turquoise);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* === BOOKING SECTION === */
.booking {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--beige), var(--light-gray));
}

.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.booking-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

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

.child-ages-row {
    margin-top: -8px;
}

.child-ages-row[hidden] {
    display: none;
}

.child-ages-panel {
    padding: 18px;
    border: 1px solid rgba(95, 200, 192, 0.35);
    border-left: 4px solid var(--turquoise);
    border-radius: 8px;
    background: rgba(95, 200, 192, 0.08);
    animation: calendarSlideDown 0.25s ease;
}

.child-ages-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.child-ages-title {
    font-weight: 600;
    color: var(--dark-gray);
}

.child-ages-hint {
    font-size: 0.9rem;
    color: #666;
}

.child-age-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.child-age-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.child-age-field label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Modern Date Input Styling */
input[type="date"] {
    position: relative;
    padding: 14px 40px 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    color: var(--dark-gray);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

input[type="date"]:hover {
    border-color: var(--turquoise);
    box-shadow: 0 4px 12px rgba(95, 200, 192, 0.15);
}

input[type="date"]:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 4px rgba(95, 200, 192, 0.15);
    background: var(--white);
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%235FC8C0" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="4" width="18" height="18" rx="3" ry="3"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>') center/contain no-repeat;
    cursor: pointer;
    padding: 8px;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 12px;
    opacity: 1;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}

input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

input[type="date"]::-webkit-datetime-edit-text {
    color: #999;
    padding: 0 4px;
    font-weight: 400;
}

input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
    color: var(--dark-gray);
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 4px;
    background: transparent;
    transition: var(--transition);
}

input[type="date"]::-webkit-datetime-edit-month-field:hover,
input[type="date"]::-webkit-datetime-edit-day-field:hover,
input[type="date"]::-webkit-datetime-edit-year-field:hover {
    background: rgba(95, 200, 192, 0.1);
}

input[type="date"]::-webkit-datetime-edit-month-field:focus,
input[type="date"]::-webkit-datetime-edit-day-field:focus,
input[type="date"]::-webkit-datetime-edit-year-field:focus {
    background: var(--beige);
    color: var(--turquoise);
    outline: none;
}

/* Firefox date input styling */
input[type="date"]::-moz-focus-inner {
    border: 0;
}

/* Placeholder styling when empty */
input[type="date"]:invalid {
    color: #999;
}

/* Custom Date Input - Airbnb Style */
.custom-date-input {
    position: relative;
    cursor: pointer;
}

.custom-date-input input {
    width: 100%;
    padding: 14px 40px 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    cursor: pointer;
}

.custom-date-input input:focus {
    outline: none;
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(95, 200, 192, 0.15);
}

.custom-date-input i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--turquoise);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Airbnb-style Calendar Popup */
.calendar-popup {
    position: absolute;
    top: auto;
    left: 0;
    right: 0;
    margin-top: 10px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 1000;
    animation: calendarSlideDown 0.3s ease;
}

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

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

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

.calendar-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: var(--white);
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.calendar-nav:hover {
    border-color: var(--turquoise);
    background: var(--beige);
}

.calendar-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-months {
    display: flex;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.calendar-month {
    flex: 1;
    max-width: 280px;
}

.month-name {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 16px;
    color: var(--dark-gray);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.day-name {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    padding: 8px 0;
    text-transform: uppercase;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    background: var(--white);
    border: 2px solid transparent;
}

.calendar-day:hover:not(.disabled):not(.selected) {
    background: var(--beige);
    border-color: var(--turquoise);
}

.calendar-day.disabled {
    color: #ddd;
    cursor: not-allowed;
    background: transparent;
}

.calendar-day.selected {
    background: var(--dark-gray);
    color: var(--white);
    font-weight: 600;
}

.calendar-day.in-range {
    background: var(--beige);
    border-radius: 0;
}

.calendar-day.range-start {
    background: var(--dark-gray);
    color: var(--white);
    border-radius: 50% 0 0 50%;
}

.calendar-day.range-end {
    background: var(--dark-gray);
    color: var(--white);
    border-radius: 0 50% 50% 0;
}

.calendar-day.range-start.range-end {
    border-radius: 50%;
}

.calendar-day.today {
    border: 2px solid var(--turquoise);
}

.calendar-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

    .calendar-popup {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        max-width: 320px;
    }
}

.price-summary {
    background: var(--beige);
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--turquoise);
    padding-top: 15px;
    border-top: 2px solid var(--turquoise);
}

.discount-item {
    color: var(--gold);
    font-weight: 600;
}

.booking-info {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    height: fit-content;
}

.info-card i {
    font-size: 3rem;
    color: var(--turquoise);
    margin-bottom: 20px;
}

.info-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.info-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--turquoise);
    font-weight: bold;
}

/* === CONTACT SECTION === */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-cta {
    font-size: 1.2rem;
    color: var(--turquoise);
    font-weight: 500;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    font-size: 2rem;
    color: var(--turquoise);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.contact-item p,
.contact-item a {
    color: #666;
    line-height: 1.8;
}

.contact-item a:hover {
    color: var(--turquoise);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: var(--white);
    border: 2px solid var(--turquoise);
    color: var(--turquoise);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--turquoise);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(95, 200, 192, 0.3);
}

.contact-form-container {
    background: var(--beige);
    padding: 40px;
    border-radius: 15px;
}

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

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* === FOOTER === */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--turquoise);
}

.footer-logo {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--turquoise);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* === SCROLL TO TOP === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--turquoise);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.show {
    display: flex;
}

.scroll-to-top:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

/* === CONSENT BAR === */
.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    z-index: 4000;
}

.consent-bar a {
    color: var(--gold);
    font-weight: 600;
    text-decoration: underline;
}

.consent-bar .consent-button {
    background: var(--turquoise);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.consent-bar .consent-button:hover {
    background: var(--gold);
}

@media (max-width: 640px) {
    .consent-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* === MODAL === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

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

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--dark-gray);
}

.modal-header {
    text-align: center;
    padding: 40px 40px 20px;
    background: linear-gradient(135deg, var(--turquoise), var(--gold));
    color: var(--white);
}

.modal-header i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.modal-header-pending {
    background: linear-gradient(135deg, #8a929d, #6f7782);
}

.pending-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.modal-header .pending-icon {
    margin-bottom: 0;
    font-size: 2.3rem;
    color: #eceff3;
}

.modal-body {
    padding: 40px;
}

/* === LIGHTBOX === */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

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

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

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

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1200px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(110vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        transition: var(--transition);
        box-shadow: 0 5px 20px var(--shadow);
        gap: 20px;
        overflow-y: auto;
    }

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

    .nav-menu a {
        font-size: 1.1rem;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content,
    .dining-content,
    .contact-content,
    .booking-container {
        grid-template-columns: 1fr;
    }

    .room-card {
        grid-template-columns: 1fr;
    }

    .room-images {
        min-height: 300px;
    }
}

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

    .hero-features {
        gap: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .features-grid,
    .hotels-grid {
        grid-template-columns: 1fr;
    }

    .package-types {
        grid-template-columns: 1fr;
    }

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

    .booking-form,
    .contact-form-container {
        padding: 25px;
    }

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

    .child-ages-heading {
        flex-direction: column;
        gap: 4px;
    }
}
