@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);
}

/* Carousel wrapper en container */
.carousel-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-wrapper {
    width: 100%;
}

.carousel {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

/* 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 {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    min-height: auto;
}

.villa-slide {
    display: contents; /* Dit zorgt dat de children direct in de parent komen */
}

.villa-slide.active {
    display: contents;
}

.villa-card {
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: calc(33.333% - 20px);
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* 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 auto;
    height: 250px;
    width: 100%;
}

.villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.villa-card:hover .villa-image img {
    transform: scale(1.08);
}

.villa-info {
    flex: 1;
    padding: 25px;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
}

.villa-info h2 {
    font-family: var(--font-secondary);
    font-size: 24px;
    margin: 0 0 10px;
}

.villa-info .tagline {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.details {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-secondary);
    flex-wrap: wrap;
}

.price-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color);
}

.cta-button {
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--accent-color), #EACDA3);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 14px;
    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(-2px);
    box-shadow: 0 6px 18px 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);
}


/* 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: auto;
    }

    .villa-slide {
        flex-direction: column;
        align-items: center;
    }

    .villa-card {
        width: 95%;
        max-width: none;
    }

    .villa-image {
        height: 300px;
    }
     .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: 60vh;
    }

    .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: auto;
        padding: 60px 5%;
    }

    .villa-slide {
        flex-direction: column;
        align-items: center;
    }

    .villa-card {
        width: 100%;
        max-width: none;
        min-width: auto;
    }

    .villa-info {
        padding: 30px;
    }

    .villa-info h2 {
        font-size: 26px;
    }

    .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: flex-start;
        gap: 20px;
    }

    .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) {
.kop1 {
        font-size: 20px;
    }

    .kop2 {
        font-size: 15px;
    }
}

@media (max-width: 380px) {
    .imgshow {
    width: 100%;
    height: 120vh;
    position: relative;
    margin: 0;
    display: block;
}
}