* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f6f8;
    color: #222;
}

.container {
    width: min(1180px, calc(100% - 30px));
    margin: auto;
}

.topbar {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: #222;
}

.logo span {
    color: #e85d04;
}

nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 10px 12px;
    border-radius: 7px;
}

nav a:hover {
    background: #f0f0f0;
}

.place-btn,
.register-btn {
    background: #e85d04;
    color: white !important;
    font-weight: bold;
}

.hero {
    background: linear-gradient(135deg, #222, #444);
    color: white;
    padding: 55px 20px;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: 42px;
}

.hero p {
    font-size: 18px;
    opacity: .9;
}

.search {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.search input,
.search select {
    flex: 1;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 16px;
}

button,
.btn {
    border: 0;
    background: #e85d04;
    color: white;
    padding: 13px 18px;
    border-radius: 7px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
}

.section {
    padding: 35px 0;
}

.section h2 {
    margin-top: 0;
}

.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.category {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.category:hover {
    border-color: #e85d04;
}

.form-box {
    background: white;
    max-width: 550px;
    margin: 45px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,.08);
}

.form-box h1 {
    margin-top: 0;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 7px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.error {
    background: #ffe5e5;
    color: #a00000;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 15px;
}

.success {
    background: #e5ffe9;
    color: #087a20;
    padding: 12px;
    border-radius: 7px;
    margin-bottom: 15px;
}

.info {
    background: #eef4ff;
    padding: 15px;
    border-radius: 8px;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.ad-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.ad-card-body {
    padding: 15px;
}

.ad-card h3 {
    margin-top: 0;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #e85d04;
}

footer {
    background: #222;
    color: #aaa;
    padding: 30px 0;
    margin-top: 50px;
}

@media (max-width: 750px) {

    .nav {
        flex-direction: column;
        padding: 15px 0;
    }

    nav {
        justify-content: center;
    }

    .hero h1 {
        font-size: 32px;
    }

    .search {
        flex-direction: column;
    }
}

.logo span {
    color: #b0005a;
}

.place-btn,
.register-btn,
button,
.btn {
    background: #b0005a;
}

.price {
    color: #b0005a;
}

.category:hover {
    border-color: #b0005a;
}

.hero {
    background: linear-gradient(135deg, #260018, #65003d);
}

/* =========================================
   ESCORTKRANENBURG HOMEPAGE
   ========================================= */

.marketplace-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding-top: 35px;
}


/* CATEGORIE MENU */

.category-menu-box {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.category-menu-box h2 {
    margin: 0;
    padding: 20px;
    font-size: 20px;
    background: #260018;
    color: white;
}

.category-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 18px;

    text-decoration: none;
    color: #333;

    border-bottom: 1px solid #eee;

    transition: .2s;
}

.category-menu-item:hover {
    background: #faf0f6;
    color: #b0005a;
    padding-left: 22px;
}

.category-menu-item span {
    font-size: 22px;
    color: #b0005a;
}


/* PROFIEL SECTIE */

.profiles-area {
    min-width: 0;
}

.profiles-area > h2 {
    margin-top: 0;
    margin-bottom: 25px;
}


/* CATEGORIE */

.category-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.category-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.category-section-header h3 {
    margin: 0;
    color: #333;
    font-size: 21px;
}

.category-section-header a {
    color: #b0005a;
    text-decoration: none;
    font-weight: bold;
}


/* PROFIEL KAARTEN */

.profile-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.profile-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 9px;
    overflow: hidden;
    transition: .2s;
}

.profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.profile-placeholder {
    height: 180px;
    background: linear-gradient(
        135deg,
        #eee,
        #ddd
    );

    display: flex;
    align-items: center;
    justify-content: center;

    color: #999;
    font-size: 14px;
}

.profile-card-body {
    padding: 13px;
}

.profile-card h4 {
    margin: 0 0 8px;
    font-size: 17px;
}

.profile-location {
    font-size: 13px;
    color: #777;
    margin-bottom: 8px;
}

.profile-price {
    color: #b0005a;
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-button {
    display: block;
    text-align: center;

    background: #b0005a;
    color: white;

    text-decoration: none;

    padding: 9px;

    border-radius: 6px;

    font-size: 13px;
    font-weight: bold;
}

.profile-button:hover {
    background: #850044;
}


/* GEEN PROFIELEN */

.no-profiles {
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}


/* MOBIEL */

@media (max-width: 1100px) {

    .profile-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 800px) {

    .marketplace-layout {
        grid-template-columns: 1fr;
    }

    .category-menu-box {
        position: static;
    }

    .profile-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 500px) {

    .profile-grid {
        grid-template-columns: 1fr;
    }

}
