/* =========================================================
   COMBINED + CLEANED CSS
   - Duplicate selectors merged
   - Conflicting rules scoped where needed
   - Invalid CSS corrected
   - Responsive rules consolidated
   ========================================================= */

/* =========================================================
   RESET / BASIS
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f5f5;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(1200px, calc(100% - 30px));
    margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

header {
    background: #111;
    color: #fff;
}

.header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
}

.logo span {
    color: #ff5a1f;
}

.header-back {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.header-back:hover {
    text-decoration: underline;
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    opacity: .8;
}

.nav-link:hover,
.nav-link.active {
    color: #ff5a1f;
    opacity: 1;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 65px 0 60px;
}

.hero-small,
.hero small {
    color: #777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 15px 0;
    font-size: clamp(42px, 7vw, 100px);
    line-height: .9;
    letter-spacing: -5px;
}

.hero p,
.hero-intro {
    max-width: 700px;
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

/* =========================================================
   LABEL
   ========================================================= */

.label {
    display: block;
    margin-bottom: 15px;
    color: #777;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

/* =========================================================
   ABOUT / WIE
   ========================================================= */

.about {
    padding: 80px 0 100px;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 60px;
    align-items: start;
}

.about h2 {
    margin: 15px 0 30px;
    font-size: clamp(42px, 6vw, 65px);
    line-height: .98;
    letter-spacing: -4px;
}

.about p {
    max-width: 700px;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

/* Keep the "about" card separate from listing cards. */
.about .card {
    display: block;
    padding: 30px;
    overflow: visible;
    background: #f5f5f5;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: none;
    transition: none;
}

.card-number {
    color: #ff5a1f;
    font-size: 13px;
    font-weight: 900;
}

.about .card h3 {
    margin: 25px 0;
    font-size: 28px;
}

.about .card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.about .card li {
    padding: 14px 0;
    border-top: 1px solid #ddd;
    color: #555;
}

.about .card li:last-child {
    border-bottom: 1px solid #ddd;
}

/* =========================================================
   VALUES
   ========================================================= */

.values {
    padding: 80px 0;
}

.values h2 {
    margin: 15px 0 45px;
    font-size: clamp(42px, 6vw, 65px);
    line-height: .98;
    letter-spacing: -4px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.value {
    padding: 30px;
    background: #fff;
    border-radius: 15px;
}

.value-number {
    color: #ff5a1f;
    font-size: 13px;
    font-weight: 900;
}

.value h3 {
    margin: 35px 0 12px;
    font-size: 25px;
}

.value p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
    padding: 70px 0;
    background: #111;
    color: #fff;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    margin: 15px 0 0;
    font-size: clamp(42px, 6vw, 65px);
    line-height: .98;
    letter-spacing: -4px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;
    padding: 15px 18px;
    border: 0;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform .15s, opacity .15s;
}

.button:hover {
    transform: translateY(-1px);
    opacity: .9;
}

.button-primary {
    background: #ff5a1f;
    color: #fff;
}

.button-secondary {
    background: #111;
    color: #fff;
}

/* Location/sidebar buttons are full width. */
.info-card .button,
.sidebar .button {
    display: block;
    width: 100%;
    margin-top: 12px;
}

/* CTA button keeps its natural width. */
.cta .button {
    width: auto;
    margin-top: 0;
}

/* =========================================================
   LOCATION / WAAR
   ========================================================= */

.location-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    padding-bottom: 80px;
}

.map-card,
.info-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .07);
}

.map {
    min-height: 560px;
    width: 100%;
    border: 0;
    display: block;
}

.info-card {
    padding: 30px;
    height: max-content;
}

.badge {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.info-card h2 {
    margin: 18px 0 12px;
    font-size: 30px;
    line-height: 1.1;
}

.address {
    margin: 0 0 25px;
    color: #555;
    font-size: 17px;
    line-height: 1.7;
}

.address strong {
    color: #111;
}

.service-box {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #eee;
}

.service-box h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.service-box p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 30px 0 50px;
    background: #111;
    color: #777;
    text-align: center;
    font-size: 13px;
}

/* =========================================================
   LISTING / OVERVIEW
   ========================================================= */

.error {
    margin: 30px 0;
    padding: 20px;
    background: #ffe3e3;
    color: #900;
    border-radius: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding-bottom: 80px;
}

/* Listing cards use the generic .card selector. */
.grid .card,
a.card {
    display: block;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .07);
    transition: transform .2s, box-shadow .2s;
}

.grid .card:hover,
a.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .13);
}

.card-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #eee;
}

.photo-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    color: #fff;
    background: rgba(0, 0, 0, .75);
    border-radius: 7px;
    font-size: 12px;
}

.card-content {
    padding: 18px;
}

.grid .card h2 {
    margin: 0 0 12px;
    font-size: 19px;
    line-height: 1.25;
}

.price {
    font-size: 25px;
    font-weight: 900;
}

.info {
    display: flex;
    gap: 7px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.info span {
    padding: 6px 9px;
    background: #eee;
    border-radius: 6px;
    font-size: 12px;
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 12px;
}

.card-bottom strong {
    color: #111;
}

.ad-loading {
    min-height: 280px;
}

.ad-loading .card-photo {
    color: #777;
}

.ad-loading.error {
    background: #fff0f0;
}

/* =========================================================
   DETAIL PAGE
   ========================================================= */

.detail-page {
    width: 100%;
}

.detail {
    padding: 40px 0 100px;
}

.back,
.back-to-overview {
    display: inline-block;
    margin: 0 0 20px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
}

.back:hover,
.back-to-overview:hover {
    color: #111;
}

.detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-head h1 {
    margin: 0;
    font-size: clamp(35px, 6vw, 65px);
    line-height: 1;
    letter-spacing: -3px;
}

.detail-price {
    white-space: nowrap;
    font-size: 32px;
    font-weight: 900;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-bottom: 50px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #eee;
    overflow: hidden;
}

.gallery button:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    background: #eee;
}

/* =========================================================
   DETAIL COLUMNS
   ========================================================= */

.columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 60px;
}

.description {
    color: #444;
    font-size: 17px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.sidebar {
    height: max-content;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
}

.sidebar dl {
    margin: 0;
}

.sidebar dl div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
}

.sidebar dt {
    color: #777;
}

.sidebar dd {
    margin: 0;
    font-weight: bold;
    text-align: right;
}

/* =========================================================
   WHATSAPP / ORIGINAL
   ========================================================= */

.whatsapp {
    display: block;
    width: 100%;
    margin-top: 25px;
    margin-bottom: 10px;
    padding: 15px 18px;
    background: #25D366;
    color: #fff;
    border-radius: 9px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: transform .15s, background .15s;
}

.whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
}

.original {
    display: block;
    padding: 15px 18px;
    background: #ff5a1f;
    color: #fff;
    border-radius: 9px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.original:hover {
    opacity: .9;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .95);
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

.close {
    top: 20px;
    right: 20px;
}

.prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map {
        min-height: 420px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        display: block;
    }

    .cta .button {
        margin-top: 30px;
    }
}

@media (max-width: 600px) {
    .header {
        min-height: 65px;
    }

    .nav {
        gap: 12px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero {
        padding-top: 50px;
    }

    .hero h1 {
        font-size: 55px;
        letter-spacing: -4px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .detail-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery button:first-child {
        grid-column: span 2;
        grid-row: auto;
    }

    .gallery button {
        min-height: 180px;
    }

    .info-card {
        padding: 24px;
    }

    .about h2,
    .values h2,
    .cta h2 {
        letter-spacing: -3px;
    }

    .container {
        width: calc(100% - 30px);
    }
}
