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

/* Variables */
:root {
    /* Colors */
    --color-background: #000000;
    --color-text: #ffffff;
    --color-accent-1: #00ffff;
    
    /* Typography */
    --font-primary: 'Helvetica Neue', Arial, sans-serif;
    
    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

/* Base Styles */
body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    overflow-x: hidden;
}

/* Page Transitions */
.page-transition {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-enter {
    opacity: 1;
}

.page-exit {
    opacity: 0;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--color-text);
}

.logo a {
    color: var(--color-text);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--color-accent-1);
}

/* Main Content */
main {
    padding-top: 80px; /* Account for fixed header */
}

/* Gallery Container */
.gallery-container {
    height: calc(100vh - 80px);
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.gallery-info {
    position: absolute;
    bottom: var(--spacing-lg);
    left: var(--spacing-lg);
    z-index: 10;
}

.counter {
    font-size: 1rem;
    font-weight: 500;
}

.gallery {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-item {
    height: 100%;
    min-width: 90vw;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gallery-item img,
.gallery-item .video-container {
    max-height: 80vh;
    height: 80vh;
    max-width: 100%;
    object-fit: contain;
}

/* Navigation arrows */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.gallery-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.gallery-nav.prev {
    left: 20px;
}

.gallery-nav.next {
    right: 20px;
}

.gallery-nav::before {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    display: block;
}

.gallery-nav.prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.gallery-nav.next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

/* Video specific styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 1280px;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 25px solid white;
    margin-left: 5px;
}

.video-container.active .play-button {
    display: none;
}

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

/* About Page */
.about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    padding: var(--spacing-lg);
    overflow-y: auto;
}

.about-content {
    max-width: 800px;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
    font-family: var(--font-primary);
    text-align: center;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.about-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #ccc;
}

.about-content p {
    margin-bottom: var(--spacing-lg);
}

.contact a {
    color: var(--color-accent-1);
    transition: opacity 0.3s ease;
}

.contact a:hover {
    opacity: 0.8;
}

/* Mobile Menu Button */
.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.menu-button span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: white;
    transition: 0.4s;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    transition: right 0.3s ease;
    padding-top: 80px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu ul li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
}

.mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    display: inline-block;
    padding: 10px 20px;
    width: 100%;
}

.mobile-menu ul li a:hover,
.mobile-menu ul li a.active {
    color: var(--color-accent-1);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Gallery adjustments */
    .gallery-item {
        min-width: 100vw;
    }
    
    .gallery-item img,
    .gallery-item .video-container {
        height: auto;
        aspect-ratio: auto;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .gallery-nav.prev {
        left: 10px;
    }
    
    .gallery-nav.next {
        right: 10px;
    }
    
    .gallery-info {
        padding: var(--spacing-sm);
    }
    
    .counter {
        font-size: 0.8rem;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    /* Video container for mobile */
    .video-container {
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        position: relative;
    }
    
    .video-container img,
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    /* About page for mobile */
    .about-container {
        height: auto;
        padding: var(--spacing-md);
        padding-top: 40px;
    }
    
    .about-content {
        font-size: 1rem;
        padding: 20px;
    }
    
    .about-content h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .about-content h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .about-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    /* Hide desktop navigation */
    header nav {
        display: none;
    }
    
    /* Show mobile menu button */
    .menu-button {
        display: block;
    }
    
    /* Show mobile menu */
    .mobile-menu {
        display: block;
    }
    
    /* Hamburger animation */
    .menu-button.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-button.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

