/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #393b3b;
}

/* NAVBAR */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    background: #ececec;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 60px;
}

/* NAV LINKS */
nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #393b3b;
    font-weight: 500;
    position: relative;
}

nav a:not(.no-underline)::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #b0cb08;
    transition: 0.3s;
}

nav a:not(.no-underline):hover::after {
    width: 100%;
}

/* BUTTON */
.btn {
    padding: 10px 18px;
    border-radius: 999px;
}

.primary {
    background: #b0cb08;
    color: white;
    font-weight: 600;
    transition: 0.2s;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(176,203,8,0.4);
}

/* =========================
   HERO (VERBETERD)
========================= */

.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 80px 20px 60px;
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
}

.hero-content {
    max-width: 800px;
}

/* Titel */
.hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 18px;
    line-height: 1.1;
}

/* Subtekst */
.hero p {
    font-size: 18px;
    opacity: 0.75;
    margin-bottom: 35px;
}

/* animatie */
.fade-in {
    animation: fadeUp 0.9s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        transform: translateY(25px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   SEARCH (VERBETERD)
========================= */

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    max-width: 520px;
    margin: 0 auto;
}

.search-box input {
    flex: 1;

    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);

    font-size: 15px;
    outline: none;

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: 0.2s ease;
}

.search-box input:focus {
    border-color: #b0cb08;
    box-shadow: 0 10px 25px rgba(176,203,8,0.25);
}

/* knop */
.search-box button {
    width: 52px;
    height: 52px;

    border-radius: 50%;
    border: none;

    background: #b0cb08;
    color: white;

    cursor: pointer;
    transition: 0.2s ease;

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

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(176,203,8,0.3);
}

/* =========================
   SEARCH MOBILE FIX
========================= */

@media (max-width: 768px) {

    .hero {
        min-height: 70vh;
        padding: 60px 20px 40px;
    }

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

    .hero p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .search-box {
        flex-direction: column;
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .search-box button {
        width: 100%;
        border-radius: 999px;
        height: 48px;
    }
}

/* BUTTON */
.primary {
    background: #b0cb08;
    color: white;
    font-weight: 600;
    transition: 0.2s;
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(176,203,8,0.4);
}

/* NAV LINKS */
nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #393b3b;
    font-weight: 500;
    position: relative;
}

nav a:not(.no-underline)::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: #b0cb08;
    transition: 0.3s;
}

nav a:not(.no-underline):hover::after {
    width: 100%;
}

/* SEARCH BOX */
.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-box input {
    padding: 14px 18px;
    width: 300px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.search-box button {
    width: 50px;
    border-radius: 999px;
    border: none;
    background: #b0cb08;
    color: white;
    cursor: pointer;
}

.search-box button:hover {
    transform: translateY(-3px);
}

/* FOOTER */
.footer {
    background: #393b3b;
    color: #ececec;
    padding: 70px 0 20px;
}

/* ⭐ JOUW 10% | 20% | 20% | 20% | 20% | 10% SYSTEEM */
.footer-container {
    width: 100%;
    display: grid;
    grid-template-columns: 10% repeat(4, 1fr) 10%;
    align-items: start;
}

/* 4 kolommen exact positioneren */
.footer-column:nth-child(1) { grid-column: 2; }
.footer-column:nth-child(2) { grid-column: 3; }
.footer-column:nth-child(3) { grid-column: 4; }
.footer-column:nth-child(4) { grid-column: 5; }

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    transition: 0.3s;
}

.footer-column:hover {
    transform: translateY(-5px);
}

.footer a {
    color: #ececec;
    text-decoration: none;
    transition: 0.2s;
}

.footer a:hover {
    color: #b0cb08;
    transform: translateX(4px);
}

.spacer {
    margin-top: 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    font-size: 13px;
    opacity: 0.7;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* MOBILE */
.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

@media (max-width: 768px) {

    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        flex-direction: column;
        padding: 20px;
        border-radius: 15px;
    }

    nav.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 40px 20px;
    }

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

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    /* FOOTER MOBILE */
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-column {
        text-align: center;
        align-items: center;
    }
}

/* =========================
   HERO EXTENSIONS
========================= */

.hero-content-wide {
    max-width: 1100px;
}

.domein-page {
    min-height: 80vh;
    padding: 60px 40px;
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
}

.domein-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.domein-container h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
    line-height: 1.1;
    text-align: left;
}

.domein-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

.domein-text {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}

.domein-intro {
    font-size: 17px;
    opacity: 0.75;
    margin-bottom: 28px;
    line-height: 1.6;
}

.domein-sidebar {
    flex: 0 0 380px;
    width: 380px;
    position: sticky;
    top: 80px;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}

.sidebar-title i {
    color: #b0cb08;
    margin-right: 8px;
}

.sidebar-title-spaced {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-intro {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 16px;
    line-height: 1.5;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.register-form input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.register-form input:focus {
    border-color: #b0cb08;
    box-shadow: 0 0 0 3px rgba(176, 203, 8, 0.2);
}

.btn-small {
    padding: 8px 14px;
    font-size: 13px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.domain-results {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.domain-results[hidden] {
    display: none !important;
}

.results-title {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.result-row:last-child {
    border-bottom: none;
}

.result-domain {
    font-weight: 600;
    font-size: 14px;
}

.tld-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tld-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.tld-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tld-row-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tld-ext {
    font-size: 18px;
    font-weight: 700;
    color: #b0cb08;
    line-height: 1.2;
}

.tld-desc {
    font-size: 12px;
    opacity: 0.65;
    line-height: 1.3;
}

.tld-row-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.tld-price {
    font-weight: 600;
    font-size: 13px;
    color: #393b3b;
    white-space: nowrap;
}

.info-block {
    margin-bottom: 32px;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: left;
    color: #393b3b;
}

.info-block p {
    text-align: left;
    margin-bottom: 14px !important;
    line-height: 1.7;
    opacity: 0.8;
}

.info-block code {
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 14px;
}

.info-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    text-align: left;
}

.info-list li {
    padding: 8px 0;
    opacity: 0.8;
    line-height: 1.6;
}

.info-list li::before {
    content: "→ ";
    color: #b0cb08;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn.secondary {
    background: transparent;
    color: #393b3b;
    border: 2px solid #393b3b;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn.secondary:hover {
    border-color: #b0cb08;
    color: #b0cb08;
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 10px;
    text-align: center;
}

.card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(176, 203, 8, 0.25);
}

.card-featured {
    border: 1px solid #b0cb08;
    box-shadow: 0 10px 25px rgba(176, 203, 8, 0.25);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.card h3 i {
    color: #b0cb08;
    margin-right: 8px;
}

.card p {
    opacity: 0.75;
    line-height: 1.6;
}

.card-list {
    list-style: none;
    margin: 16px 0;
    padding: 0;
}

.card-list li {
    padding: 6px 0;
    opacity: 0.75;
}

.card-list li::before {
    content: "✓ ";
    color: #b0cb08;
    font-weight: 700;
}

.card-price {
    display: block;
    margin-top: 16px;
    font-weight: 700;
    color: #b0cb08;
}

.hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transition: 0.2s ease;
}

.form-group textarea {
    border-radius: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b0cb08;
    box-shadow: 0 10px 25px rgba(176, 203, 8, 0.25);
}

.form-footer {
    margin-top: 20px;
    opacity: 0.75;
    font-size: 15px;
}

.form-footer a {
    color: #b0cb08;
    font-weight: 600;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

.contact-info {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0.75;
    font-size: 15px;
}

.contact-info p,
.form-footer {
    margin-bottom: 0;
}

.contact-info i {
    color: #b0cb08;
    margin-right: 8px;
}

.contact-info a {
    color: #393b3b;
    text-decoration: none;
}

.contact-info a:hover {
    color: #b0cb08;
}

.error-code {
    font-size: 72px;
    font-weight: 700;
    color: #b0cb08;
    line-height: 1;
    margin-bottom: 18px;
    opacity: 0.9;
}

/* =========================
   LEGAL PAGES
========================= */

.legal-page {
    min-height: 60vh;
    padding: 60px 40px 80px;
    background: linear-gradient(to bottom, #ffffff 0%, #f7f7f7 100%);
}

.legal-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.legal-container h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 36px;
    line-height: 1.2;
    text-align: left;
}

.legal-content {
    padding: 0;
}

.legal-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #393b3b;
}

.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 12px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: 0 0 12px 0;
    padding-left: 20px;
}

.legal-section li {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 6px;
}

.legal-section a {
    color: #b0cb08;
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 52px;
    }

    .legal-page {
        padding: 40px 20px 60px;
    }

    .legal-container h1 {
        font-size: 28px;
    }

    .domein-page {
        padding: 40px 20px;
    }

    .domein-container h1 {
        font-size: 28px;
    }

    .domein-layout {
        flex-direction: column;
        gap: 32px;
    }

    .domein-sidebar {
        flex: 1 1 auto;
        width: 100%;
        position: static;
        order: -1;
    }

    .tld-row {
        flex-wrap: wrap;
    }

    .tld-row-action {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
}