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

:root {
    --violet-dark: #2d1b4e;
    --violet-medium: #5e3a8f;
    --violet-light: #8b5fd9;
    --violet-bright: #b18fe8;
    --violet-pale: #d4c5f0;
    --accent-purple: #c084fc;
    --accent-pink: #e879f9;
    --text-light: #f8f8f8;
    --text-dark: #1a1a1a;
    --gradient-1: linear-gradient(135deg, #2d1b4e 0%, #5e3a8f 50%, #8b5fd9 100%);
    --gradient-2: linear-gradient(45deg, #5e3a8f, #c084fc);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--violet-dark);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 60px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, white, transparent),
        radial-gradient(2px 2px at 90px 10px, white, transparent);
    background-size: 200px 200px;
    animation: twinkle 5s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-pink), var(--violet-pale));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(192, 132, 252, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(192, 132, 252, 0.8)); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--violet-pale);
    margin-bottom: 2rem;
}

.scroll-indicator {
    margin-top: 3rem;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 2rem;
    color: var(--accent-purple);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(45, 27, 78, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 100;
    border-bottom: 2px solid var(--violet-medium);
}

.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.navbar a {
    color: var(--violet-pale);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: var(--accent-purple);
}

.navbar a:hover::after {
    width: 100%;
}

/* Section Styles */
.section {
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.section-header h2 {
    font-size: 3rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.line {
    width: 100px;
    height: 3px;
    background: var(--gradient-2);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-section {
    background: var(--violet-dark);
}

.about-content {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text .lead {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--violet-pale);
    line-height: 1.8;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 300px;
}

.stat-card {
    background: var(--gradient-2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(192, 132, 252, 0.3);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.stat-card p {
    color: var(--violet-pale);
    font-size: 1rem;
}

/* Journey Section */
.journey-section {
    background: linear-gradient(180deg, var(--violet-dark) 0%, var(--violet-medium) 100%);
}

.journey-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.journey-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--violet-light);
    text-align: center;
    transition: all 0.3s ease;
}

.journey-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
    border-color: var(--accent-purple);
}

.journey-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.journey-card h3 {
    font-size: 1.8rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.journey-card p {
    color: var(--violet-pale);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    background: var(--violet-dark);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
    border: 3px solid var(--violet-medium);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--accent-purple);
    transform: scale(1.02);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(94, 58, 143, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-purple);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

/* Message Section */
.message-section {
    background: var(--gradient-1);
}

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

.message-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--violet-light);
    backdrop-filter: blur(10px);
}

.message-text {
    font-size: 1.2rem;
    color: var(--violet-pale);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.signature {
    text-align: right;
    font-size: 1.5rem;
    color: var(--accent-purple);
    font-style: italic;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: var(--violet-dark);
    padding: 2rem 0;
    text-align: center;
    border-top: 2px solid var(--violet-medium);
}

.footer p {
    color: var(--violet-pale);
    margin: 0.5rem 0;
}

.footer-year {
    color: var(--accent-purple);
    font-weight: 600;
}

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

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(192, 132, 252, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-purple);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: white;
    background: rgba(94, 58, 143, 0.5);
    border: none;
    cursor: pointer;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.lightbox-nav:hover {
    background: var(--accent-purple);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .navbar ul {
        gap: 1.5rem;
    }

    .navbar a {
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-content {
        gap: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .message-card {
        padding: 2rem;
    }

    .lightbox-nav {
        font-size: 2rem;
        padding: 0.5rem 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.section {
    animation: fadeIn 0.8s ease-out;
}
