/* Variables */
:root {
    --primary-color: #ff7e5f; /* Orange for accents */
    --secondary-color: #8f2fff; /* Lila for accents */
    --font-stack: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Global styles */
body {
    font-family: var(--font-stack);
    background: #0a0a0a;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header styles */
header {
    background: linear-gradient(90deg, rgba(143,47,255,0.7) 0%, rgba(255,126,95,0.7) 100%);
    color: #fff;
    padding: 0.7rem 0 0.5rem 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
    border-radius: 18px;
    margin: 20px 10px 10px 10px;
    width: auto;
    min-width: 0;
    max-width: none;
}

header h1 {
    margin: 0;
    padding-bottom: 0.5rem;
    letter-spacing: 2px;
}

header nav {
    margin-top: 0.5rem;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

header nav ul li {
    display: inline;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

header nav ul li a:hover {
    background: rgba(255,255,255,0.1);
    color: #ff7e5f;
}

/* Remove unused styles */
#hamburger-menu,
#side-menu {
    display: none;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 1rem 3vw;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border-radius: 0 0 24px 24px;
    margin: 0 auto;
    max-width: 95%;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: none;
}

.logo-area {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    gap: 0.7rem;
    color: #000;
}

.logo-image {
    height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.25)) drop-shadow(0 0 2px rgba(0,0,0,0.4));
}

.logo-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
}

.logo-text {
    letter-spacing: 2px;
    color: #000;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
}

.main-header nav ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 4px 15px rgba(143,47,255,0.3);
    transform: translateY(-2px);
}

/* Hero Section styles */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5rem 6vw;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    overflow: hidden;
    border-bottom: none;
    margin: 0 auto;
    max-width: 95%;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
    color: #000;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #555;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(143,47,255,0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(143,47,255,0.35);
}

.cta-btn:hover::before {
    left: 0;
}

.hero-visual {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.floating-logo {
    position: absolute;
    height: 180px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2)) drop-shadow(0 0 3px rgba(0,0,0,0.3));
    opacity: 0.9;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(.4,1.4,.6,1);
}

.logo-1 {
    left: 50%;
    top: 40%;
    transform: translateX(-50%) translateY(-50%);
}

.logo-2 {
    left: 0%;
    bottom: 5%;
    height: 140px;
}

.logo-3 {
    right: 0%;
    top: 0%;
    height: 110px;
}

body.scrolled .logo-1 {
    transform: translateX(-50%) translateY(calc(-50% - 30px)) scale(1.08) rotate(-8deg);
}

body.scrolled .logo-2 {
    transform: translateY(20px) scale(1.12) rotate(12deg);
}

body.scrolled .logo-3 {
    transform: translateY(-15px) scale(1.05) rotate(18deg);
}

.wave-divider {
    display: none;
}

/* Main content styles */
main {
    margin: 3rem auto;
    padding: 5rem 4rem;
    max-width: 1100px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.06);
    margin-bottom: 10rem;
}

main section {
    margin-bottom: 6rem;
}

main h1, main h2, main h3, main h4, main h5, main h6 {
    color: #000;
    margin-bottom: 2rem;
}

main h1 i, main h2 i {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

main p {
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #555;
}

/* Footer styles */
footer {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    text-align: center;
    padding: 0;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    min-width: 160px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    font-size: 0.95rem;
    height: 60px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    z-index: 20;
    border: 2px solid #f5f5f5;
    transition: all 0.3s ease;
}

footer:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateX(-50%) translateY(-3px);
}

footer .social-icons {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .social-icons a {
    color: #333;
    margin: 0 0.8rem;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s;
}

footer .social-icons a:hover {
    color: var(--primary-color);
    transform: scale(1.15);
}

/* Festival-specific styles */
.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 4rem 0 3rem 0;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    border: 2px solid #f5f5f5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #e8e8e8;
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.event-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid #f5f5f5;
    display: flex;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.event-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #e8e8e8;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.event-date {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 20px;
    padding: 1.2rem 1rem;
    text-align: center;
    color: white;
    min-width: 80px;
    height: fit-content;
    box-shadow: 0 8px 20px rgba(143,47,255,0.25);
}

.event-date .month {
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    opacity: 0.9;
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
}

.event-content {
    flex: 1;
}

.event-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.event-content p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.event-genre {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-top: 0.8rem;
}

.event-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(143,47,255,0.2);
    color: var(--secondary-color);
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.newsletter {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 28px;
    padding: 4rem 3rem;
    margin: 5rem 0;
    text-align: center;
    border: 2px solid #f0f0f0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.newsletter-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.newsletter-input {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    padding: 1rem 2rem;
    color: #333;
    font-size: 1rem;
    min-width: 280px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.newsletter-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(143,47,255,0.15);
    transform: translateY(-2px);
}

.newsletter-input::placeholder {
    color: #aaa;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(143,47,255,0.25);
}

.newsletter-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(143,47,255,0.35);
}

/* Enhanced background effects */
body {
    background: #f5f5f5;
}

/* Floating elements animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(5px) rotate(240deg); }
}

.hero-visual::after {
    display: none;
}

.hero-visual::before {
    display: none;
}

/* Gallery Section */
.gallery-section {
    margin: 4rem 0;
}

.gallery-section h2 {
    text-align: center;
    color: #000;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.gallery-section h2 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.gallery-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
}

.gallery-wrapper {
    width: 700px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    background: #fff;
    border: 3px solid #f0f0f0;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05) translateX(30px);
    z-index: 1;
}

.gallery-image.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 2;
}

.gallery-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(143,47,255,0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    flex-shrink: 0;
}

.gallery-btn:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 25px rgba(143,47,255,0.35);
}

.gallery-btn:active {
    transform: scale(1.05) translateY(0);
}

/* Newsletter styles */
.newsletter {
    .main-header, .hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem 4vw 0 4vw;
    }
    .hero-visual {
        width: 220px;
        height: 220px;
    }
}

/* Additional styles for subpages */
.featured-status {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color)) !important;
    color: white !important;
}

.event-card.featured {
    border: 2px solid rgba(143,47,255,0.4);
    box-shadow: 0 8px 32px rgba(143,47,255,0.2);
}

.event-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    line-height: 1.5;
}

.past-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.past-event {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
}

.past-event p {
    color: #666;
}

.past-event h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.artist-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 24px;
    padding: 2.5rem;
    border: 2px solid #f5f5f5;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.artist-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #e8e8e8;
}

.artist-image {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.artist-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.artist-genre {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.artist-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.artist-socials a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.artist-socials a:hover {
    color: var(--primary-color);
}

.featured-artists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.featured-artist {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    text-align: center;
}

.featured-artist p {
    color: #666;
}

.featured-artist h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Gallery page styles */
.gallery-full {
    margin: 3rem 0;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.gallery-image-wrapper-full {
    width: 700px;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 2px solid #e0e0e0;
}

.gallery-image-full {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(.4,1.4,.6,1);
    z-index: 1;
}

.gallery-image-full.active {
    opacity: 1;
    z-index: 2;
}

.gallery-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: var(--secondary-color);
}

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

.gallery-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    border-color: #e0e0e0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.category-card p {
    color: #666;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 600px) {
    .main-header {
        flex-direction: column;
        padding: 1rem 4vw;
        font-size: 0.9rem;
        border-radius: 0 0 20px 20px;
        max-width: 100%;
    }
    
    .main-header nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.3rem;
        margin-top: 1rem;
    }
    
    .main-header nav ul li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .logo-area {
        font-size: 1.5rem;
    }
    
    .logo-image {
        height: 55px;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
    
    .hero {
        flex-direction: column;
        padding: 3rem 5vw;
        min-height: auto;
        border-radius: 0 0 24px 24px;
        max-width: 100%;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-btn {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }
    
    .hero-visual {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }
    
    .logo-1 {
        height: 130px;
        left: 50%;
        top: 50%;
        transform: translateX(-50%) translateY(-50%);
    }
    
    .logo-2 {
        height: 85px;
        left: 5%;
        bottom: 5%;
    }
    
    .logo-3 {
        height: 65px;
        right: 5%;
        top: 5%;
    }
    
    main {
        padding: 2.5rem 1.5rem;
        margin: 2rem auto;
        border-radius: 24px;
    }
    
    main h1, main h2 {
        font-size: 1.5rem;
    }
    
    main p {
        font-size: 1rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        flex-direction: column;
        padding: 1.5rem;
    }
    
    .event-date {
        align-self: flex-start;
        margin-bottom: 1rem;
    }
    
    .gallery-wrapper {
        width: 85vw;
        height: 55vw;
        min-height: 250px;
        max-width: 500px;
    }
    
    .gallery-btn {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .gallery-section h2 {
        font-size: 1.5rem;
    }
    
    .newsletter {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    
    .newsletter-content h3 {
        font-size: 1.3rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-input {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
    }
    
    .newsletter-btn {
        width: 100%;
    }
    
    footer {
        width: 150px;
        height: 55px;
        bottom: 15px;
    }
    
    footer .social-icons a {
        font-size: 1.2rem;
        margin: 0 0.6rem;
    }
}
