/* ---------- Kleuren ---------- */
:root {
    --cream: #f9f6f0;
    --text-dark: #333;
    --text-light: #666;
    --primary-blue: #008FA9;
    --secondary-blue: #007185;
    --third-blue: #749BC2;
    --fourth-blue: #4682A9;
    --fifth-blue: #91C8E4;
    --light-blue: #e8f4f8;
    --accent-yellow: #FFD166;
}

/* ---------- Welkom ---------- */
.welkom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 30px;
    background-image: url(../img/honden1.jpg);
    background-position: -100px -200px;
    color: white;
}

.welkom h1 {
    font-family: 'Merriweather', serif;
    font-size: 50px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.welkom p {
    font-size: large;
    opacity: 0.9;
    font-weight: bolder;
}

.paw-prints {
    margin: 40px 0;
}

.paw {
    display: inline-block;
    font-size: 40px;
    margin: 0 15px;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #ffc745;
}

/* ---------- Diensten ---------- */
.diensten {
    padding: 80px 30px;
    background-color: var(--light-blue);
}

.diensten h2 {
    text-align: center;
    font-family: 'Merriweather', serif;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
}

.diensten h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--accent-yellow);
    border-radius: 2px;
}

.diensten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.diensten-card {
    background: white;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.diensten-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    cursor: pointer;
}

.diensten-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--fifth-blue) 0%, var(--primary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 40px;
    transition: transform 0.3s ease;
}

.diensten-card:hover .diensten-icon {
    transform: scale(1.1);
}

.diensten-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.diensten-card p {
    font-size: medium;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* ---------- Popup ---------- */
.popup-box {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.popup-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-blue);
}

.popup-content h3 {
    font-family: 'Merriweather', serif;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 30px;
}

.popup-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--text-light);
}

/* ---------- Main ---------- */
main {
    padding: 80px 0;
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.main-content::before {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-yellow), var(--primary-blue));
    margin: 0 auto 40px;
    border-radius: 2px;
}

.main-content h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.main-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ---------- Revieuws ---------- */
.revieuws {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--fifth-blue) 100%);
    text-align: center;
}

.revieuws h2 {
    font-family: 'Merriweather', serif;
    font-size: 40px;
    margin-bottom: 50px;
    color: var(--primary-blue);
}

.revieuw-card {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px 70px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.revieuw-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.revieuw-arrow:hover {
    background: var(--secondary-blue);
    transform: translateY(-50%) scale(1.1);
}

.revieuw-arrow-prev {
    left: 20px;
}

.revieuw-arrow-next {
    right: 20px;
}

.revieuw-arrow i {
    font-size: 20px;
}

.revieuw-card::before {
    content: '"';
    font-family: 'Merriweather', serif;
    font-size: 110px;
    color: var(--fifth-blue);
    position: absolute;
    top: -25px;
    left: 30px;
    opacity: 0.3;
}

.revieuw-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid white;
}

.revieuw-content {
    flex: 1;
    text-align: center;
}

.revieuw-content p {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.revieuw-author {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ---------- Responsief ---------- */
@media (max-width: 900px) {
    .welkom {
        text-align: center;
        background-image: url(../img/honden2.jpg);
        background-position: center;
        background-size: 500px;
        padding: 50px 30px;
    }
    .main-content, .revieuws{
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .revieuw-card {
        padding: 40px 60px;
    }
    
    .revieuw-arrow {
        width: 40px;
        height: 40px;
    }
    
    .revieuw-arrow-prev {
        left: 10px;
    }
    
    .revieuw-arrow-next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .diensten-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .revieuw-card {
        padding: 30px 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .paw, .diensten-card, .diensten-icon {
        animation: none;
        transition: none;
    }
}