/* Font Face Declarations */
@font-face {
    font-family: 'Fondamento';
    src: url('fonts/Fondamento/Fondamento-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Fondamento';
    src: url('fonts/Fondamento/Fondamento-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Base Styles */
:root {
    --primary-color: #a66529;
    --secondary-color: #716047;
    --light-color: #e9d8c4;
    --dark-color: #000000;
    --background-color: #000000;
    --text-color: #ffffff;
    --header-height: 60px;
    --font-main: 'Fondamento', cursive;
    --card-bg: #141414;
    --border-subtle: rgba(113, 96, 71, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 2.7rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: #716047;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7a5b, transparent);
    margin: 1rem auto;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #716047;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 2rem 0;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    height: 60px;
    background-color: rgba(0, 0, 0, 0.92);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 0;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-right: 1.5rem;
}

.main-nav ul li a {
    color: white;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 1rem;
    letter-spacing: 1px;
}

.main-nav ul li a:hover {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: scale(1.15);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.hamburger-icon {
    width: 24px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    width: 24px;
    height: 3px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger-icon::before {
    top: -8px;
}

.hamburger-icon::after {
    bottom: -8px;
}

.mobile-nav-toggle.active .hamburger-icon {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-nav-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    height: auto;
    background-color: var(--dark-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/band-members.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 5% 0 40% 0;
}

.hero-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.7));
}

@media (max-width: 1200px) {
    .hero-logo {
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .hero-logo {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 0;
    }

    .hero::before {
        background-size: cover;
    }

    .hero-logo {
        max-width: 300px;
        padding: 15% 0;
    }

    section {
        padding: 0;
    }

    .about {
        padding-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        margin-top: var(--header-height);
    }

    .hero-content {
        padding-top: 0;
    }

    .hero-logo {
        max-width: 250px;
        padding: 10% 0;
    }

    .container {
        width: 95%;
    }
}

/* About Section */
.about {
    background-color: #000000;
    padding: 4rem 0 0.5rem 0;
    text-align: center;
}

.about h3 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: #716047;
}

.about p {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 992px) {
    .about {
        padding: 3rem 0 0.5rem 0;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 2rem 0 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .about {
        padding: 1.5rem 0 0.5rem 0;
    }
}

/* YouTube Facade */
.youtube-facade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: #000;
}

.youtube-facade picture,
.youtube-facade img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.youtube-play-btn:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.youtube-facade:hover .youtube-play-btn {
    opacity: 1;
}

/* Activities Section */
.activities {
    background-color: #000000;
    padding: 0;
    overflow: hidden;
    min-height: auto;
    margin-bottom: 0;
}

.activities-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto;
    min-height: 650px;
    height: auto;
}

.activities-image {
    background-size: cover;
    background-position: center;
    position: relative;
    background-image: url('img/gig_water.webp');
    background-color: #8e5f3d;
    z-index: 0;
}

.activities-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(to left, #171717, transparent);
    z-index: 1;
}

.activities-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    z-index: 0;
}

.activities-content {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #171717;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    text-align: center;
    height: auto;
}

.activities-content h3 {
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #716047;
    letter-spacing: 1px;
}

.activities-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7a5b, transparent);
    margin: 0 auto 2rem;
}

.activities-content p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #ffffff;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
}

@media (max-width: 992px) {
    .activities-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 400px auto;
        height: auto;
    }

    .activities-image::before {
        display: none;
    }

    .activities-content {
        padding: 4rem 3rem;
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-rows: 300px auto;
    }

    .activities-content {
        padding: 3rem 2rem;
    }
}

@media (max-width: 576px) {
    .activities-grid {
        grid-template-rows: 250px auto;
    }

    .activities-content {
        padding: 2rem 1.5rem;
    }
}

/* Team Section */
.team {
    background-color: #000000;
    padding: 4rem 0 4rem 0;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.member {
    width: 280px;
    height: 420px;
    position: relative;
    overflow: visible;
    margin-bottom: 1.5rem;
    perspective: 1000px;
}

.member-card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    border-radius: 8px;
}

/* Only apply hover effect on devices that support hover */
@media (hover: hover) {
    .member:hover .member-card {
        transform: rotateY(180deg);
    }
}

.member-card.flipped {
    transform: rotateY(180deg);
}

.member-card-front, .member-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: hidden;
}

.member-card-front {
    z-index: 2;
    border-radius: 8px;
}

/* Member photo using <picture> element */
.member-photo-picture {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.member-photo-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.member-card-back {
    background-color: #1a1a1a;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    border-radius: 8px;
}

.member-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    border-radius: 8px;
}

.member-description {
    width: 90%;
    max-width: 250px;
    color: white;
    z-index: 2;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    position: relative;
}

.member-description h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.description-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}

.member-card-front h3 {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Card back images */
.member-card-back.eliza {
    background-image: url('img/eliza-card-back.webp');
}

.member-card-back.tomasz {
    background-image: url('img/tomasz-card-back.webp');
}

.member-card-back.marcin {
    background-image: url('img/marcin-card-back.webp');
}

.member-card-back.dominik {
    background-image: url('img/dominik-card-back.webp');
}

.member-card-back.maria {
    background-image: url('img/marysia-card-back.webp');
}

.member-card-back.urszula {
    background-image: url('img/ula-card-back.webp');
}

.member-card-back.kinga {
    background-image: url('img/kinga-card-back.webp');
}

/* Add a subtle pulse animation to indicate cards are interactive on mobile */
@media (hover: none) {
    .member-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        z-index: 3;
        animation: pulse 2s infinite;
        pointer-events: none;
    }

    @keyframes pulse {
        0% { opacity: 0; }
        50% { opacity: 1; }
        100% { opacity: 0; }
    }
}

/* Gallery Section */
.gallery {
    background-color: #000000;
    padding: 0 0 4rem 0;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(113, 96, 71, 0.2);
}

.gallery-item img,
.gallery-item picture,
.placeholder-img,
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item picture img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item:hover img,
.gallery-item:hover .placeholder-img,
.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.placeholder-img {
    background-color: #1a1a1a;
}

/* Concerts Section */
.concerts {
    background-color: #000000;
    padding: 4rem 0;
}

.season {
    margin-bottom: 3rem;
}

.season h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #716047;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    transition: color 0.3s ease;
}

.season h3:hover {
    color: var(--primary-color);
}

.season h3::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.season.expanded h3::after {
    transform: rotate(180deg);
}

.concert-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    padding-top: 0;
}

.season.expanded .concert-list {
    height: auto;
    opacity: 1;
    overflow: visible;
    padding-top: 1rem;
}

.concert-list li {
    padding: 1rem 1.25rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border-left: 3px solid transparent;
}

.concert-list li:hover {
    transform: translateX(5px);
    border-left-color: var(--primary-color);
}

.date {
    font-weight: bold;
    font-size: 1.05rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #000000;
    color: white;
    padding: 3rem 0;
    text-align: center;
    padding-bottom: 5rem;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-title {
    font-size: 2.5rem;
    color: #716047;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #716047;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-contact-title {
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-contact-info {
    color: white;
    font-size: 1.1rem;
}

.footer-contact-info a {
    color: white;
    transition: color 0.3s ease;
}

.footer-contact-info a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-social-icon {
    font-size: 1.8rem;
    color: white;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-icon:hover {
    color: #716047;
    transform: scale(1.15);
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.footer-copyright a {
    color: #888;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--secondary-color);
}

/* Cookie Banner */
#cookie-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 360px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
    font-family: var(--font-main);
}

#cookie-popup h3 {
    margin-top: 0;
    color: #716047;
    font-family: var(--font-main);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-align: center;
}

#cookie-popup p {
    color: #ccc;
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
    font-family: var(--font-main);
}

#cookie-popup p a {
    color: var(--secondary-color);
    text-decoration: underline;
}

#cookie-popup p a:hover {
    color: var(--primary-color);
}

#cookie-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-popup-content {
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-popup-buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.cookie-button {
    padding: 0.7rem 3.5rem;
    font-size: 1.2rem;
    color: #716047;
    background-color: transparent;
    border: 1px solid #716047;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-main);
    text-align: center;
    display: block;
    margin: 0 auto;
    min-width: 200px;
}

.cookie-button:hover {
    background-color: #716047;
    color: white;
}

/* Privacy Policy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.privacy-modal-content {
    background-color: #1a1a1a;
    max-width: 800px;
    width: 90%;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    position: relative;
}

.privacy-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.privacy-modal-close:hover {
    color: var(--secondary-color);
}

.privacy-modal-content h2 {
    color: #716047;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.privacy-modal-content h2::after {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8c7a5b, transparent);
    margin: 1rem auto;
}

.privacy-modal-body h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.privacy-modal-body p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
}

.privacy-modal-body ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-modal-body ul li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.privacy-modal-body a {
    color: var(--secondary-color);
}

.privacy-date {
    color: #666 !important;
    font-style: italic;
    margin-top: 2rem;
}

/* Responsive cookie popup */
@media (max-width: 480px) {
    #cookie-popup {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .cookie-popup-buttons {
        width: 100%;
    }

    .cookie-button {
        width: 100%;
        max-width: 280px;
        padding: 0.6rem 2rem;
        font-size: 1rem;
        min-width: unset;
    }

    .privacy-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 60px;
    }

    .mobile-nav-toggle {
        order: 1;
    }

    .social-icons {
        order: 3;
        gap: 1rem;
    }

    .main-nav {
        order: 2;
        position: fixed;
        left: -100%;
        width: 30%;
        min-width: 200px;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        top: 0;
        padding-top: var(--header-height);
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding-bottom: 2rem;
        padding-left: 0;
        padding-right: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease, padding-top 0.3s ease;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        margin: 0;
        border: none;
        z-index: 999;
    }

    .main-nav::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background-color: var(--border-subtle);
        z-index: 2;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        padding-top: 2rem;
        margin: 0;
    }

    .main-nav ul li:first-child {
        margin-top: 0;
    }

    .main-nav ul li {
        margin: 0;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .main-nav ul li a {
        display: block;
        font-size: 1.5rem;
        padding: 0.7rem 0;
        color: white;
        font-weight: normal;
        letter-spacing: 2px;
        white-space: nowrap;
    }

    .main-nav ul li a:hover {
        color: var(--secondary-color);
    }

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

    .mobile-nav-toggle.active .hamburger-icon {
        background-color: transparent;
    }

    .mobile-nav-toggle.active .hamburger-icon::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-nav-toggle.active .hamburger-icon::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .team-members {
        gap: 2rem;
        flex-direction: column;
        align-items: center;
    }

    .member {
        width: 280px;
        height: 420px;
        margin-bottom: 2rem;
    }

    .member-card-front h3,
    .member-description h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .member-description {
        padding: 15px;
        max-width: 250px;
    }

    .member-description p {
        font-size: 1rem;
        line-height: 1.5;
    }

    header.scrolled {
        height: 60px;
    }

    header.scrolled + .main-nav,
    header.scrolled ~ .main-nav.active {
        padding-top: 60px;
    }

    .footer-title {
        font-size: 2rem;
    }

    .footer-contacts {
        gap: 3rem;
    }

    .footer-icon {
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .footer-contact-title {
        font-size: 1.1rem;
    }

    .footer-contact-info {
        font-size: 1rem;
    }

    .season h3 {
        font-size: 1.8rem;
    }

    .season h3::after {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }

    h2 {
        font-size: 1.8rem;
    }

    .member {
        width: 260px;
        height: 390px;
    }

    .member-card-front h3,
    .member-description h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .member-description {
        padding: 12px;
        max-width: 230px;
    }

    .member-description p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .social-icons {
        gap: 0.8rem;
    }

    .social-icon {
        font-size: 1.2rem;
    }

    .footer-title {
        font-size: 1.8rem;
    }

    .footer-contacts {
        gap: 2rem;
        flex-direction: column;
    }

    .footer-contact-item {
        width: 100%;
    }

    .footer-social {
        gap: 1.5rem;
    }

    .footer-social-icon {
        font-size: 1.5rem;
    }

    .season h3 {
        font-size: 1.6rem;
    }

    .season h3::after {
        font-size: 1.2rem;
    }

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.lightbox.active {
    display: block;
    animation: fadeIn 0.3s;
}

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

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.3s;
    background: none;
    border: none;
}

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

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img-container {
    height: 100%;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 0.3s ease, background-color 0.3s ease;
    animation: fadeIn 0.3s;
}

.lightbox-nav {
    position: absolute;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    transition: color 0.3s, background-color 0.3s;
    z-index: 2100;
}

.lightbox-nav:hover {
    color: var(--secondary-color);
}

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

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

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 2100;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-img-container {
        width: 90%;
    }

    .lightbox-nav {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-nav.prev {
        left: 5px;
    }

    .lightbox-nav.next {
        right: 5px;
    }
}

.slide-in-right {
    animation: slideInRight 0.3s forwards;
}

.slide-in-left {
    animation: slideInLeft 0.3s forwards;
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Video container */
.video-container {
    position: relative;
    width: 100%;
    margin: 2rem 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

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

.video-more {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.btn-more {
    display: inline-block;
    padding: 0.7rem 3.5rem;
    font-size: 1.2rem;
    color: #716047;
    background-color: transparent;
    border: 1px solid #716047;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

.btn-more:hover {
    background-color: #716047;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(113, 96, 71, 0.4);
}

.btn-more::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(113, 96, 71, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-more:hover::before {
    width: 300px;
    height: 300px;
}

@media (max-width: 576px) {
    .btn-more {
        padding: 0.6rem 3rem;
        font-size: 1rem;
    }
}

/* Feast Section */
.feast {
    background-color: #000000;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    margin: 0 0 2rem 0;
}

.feast-image {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feast-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #000000 0%, transparent 10%, transparent 90%, #000000 100%);
    z-index: 1;
    pointer-events: none;
}

.feast-image picture,
.feast-image img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

@media (max-width: 768px) {
    .feast {
        padding: 0;
        margin: 0 0 2rem 0;
    }

    .feast-image {
        width: 100vw;
    }
}