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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation */
.navbar {
    background-color: #000000;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.6;
}

/* Main Content */
.main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 500px; /* Reduced height */
    max-height: 70vh; /* Maximum 70% of viewport height */
}

.hero-section {
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay */
}

.hero-section h1 {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
}

.subtitle {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.9;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

.description {
    font-size: 16px;
    letter-spacing: 1px;
    opacity: 0.8;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.8);
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 40px;
    border-top: 1px solid #333;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.social-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.6;
}

.copyright {
    font-size: 12px;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* About Page */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-align: center;
}

.about-section h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-align: center;
    opacity: 0.9;
}

.bio-content {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.bio-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Auto-scrolling Image Gallery */
.image-scroll-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.image-scroll {
    display: flex;
    height: 100%;
    animation: scroll 40s linear infinite;
}

.image-scroll img {
    height: 100%;
    width: auto;
    min-width: 100vw;
    object-fit: cover;
    flex-shrink: 0;
    filter: blur(3px) brightness(0.7);
}

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

.image-scroll-container:hover .image-scroll {
    animation-play-state: paused;
}

/* Contact Page */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contact-container h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 60px;
}

.contact-content {
    margin-top: 40px;
}

.contact-label {
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.contact-email {
    font-size: 24px;
    letter-spacing: 1px;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: #ffffff;
    color: #000000;
}

/* Video Page */
.video-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.video-container h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 60px;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.video-item {
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-section h1 {
        font-size: 50px;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 16px;
    }

    .description {
        font-size: 14px;
    }

    .hero-section {
        padding: 0 20px;
    }

    .main-content {
        max-height: 60vh; /* Smaller height on mobile */
    }

    .image-scroll img {
        min-width: 150vw; /* Wider images on mobile for better coverage */
    }

    .social-links {
        gap: 20px;
    }

    .contact-email {
        font-size: 18px;
        padding: 12px 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}
