/*
Theme Name: Méa Carlens
Theme URI: https://meacarlens.nl
Author: Méa Carlens
Author URI: https://meacarlens.nl
Description: Custom theme voor Méa Carlens - Racefotografie Portfolio
Version: 1.0.0
License: GPL v2 or later
Text Domain: meacarlens
*/

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 10px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0a0a0f;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.4rem; }

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.6rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e94560, #0f3460);
    border-radius: 2px;
}

.section-subtitle {
    color: #999;
    font-size: 1.8rem;
    font-weight: 300;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560, #c23152);
    color: #fff;
    border-color: #e94560;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c23152, #a01a3a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 15, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e94560, #0f3460);
    border-radius: 8px;
    font-size: 1.8rem;
    color: #fff;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.7);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(15, 52, 96, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #0a0a0f, transparent);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-title {
    font-size: 8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.3);
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   GROUPS / EVENTS SECTION
   ============================================ */
.groups-section {
    background: #0a0a0f;
}

.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.event-card {
    background: #12121a;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.event-card:hover {
    transform: translateY(-8px);
    border-color: rgba(233, 69, 96, 0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.event-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: rgba(255,255,255,0.2);
    transition: transform 0.4s ease;
}

.event-card:hover .event-card-placeholder {
    transform: scale(1.1);
}

.event-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover .event-card-overlay {
    opacity: 1;
}

.event-card-overlay span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.event-card-body {
    padding: 2rem;
}

.event-card-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.event-card-description {
    color: #999;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-card-count {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: #0f0f17;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
}

.about-image-placeholder span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.2);
}

.about-content p {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    color: #e94560;
}

.stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    text-align: center;
    padding: 10rem 0;
}

.cta-content h2 {
    font-size: 4rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-hero {
    padding: 15rem 0 8rem;
    position: relative;
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
}

.gallery-back {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 3rem;
    transition: color 0.3s ease;
}

.gallery-back:hover {
    color: #fff;
}

.gallery-hero-content h1 {
    font-size: 5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.gallery-hero-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gallery-count {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-section {
    background: #0a0a0f;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 3rem;
    color: rgba(255,255,255,0.3);
    transition: transform 0.4s ease;
}

.gallery-item-image span {
    font-size: 1.2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2.5rem;
    color: #fff;
}

.gallery-item-overlay span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(233, 69, 96, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    transition: background 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.15);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    overflow: hidden;
}

.lightbox-image img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-info {
    text-align: center;
    padding-top: 1rem;
    color: rgba(255,255,255,0.5);
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #06060a;
    padding: 6rem 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 2rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #666;
    font-size: 1.4rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #666;
    transition: all 0.3s ease;
    font-size: 1.6rem;
}

.footer-social a:hover {
    background: #e94560;
    color: #fff;
}

.footer-contact,
.footer-links {
    list-style: none;
}

.footer-contact li,
.footer-links li {
    margin-bottom: 1rem;
}

.footer-contact li {
    color: #666;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact li i {
    width: 16px;
    color: #e94560;
}

.footer-contact a,
.footer-links a {
    color: #666;
    transition: color 0.3s ease;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 2rem 0;
    text-align: center;
    color: #444;
    font-size: 1.3rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-title { font-size: 6rem; }
    .about-grid { grid-template-columns: 1fr; gap: 4rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    html { font-size: 9px; }

    .nav-toggle { display: flex; }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        padding: 8rem 3rem;
        gap: 2rem;
        transition: right 0.3s ease;
        backdrop-filter: blur(20px);
    }

    .nav-list.active { right: 0; }

    .nav-link { font-size: 1.8rem; }

    .hero-title { font-size: 5rem; }
    .hero-content { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-text { margin: 0 auto 3rem; }

    .groups-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .about-stats { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }

    .lightbox-nav { width: 40px; height: 40px; font-size: 2rem; }
    .lightbox-prev { left: 1rem; }
    .lightbox-next { right: 1rem; }
}

@media (max-width: 480px) {
    html { font-size: 8px; }
    .hero-title { font-size: 4rem; }
    .groups-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}
