/* Import Section Styles */
@import url('sections.css');

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sinhala Text Styles */
.sinhala-text {
    font-family: 'Noto Sans Sinhala', sans-serif;
}

:root {
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-sinhala: 'Noto Sans Sinhala', sans-serif;
    --font-logo: 'Cinzel Decorative', cursive;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-accent);
    color: var(--color-dark);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-light);
    color: var(--color-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 2;
}

/* Quote Section Styles */
.quote-section {
    padding: 8rem 0;
    background: var(--color-dark);
    position: relative;
}

.quote-carousel {
    position: relative;
    height: 250px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.quote {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    text-align: center;
    pointer-events: none;
}

.quote.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.quote p {
    font-size: 2.5rem;
    line-height: 1.4;
    font-family: var(--font-secondary);
    color: var(--color-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.quote cite {
    font-size: 1.2rem;
    color: var(--color-accent);
    font-style: normal;
    font-family: var(--font-main);
    display: block;
}

@media (max-width: 768px) {
    .quote-carousel {
        height: 250px;
    }
    
    .quote p {
        font-size: 1.8rem;
    }
    
    .quote cite {
        font-size: 1rem;
    }
}

:root {
    /* Core Colors with Increased Contrast */
    --color-dark: #080808;
    --color-dark-alt: #1a1a1a;
    --color-light: #ffffff;
    --color-accent: #ffd700;
    --color-accent-dark: #b8860b;
    
    /* Enhanced Gradients */
    --gradient-dark: linear-gradient(45deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
    --gradient-accent: linear-gradient(45deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    --gradient-light: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-accent-subtle: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(184, 134, 11, 0.04) 100%);
    
    /* Typography */
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition-standard: all 0.3s ease;
}

body {
    font-family: var(--font-main);
    background: var(--color-dark);
    color: var(--color-light);
    overflow-x: hidden;
}

/* Navigation Styles */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: all 0.3s ease;
    transform: translateY(-100%);
}

.nav.visible {
    transform: translateY(0);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav__logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    opacity: 0.9;
    border: 2px solid var(--color-accent);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav__logo:hover {
    background: var(--color-accent);
    color: var(--color-dark);
}

.nav__links {
    display: flex;
    gap: 3rem;
}

.nav__links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav__links a:hover {
    opacity: 1;
}

.nav__links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    perspective: 10px;
    transform-style: preserve-3d;
}

.hero__image {
    position: absolute;
    top: -5%;
    left: 0;
    width: 100%;
    height: 110%;
    background: url('../images/hero.jpg') center/cover no-repeat;
    opacity: 0;
    transform: scale(1.05) translateZ(-5px);
    animation: heroReveal 2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    will-change: transform;
}

@keyframes heroReveal {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Grain Effect */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.075"/></svg>');
    pointer-events: none;
    opacity: 0.15;
    mix-blend-mode: overlay;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 2;
}

.hero__title {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 1;
    font-weight: 700;
    overflow: hidden;
}

.hero__title span {
    display: block;
    transform: translateY(100%);
    animation: revealText 1.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero__text {
    margin-top: 2rem;
}

.text-reveal {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.text-reveal:nth-child(2) {
    animation-delay: 0.2s;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 2s;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator span {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    opacity: 0.8;
    transition: all 0.3s ease;
    font-weight: 700;
}

.scroll-indicator:hover span {
    opacity: 1;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.scroll-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollDown 2s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Animations */
@keyframes revealText {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero Image Hover Effect */
.hero:hover .hero__image {
    transform: scale(1.02);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes pulseGlow {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
    100% {
        filter: brightness(1);
    }
}

.hero__image {
    animation: heroReveal 2s cubic-bezier(0.77, 0, 0.175, 1) forwards,
               pulseGlow 8s ease-in-out infinite;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* About Section */
.about {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--gradient-dark);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.about__left {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.about__image-container {
    position: relative;
    width: 600px;
    height: 750px;
    overflow: hidden;
    margin: 0 auto;
}

.about__image {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    opacity: 0;
    will-change: transform, opacity;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.about__image img.reveal {
    transform: scale(1);
    opacity: 1;
}

.about__image-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    transform-origin: right;
    transform: scaleX(1);
    will-change: transform;
    transition: transform 1.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1;
}

.about__image-reveal.active {
    transform: scaleX(0);
}

.about__right {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
}

.about__content {
    max-width: 600px;
}

.about__text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
}

/* Timeline Styles */
.timeline {
    position: relative;
    margin-top: 4rem;
}

.timeline__header {
    text-align: center;
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 3rem;
    font-family: var(--font-secondary);
}

.timeline__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
}

.timeline__grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: var(--color-accent);
    opacity: 0.3;
}

.timeline__column {
    position: relative;
}

.timeline__item {
    position: relative;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    padding-left: 2rem;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.timeline__item.visible::before {
    opacity: 1;
    transform: scale(1);
}

.timeline__year {
    color: var(--color-accent);
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline__content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline__content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.timeline__item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.timeline__item.visible::before {
    transform: scale(1);
}

/* Awards Section */
.awards {
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.awards__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.awards__grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.award__item {
    text-align: center;
    flex: 1;
    position: relative;
}

.award__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.award__count {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-light);
    font-family: var(--font-secondary);
    display: block;
    line-height: 1;
    background: linear-gradient(45deg, var(--color-light) 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.award__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .awards__grid {
        flex-direction: column;
        gap: 3rem;
        padding: 2rem 1rem;
    }

    .award__item:not(:last-child)::after {
        right: 50%;
        bottom: -1.5rem;
        top: auto;
        transform: translateX(50%);
        width: 40px;
        height: 1px;
    }

    .award__count {
        font-size: 3rem;
    }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox__content {
    background: rgba(20, 20, 20, 0.95);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.close-lightbox {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-light);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.close-lightbox:hover {
    opacity: 1;
}

.film-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.film-header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .film-header {
        grid-template-columns: 1fr;
    }
}

.film-poster {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.film-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.film-title {
    font-size: 2rem;
    font-family: var(--font-secondary);
    color: var(--color-light);
}

.film-year {
    font-size: 1.1rem;
    color: var(--color-accent);
}

.film-ratings {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.film-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.film-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-light);
}

.film-credits, .technical-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.film-director, .film-cast, .film-awards, 
.cinematography-notes, .film-format {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.film-awards {
    color: var(--color-accent);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    display: block;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
                transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Works/Portfolio Section */
.works {
    padding: 6rem 2rem;
    background: var(--color-dark);
}

.works__header {
    text-align: center;
    margin-bottom: 4rem;
}

.works__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--color-accent);
    color: var(--color-light);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--color-accent);
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.work__item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 16/9;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.work__item.visible {
    transform: translateY(0);
    opacity: 1;
}

.work__image {
    position: relative;
    width: 100%;
    height: 100%;
}

.work__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.work__item:hover .work__overlay {
    opacity: 1;
    transform: translateY(0);
}

.work__item:hover .work__image img {
    transform: scale(1.1);
}

.work__overlay h3 {
    color: var(--color-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.work__overlay p {
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.details-btn {
    background: var(--color-accent);
    color: var(--color-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
    transition: all 0.3s ease;
}

.details-btn:hover {
    background: var(--color-light);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--color-dark);
    border-radius: 20px;
    padding: 3rem;
    overflow-y: auto;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox__close:hover {
    color: var(--color-accent);
}

.lightbox__details {
    color: var(--color-light);
}

/* Media Queries */
@media (max-width: 1024px) {
    .about {
        grid-template-columns: 1fr;
    }

    .about__left {
        height: 60vh;
        position: relative;
    }

    .about__right {
        padding: 3rem;
    }

    .awards__grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1.5rem;
    }

    .nav__links {
        display: none;
    }

    .hero__content {
        left: 5%;
        width: 90%;
    }

    .about__right {
        padding: 2rem;
    }

    .about__image-container {
        width: 90%;
        height: 50vh;
    }
}

/* Footer Styles */
.footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    opacity: 0.9;
}

.footer__text {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer__copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

.footer__copyright p {
    font-family: var(--font-secondary);
}

/* Burger Menu */
.nav__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav__burger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-light);
    margin: 5px 0;
    transition: 0.4s;
}

.nav__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.nav__mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
}

.nav__mobile-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.nav.active .nav__mobile {
    opacity: 1;
    visibility: visible;
}

.nav.active .nav__mobile-links a {
    opacity: 1;
    transform: translateY(0);
}

.nav.active .nav__burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav.active .nav__burger span:nth-child(2) {
    opacity: 0;
}

.nav.active .nav__burger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__burger {
        display: block;
    }

    .nav__mobile {
        display: block;
    }

    .footer__content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer__info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .timeline__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .timeline__grid::before {
        left: 0;
    }

    .timeline__column:last-child {
        margin-top: 0;
    }

    .awards__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .award__item {
        padding: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}
