/* Global Styles */
:root {
    --primary-color: #004a99;
    --bg-color: #f8f9fa;
    --text-color: #333333;
    --card-bg: #ffffff;
    --accent-color: #e9ecef;
    --container-width: 1000px;
}

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

body {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 50px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.header-text {
    flex: 0 1 auto;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

.specialties {
    margin-top: 20px;
}

.specialties span {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0 15px 0 0;
    font-size: 0.9rem;
    display: inline-block;
}

.specialties i {
    margin-right: 5px;
}

.header-avatar {
    flex-shrink: 0;
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Sections */
.section {
    padding: 60px 0;
}

.section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.alt-bg {
    background-color: var(--accent-color);
}

/* Info Cards & Grids */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.info-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Afspraken box */
.afspraak-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.afspraak-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.afspraak-box h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.afspraak-box p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Beautiful solid always-visible phone button */
.phone-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    padding: 14px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.15rem;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 74, 153, 0.2);
}

.phone-link:hover {
    background-color: #003a7a;
    transform: translateY(-2px);
}

.phone-link i {
    color: white !important;
    font-size: 1.2rem;
}

/* Services List */
.services-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.services-list li {
    padding: 15px;
    background: var(--card-bg);
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.services-list i {
    color: #28a745; /* Success green for checks */
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Consultation uren list */
.schedule-intro {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

.days-flex {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.day-badge {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 74, 153, 0.15);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: scale 0.3s ease;
}

.gallery img:hover {
    scale: 1.03;
}

/* Location */
.address {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.address i {
    color: var(--primary-color);
    margin-right: 10px;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background-color: #212529;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .specialties span {
        margin: 5px;
    }

    header h1 {
        font-size: 2rem;
    }

    .doctor-avatar {
        width: 100px;
        height: 100px;
    }
}

/* Lightbox Popup */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: zoomEffect 0.25s ease-out;
}

@keyframes zoomEffect {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #ffffff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    user-select: none;
}

.lightbox-close:hover {
    color: #cbd5e0;
    transform: scale(1.1);
}

/* Touch and mobile responsiveness for lightbox */
@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 25px;
        font-size: 40px;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }
}
