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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
    background: #2a5298;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
    word-wrap: normal;
    white-space: nowrap;
}

/* Fix for longer headings on mobile */
@media (max-width: 768px) {
    h1, h2, h3, h4 {
        white-space: normal;
        word-break: keep-all;
    }
}

/* Prevent word breaks for all text elements */
p, span, div, .hero-description, .section-header p {
    word-break: keep-all;
    hyphens: none;
    overflow-wrap: normal;
}

h2 {
    color: white !important;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 1) 0%, rgba(15, 32, 39, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 60px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-logo h2 {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #4fc3f7;
    text-shadow: 2px 2px 8px rgba(79, 195, 247, 0.5);
    background: rgba(79, 195, 247, 0.1);
}

.register-btn {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white !important;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
    border: none !important;
    text-shadow: none;
}

.register-btn::after {
    display: none;
}

.register-btn:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #4fc3f7 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

/* Partner Logo in Navigation */
.nav-partner {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.partner-logo {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

/* Organizer Section Styles */
.organizer-section {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.organizer-section h3 {
    color: #4fc3f7;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.organizer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.main-organizer-logo {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: brightness(1.1);
}

.organizer-logo p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin: 0 auto;
    opacity: 0.9;
    max-width: 400px;
    line-height: 1.4;
    word-break: keep-all;
    hyphens: none;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #0f2027 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(79, 195, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(42, 82, 152, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(30, 60, 114, 0.3) 0%, transparent 50%);
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #4fc3f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 2px 2px 8px rgba(79, 195, 247, 0.3); }
    100% { text-shadow: 2px 2px 20px rgba(79, 195, 247, 0.6), 0 0 30px rgba(41, 182, 246, 0.4); }
}

.subtitle, .subtitle-typing {
    font-size: 2.5rem;
    font-weight: 400;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}



.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 1;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none !important;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #4fc3f7 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
}

.btn-secondary {
    background: rgba(30, 60, 114, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #4fc3f7;
    color: #4fc3f7;
    box-shadow: 0 4px 15px rgba(79, 195, 247, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1rem;
}

.hero-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 600px;
    width: 100%;
}

.hero-image-card {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.3) 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(79, 195, 247, 0.3);
    transition: all 0.4s ease;
    text-align: center;
}

.hero-image-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(79, 195, 247, 0.4);
}

.image-frame {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.image-frame img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    filter: grayscale(10%);
    transition: all 0.4s ease;
}

.hero-image-card:hover .image-frame img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.image-caption {
    color: #4fc3f7;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.image-caption p {
    margin: 0;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white !important;
}

.section-header p {
    font-size: 1.2rem;
    color: white;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    text-align: left;
}



/* Artist Section */
.artist-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.3) 100%);
}

.artist-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.artist-bio h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: white;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: white;
}

blockquote {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(41, 182, 246, 0.2) 100%);
    border-left: 4px solid #4fc3f7;
    padding: 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 10px;
    color: white;
}

blockquote cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: #4fc3f7;
}

.artist-timeline h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4fc3f7 0%, #29b6f6 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.timeline-date {
    font-weight: 600;
    color: #4fc3f7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h4 {
    margin: 0.5rem 0;
    color: white;
}

.timeline-content p {
    color: white;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(42, 82, 152, 0.2) 0%, rgba(30, 60, 114, 0.2) 100%);
    position: relative;
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(30, 60, 114, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

/* Festival Section */
.festival-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1) 0%, rgba(42, 82, 152, 0.1) 100%);
}

.festival-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    max-width: none;
}

.festival-card {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.4) 0%, rgba(42, 82, 152, 0.4) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(79, 195, 247, 0.3);
}

.festival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(79, 195, 247, 0.2);
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(42, 82, 152, 0.3) 100%);
}

.card-header {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    color: white;
    padding: 1.5rem;
}

.card-header h3 {
    font-size: 1.5rem;
    white-space: normal !important;
    word-break: normal !important;
    line-height: 1.3;
    margin: 0;
}

.card-content {
    padding: 2rem;
    color: white;
}

.info-item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-item strong {
    color: #4fc3f7;
}

.card-content ul {
    list-style: none;
    padding: 0;
}

.card-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-content li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: #4fc3f7;
}

/* Festival Tabs */
.festival-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.tab-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.tab-button:hover {
    color: #4fc3f7;
    background: rgba(79, 195, 247, 0.1);
}

.tab-button.active {
    color: #4fc3f7;
    border-bottom-color: #4fc3f7;
    background: rgba(79, 195, 247, 0.15);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

/* Festival Statistics */
.festival-summary {
    margin-bottom: 2rem;
}

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

.stat-card {
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.2) 0%, rgba(42, 82, 152, 0.2) 100%);
    padding: 2rem 1rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(79, 195, 247, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 195, 247, 0.2);
}

.stat-card h4 {
    font-size: 3rem;
    color: #4fc3f7;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* Festival Carousel */
.festival-carousel {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(15, 32, 39, 0.3) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.festival-carousel h3 {
    text-align: center;
    color: #4fc3f7;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.carousel-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(79, 195, 247, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #4fc3f7;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: #4fc3f7;
    transform: scale(1.2);
}

/* Festival Themes */
.festival-themes {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #4fc3f7;
    transition: all 0.3s ease;
}

.theme-section:last-child {
    margin-bottom: 0;
}

.theme-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.theme-section h4 {
    color: #4fc3f7;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    white-space: normal;
}

.theme-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.theme-section p:last-child {
    margin-bottom: 0;
}

/* Festival Video */
.festival-video {
    margin-top: 2rem;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.3) 0%, rgba(15, 32, 39, 0.3) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(79, 195, 247, 0.2);
    text-align: center;
}

.festival-video h3 {
    color: #4fc3f7;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
}

.video-container {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #000;
    cursor: pointer;
    transition: filter 0.3s ease;
}

.video-container video:focus {
    outline: 2px solid #4fc3f7;
    outline-offset: 2px;
}

.video-container video:hover {
    filter: brightness(1.1);
}

/* Responsive adjustments for tabs and carousel */
@media (max-width: 768px) {
    .festival-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-button {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
        padding: 0.8rem 1rem;
    }
    
    .tab-button.active {
        border-left-color: #4fc3f7;
        border-bottom: none;
    }
    
    .festival-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 0.8rem;
    }
    
    .stat-card h4 {
        font-size: 2.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
    
    .festival-carousel {
        padding: 1.5rem 1rem;
    }

    .festival-video {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .festival-video h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .video-container {
        max-width: 100%;
        margin: 0;
    }
}

@media (max-width: 480px) {
    .festival-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card h4 {
        font-size: 2rem;
    }
    
    .carousel-slide img {
        height: 250px;
    }
}



/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1.5rem 0;
    position: relative;
    z-index: 1002;
    margin-top: 2rem;
    clear: both;
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile Hamburger Menu - Hidden on Desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

/* Ensure desktop navigation is always visible */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
    }
    
    .hamburger {
        display: none !important;
    }
    
    .mobile-sidebar {
        display: none !important;
    }
    
    .mobile-overlay {
        display: none !important;
    }
}

.hamburger:hover {
    background: rgba(79, 195, 247, 0.1);
    border-radius: 6px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar - Mobile Only */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.95) 0%, rgba(15, 32, 39, 0.95) 100%);
    backdrop-filter: blur(25px);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
    border-left: 1px solid rgba(79, 195, 247, 0.2);
    display: none;
}

/* Show mobile sidebar only on mobile devices */
@media (max-width: 768px) {
    .mobile-sidebar {
        display: block;
    }
}

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

.mobile-sidebar-header {
    padding: 2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(79, 195, 247, 0.2);
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(41, 182, 246, 0.1) 100%);
}

.mobile-sidebar-header h3 {
    color: #4fc3f7;
    font-size: 1.3rem;
    margin: 0;
    text-align: center;
    font-weight: 600;
}

.mobile-sidebar .nav-menu {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
    list-style: none;
}

.mobile-sidebar .nav-menu li {
    list-style: none;
    margin: 0;
}

.mobile-sidebar .nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 1.5rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    background: rgba(79, 195, 247, 0.05);
    border: 1px solid rgba(79, 195, 247, 0.15);
}

.mobile-sidebar .nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.mobile-sidebar .nav-menu a:hover::before,
.mobile-sidebar .nav-menu a:active::before {
    transform: scaleY(1);
}

.mobile-sidebar .nav-menu a:hover {
    background: rgba(79, 195, 247, 0.2);
    color: #4fc3f7;
    transform: translateX(5px);
    border-color: rgba(79, 195, 247, 0.4);
    box-shadow: 0 5px 15px rgba(79, 195, 247, 0.2);
}

.mobile-sidebar .nav-menu a::after {
    content: attr(data-icon);
    font-size: 1.8rem;
    opacity: 0.9;
}

.mobile-sidebar .register-btn {
    margin: 2rem 1.5rem 1rem;
    display: block;
    text-align: center;
    width: calc(100% - 3rem);
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(79, 195, 247, 0.4);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    border: none;
}

.mobile-sidebar .register-btn:hover {
    background: linear-gradient(135deg, #29b6f6 0%, #4fc3f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(79, 195, 247, 0.4);
}

.mobile-sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 32, 39, 0.8) 0%, rgba(30, 60, 114, 0.8) 100%);
    border-top: 1px solid rgba(79, 195, 247, 0.2);
    text-align: center;
}

.mobile-sidebar-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Overlay - Mobile Only */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

/* Show mobile overlay only on mobile devices */
@media (max-width: 768px) {
    .mobile-overlay {
        display: block;
    }
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile-Only Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
        height: 60px;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
        position: relative;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
        margin-bottom: 0;
        flex: 1;
        font-weight: 600;
    }
    
    /* Hide desktop navigation on mobile only */
    .navbar .nav-menu {
        display: none !important;
    }
    
    /* Ensure mobile sidebar nav-menu is visible */
    .mobile-sidebar .nav-menu {
        display: flex !important;
    }
    
    /* Show hamburger on mobile only */
    .hamburger {
        display: flex !important;
        position: relative;
        margin-left: auto;
        width: 45px;
        height: 45px;
        padding: 10px;
        background: rgba(79, 195, 247, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(79, 195, 247, 0.3);
    }

    .hamburger span {
        width: 22px;
        height: 3px;
        margin: 2px 0;
        background: white;
    }

    .hero {
        padding-top: 70px;
    }
}

/* Force hamburger visibility on small screens */
@media (max-width: 480px) {
    .navbar {
        height: 55px;
        padding: 0.4rem 0;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hamburger {
        display: flex !important;
        padding: 8px;
        background: rgba(79, 195, 247, 0.15);
        border: 1px solid rgba(79, 195, 247, 0.3);
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2.5px;
        margin: 2px 0;
        background: white;
    }
    
    .nav-logo h2 {
        font-size: 1.2rem;
    }
}

/* Android specific optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hamburger {
        -webkit-tap-highlight-color: rgba(79, 195, 247, 0.3);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        touch-action: manipulation;
    }
    
    /* Force hardware acceleration for better scroll performance on Android */
    .festival-section,
    .section-hidden,
    .section-visible {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        will-change: transform, opacity;
    }
    
    /* Force all sections to be visible on Android */
    .festival-section,
    .artist-section,
    .gallery-section {
        opacity: 1 !important;
        transform: translateY(0) translateZ(0) !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Force all elements to be visible on Android */
    .festival-card,
    .tab-button,
    .tab-content,
    .festival-info,
    .festival-themes {
        opacity: 1 !important;
        transform: translateY(0) translateZ(0) !important;
        visibility: visible !important;
    }
}

/* Touch optimizations for all mobile devices */
@media (pointer: coarse) {
    .hamburger {
        display: flex !important;
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
        background: transparent;
        border: none;
        border-radius: 6px;
    }
    
    .hamburger:active {
        background: rgba(79, 195, 247, 0.2);
    }
    
    .mobile-sidebar .nav-menu a {
        padding: 1.4rem 1.5rem;
        font-size: 1.2rem;
        min-height: 48px;
        touch-action: manipulation;
    }
    
    .mobile-sidebar .register-btn {
        min-height: 48px;
        padding: 1.2rem 2rem;
        touch-action: manipulation;
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-images-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-image-card {
        padding: 1rem;
    }

    .image-frame img {
        height: 180px;
    }

    .artist-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .festival-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-header p {
        text-align: center;
        max-width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Hide partner logo on mobile to save space */
    .nav-partner {
        display: none;
    }

    /* Mobile organizer section styles */
    .organizer-section {
        margin: 1rem 0;
        padding: 1rem;
        max-width: 100%;
    }

    .organizer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .main-organizer-logo {
        height: 80px;
        max-width: 200px;
    }

    .organizer-logo p {
        font-size: 0.95rem;
        max-width: 300px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lazy loading section styles */
.section-hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.element-hidden {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.element-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Fade in animation for hero section only */
.hero-text,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
} 