/* AI MAKELAAR - CORE STYLING */
:root {
    --gold: #bbac78;
    --dark: #121212;
    --grey: #1c1c1c;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* BASIS & LAYOUT */
body {
    margin: 0;
    padding-top: 57px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* ── Hexagoon diepte-achtergrond: 3 lagen (dicht / midden / ver) ── */
    background-image:
        /* Laag 1 – klein & helder (dichtbij) */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpolygon points='10,26 20,9 40,9 50,26 40,43 20,43' fill='none' stroke='rgba(187,172,120,0.18)' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 60px 52px, 120px 104px, 240px 208px;
    background-position: 0 0, 30px 26px, 60px 52px;
    background-attachment: fixed;
}

html { overflow-x: hidden; }

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 80px 20px; 
    text-align: center; 
}

.container-narrow { 
    max-width: 700px; 
    margin: 0 auto; 
    padding: 60px 20px; 
}

/* TYPOGRAFIE: DE LUXE DIKKE LOOK */
h1, h2, .logo {
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-intro {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.8;
    margin-bottom: 50px;
}

/* DE SYMMETRISCHE STREEP */
.divider-gold {
    width: calc(100% - 100px);
    max-width: 1000px;
    height: 1.5px;
    background: var(--gold);
    margin: 20px auto;
    border: none;
    display: block;
}

/* NAVIGATIE */
.main-nav {
    padding: 18px 40px;
    background: rgba(0,0,0,0.92);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-sizing: border-box;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    order: 1;
    font-size: 1.25rem;
    line-height: 1;
    text-decoration: none;
    color: var(--white);
}
.logo span { color: var(--gold); }

/* HAMBURGER & ZIJ-MENU */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1100;
    padding: 4px;
    order: 3; /* altijd rechts in nav-container flex */
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
    display: block;
}

/* Hamburger → X animatie via JS .active class */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Donker overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 1040;
    pointer-events: none;
    cursor: pointer;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-menu {
    position: fixed;
    right: 0;
    top: 0;
    width: 260px;
    height: auto;
    max-height: calc(100vh - 20px);
    background: #161616;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                visibility 0.35s;
    padding: 60px 0 20px;
    list-style: none;
    z-index: 1050;
    box-shadow: -10px 0 32px rgba(0,0,0,0.6);
    box-sizing: border-box;
    margin: 0;
    overflow-y: auto;
    border-left: 1px solid rgba(187, 172, 120, 0.15);
}

.side-menu.open {
    transform: translateX(0);
    visibility: visible;
}

.side-menu li { margin: 0; }

/* Scheidingslijn */
.menu-divider {
    height: 1px;
    background: rgba(187, 172, 120, 0.2);
    margin: 6px 28px 8px;
}

.side-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
    padding: 8px 28px;
    transition: color 0.2s, padding-right 0.2s;
}

.side-menu a:hover {
    color: var(--gold);
    padding-right: 36px;
}

/* ACCORDION IN SIDE-MENU */
.side-accordion { list-style: none; }

.acc-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 24px 8px 28px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    user-select: none;
    font-family: inherit;
}

.acc-arrow {
    display: inline-block;
    font-size: 11px;
    transition: transform 0.3s ease;
    color: var(--gold);
    opacity: 0.8;
}

.side-accordion.open .acc-arrow {
    transform: rotate(180deg);
}

.side-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.side-accordion.open .side-submenu {
    max-height: 320px;
}

.side-submenu a {
    padding: 6px 28px 6px 42px;
    font-size: 12px;
    opacity: 0.8;
}

.side-submenu a:hover {
    opacity: 1;
    padding-right: 36px;
}

/* HERO SECTIE */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px 110px;
    background: transparent; /* hexagoon bg zichtbaar door hero heen */
    min-height: 75vh;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
}

.hero-logo {
    width: 100%;
    max-width: 1000px; /* nog +190px per zijde ≈ +5 cm extra per kant */
    height: auto;
    display: block;
    margin: 0 auto 40px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.05rem;
    font-weight: 400;
    opacity: 0.65;
    letter-spacing: 1px;
    margin: 0;
}

/* WONING GRID: VAN GOEDKOOP NAAR DUUR */
.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.listing-card {
    background: var(--grey);
    border: 1px solid #333;
    overflow: hidden;
    transition: var(--transition);
    text-align: left;
}

.listing-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.img-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.listing-card:hover .img-box img {
    transform: scale(1.1);
}

.card-info { padding: 30px; }

.category {
    color: var(--gold);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-info h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin: 10px 0;
}

.price {
    font-weight: 400;
    opacity: 0.7;
    margin: 0;
}

/* FORMULIER & BUTTONS */
.ai-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.ai-form input, .ai-form select, .ai-form textarea {
    background: var(--grey);
    border: 1px solid #333;
    padding: 18px;
    color: white;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: border 0.3s;
}

.ai-form input:focus, .ai-form select:focus, .ai-form textarea:focus { border-color: var(--gold); }

.btn-gold {
    background: var(--gold);
    color: var(--dark);
    border: none;
    padding: 22px;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.btn-gold:hover {
    background: #d4c48a;
    transform: translateY(-3px);
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 40px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--dark);
}

.card-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.card-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

/* FOOTER SIMPEL (property pages) */
.footer {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    letter-spacing: 2px;
    opacity: 0.45;
    text-transform: uppercase;
}

/* FOOTER UITGEBREID (home) */
.main-footer {
    background: #0d0d0d;
    border-top: 1px solid rgba(187, 172, 120, 0.2);
}

.main-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 60px 20px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo span { color: var(--gold); }

.footer-column p {
    font-size: 0.85rem;
    line-height: 1.75;
    opacity: 0.55;
    margin: 0 0 8px;
}

.footer-column h3 {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--gold);
    margin: 0 0 18px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li { margin-bottom: 10px; }

.footer-column ul a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-column ul a:hover { color: var(--gold); }

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 18px;
}

.social-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.social-links a:hover { color: var(--gold); }

.footer-divider {
    width: 80%;
    opacity: 0.25;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding: 24px 20px 28px;
}

.footer-bottom p {
    font-size: 0.72rem;
    letter-spacing: 2px;
    opacity: 0.4;
    text-transform: uppercase;
    margin: 14px 0 0;
}

.footer-bottom a {
    color: var(--gold);
    text-decoration: none;
    opacity: 1;
}

.footer-bottom a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 960px) {
    .listing-grid { grid-template-columns: 1fr; }
    h2 { font-size: 2rem; }
    .main-nav { padding: 16px 20px; }
    /* Scroll-attachment voor betere performance op mobiel */
    body { background-attachment: scroll; }
    .main-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 600px) {
    .container { padding: 50px 16px; }
    .container-narrow { padding: 40px 16px; }
    h2 { font-size: 1.6rem; }
    .card-info h3 { font-size: 1.1rem; }
    .hero-logo { max-width: calc(100vw - 40px); }
    .main-footer .footer-grid { grid-template-columns: 1fr; }
}