﻿/* --- Globale Stijlen & Variabelen --- */
:root {
    --color-bg: #f4f8ff;
    /* Zeer lichtblauw/wit */
    --color-bg-alt: #ffffff;
    --color-border: #dbe6f2;
    --color-primary: #0d69c9;
    /* Grieks blauw */
    --color-secondary: #ffc400;
    /* Goud/zand accent */
    --color-text: #0a2540;
    /* Donkerblauw/zwart */
    --color-text-muted: #5b7289;
    --color-white: #ffffff;
    --max-width: 1280px;
}

/* Verberg scrollbar maar behoud scroll functionaliteit */
/* Voor Firefox */
* {
    scrollbar-width: none;
}

/* Voor Chrome, Safari, Edge */
*::-webkit-scrollbar {
    display: none;
}

/* Voor Internet Explorer en oude Edge */
body {
    -ms-overflow-style: none;
}

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Verwijder alle underlines van links en knoppen */
a,
button,
.btn {
    text-decoration: none !important;
}

/* Focus indicators for better keyboard navigation */
button:focus,
input:focus,
select:focus,
a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* Skip link for keyboard users */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    z-index: 100;
    text-decoration: none;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

/* --- Natural Page Load Animations --- */
@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";
    margin: 0;
    overflow-x: hidden;
    animation: fadeIn 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.container {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(244, 248, 255, 0);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    transform: translateY(-20px);
    animation: slideInFromTop 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0.3s forwards;
}

.header.scrolled {
    background-color: rgba(244, 248, 255, 0.95);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
    display: flex;
    height: 5.5rem;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 0.875rem;
    background-color: var(--color-primary);
    display: grid;
    place-items: center;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-container:hover .logo-icon {
    transform: rotate(-10deg) scale(1.1);
}

.logo-text .title {
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-text .subtitle {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.nav-links {
    display: none;
    /* Standaard verborgen, zichtbaar op desktop */
}

.mobile-menu-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: #2d3436;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(0.35rem, 0.35rem);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(0.35rem, -0.35rem);
}

@media (max-width: 767px) {
    .header {
        background-color: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-bg-alt);
        border: 1px solid var(--color-border);
        border-top: none;
        border-radius: 0 0 0.75rem 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-links.open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--color-text);
        padding: 0.75rem;
        border-radius: 0.5rem;
        transition: background-color 0.3s ease;
    }

    .nav-links a:hover {
        background-color: var(--color-bg);
        color: var(--color-primary);
    }

    /* Verwijder button styling voor navbar links op mobile */
    .nav-links .btn,
    .nav-links .btn-secondary,
    .nav-links .btn-primary {
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        color: var(--color-text) !important;
        font-weight: 500;
        width: 100%;
        justify-content: center;
        padding: 0.75rem !important;
    }

    .nav-links .btn:hover,
    .nav-links .btn-secondary:hover,
    .nav-links .btn-primary:hover {
        background-color: var(--color-bg) !important;
        color: var(--color-primary) !important;
        transform: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        font-size: 0.875rem;
        position: static;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        flex-direction: row;
    }

    .nav-links a {
        position: relative;
        text-decoration: none;
        color: var(--color-text);
        transition: color 0.3s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 0;
        border-radius: 0;
    }

    .nav-links a:hover {
        color: var(--color-primary);
        background-color: transparent;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--color-primary);
        transition: width 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    /* Verwijder button styling voor navbar links - ze worden normale links */
    .nav-links .btn,
    .nav-links .btn-secondary,
    .nav-links .btn-primary {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        color: var(--color-text) !important;
        box-shadow: none !important;
        font-weight: 500;
        transition: color 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-links .btn:hover,
    .nav-links .btn-secondary:hover,
    .nav-links .btn-primary:hover {
        background: none !important;
        color: var(--color-primary) !important;
        transform: none !important;
    }

    /* Voeg underline toe bij hover voor navbar buttons */
    .nav-links .btn::after,
    .nav-links .btn-secondary::after,
    .nav-links .btn-primary::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -4px;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--color-primary);
        transition: width 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .nav-links .btn:hover::after,
    .nav-links .btn-secondary:hover::after,
    .nav-links .btn-primary:hover::after {
        width: 100%;
    }

    .nav-links .btn {
        width: auto;
    }
}

.btn {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: transparent;
}

.btn-primary:hover {
    filter: brightness(110%);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --- Hero & Zoekformulier --- */
.hero {
    position: relative;

    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(244, 248, 255, 0) 0%,
            rgba(244, 248, 255, 0.1) 50%,
            rgba(244, 248, 255, 0.8) 85%,
            rgba(244, 248, 255, 1) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.search-form-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: scaleIn 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s forwards;
}

.search-form {
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

@media (min-width: 768px) {
    .search-form {
        padding: 1.5rem;
        margin-top: -200px;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .form-grid-top {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .form-grid-bottom {
        margin-top: 0.75rem;
        grid-template-columns: repeat(5, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select {
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    padding: 0.5rem 0.75rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(13, 105, 201, 0.15);
}

.form-buttons {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.form-buttons .btn {
    width: 100%;
    text-align: center;
    text-decoration: none;
}

/* Advanced Filters */
.advanced-filters {
    margin-top: 1rem;
    padding: 1rem;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg);
    border-radius: 0 0 1rem 1rem;
    animation: slideInFromBottom 0.3s ease;
}

.form-grid-advanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid-advanced {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    max-height: 120px;
    overflow-y: auto;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.checkbox-label:hover {
    background-color: var(--color-bg);
}

.checkbox-custom {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-border);
    border-radius: 3px;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: 'âœ“';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* --- Aanbod --- */
.aanbod-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInFromBottom 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.8s forwards;
}

@media (min-width: 768px) {
    .aanbod-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

.aanbod-header {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    animation: fadeIn 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

@media (min-width: 768px) {
    .aanbod-header {
        margin-bottom: 2rem;
    }
}

.aanbod-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
    color: var(--color-text);
}

.aanbod-header p {
    color: var(--color-text-muted);
    margin: 0.25rem 0 0 0;
}

.aanbod-header .results {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.view-btn {
    padding: 0.5rem;
    background: var(--color-bg-alt);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 40px;
}

.view-btn:hover {
    background-color: var(--color-bg);
}

.view-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.comparison-controls {
    display: flex;
    align-items: center;
}

#compare-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Active Filters */
.active-filters {
    margin-bottom: 1.5rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    gap: 0.5rem;
}

.remove-filter {
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background-color 0.2s;
}

.remove-filter:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.clear-all-filters {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-all-filters:hover {
    background-color: var(--color-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

@media (min-width: 640px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 639px) {
    .property-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .property-card {
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
    }

    .property-image-container {
        width: 100%;
        overflow: hidden;
    }

    .property-image,
    .property-main-image,
    .property-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .property-content {
        width: 100%;
        padding: 1rem;
    }
}

.property-card {
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    animation: scaleIn 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.property-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px -8px rgba(13, 105, 201, 0.15), 0 8px 16px -4px rgba(13, 105, 201, 0.08);
    border-color: rgba(13, 105, 201, 0.2);
}

.property-image-container {
    position: relative;
}

.property-image {
    height: 12rem;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

/* Enhanced Property Cards */
.property-actions-overlay {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.property-card:hover .property-actions-overlay {
    opacity: 1;
}

.action-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: scale(1.1);
    background-color: var(--color-white);
}

.wishlist-btn.active {
    animation: heartPulse 0.3s ease;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.property-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.compare-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.compare-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s;
}

.compare-checkbox input[type="checkbox"]:checked+.checkmark {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.compare-checkbox input[type="checkbox"]:checked+.checkmark::after {
    content: 'âœ“';
    position: absolute;
    top: -1px;
    left: 3px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: bold;
}

.property-badges {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.badge {
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
}

.badge-primary {
    background-color: var(--color-secondary);
    color: var(--color-text);
}

.badge-secondary {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(4px);
}

.badge-virtual {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
}

/* Image Carousel */
.image-carousel {
    position: relative;
    height: 12rem;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.image-carousel:hover .carousel-controls {
    opacity: 1;
}

.carousel-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.25rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-dot.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

.property-content {
    padding: 1rem;
    transition: transform 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.property-card:hover .property-content {
    transform: translateY(-2px);
}

.property-content h3 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--color-text);
    transition: color 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.property-card:hover .property-content h3 {
    color: var(--color-primary);
    text-decoration: none;
}

.property-content .region {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.125rem;
}

.property-content .description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.amenity-tag {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 0.125rem 0.5rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    border: 1px solid var(--color-border);
}

.amenity-tag.more {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.property-price-rating {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.property-price-rating .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.star-bar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-secondary);
}

.star-bar .rating-value {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.star-bar .star-empty {
    color: var(--color-border);
}

.property-specs {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.spec-item {
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    padding: 0.25rem 0.5rem;
}

.property-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.property-actions .btn {
    flex: 1;
}

/* List View */
.property-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.list-card {
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.list-card .property-image-container {
    width: 300px;
    flex-shrink: 0;
}

.list-card .property-content {
    display: flex;
    flex: 1;
    padding: 1.5rem;
}

.property-main-info {
    flex: 1;
    padding-right: 2rem;
}

.property-sidebar {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.list-card .property-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-card .description {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

@media (max-width: 768px) {
    .search-form {
        margin-top: -200px;
    }

    .list-card {
        flex-direction: column;
        min-height: auto;
    }

    .list-card .property-image-container {
        width: 100%;
        height: 200px;
    }

    .list-card .property-content {
        flex-direction: column;
    }

    .property-sidebar {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--color-border);
    }
}

/* --- Waarom Wij --- */
.waarom-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInFromBottom 0.8s cubic-bezier(0.77, 0, 0.175, 1) 1s forwards;
}

@media (min-width: 768px) {
    .waarom-section {
        padding: 4rem 0;
    }
}

.waarom-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 0;
    text-align: center;
    color: var(--color-text);
}

.waarom-grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .waarom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.waarom-card {
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    padding: 1.5rem;
    text-align: center;
    animation: fadeIn 0.6s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    opacity: 0;
}

.waarom-grid .waarom-card:nth-child(1) {
    animation-delay: 0.2s;
}

.waarom-grid .waarom-card:nth-child(2) {
    animation-delay: 0.3s;
}

.waarom-grid .waarom-card:nth-child(3) {
    animation-delay: 0.4s;
}


.waarom-card .icon {
    font-size: 2rem;
    line-height: 1;
}

.waarom-card h3 {
    margin: 0.75rem 0 0 0;
    font-weight: 600;
    font-size: 1.125rem;
}

.waarom-card p {
    color: var(--color-text-muted);
    margin: 0.25rem 0 0 0;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background-color: #061a2f;
    /* Donkerste blauw */
    color: #cdd5de;
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInFromBottom 0.8s cubic-bezier(0.77, 0, 0.175, 1) 1.2s forwards;
}

.footer a {
    color: var(--color-white);
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col .col-title {
    font-weight: 500;
    color: var(--color-white);
}

.footer-col .description {
    font-size: 0.875rem;
    color: #cdd5de;
    margin-top: 0.75rem;
    max-width: 24rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    font-size: 0.875rem;
    color: #cdd5de;
}

.footer-col ul li {
    padding: 0.2rem 0;
}

.footer-col ul a:hover {
    color: var(--color-secondary);
}

.footer-newsletter {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter input {
    flex: 1;
    background-color: #1d344a;
    border-color: #3a5066;
    color: var(--color-white);
}

.footer-newsletter-note {
    font-size: 0.75rem;
    color: #8a9bab;
    margin-top: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1d344a;
    font-size: 0.75rem;
    color: #8a9bab;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
}

/* Error and loading states */
.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group input.error,
.form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.loading-state,
.error-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--color-text-muted);
}

.loading-spinner {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--color-border);
    border-top: 2px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-state .error-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-state p {
    margin-bottom: 1.5rem;
    max-width: 24rem;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--color-white);
    border-radius: 1rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

.modal-content.large {
    max-width: 90vw;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.2s;
}

.modal-close:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
}

.contact-form {
    padding: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.modal-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
}

/* Comparison Table */
.comparison-table {
    padding: 1.5rem;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.comparison-table th,
.comparison-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background-color: var(--color-bg);
    font-weight: 600;
}

.comparison-table th:first-child {
    background-color: var(--color-primary);
    color: var(--color-white);
    min-width: 120px;
}

.comparison-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-counter {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

/* Mobile Improvements */
@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .view-toggle {
        align-self: center;
    }

    .property-actions-overlay {
        opacity: 1;
        position: static;
        flex-direction: row;
        margin-bottom: 0.75rem;
    }

    .carousel-controls {
        opacity: 1;
    }

    .modal-content {
        margin: 0;
        border-radius: 1rem 1rem 0 0;
        align-self: flex-end;
        max-height: 85vh;
    }

    .comparison-table {
        padding: 1rem;
    }

    .toast {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        transform: translateY(100%);
    }

    .toast.show {
        transform: translateY(0);
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .property-card {
        transform: none !important;
    }

    .property-card:active {
        transform: scale(0.98) !important;
    }

    .carousel-controls,
    .property-actions-overlay {
        opacity: 1;
    }
}

/* Pagination Controls */
.pagination-controls {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    white-space: nowrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.77, 0, 0.175, 1);
}

.page-number:hover {
    background-color: var(--color-bg);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.page-number.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    font-weight: 600;
    cursor: default;
}

.page-number.active:hover {
    transform: none;
}

.page-dots {
    color: var(--color-text-muted);
    padding: 0 0.25rem;
    font-weight: 600;
}

.pagination-info {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

@media (max-width: 640px) {
    .pagination-controls {
        margin-top: 1.5rem;
        gap: 0.25rem;
    }

    .pagination-btn {
        flex: 1;
        min-width: 80px;
    }

    .page-numbers {
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .page-number {
        min-width: 36px;
        height: 36px;
        font-size: 0.8125rem;
    }

    .pagination-info {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .loading-spinner {
        animation: none;
        border: 2px solid var(--color-primary);
    }

    .property-card:hover {
        transform: none;
    }
}


/* ===== HOME.CSS ===== */

/* Home Page Styling */

/* Font Faces */
@font-face {
    font-family: 'navbar_font';
    src: url(/fonts/Cinzel-Regular.otf);
}

@font-face {
    font-family: 'font_about';
    src: url(/fonts/Cinzel-Regular.otf);
}

@font-face {
    font-family: 'jockey_one';
    src: url(/fonts/JockeyOne-Regular.ttf);
}

/* Main Content */
.main-content {
    padding-top: 5.5rem;
}

/* Banner */
.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Houses Offer Section */
.houses-offer {
    text-align: center;
    padding: 50px 20px;
    background-color: #ffffff;
}

.houses-offer .subtitle {
    font-family: 'font_about';
    font-size: 16px;
    color: #06509A;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.houses-offer .title {
    font-family: 'navbar_font';
    font-size: 32px;
    font-weight: normal;
    margin: 0;
    color: #000000;
}

.houses-offer .greek {
    font-family: 'font_about';
    font-size: 16px;
    color: #000000;
    margin-top: 10px;
}

/* House Cards */
.house-cards {
    background-color: #BCDDFD;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 20px;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.house-card1,
.house-card2 {
    width: 450px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.house-card1:hover,
.house-card2:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.houseimg {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.house-card1 h3,
.house-card2 h3 {
    font-family: 'jockey_one';
    font-size: 30px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #06509A;
}

.house-card1 p,
.house-card2 p {
    font-family: 'font_about';
    font-size: 22px;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.prijs {
    font-family: 'jockey_one';
    font-size: 26px;
    color: #E8B547;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aanbod-btn {
    display: block;
    padding: 10px 25px;
    background-color: #06509A;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    font-family: 'Jockey One', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    transition: 0.3s ease;
}

.aanbod-btn:hover {
    background-color: #1492C0;
    transform: scale(1.05);
    cursor: pointer;
}

/* Houses Greece Section */
.houses-greece {
    padding-bottom: 2%;
    padding-top: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.houses-text {
    max-width: 600px;
    font-family: 'font_about';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    margin-left: 200px;
}

.houses-text h2 {
    font-family: 'navbar_font';
    font-size: 36px;
    text-align: left;
}

.houses-text .greek {
    text-align: left;
    font-size: 20px;
    font-style: italic;
    color: #444;
}

.houses-text p {
    font-size: 18px;
    line-height: 1.9;
    color: #333333;
}

.houses-image {
    margin-left: auto;
}

.houses-image img {
    position: relative;
    right: 0;
    width: 600px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.houses-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

/* Footer - Professional Style */
.footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 3.5rem 0;
    margin-top: 100px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
}

.footer-logo .logo-icon {
    height: 3.5rem;
    width: 3.5rem;
    border-radius: 1.125rem;
    background: linear-gradient(135deg, #0d69c9 0%, #0a52a0 100%);
    display: grid;
    place-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 16px rgba(13, 105, 201, 0.3);
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text .title {
    font-family: 'navbar_font';
    font-size: 1.375rem;
    font-weight: 600;
    color: #0A2A43;
    line-height: 1.2;
}

.footer-logo .logo-text .subtitle {
    font-family: 'font_about';
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.3;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.footer-contact p {
    font-family: 'font_about';
    font-size: 1rem;
    margin: 0;
    color: #475569;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer-contact p:hover {
    color: #0d69c9;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex: 0 0 auto;
    align-items: center;
}

.footer-nav a {
    font-family: 'navbar_font';
    font-size: 1.05rem;
    text-decoration: none;
    color: #334155;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #0d69c9;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: #0d69c9;
}

.footer-nav a:hover::after {
    width: 80%;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .houses-greece {
        flex-direction: column;
        text-align: center;
    }

    .houses-text {
        margin: 0;
    }

    .houses-image {
        margin: 0;
    }
}

@media (max-width: 850px) {

    .house-card1,
    .house-card2 {
        width: 300px;
    }

    .house-card1 p,
    .house-card2 p {
        font-size: 16px;
    }

    .houses-text p {
        font-size: 18px;
        line-height: 1.9;
        width: 420px;
    }

    .houses-text .greek {
        text-align: center;
    }

    .houses-image img {
        width: 300px;
    }

    .houses-text h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 440px) {
    .houses-text p {
        width: 300px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-logo .logo-text .title {
        font-size: 1rem;
    }

    .footer-logo .logo-text .subtitle {
        font-size: 0.75rem;
    }
}


/* ===== VILLAS.CSS ===== */

/* Villa Page Styling */

/* Banner Section */
.villa-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 0;
}

.villa-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay h1 {
    color: white;
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Container Layout */
.villas-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}

/* Mobile Filter Toggle - Hidden by default */
.mobile-filter-toggle {
    display: none;
}

/* Filter Header - Hidden by default */
.filter-header {
    display: none;
}

.close-filter-btn {
    display: none;
}

/* Filter Sidebar - Exact Design Match */
.filter-sidebar {
    background: #c8dff5;
    padding: 0;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    height: fit-content;
    position: sticky;
    top: 100px;
    overflow: hidden;
    width: 260px;
}

.filter-sidebar h3 {
    background: transparent;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 1rem 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: left;
    border-bottom: 2px solid #a8c5e0;
}

.filter-group {
    background: #ffffff;
    margin: 0.8rem;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.filter-group h4 {
    display: none;
}

/* Checkbox Labels */
.filter-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
    cursor: pointer;
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
    padding: 0.3rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.filter-group label:hover {
    background: #f0f7ff;
    transform: translateX(2px);
}

.filter-group label:last-child {
    margin-bottom: 0;
}

.filter-group label span {
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Blue Square Checkboxes */
.filter-group input[type="checkbox"] {
    margin-right: 0.6rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #1a5490;
    border: 2px solid #1a5490;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: #1a5490;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-group input[type="checkbox"]:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(26, 84, 144, 0.3);
}

.filter-group input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 13px;
    font-weight: bold;
    top: -2px;
    left: 2px;
}

/* Range Slider Styling */
.range-slider {
    margin-top: 0.6rem;
    position: relative;
}

.slider-track {
    width: 100%;
    height: 5px;
    background: #1a5490;
    border-radius: 3px;
    margin: 0.6rem 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a5490;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-values span:nth-child(2) {
    color: #333;
    font-size: 0.85rem;
}

.range-values-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1a5490;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.range-values-single span:nth-child(2) {
    color: #333;
    font-size: 0.95rem;
    font-weight: 700;
}

.range-slider.single .range-values {
    justify-content: space-between;
}

.range-inputs {
    position: relative;
    height: 24px;
}

.range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 5px;
    background: transparent;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
    margin: 0.4rem 0;
}

.range-slider:not(.single) .range-input {
    position: absolute;
    top: 0;
    pointer-events: none;
}

.range-slider:not(.single) .range-input::-webkit-slider-thumb {
    pointer-events: auto;
}

.range-slider:not(.single) .range-input::-moz-range-thumb {
    pointer-events: auto;
}

/* Slider Thumb - Webkit */
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #1a5490;
    border: 4px solid #ffffff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(26, 84, 144, 0.4);
    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(26, 84, 144, 0.5);
}

.range-input::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Slider Thumb - Firefox */
.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #1a5490;
    border: 4px solid #ffffff;
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(26, 84, 144, 0.4);
    transition: all 0.2s ease;
}

.range-input::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(26, 84, 144, 0.5);
}

.range-input::-moz-range-thumb:active {
    cursor: grabbing;
    transform: scale(1.05);
}

/* Slider Track - Firefox */
.range-input::-moz-range-track {
    background: transparent;
    border-radius: 3px;
    height: 5px;
}

/* Filter Buttons */
.filter-buttons {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: transparent;
    border-top: none;
}

.filter-btn,
.reset-btn {
    width: 100%;
    padding: 0.85rem 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-btn {
    background: #1a5490;
    color: #ffffff;
    box-shadow: 0 3px 8px rgba(26, 84, 144, 0.3);
}

.filter-btn:hover {
    background: #144070;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(26, 84, 144, 0.4);
}

.filter-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(26, 84, 144, 0.3);
}

.reset-btn {
    display: none;
}

/* Filter Count Badge */
.filter-count {
    background: white;
    color: #0d69c9;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: auto;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    border-left: 4px solid #0d69c9;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-notification.success {
    border-left-color: #4caf50;
}

.toast-notification.error {
    border-left-color: #f44336;
}

.toast-notification.warning {
    border-left-color: #ff9800;
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-message {
    flex: 1;
}

.toast-message strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #333;
}

.toast-message span {
    color: #666;
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    color: #333;
}

/* Villa Grid Section */
.villa-grid-section {
    display: flex;
    flex-direction: column;
}

.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: center;
}

/* Villa Card */
.villa-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.villa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.villa-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.villa-card:hover .villa-image img {
    transform: scale(1.1);
}

.villa-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.villa-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: 'Cinzel', serif;
}

.villa-location {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.villa-preview {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.villa-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.villa-specs .spec-item {
    font-size: 0.85rem;
    color: #555;
    background-color: #f8f9fa;
    padding: 0.35rem 0.65rem;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    white-space: nowrap;
}

.villa-details {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.villa-details span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.villa-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d69c9;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.villa-price .per-night {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.villa-info .btn {
    margin-top: auto;
    text-align: center;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    display: inline-block;
    width: auto;
    align-self: flex-start;
}

/* No Results Message */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-results-message p {
    color: #666;
    font-size: 1.1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.page-btn:hover {
    background: #0d69c9;
    color: white;
    border-color: #0d69c9;
}

.page-btn.active {
    background: #0d69c9;
    color: white;
    border-color: #0d69c9;
}

/* No Villas Message */
.no-villas {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-villas p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .villas-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .filter-sidebar {
        position: relative;
        top: 0;
    }

    .villa-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .carousel {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .banner-overlay h1 {
        font-size: 2rem;
    }

    .villa-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .villas-container {
        display: block;
        padding: 1rem;
    }

    /* Mobile Filter Toggle Button */
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        background: #1a5490;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 1rem 2rem;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        margin: 1rem auto 2rem;
        width: calc(100% - 2rem);
        max-width: 400px;
        box-shadow: 0 4px 12px rgba(26, 84, 144, 0.3);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-filter-toggle:hover {
        background: #144070;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(26, 84, 144, 0.4);
    }

    .mobile-filter-toggle:active {
        transform: translateY(0);
    }

    .mobile-filter-toggle svg {
        width: 24px;
        height: 24px;
        transition: transform 0.3s ease;
    }

    .mobile-filter-toggle:active svg {
        transform: scale(0.9);
    }

    /* Filter Sidebar Mobile */
    .filter-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: #ffffff;
        z-index: 1000;
        padding: 0;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .filter-sidebar.open {
        left: 0;
    }

    .filter-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(26, 84, 144, 0.7);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .filter-sidebar.open::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* Filter Header Mobile */
    .filter-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #1a5490;
        padding: 1.25rem 1.5rem;
        margin: 0;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .filter-header h3 {
        color: white;
        font-size: 1.2rem;
        font-weight: 700;
        margin: 0;
        padding: 0;
        letter-spacing: 1.5px;
    }

    .close-filter-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        font-size: 2rem;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .close-filter-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .close-filter-btn:active {
        transform: rotate(90deg) scale(0.95);
    }

    .filter-sidebar h3:not(.filter-header h3) {
        padding: 1rem 1.2rem;
    }

    .filter-sidebar .filter-group {
        padding: 0 1.2rem 1rem;
    }

    .filter-sidebar .filter-buttons {
        padding: 1rem 1.2rem 2rem;
    }
}

@media (max-width: 480px) {
    .banner-overlay h1 {
        font-size: 1.5rem;
    }

    .villa-card {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .villa-info h3 {
        font-size: 1.1rem;
    }

    .villa-price {
        font-size: 1.3rem;
    }
}


/* ===== VILLA.CSS ===== */

/* Villa Detail Page Styling */

/* Hero Section */
.villa-hero {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.villa-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 3rem 2rem;
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    font-family: 'Cinzel', serif;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.villa-location-hero {
    color: white;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Container */
.villa-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

/* Main Content */
.villa-main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.villa-main h2 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #1a5490;
    margin-bottom: 1rem;
    border-bottom: 3px solid #c8dff5;
    padding-bottom: 0.5rem;
}

/* Photo Gallery */
.photo-gallery {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Description */
.villa-description {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.villa-description p {
    line-height: 1.8;
    color: #333;
    font-size: 1.05rem;
}

/* Features */
.villa-features {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #1a5490;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 84, 144, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.feature-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.feature-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a5490;
}

/* Sidebar */
.villa-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Booking Card */
.booking-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a5490;
    font-family: 'Cinzel', serif;
}

.booking-details {
    margin-bottom: 1.5rem;
}

.booking-details p {
    margin: 0.8rem 0;
    color: #333;
    font-size: 0.95rem;
}

.btn-book {
    width: 100%;
    margin-bottom: 0.8rem;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 700;
}

/* Contact Card */
.contact-card {
    background: #f0f7ff;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    font-family: 'Cinzel', serif;
    color: #1a5490;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0.5rem 0;
    color: #333;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .villa-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-card {
        position: relative;
        top: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .villa-hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .villa-location-hero {
        font-size: 1rem;
    }

    .villa-container {
        padding: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 2rem;
    }
}


:root {
    --sky: #cfe9ff;
    --light: #eaf7ff;
    --text: #22303b;
}

* {
    box-sizing: border-box
}

.hero {
    position: relative;
    overflow: hidden;
    background: white
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    width: 40%;
    height: 120px;
    background: url('/img/bougainvillea-removebg-preview.png') no-repeat top;
    background-size: cover;
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    left: 0;
    transform: scaleX(1);
}

.hero::after {
    right: 0;
    transform: scaleX(-1);
}

.greek-column {
    position: absolute;
    bottom: 22vh;
    right: -20vh;
    rotate: -15deg;
    width: 380px;
    height: 380px;
    background: url('/l7-pro-3-vakantievilla-broodje-kaas-zonder-kaas/img/5333069.png') no-repeat center;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

/* Body styling verwijderd - gebruikt nu homepage.css achtergrond */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px
}

/* Navbar en header styling verwijderd - gebruikt nu homepage.css */

.breadcrumb {
    background-color: #bcdcfd80;
    font-size: 13px;
    padding: 12px 20px;
    margin-top: 80px;
    /* ruimte voor fixed navbar */
}

/* Voor villa-detail page: navbar niet fixed */
.villa-detail-page .header {
    position: relative;
}

.villa-detail-page .breadcrumb {
    margin-top: 0;
}

.breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.hero-floral {
    height: 60px;
    background-image: url('/l7-pro-3-vakantievilla-broodje-kaas-zonder-kaas/img/bougainvillea-removebg-preview.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.hero-floral-container {
    display: flex;
    width: 100%;
    height: 125px;
    overflow: visible;
    position: relative;
}

.hero-floral-left,
.hero-floral-right {
    width: 50%;
    height: 100%;
    background-image: url('/l7-pro-3-vakantievilla-broodje-kaas-zonder-kaas/img/bougainvillea-removebg-preview.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.hero-floral-right {
    transform: scaleX(-1);
    /* rechts gespiegeld */
}

.hero-floral-top {
    height: 80px;
    background-image: url('/l7-pro-3-vakantievilla-broodje-kaas-zonder-kaas/img/bougainvillea-removebg-preview.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: bottom center;
}

.hero-inner {
    padding: 10px 20px 30px;
    text-align: center
}

.title {
    font-family: 'font_about';
    font-size: 30px;
    margin: 8px 0 2px;
    letter-spacing: 2px
}

.title1 {
    font-family: 'font_about';
    font-size: 30px;
    margin: 8px 0 2px;
    letter-spacing: 2px;
}

.address {
    font-size: 12px;
    color: #6b7b8a;
    margin-bottom: 18px
}

.gallery {
    display: block;
    margin-top: 6px
}

.main-photo {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 14px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-photo:hover {
    transform: scale(1.02);
}

.main-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

.thumb-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 14px;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.chev {
    background: none;
    width: 30px;
    min-width: 30px;
    max-width: 30px;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #2f7be6;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.thumbs::-webkit-scrollbar {
    height: 4px;
}

.thumbs::-webkit-scrollbar-thumb {
    background: rgba(47, 123, 230, 0.3);
    border-radius: 2px;
}

.thumbs img {
    width: 86px;
    height: 60px;
    min-width: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    opacity: 0.9;
    transition: opacity .18s, transform .12s
}

.thumbs img.active {
    outline: 3px solid rgba(47, 123, 230, 0.12);
    transform: translateY(-3px);
    opacity: 1
}

.print-line {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    color: #6b7b8a
}

.print-line .printer {
    opacity: 0.9
}

.info-strip {
    background: var(--light);
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 140px;
    width: 100vw;
    padding: 12px 20px;
    border-radius: 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    align-items: center;
    flex-direction: row;
}

.info-item .label {
    font-size: 11px;
    color: #6b7b8a
}

.info-item .value {
    font-weight: 600;
    margin-top: 6px
}

.content {
    display: flex;
    gap: 30px;
    padding: 36px 20px
}

.left {
    flex: 1
}

.contact-card {
    width: 260px;
    height: 200px;
}

.contact-card .card-inner {
    background: #eaf6ff;
    padding: 26px;
    border-radius: 20px;
    text-align: center
}

.card-logo {
    font-weight: 700;
    color: #b38f55;
    margin-bottom: 18px
}

.cta {
    background: #5da3d9;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    color: white;
    cursor: pointer
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 14px
}

.specs {
    width: 100%;
    border-collapse: collapse
}

.specs td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee
}

.specs td:first-child {
    width: 65%
}

.mono {
    text-align: right;
    font-weight: 600
}

.site-footer {
    background: linear-gradient(180deg, #cfe9ff, #dff3ff);
    padding: 24px 0;
    margin-top: 20px
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.footer-center {
    text-align: center;
    font-size: 14px
}

.footer-right a {
    display: block;
    color: #16384a;
    text-decoration: none
}

@media(max-width:1300px) {
    .info-strip {
        background: var(--light);
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 40px;
        width: 100%;
        max-width: 100vw;
        padding: 15px 20px;
        border-radius: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        align-items: center;
        flex-direction: row;
        font-size: 13px;
        min-height: auto;
        height: auto;
    }
}

@media(max-width:1150px) {
    .greek-column {
        display: none;
    }

}

@media(max-width:820px) {
    .container {
        padding: 0 16px
    }

    .main-photo {
        width: 100%
    }

    .content {
        flex-direction: column
    }

    .contact-card {
        width: 100%
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px
    }

    .main-photo img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        cursor: pointer;
        border-radius: 10px;
        height: 200px;
    }
}

@media (max-width:720px) {
    .hamburger {
        display: block
    }

    .thumbs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
        overflow-x: visible;
    }

    .thumbs img {
        width: 100%;
        height: 80px;
        min-width: auto;
    }

    .info-strip {
        background: var(--light);
        margin: 0;
        display: flex;
        justify-content: center;
        gap: 40px;
        width: 100%;
        max-width: 100vw;
        padding: 15px 20px;
        border-radius: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
        align-items: center;
        flex-direction: row;
        font-size: 13px;
        min-height: auto;
        height: auto;
    }

    .info_respon {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #eaf7ff;
        box-shadow: 0 4px 24px #00000033;
        padding: 0;
        z-index: 100;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s cubic-bezier(0.01, 0, 0.01, 0.01);
    }

    .info_respon.open {
        max-height: 300px;
        padding: 20px 0;
    }

    .navbar {
        position: relative
    }

    .hero-floral-container {
        display: flex;
        width: 100%;
        height: 100px;
        overflow: visible;
        position: relative;
    }

    .title1 {
        font-family: 'font_about';
        font-size: 30px;
        margin: 8px 0 2px;
        letter-spacing: 2px;
        margin-top: 600px;
    }



    /* ===== ABOUT.CSS ===== */

    @font-face {
        font-family: cinzle;
        src: url(../fonts/Cinzel-Regular.otf);
    }

    @font-face {
        font-family: cinzle_bold;
        src: url(../fonts/Cinzel-Black.otf);
    }

    /* General Styling */
    :root {
        --primary-color: #0A2A43;
        /* Dieper, luxer blauw */
        --secondary-color: #FDFBF8;
        /* Warm, gebroken wit */
        --accent-color: #D4AF37;
        /* Goud accent */
        --text-color: #333;
        --background-color: #FFFFFF;
        --font-primary: 'Cinzel', serif;
        --font-secondary: 'Jockey One', sans-serif;
    }

    body {
        margin: 0;
        padding: 0;
        /* font-family inherited from homepage.css for navbar consistency */
        background-color: var(--background-color);
        color: var(--text-color);
        overflow-x: hidden;
    }

    html,
    body {
        height: 100%;
    }

    /* 
   Header and Navigation styling is inherited from homepage.css 
   No custom navbar styling here to ensure consistency with index.php
*/


    /* Hero Section */
    .imgshow {
        display: none;
        /* hide .imgshow to avoid conflict; background applied per-showcase instead */
    }

    /* Ensure the section's content stacks above the background */
    .image-showcase .showcase-item,
    .image-showcase .greekborder,
    .image-showcase .head_about2 {
        position: relative;
        z-index: 1;
        margin: 0
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(10, 42, 67, 0.5);
        /* Donkerblauwe overlay */
        z-index: 2;
    }

    .hero-text {
        z-index: 3;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .hero-text h1 {
        font-size: 64px;
        font-weight: 700;
        margin: 0;
    }

    .hero-text h2 {
        font-size: 28px;
        font-weight: 400;
        margin-top: 15px;
        letter-spacing: 1px;
    }

    /* Intro Section */
    .intro-section {
        background-color: var(--secondary-color);
        text-align: center;
        padding: 100px 10%;
    }

    .intro-content p {
        font-size: 24px;
        line-height: 1.8;
        max-width: 900px;
        margin: 0 auto;
        color: var(--primary-color);
    }

    /* Image Showcase Section */
    .image-showcase {
        /* Full-bleed section so no white space remains at the sides */
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        box-sizing: border-box;
        min-height: auto;
        /* do not force full viewport height */
        background-color: var(--background-color);
        /* Zon als decoratief achtergrondbeeld rechtsboven */
        background-image: url('../img/sun.png');
        background-position: right top;
        background-repeat: no-repeat;
        /* Pas grootte aan naar wens; op grote schermen is 620px mooi */
        background-size: 620px;
        position: relative;
        margin-bottom: 0;
        margin-top: 0;
    }

    .showcase-item {
        display: flex;
        align-items: center;
        gap: 60px;
        margin: 0 0 60px 0;
        padding: 40px 5%;
        min-height: auto;
        justify-content: space-between;
    }

    .showcase-item:last-child {
        margin-bottom: 0;
    }

    .showcase-item.reverse {
        flex-direction: row-reverse;
        display: flex;
        justify-content: space-between;
    }

    .imggriek img {
        width: 500px;
    }

    .showcase-item img {
        flex: 1.2;
        object-fit: cover;
        /* ensure the image covers its column */
        border-radius: 10px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        transition: transform 0.4s, box-shadow 0.4s;
    }

    /* Make the image in the reversed showcase a bit smaller so it's not too large */
    .showcase-item.reverse img {
        width: 45%;
        height: auto;
        /* let height adjust to content */
        max-width: 620px;
        max-height: 60vh;
        object-fit: cover;
    }

    .greekborder img {
        width: 100%;
        padding: 0;
    }

    /* Use the same about_achtergrond image as a background for .imgshow */
    .imgshow {
        width: 100%;
        height: 100vh;
        /* adjust height if you want it smaller/larger */
        position: relative;
        margin: 0;
        display: block;

    }

    .imgshow::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: url('../img/about_achtergrond.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.8;
        filter: brightness(0.6);
        z-index: 1;
        pointer-events: none;
    }

    .showcase-item img:hover {

        box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
    }

    /* Background overlay for the reverse showcase item */
    .showcase-item.reverse.about_achtergrond {
        position: relative;
        overflow: hidden;
    }

    .showcase-item.reverse.about_achtergrond::before {
        content: '';
        position: absolute;
        inset: 0;
        /* Decorative background - adjust image as needed */

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.6;
        /* 60% zichtbaarheid */
        z-index: 0;
        pointer-events: none;
    }

    .showcase-item.reverse.about_achtergrond .showcase-text,
    .showcase-item.reverse.about_achtergrond img {
        position: relative;
        z-index: 1;
    }

    /* Apply same background behavior to the first (non-reverse) showcase item */
    .showcase-item.about_achtergrond {
        position: relative;
        overflow: hidden;
    }

    .showcase-item.about_achtergrond::before {
        content: '';
        position: absolute;
        inset: 0;

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.6;
        z-index: 0;
        pointer-events: none;
    }

    .showcase-item.about_achtergrond .showcase-text,
    .showcase-item.about_achtergrond img {
        position: relative;
        z-index: 1;
    }

    .showcase-text h3 {
        font-size: 36px;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .showcase-text1 p {
        font-family: cinzle;
        font-size: 28px;
        max-width: 500px;
    }

    .kop1 {
        font-size: 48px;
        font-weight: 700;
        color: #06509A;
        margin-bottom: 20px;
        font-family: cinzle;
    }

    .kop2 {
        font-size: 32px;
        font-weight: 700;
        color: #06509A;
        margin-bottom: 20px;
        font-family: cinzle;
    }

    .kopflex {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
    }

    .imgshow .showcase-text p {
        /* Match the h1 styling: Cinzel bold with outline/stroke */
        font-family: cinzle_bold;
        font-weight: 1700;
        color: #E8B547;
        -webkit-text-stroke: 1px #000000;
        text-shadow: 5px 5px 9px #06509A;
        font-size: 35px;
        line-height: 1.2;
        margin: 0;
    }

    @media (max-width: 768px) {
        .showcase-text p {
            font-size: 20px;
            -webkit-text-stroke: 1px #000;
            text-shadow: none;
            /* rely on smaller stroke on mobile */
        }

        .showcase-item.reverse img {
            width: 100%;
            height: auto;
            max-width: none;
            max-height: none;
        }
    }

    /* Featured Villa Section */
    .featured-villa-section {
        padding: 100px 5%;
        background-color: var(--secondary-color);
    }

    /* Centraal geplaatste headings met alleen een zwarte rand rond de tekst */
    .head_about2 {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 30px 0;
        margin-top: 0;
        opacity: 1;
        margin-top: 100px;
    }

    .head_about2 h1 {
        /* Bovenste: goudkleurige tekst met een outline/stroke rondom de letters (geen box-border)
       Gebruik -webkit-text-stroke voor moderne browsers en meerdere text-shadow lagen als fallback */
        color: #E8B547;
        /* Use Cinzel bold for a strong, Figma-like heading */
        font-family: cinzle_bold;
        font-weight: 700;
        -webkit-text-stroke: 2px #000;
        /* primary stroke (Chrome, Safari) */
        text-stroke: 2px #000;
        /* future-proof */
        /* Fallback: meerdere text-shadow offsets om een zichtbare outline te simuleren */
        text-shadow:
            -1px -1px 0 #000,
            -1px 0 0 #000,
            -1px 1px 0 #000,
            0 -1px 0 #000,
            0 1px 0 #000,
            1px -1px 0 #000,
            1px 0 0 #000,
            1px 1px 0 #000;
        padding: 6px 10px;
        display: inline-block;
        margin: 0;
        font-size: 62px;
        opacity: 1;
        margin-top: 100px;
    }

    .head_about2 h2 {
        /* Onderste: witte tekst met zwarte outline/stroke (geen box-border) */
        color: #ffffff;
        /* Also Cinzel bold for the Greek subtitle */
        font-family: cinzle_bold;
        font-weight: 700;
        -webkit-text-stroke: 1px #000;
        text-stroke: 2px #000;
        text-shadow:
            -1px -1px 0 #000,
            -1px 0 0 #000,
            -1px 1px 0 #000,
            0 -1px 0 #000,
            0 1px 0 #000,
            1px -1px 0 #000,
            1px 0 0 #000,
            1px 1px 0 #000;
        padding: 4px 10px;
        display: inline-block;
        margin: 0;
        font-size: 48px;
        opacity: 1;
    }

    @media (max-width: 768px) {
        .head_about2 h1 {
            font-size: 22px;
            padding: 6px 10px;
        }

        .head_about2 h2 {
            font-size: 16px;
            padding: 5px 10px;
        }
    }

    /* Villa Carousel Container */
    .villa-carousel-container {
        position: relative;
        min-height: 600px;
    }

    .villa-slide {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1000px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 1s ease-in-out, visibility 1s;
    }

    .villa-slide.active {
        opacity: 1;
        visibility: visible;
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
    }

    .villa-card {
        display: flex;
        background-color: var(--background-color);
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    /* Carousel Indicators */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 40px;
        position: relative;
        z-index: 10;
    }

    .indicator {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: rgba(10, 42, 67, 0.3);
        border: 2px solid var(--accent-color);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .indicator:hover {
        background: rgba(212, 175, 55, 0.5);
        transform: scale(1.2);
    }

    .indicator.active {
        background: var(--accent-color);
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    }


    .villa-image {
        flex: 0 0 45%;
    }

    .villa-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

    .villa-card:hover .villa-image img {
        transform: scale(1.05);
    }

    .villa-info {

        flex: 1;
        color: var(--primary-color);
    }

    .villa-info h2 {
        font-family: var(--font-secondary);
        font-size: 38px;
        margin: 0 0 15px;
    }

    .villa-info .tagline {
        font-size: 18px;
        margin-bottom: 30px;
        opacity: 0.9;
    }

    .details {
        display: flex;
        gap: 25px;
        margin-bottom: 40px;
        font-size: 16px;
        font-weight: 700;
        font-family: var(--font-secondary);
    }

    .price-cta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 100px;
    }

    .price {
        font-size: 24px;
        font-weight: 700;
        color: var(--accent-color);
    }

    .cta-button {
        padding: 14px 28px;
        background: linear-gradient(45deg, var(--accent-color), #EACDA3);
        color: var(--primary-color);
        text-decoration: none;
        border-radius: 10px;
        font-family: var(--font-secondary);
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s, box-shadow 0.3s;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(212, 175, 55, 0.5);
    }

    /* Footer */
    .footer {
        background-color: var(--primary-color);
        color: var(--secondary-color);
        padding: 60px 5%;
    }

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-logo img {
        height: 80px;
        filter: brightness(0) invert(1);
    }

    .footer-contact p {
        margin: 8px 0;
        font-size: 16px;
    }

    .footer-links {
        display: flex;
        gap: 30px;
    }

    .footer-links a {
        text-decoration: none;
        color: var(--secondary-color);
        font-size: 18px;
        font-weight: 700;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: var(--accent-color);
    }

    .carousel-container {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;


    }

    .carousel-wrapper {
        overflow: hidden;
        flex: 1;
    }

    .carousel {
        display: flex;
        justify-content: center;
        gap: 50px;
    }

    .villa-card {
        min-width: 30%;
        max-width: 300px;
        box-sizing: border-box;

    }

    .carousel-btn {
        display: none;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }

    .carousel-btn:hover {
        background: rgba(0, 0, 0, 0.7);
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .imgshow::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('../img/about_achtergrond.jpg');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0.6;
            filter: brightness(0.4);
            z-index: 1;
            pointer-events: none;
        }

        /* Navigation styling inherited from homepage.css */

        .hero {
            height: 70vh;
        }

        .hero-text h1 {
            font-size: 48px;
        }

        .hero-text h2 {
            font-size: 24px;
        }

        .showcase-item,
        .showcase-item.reverse {
            flex-direction: column;
            gap: 40px;
        }

        .showcase-item img {
            width: 100%;
        }

        .showcase-text {
            text-align: center;
        }

        .villa-carousel-container {
            min-height: 550px;
        }

        .villa-slide {
            width: 95%;
        }

        .villa-card {
            flex-direction: column;
        }

        .villa-image {
            flex: 0 0 auto;
            height: 350px;
        }

        .imgshow .showcase-text p {
            font-size: 35px;
            -webkit-text-stroke: 0.2px #000;
        }
    }

    @media (max-width: 768px) {



        /* Navigation styling inherited from homepage.css */

        .hero {
            height: 110vh;
        }

        .hero-text h1 {
            font-size: 36px;
        }

        .hero-text h2 {
            font-size: 20px;
        }

        .intro-section {
            padding: 80px 5%;
        }

        .intro-content p {
            font-size: 20px;
        }

        .showcase-text h3 {
            font-size: 32px;
        }

        .imgshow .showcase-text p {
            font-size: 25px;
            -webkit-text-stroke: 0.2px #000;
        }

        .head_about2 {
            margin-top: 50px;
        }

        .kopflex {
            padding-top: 50px;
        }

        .kop1 {
            font-size: 30px;
        }

        .kop2 {
            font-size: 25px;
        }

        .head_about2 h1 {
            -webkit-text-stroke: 0px #000;
            text-stroke: 0px #000;
            font-size: 25px;
        }

        .head_about2 h2 {
            -webkit-text-stroke: 0px #000;
            text-stroke: 0px #000;
            font-size: 20px;
        }

        .villa-carousel-container {
            min-height: 700px;
            padding: 60px 5%;
        }

        .villa-slide {
            width: 100%;
        }

        .villa-info {
            padding: 40px;
        }

        .villa-info h2 {
            font-size: 32px;
        }

        .indicator {
            width: 12px;
            height: 12px;
        }

        .textblok_woningabout {
            background-color: white;
            height: 280px;
            width: 300px;
            box-shadow: 10px 35px 50px #000000;
            padding-left: 20px;
            border-radius: 0 0px 0px 0;
        }

        .price-cta {
            flex-direction: column;
            align-items: center;
            gap: 20px;
            display: flex;
        }

        .footer-content {
            flex-direction: column;
            text-align: center;
        }

        .prijs_button_about {
            display: flex;
            gap: 0px;
            flex-direction: row;
            margin-right: 40px;
            align-items: center;
            justify-content: space-between;
            margin-top: 10px;
        }

        .text_about img {
            width: 330px;
            height: 220px;
        }

        .text_about2 img {
            width: 330px;
            height: 220px;
        }

        .text_about p {
            width: 310px;
            font-size: 24px;
            font-family: 'font_about';
            margin-left: 8vw;
            margin-top: 40px;
        }

        .text_about2 p {
            width: 310px;
            font-size: 24px;
            font-family: 'font_about';
            margin-left: 8vw;
            margin-top: 40px;
        }
    }

    @media (max-width: 768px) {

        .showcase-text1 p {
            font-size: 20px;
        }
    }

    @media (max-width: 700px) {
        .image-showcase {
            /* Full-bleed section so no white space remains at the sides */
            width: 100vw;
            margin-left: calc(50% - 50vw);
            margin-right: calc(50% - 50vw);
            box-sizing: border-box;
            min-height: auto;
            /* do not force full viewport height */
            background-color: var(--background-color);
            /* Zon als decoratief achtergrondbeeld rechtsboven */
            background-image: url('../img/sun.png');
            background-position: right top;
            background-repeat: no-repeat;
            /* Pas grootte aan naar wens; op grote schermen is 620px mooi */
            background-size: 360px;
            position: relative;
            margin-bottom: 0;
            margin-top: 0;
        }

    }

    @media (max-width: 500px) {
        .info-strip {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 15px;
            width: 100%;
            left: 0;
            transform: none;
            min-height: auto;
        }

        .info-item {
            text-align: center;
            padding: 10px 5px;
        }

        .info-item .label {
            font-size: 10px;
            margin-bottom: 4px;
        }

        .info-item .value {
            font-size: 13px;
            margin-top: 4px;
        }

        .kop1 {
            font-size: 20px;
        }

        .kop2 {
            font-size: 15px;
        }
    }

    @media (max-width: 380px) {
        .imgshow {
            width: 100%;
            height: 120vh;
            position: relative;
            margin: 0;
            display: block;
        }
    }
}