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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: white;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #252525;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
}

.nav-container {
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    color: white;
    background: none;
    border: none;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-right: 2rem;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links button {
    color: rgb(212, 212, 212);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: capitalize;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links button:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-mobile-toggle {
    display: block;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile button {
    color: rgb(212, 212, 212);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.nav-mobile button:hover {
    color: white;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .nav-mobile-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(23, 23, 23), rgb(38, 38, 38), rgb(23, 23, 23));
}

#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem;
    mix-blend-mode: difference;
    color: white;
}

.hero h1 {
    color: inherit;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
    color: inherit;
    opacity: 0.9;
    max-width: 42rem;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    animation: fadeIn 0.8s ease 0.6s both;
}

.hero-cta:hover {
    color: rgb(212, 212, 212);
}

.arrow-down {
    animation: bounce 1.5s ease infinite;
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 5rem;
    }

    .hero p {
        font-size: 1.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    min-height: 100vh;
    background: rgb(250, 250, 250);
    padding: 5rem 1rem;
    position: relative;
    z-index: 10;
}

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

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: rgb(163, 163, 163);
    max-width: 42rem;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    background: white;
    color: rgb(82, 82, 82);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: rgb(245, 245, 245);
}

.filter-btn.active {
    background: rgb(23, 23, 23);
    color: white;
}

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

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: fadeInScale 0.4s ease both;
}

.gallery-item:hover {
    transform: translateY(-8px);
}

.gallery-item-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 0.5rem;
    background: rgb(229, 229, 229);
}

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

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: white;
}

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

.gallery-item-info h3 {
    margin-bottom: 0.25rem;
}

.gallery-item-info p {
    font-size: 0.875rem;
    color: rgb(212, 212, 212);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(4px);
    padding: 1rem;
    overflow-y: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 101;
}

.lightbox-close:hover {
    color: rgb(212, 212, 212);
}

.lightbox-content {
    max-width: 72rem;
    width: 100%;
    display: grid;
    gap: 2rem;
    align-items: center;
    animation: scaleIn 0.3s ease;
}

@media (min-width: 768px) {
    .lightbox-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lightbox-image {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 0.5rem;
    overflow: hidden;
    background: black;
    transition: opacity 0.3s ease;
}

.lightbox-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lightbox-image:hover img {
    transform: scale(1.1);
}

.lightbox-image.video-mode {
    aspect-ratio: auto;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image video {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.prev {
    left: 1rem;
}

.lightbox-nav-btn.next {
    right: 1rem;
}

.lightbox-info {
    color: white;
}

.lightbox-info h2 {
    margin-bottom: 1rem;
}

.lightbox-details {
    margin-bottom: 1.5rem;
}

.lightbox-details p {
    color: rgb(212, 212, 212);
    margin-bottom: 0.5rem;
}

.lightbox-description {
    color: rgb(212, 212, 212);
    line-height: 1.6;
}

.lightbox-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lightbox-btn:hover {
    transform: translateY(-2px);
    background: rgb(229, 229, 229);
}

/* Fullscreen Gallery */
.fullscreen-gallery {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-gallery.active {
    opacity: 1;
}

.fullscreen-image-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 5rem;
    /* Space for arrows */
}

.fullscreen-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.fullscreen-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 201;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.fullscreen-close:hover {
    opacity: 1;
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 201;
    opacity: 0.5;
    transition: all 0.2s ease;
    padding: 2rem;
}

.fullscreen-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-nav.prev {
    left: 0;
}

.fullscreen-nav.next {
    right: 0;
}

/* About Section */
.about-section {
    min-height: 100vh;
    background: white;
    padding: 5rem 1rem;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-image {
    aspect-ratio: 3/4;
    border-radius: 0.5rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgb(82, 82, 82);
    line-height: 1.6;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 50rem;
        margin: 0 auto;
        gap: 2rem;
    }
}

.achievement-card {
    background: rgb(250, 250, 250);
    padding: 0.875rem;
    border-radius: 0.375rem;
    text-align: center;
}

/* Desktop: larger padding for achievements */
@media (min-width: 768px) {
    .achievement-card {
        padding: 2rem;
        text-align: left;
        border-radius: 0.5rem;
    }
}

.achievement-icon {
    color: rgb(23, 23, 23);
    margin-bottom: 0.375rem;
    width: 20px;
    height: 20px;
}

@media (min-width: 768px) {
    .achievement-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 1rem;
    }
}

.achievement-card h3 {
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .achievement-card h3 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
}

.achievement-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .achievement-card ul {
        gap: 0.5rem;
    }
}

.achievement-card li {
    color: rgb(82, 82, 82);
    font-size: 0.625rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .achievement-card li {
        font-size: 0.875rem;
        line-height: 1.6;
    }
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    background: rgba(23, 23, 23, 0.85);
    padding: 5rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-section .section-header h2 {
    color: white;
}

.contact-section .section-header p {
    color: rgb(163, 163, 163);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
        "instagram x"
        "email email";
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

/* Order cards using grid-area */
.contact-card:nth-child(1) {
    grid-area: email;
}

/* Email */
.contact-card:nth-child(2) {
    grid-area: instagram;
}

/* Instagram */
.contact-card:nth-child(3) {
    grid-area: x;
}

/* X */

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: unset;
        max-width: none;
        gap: 2rem;
    }

    .contact-card:nth-child(1),
    .contact-card:nth-child(2),
    .contact-card:nth-child(3) {
        grid-area: unset;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 60rem;
    }
}

.contact-card {
    background: rgb(38, 38, 38);
    padding: 0.875rem;
    border-radius: 0.375rem;
    transition: background 0.2s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

@media (min-width: 768px) {
    .contact-card {
        padding: 1.5rem;
        border-radius: 0.5rem;
    }
}

.contact-card:hover {
    background: rgb(50, 50, 50);
}

.contact-icon {
    color: white;
    margin: 0 auto 0.375rem;
    display: block;
    width: 18px;
    height: 18px;
}

@media (min-width: 768px) {
    .contact-icon {
        width: 24px;
        height: 24px;
        margin-bottom: 1rem;
    }
}

.contact-card h3 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    .contact-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
}

.contact-card p {
    color: rgb(163, 163, 163);
    transition: color 0.2s ease;
}

.contact-card:hover p {
    color: rgb(212, 212, 212);
}

.footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
}

.footer p {
    color: rgb(115, 115, 115);
}

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

    to {
        opacity: 1;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Utility Classes */
.fade-in-up {
    animation: fadeInUp 0.8s ease both;
}

/* Intersection Observer Classes */
.observe {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.observe.visible {
    opacity: 1;
    transform: translateY(0);
}