/* ========================================
   Index Page Specific Styles
   Birthday Landing Page
   ======================================== */

/* ========================================
   Hero Section
   ======================================== */

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg,
        var(--pastel-pink) 0%,
        var(--pastel-lavender) 50%,
        var(--pastel-blue) 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.3)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
    font-weight: 300;
}

.hero-emoji {
    font-size: clamp(3rem, 10vw, 6rem);
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

/* ========================================
   Introduction Section
   ======================================== */

.intro-section {
    background-color: var(--white);
    padding: var(--spacing-xl) 0;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ========================================
   Family Photos Showcase
   ======================================== */

.family-photos {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(to bottom, var(--white), var(--pastel-sand));
}

.photos-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.photo-marquee {
    position: relative;
    overflow: hidden;
    padding: var(--spacing-md) 0;
}

.photo-track {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll 30s linear infinite;
}

.photo-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.photo-card {
    min-width: 300px;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.photo-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Navigation Cards (Marine & Erwan Links)
   ======================================== */

.navigation-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.navigation-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.nav-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.nav-card {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-lavender));
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.nav-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.nav-card:hover::before {
    opacity: 1;
}

.nav-card.marine {
    background: linear-gradient(135deg, var(--pastel-pink), var(--pastel-rose));
}

.nav-card.erwan {
    background: linear-gradient(135deg, var(--pastel-blue), var(--pastel-aqua));
}

.nav-card-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.nav-card-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.nav-card-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
    opacity: 0.9;
}

.nav-card-cta {
    display: inline-block;
    background-color: var(--white);
    color: var(--text-dark);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-card:hover .nav-card-cta {
    transform: scale(1.1);
    box-shadow: var(--shadow-sm);
}

/* ========================================
   Celebration Banner
   ======================================== */

.celebration-banner {
    background: linear-gradient(135deg, var(--pastel-yellow), var(--pastel-peach));
    padding: var(--spacing-lg);
    text-align: center;
    margin: var(--spacing-xl) 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.celebration-banner h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.celebration-icons {
    font-size: 2rem;
    margin-top: var(--spacing-sm);
}

.celebration-icons span {
    display: inline-block;
    margin: 0 var(--spacing-xs);
    animation: bounce 1s ease-in-out infinite;
}

.celebration-icons span:nth-child(2) {
    animation-delay: 0.2s;
}

.celebration-icons span:nth-child(3) {
    animation-delay: 0.4s;
}

.celebration-icons span:nth-child(4) {
    animation-delay: 0.6s;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .photo-card {
        min-width: 250px;
        height: 300px;
    }

    .nav-cards-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .nav-card {
        padding: var(--spacing-lg);
    }

    .nav-card-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
    }

    .photo-card {
        min-width: 200px;
        height: 250px;
    }

    .photo-track {
        gap: var(--spacing-sm);
    }

    .nav-card-icon {
        font-size: 3rem;
    }

    .celebration-banner {
        padding: var(--spacing-md);
    }

    .celebration-banner h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   Decorative Elements
   ======================================== */

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background-color: var(--pastel-pink);
    position: absolute;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Floating shapes background */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background-color: var(--pastel-yellow);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}
