/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    /* Color Palette - Premium Coastal theme */
    --primary: #0f2d4a;          /* Deep Navy Ocean */
    --primary-light: #1c4974;    /* Lighter Navy */
    --secondary: #dfc397;        /* Warm Dune Sand */
    --secondary-dark: #b89768;   /* Darker Sand/Gold */
    --accent: #2c8c88;           /* Sea Glass Teal */
    --accent-light: #e6f4f3;     /* Soft Sea Glass */
    
    --bg-light: #fbfbf9;         /* Coastal White */
    --bg-sand: #f7f3eb;          /* Sand Tint */
    --bg-card: #ffffff;          /* Pure White for Cards */
    
    --text-dark: #2a3138;        /* Slate Charcoal */
    --text-muted: #5c6874;       /* Muted Grey */
    --text-light: #ffffff;       /* White */
    
    /* Layout details */
    --container-width: 1200px;
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(15, 45, 74, 0.08), 0 4px 6px -2px rgba(15, 45, 74, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 45, 74, 0.12), 0 10px 10px -5px rgba(15, 45, 74, 0.06);
}

/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* Common Layout Components */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section {
    padding: 100px 0;
    position: relative;
}

.sub-title {
    display: block;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    position: relative;
}

.title-bar {
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 45, 74, 0.15);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 45, 74, 0.15);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.main-header.scrolled {
    background-color: rgba(251, 251, 249, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
}

.logo i {
    color: var(--secondary);
    font-size: 1.6rem;
}

.logo-num {
    color: var(--secondary);
}

.main-header.scrolled .logo {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.main-header.scrolled .nav-link {
    color: var(--text-dark);
}

.main-header.scrolled .nav-link:hover, 
.main-header.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.main-header.scrolled .hamburger span {
    background-color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Switched to scroll on mobiles, works best */
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

@media (min-width: 992px) {
    .hero-section {
        background-attachment: fixed; /* Parallax effect for larger screens */
    }
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-content {
    max-width: 650px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(223, 195, 151, 0.2);
    color: var(--secondary);
    border: 1px solid var(--secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-actions .btn-outline {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hero-actions .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary);
}

/* Quick Features Bar */
.quick-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--shadow-lg);
    gap: 20px;
    position: absolute;
    bottom: -60px;
    left: 5%;
    width: 90%;
    z-index: 10;
}

.q-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid #eef1f5;
}

.q-feature:last-child {
    border-right: none;
}

.q-feature i {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.9;
}

.q-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.q-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Het Chalet Section
   ========================================================================== */
.chalet-section {
    padding-top: 160px; /* Leave space for the overlapping features bar */
}

.chalet-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.chalet-text h3 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.chalet-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bullets-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.bullet-item i {
    color: var(--accent);
}

/* Image Stack Concept */
.chalet-images {
    position: relative;
    height: 450px;
}

.image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-stack-item {
    position: absolute;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 6px solid var(--text-light);
}

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

.image-stack-item-top {
    width: 80%;
    height: 70%;
    top: 0;
    left: 0;
    z-index: 2;
}

.image-stack-item-bottom {
    width: 75%;
    height: 65%;
    bottom: 0;
    right: 0;
    z-index: 1;
}

/* Detailed Amenities Card Grid */
.amenities-container {
    border-top: 1px solid #eef1f5;
    padding-top: 80px;
}

.amenities-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 45px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.amenity-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-bottom: 3px solid transparent;
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--secondary);
}

.amenity-card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.amenity-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.amenity-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   Fotogalerij Section
   ========================================================================== */
.galerij-section {
    background-color: var(--bg-sand);
}

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

.filter-btn {
    background-color: var(--bg-card);
    border: 1px solid rgba(15, 45, 74, 0.1);
    color: var(--text-dark);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transition: var(--transition-smooth);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    animation: fadeIn 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(15, 45, 74, 0.9), rgba(15, 45, 74, 0.3));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition-smooth);
    color: var(--text-light);
}

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

.gallery-overlay i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-overlay span {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

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

.gallery-action {
    text-align: center;
    margin-top: 50px;
}

/* Lightbox Modal CSS */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 45, 74, 0.98);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn var(--transition-fast);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.lightbox-close:hover {
    color: var(--secondary);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: var(--transition-fast);
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--accent);
    color: var(--text-light);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
    color: var(--text-light);
    margin-top: 20px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* ==========================================================================
   De Omgeving Section
   ========================================================================== */
.omgeving-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.omgeving-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.omgeving-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.activities-tips {
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.activities-tips h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    margin-bottom: 35px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.tip-item {
    text-align: center;
}

.tip-item i {
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 15px;
    display: inline-block;
}

.tip-item h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tip-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ==========================================================================
   Tarieven & Boeken Section
   ========================================================================== */
.boeken-section {
    background-color: var(--bg-sand);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

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

.rates-box {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.rates-box h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.rates-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.rates-table {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eef1f5;
}

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

.rate-row .season {
    font-weight: 600;
    font-size: 0.95rem;
}

.rate-row .season small {
    display: block;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
    margin-top: 2px;
}

.rate-row .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.rental-rules h4 {
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.rental-rules ul {
    list-style: none;
}

.rental-rules li {
    display: flex;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.rental-rules li i {
    color: var(--secondary-dark);
    margin-top: 3px;
}

/* Custom Styled Calendar Widget */
.calendar-widget {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

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

.calendar-header button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.calendar-header button:hover {
    background-color: var(--bg-sand);
}

.calendar-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

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

.calendar-days div {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

/* Calendar Date States */
.calendar-days div.empty {
    cursor: default;
}

.calendar-days div.available:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

.calendar-days div.booked {
    color: #cbd5e0;
    text-decoration: line-through;
    cursor: not-allowed;
}

.calendar-days div.booked::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #e53e3e;
    border-radius: 50%;
    bottom: 4px;
}

.calendar-days div.selected-date {
    background-color: var(--accent) !important;
    color: var(--text-light) !important;
    font-weight: 700;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid #eef1f5;
    padding-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-color.available {
    border: 1px solid var(--accent);
    background-color: var(--accent-light);
}

.legend-color.booked {
    background-color: #cbd5e0;
}

.legend-color.selected {
    background-color: var(--accent);
}

/* Booking Form */
.booking-form-container {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.booking-form-container h3 {
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.form-intro {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    background-color: var(--bg-light);
    border: 1px solid rgba(15, 45, 74, 0.1);
    padding: 12px 16px 12px 42px;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
    outline: none;
}

.form-group textarea {
    padding-left: 16px; /* Textareas don't have icons */
    resize: vertical;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--accent);
    background-color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(44, 140, 136, 0.15);
}

.form-group input:focus + .input-icon,
.form-group select:focus + .input-icon {
    color: var(--accent);
}

/* Success Overlay in Form */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    transform: scale(0.9);
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.success-content {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 25px;
    animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.success-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ==========================================================================
   Contact & Locatie Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 60px;
}

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

.info-card {
    display: flex;
    gap: 20px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.info-text p, .info-text a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-text a:hover {
    color: var(--accent);
}

/* General Contact Form */
.general-contact-form {
    border-top: 1px solid #eef1f5;
    padding-top: 30px;
}

.general-contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    padding-left: 16px !important;
}

.contact-success-msg {
    margin-top: 15px;
    background-color: var(--accent-light);
    color: var(--accent);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.3s ease;
}

/* Map Card Container */
.map-card-container {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(15, 45, 74, 0.05);
}

.map-card-header {
    padding: 25px 30px;
}

.map-card-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.map-card-header p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.leaflet-map-div {
    height: 400px;
    width: 100%;
    z-index: 5;
}

.map-card-footer {
    padding: 20px 30px;
    background-color: var(--bg-light);
    border-top: 1px solid #eef1f5;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.map-card-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-card-footer i {
    color: var(--accent);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--secondary);
}

.footer-bottom {
    padding: 30px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: var(--transition-fast);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleUp {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.fade-in-element.appear {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1100px) {
    .quick-features {
        bottom: -90px;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;
    }
    
    .chalet-section {
        padding-top: 190px;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 70px 0;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .chalet-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .chalet-images {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .omgeving-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Header menu mobile */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition-smooth);
        z-index: 100;
        gap: 25px;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        font-size: 1.15rem;
    }
    
    .main-header.scrolled .nav-link {
        color: var(--text-dark);
    }
    
    .nav-btn {
        width: 80%;
    }
    
    /* Hamburger animation when active */
    .nav-menu.open ~ .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--text-dark);
    }
    
    .nav-menu.open ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-menu.open ~ .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--text-dark);
    }
    
    /* Hero adjusts */
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .quick-features {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        margin-top: 40px;
        grid-template-columns: 1fr;
    }
    
    .chalet-section {
        padding-top: 70px;
    }
    
    .q-feature {
        border-right: none;
        border-bottom: 1px solid #eef1f5;
        padding-bottom: 15px;
    }
    
    .q-feature:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lightbox-prev, .lightbox-next {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .bullets-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .map-card-footer {
        flex-direction: column;
        gap: 10px;
    }
}
