/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fafafa;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #9333ea;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.25rem 1.5rem;
}

nav a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover,
nav a:focus {
    color: #9333ea;
}

nav a[aria-current="page"] {
    color: #9333ea;
}

nav a:focus {
    outline: 2px solid #9333ea;
    outline-offset: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 1.5rem;
    margin-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-number {
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    line-height: 1;
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    color: white;
    user-select: none;
}

/* About Section */
.about {
    padding: 6rem 1.5rem;
    background: white;
}

.about h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2.5rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Moments Gallery */
.moments {
    padding: 6rem 1.5rem;
    background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
}

.moments h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    color: #1a1a1a;
    font-weight: 700;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.gallery-item:hover,
.gallery-item:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.gallery-item figcaption {
    padding: 1.25rem;
    font-size: 1.05rem;
    color: #4a4a4a;
    font-weight: 500;
    text-align: center;
    background: white;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #d1d5db;
    padding: 3rem 1.5rem;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

footer p {
    font-size: 0.95rem;
}

footer nav {
    display: flex;
    gap: 2rem;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

footer a:hover,
footer a:focus {
    color: #f093fb;
}

footer a:focus {
    outline: 2px solid #f093fb;
    outline-offset: 4px;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        position: relative;
    }

    .hero {
        margin-top: 0;
        min-height: 90vh;
    }

    nav ul {
        gap: 1.25rem;
        padding: 1rem;
    }

    nav a {
        font-size: 0.9rem;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about,
    .moments {
        padding: 4rem 1.5rem;
    }

    footer .container {
        gap: 1rem;
    }

    footer nav {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    nav ul {
        gap: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}
