/* Premium Design System for Eko Elektrotechniek */

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F2F2F2;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Header */
.glass-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-premium:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.btn-premium:active {
    transform: scale(0.95);
}

.btn-primary {
    background-color: #E31E24;
    color: white;
}

.btn-primary:hover {
    background-color: #c41920;
}

.btn-secondary {
    background-color: white;
    color: #003366;
    border: 1px solid #f3f4f6;
}

.btn-secondary:hover {
    background-color: #f9fafb;
}

/* Premium Cards */
.premium-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: #003366;
}

/* Premium Hero Styles */
.hero-gradient {
    background: linear-gradient(to right, rgba(0, 51, 102, 0.9) 0%, rgba(0, 51, 102, 0.4) 60%, transparent 100%);
}

.text-gradient-red {
    background: linear-gradient(to right, #E31E24, #ff4d4d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Mobile Enhancements */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-premium {
    min-height: 48px; /* Standard tap target size for mobile */
}

/* ===== Google Reviews — Premium Styling ===== */

/* Volledig — homepage */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.reviews-kaart {
    background-color: white;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.reviews-kaart:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
    border-color: #003366;
}

.reviews-kaart-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviews-avatar-initiaal {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.reviews-auteur {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.reviews-naam {
    font-weight: 600;
    font-size: 0.85rem;
    color: #111827;
}

.reviews-datum {
    font-size: 0.7rem;
    color: #9ca3af;
}

.reviews-sterren {
    line-height: 1;
}

.reviews-sterren-lijst {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    line-height: 1;
}

.reviews-tekst {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.5;
    flex: 1;
}

/* Score header */
.reviews-score-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.reviews-score-getal {
    font-family: 'Noto Serif', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #003366;
    line-height: 1;
}

.reviews-score-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.reviews-score-label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.reviews-google-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #003366;
    text-decoration: none;
    transition: color 0.2s;
}

.reviews-google-link:hover {
    color: #E31E24;
}

/* Compact — contactpagina */
.reviews-compact-wrapper {
    background-color: white;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-compact-wrapper:hover {
    border-color: #003366;
}

.reviews-compact-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.reviews-compact-score {
    font-family: 'Noto Serif', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #003366;
    line-height: 1;
}

.reviews-compact-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.reviews-compact-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
}

.reviews-compact-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reviews-compact-item {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.reviews-compact-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.reviews-compact-tekst {
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0.25rem 0 0.15rem;
    font-style: italic;
}

.reviews-compact-naam {
    font-size: 0.72rem;
    color: #9ca3af;
    font-weight: 600;
}


/* Project card image height consistency */
.project-card-img {
    height: 260px;
    object-fit: cover;
    width: 100%;
}

/* ===== Lightbox ===== */
#lightbox-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
}
#lightbox-modal.open {
    display: block;
}

#lightbox-img {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    z-index: 100000;
}

#lightbox-close {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 100001;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    transition: background 0.2s;
}
#lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

#lightbox-prev,
#lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100001;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s;
}
#lightbox-prev:hover,
#lightbox-next:hover {
    background: rgba(255,255,255,0.3);
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

#lightbox-title {
    position: fixed;
    top: 24px; left: 24px;
    z-index: 100001;
    color: white;
    font-family: 'Noto Serif', serif;
    font-size: 18px;
    font-weight: 600;
}

#lightbox-counter {
    position: fixed;
    top: 26px; left: 50%;
    transform: translateX(-50%);
    z-index: 100001;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 768px) {
    #lightbox-prev, #lightbox-next { width: 40px; height: 40px; }
    #lightbox-prev { left: 10px; }
    #lightbox-next { right: 10px; }
    #lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}
