/*
Theme Name: Rodopeya Folk
Theme URI: https://www.rodopeya-folk.com
Author: Cavra Studio
Author URI: https://www.cavrastudio.com
Description: Премиум тема за фолклорна формация с луксозен, модерен дизайн. Designed and created by Cavra Studio - www.cavrastudio.com
Version: 3.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rodopeya-folk
Tags: folklore, bulgarian, traditional, custom-header, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Color Palette */
    --color-indigo-dark: #1a1f3a;
    --color-indigo: #2d3561;
    --color-indigo-light: #3d4a7c;
    --color-gold: #d4af37;
    --color-gold-light: #e8c547;
    --color-copper: #b87333;
    --color-cream: #f5f1e8;
    --color-beige: #e8e3d5;
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    --color-gray-light: #f8f8f8;
    --color-gray: #6b7280;
    --color-gray-dark: #374151;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
    --font-sans: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-dark);
    background: var(--color-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior-y: contain; /* Prevent scroll chaining */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
    touch-action: pan-y; /* Optimize touch scrolling */
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-indigo-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h5 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--color-gold-light);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    padding: var(--spacing-sm) 0;
    will-change: background-color, padding, box-shadow;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-backface-visibility: hidden;
}

.site-header.scrolled {
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-xs) 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    cursor: pointer;
    min-height: 44px; /* Ensure touch target size */
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2); /* Touch feedback on mobile */
    touch-action: manipulation; /* Optimize touch response */
    position: relative;
    z-index: 10; /* Ensure link is above other elements */
    pointer-events: auto; /* Ensure link is always clickable */
    -webkit-touch-callout: none; /* Prevent callout on long press */
}

.site-logo:hover {
    color: var(--color-gold);
}

.site-logo:active {
    opacity: 0.8; /* Visual feedback on tap */
}

/* Ensure header-titles doesn't block clicks */
.site-logo .header-titles {
    pointer-events: none;
}

/* Header titles wrapper */
.header-titles {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Site title in header */
.site-logo .site-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: inherit;
    line-height: 1.2;
}

/* Site subtitle in header */
.site-logo .site-subtitle {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-family: var(--font-sans);
}

/* Custom logo image in header */
.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    position: relative;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--spacing-xs) var(--spacing-sm);
    position: relative;
    transition: var(--transition-base);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 80%;
}

.main-navigation a:hover {
    color: var(--color-gold);
}

/* Hamburger Menu - Modern Design */
.menu-toggle {
    display: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgba(26, 31, 58, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.menu-toggle:hover {
    background: rgba(26, 31, 58, 0.95);
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 3px 8px rgba(0, 0, 0, 0.25);
}

.menu-toggle:focus {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
    background: rgba(26, 31, 58, 0.95);
}

.menu-toggle:active {
    transform: translateY(0) scale(0.95);
    -webkit-transform: translateY(0) scale(0.95);
    background: rgba(26, 31, 58, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Modern 3-line hamburger icon */
.menu-toggle span {
    display: block !important;
    width: 22px;
    height: 2.5px;
    background: var(--color-white) !important;
    margin: 3px 0;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide 2nd and 4th spans for clean 3-line design */
.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(4) {
    display: none !important;
}

/* Active state - transform to X */
.menu-toggle.active {
    background: rgba(26, 31, 58, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.menu-toggle.active span {
    background: var(--color-white) !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    -webkit-transform: rotate(45deg) translate(6px, 6px);
    margin: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
    margin: 0;
}

.menu-toggle.active span:nth-child(5) {
    opacity: 0;
    transform: scale(0);
    -webkit-transform: scale(0);
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.7) 0%, rgba(45, 53, 97, 0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    max-width: 300px;
    margin: 0 auto var(--spacing-md);
    opacity: 0;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-title a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.hero-title a:hover {
    opacity: 0.9;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
    opacity: 0.95;
    text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    cursor: pointer;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation; /* Optimize touch events */
    will-change: transform; /* GPU acceleration */
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all var(--transition-base);
    animation: bounce 2s infinite, pulse 3s infinite;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-base);
}

.scroll-indicator:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.scroll-indicator:hover::before {
    opacity: 1;
}

.scroll-indicator svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-white);
    stroke-width: 2.5;
    fill: none;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.scroll-indicator:hover svg {
    stroke-width: 3;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */
.section {
    padding: var(--spacing-xxl) var(--spacing-md);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-copper));
}

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

/* ============================================
   ABOUT SECTION - Two Column Layout
   ============================================ */
.about-section {
    background: var(--color-cream);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 2;
    isolation: isolate;
    background: var(--color-cream);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    display: block;
    position: relative;
    z-index: 1;
}

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

.about-text {
    padding: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.quote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    color: var(--color-indigo);
    margin: var(--spacing-lg) 0;
    padding-left: var(--spacing-md);
    border-left: 4px solid var(--color-gold);
}

/* ============================================
   REPERTOIRE SECTION - Card Grid
   ============================================ */
.repertoire-section {
    background: var(--color-white);
}

.embroidery-border-top {
    margin-bottom: var(--spacing-xl);
}

.embroidery-border-bottom {
    margin-top: var(--spacing-xl);
}

.embroidery-border-top svg,
.embroidery-border-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
}

.filter-tab {
    padding: var(--spacing-xs) var(--spacing-md);
    background: transparent;
    border: 2px solid var(--color-indigo);
    color: var(--color-indigo);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    border-radius: 30px;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--color-indigo);
    color: var(--color-white);
}

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.repertoire-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    position: relative;
    padding: 3px;
    background-clip: padding-box;
}

.repertoire-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #00966E 50%, #D62612 100%);
    opacity: 0;
    transition: var(--transition-base);
    pointer-events: none;
    z-index: 0;
    border-radius: 10px;
}

.repertoire-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.repertoire-card:hover::before {
    opacity: 1;
}

.repertoire-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: 7px;
    overflow: hidden;
}

.repertoire-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.repertoire-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.repertoire-card-content {
    padding: var(--spacing-md);
    position: relative;
    z-index: 2;
}

.repertoire-card-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-gold);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.repertoire-card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-indigo-dark);
}

.repertoire-card-description {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ============================================
   GALLERY SECTION - Masonry Layout
   ============================================ */
.gallery-section {
    background: var(--color-gray-light);
}

.gallery-wrapper {
    position: relative;
    width: 100%;
}

.gallery-wrapper.gallery-slider {
    padding: 0 60px;
}

.gallery-container {
    overflow: hidden;
    width: 100%;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    transition: transform 0.5s ease;
}

.gallery-grid.gallery-slider-track {
    display: flex;
    grid-template-columns: none;
    gap: var(--spacing-md);
    transform: translateX(0);
    will-change: transform; /* GPU acceleration for smooth sliding */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-backface-visibility: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    background: var(--color-white);
    aspect-ratio: 1;
    min-height: 300px;
    flex-shrink: 0;
}

.gallery-slider-track .gallery-item {
    width: calc((100% - 3 * var(--spacing-md)) / 4);
    min-width: calc((100% - 3 * var(--spacing-md)) / 4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

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

/* Mobile optimization for gallery items */
@media (max-width: 768px) {
    .gallery-item {
        aspect-ratio: 1;
        min-height: 200px;
    }
    
    .gallery-item img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

/* Gallery Controls - Desktop: absolute positioned */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 2px solid var(--color-indigo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-base);
    color: var(--color-indigo);
    box-shadow: var(--shadow-md);
}

.gallery-arrow:hover {
    background: var(--color-indigo);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.gallery-arrow-prev {
    left: 0;
}

.gallery-arrow-next {
    right: 0;
}

.gallery-arrow svg {
    width: 24px;
    height: 24px;
}

/* Gallery Controls Wrapper - Mobile: below image */
.gallery-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    min-width: 12px;
    min-height: 12px;
}

.gallery-dot.active,
.gallery-dot:hover {
    background: var(--color-gold);
    transform: scale(1.3);
}

.gallery-arrows-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Responsive Gallery */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-slider-track .gallery-item {
        width: calc((100% - 2 * var(--spacing-md)) / 3);
        min-width: calc((100% - 2 * var(--spacing-md)) / 3);
    }
}

@media (max-width: 768px) {
    .gallery-wrapper.gallery-slider {
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    
    .gallery-container {
        width: 100%;
        overflow: hidden;
        order: 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-slider-track {
        display: flex;
        transition: transform 0.3s ease;
        will-change: transform;
    }
    
    .gallery-slider-track .gallery-item {
        width: 100%;
        min-width: 100%;
        flex-shrink: 0;
        aspect-ratio: auto;
        min-height: auto;
        max-height: 65vh;
    }
    
    /* Mobile: Images fully visible with contain */
    .gallery-item img {
        max-width: 100%;
        max-height: 65vh;
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        margin: 0 auto;
    }
    
    /* Hide desktop arrows, show mobile controls below */
    .gallery-arrow {
        position: static;
        transform: none;
        width: 50px;
        height: 50px;
        background: var(--color-white);
        border: 2px solid var(--color-indigo);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: var(--color-indigo);
        box-shadow: var(--shadow-md);
        -webkit-tap-highlight-color: transparent;
    }
    
    .gallery-arrow:hover,
    .gallery-arrow:active {
        background: var(--color-indigo);
        color: var(--color-white);
        transform: scale(1.1);
        box-shadow: var(--shadow-lg);
    }
    
    .gallery-arrow-prev,
    .gallery-arrow-next {
        left: auto;
        right: auto;
    }
    
    /* Gallery controls below image */
    .gallery-controls {
        order: 2;
        margin-top: var(--spacing-md);
        padding: var(--spacing-sm) 0;
        width: 100%;
    }
    
    .gallery-pagination {
        margin-bottom: var(--spacing-sm);
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
    
    .gallery-arrows-wrapper {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .gallery-wrapper.gallery-slider {
        padding: 0;
    }
    
    .gallery-slider-track .gallery-item {
        max-height: 60vh;
    }
    
    /* Further optimize gallery images on very small screens */
    .gallery-item img {
        max-width: 100%;
        max-height: 60vh;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
    
    .gallery-controls {
        margin-top: var(--spacing-sm);
        padding: var(--spacing-xs) 0;
    }
    
    .gallery-arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .gallery-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }
}

@media (max-width: 480px) {
    .testimonials-slider-wrapper {
        padding: 0;
    }
    
    /* Hide all swiper arrows on mobile */
    .testimonials-swiper-prev,
    .testimonials-swiper-next {
        display: none !important;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slider-track .gallery-item {
        width: 100%;
        min-width: 100%;
    }
    
    /* Further optimize gallery images on very small screens */
    .gallery-item img {
        max-width: 100vw;
        max-height: 65vh;
        object-fit: cover;
    }
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 58, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
    animation: zoomIn var(--transition-base);
    padding: var(--spacing-md);
    box-sizing: border-box;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    display: block;
    margin: 0 auto;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    border-radius: 50%;
    z-index: 10000;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile optimization for lightbox */
@media (max-width: 768px) {
    .lightbox {
        padding: var(--spacing-sm);
        align-items: center;
        justify-content: center;
    }
    
    .lightbox-content {
        max-width: 100vw;
        max-height: 100vh;
        width: 100%;
        height: 100%;
        padding: var(--spacing-md) var(--spacing-sm);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .lightbox-content img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .lightbox-close:hover {
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 480px) {
    .lightbox-content {
        padding: var(--spacing-sm) var(--spacing-xs);
    }
    
    .lightbox-content img {
        max-height: 65vh;
        border-radius: 6px;
    }
    
    .lightbox-close {
        top: 5px;
        right: 5px;
        font-size: 1.75rem;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

body.lightbox-open {
    overflow: hidden;
}

body.menu-open {
    overflow: hidden;
    position: relative;
}

/* ============================================
   TEAM SECTION - Circular Profiles
   ============================================ */
.team-section {
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    justify-items: center;
}

.team-member {
    text-align: center;
    position: relative;
}

.team-member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-md);
    border: 4px solid var(--color-gold);
    position: relative;
    transition: var(--transition-base);
}

.team-member:hover .team-member-image {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

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

.team-member-bio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 58, 0.5);
    color: var(--color-white);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
    border-radius: 50%;
    text-align: center;
    font-size: 0.9rem;
}

.team-member:hover .team-member-bio {
    opacity: 1;
}

.team-member-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-indigo-dark);
}

.team-member-role {
    color: var(--color-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   EVENTS SECTION - Timeline
   ============================================ */
.events-section {
    background: var(--color-indigo-dark);
    color: var(--color-white);
}

.events-section .section-title {
    color: var(--color-white);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    backdrop-filter: blur(10px);
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.event-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.event-date,
.event-location {
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
}

.event-date strong,
.event-location strong {
    color: var(--color-gold);
    margin-right: var(--spacing-xs);
}

.no-events {
    text-align: center;
    color: var(--color-white);
    opacity: 0.7;
    padding: var(--spacing-xl);
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: var(--spacing-xl);
    width: 50%;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--spacing-xl);
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--spacing-xl);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xs);
}

.timeline-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
}

.countdown-timer {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.countdown-item {
    text-align: center;
    padding: var(--spacing-sm);
    background: rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    min-width: 70px;
}

.countdown-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gold);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-white);
    opacity: 0.8;
}

/* ============================================
   CONTACT SECTION - Split Screen
   ============================================ */
.contact-section {
    background: var(--color-cream);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.contact-detail-item {
    font-size: 1.1rem;
    color: var(--color-gray-dark);
}

.contact-detail-item strong {
    color: var(--color-indigo-dark);
    margin-right: var(--spacing-xs);
}

.contact-detail-item a {
    color: var(--color-indigo);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: var(--color-gold);
}

.contact-facebook-link {
    margin-top: var(--spacing-sm);
}

.contact-facebook-link .facebook-link {
    display: inline-flex;
    align-items: center;
    color: #1877f2;
    font-weight: 500;
}

.contact-facebook-link .facebook-link:hover {
    color: #0d5dbf;
    text-decoration: underline;
}

.contact-facebook-link .facebook-link svg {
    flex-shrink: 0;
}

.contact-facebook {
    margin: var(--spacing-sm) 0;
    text-align: center;
}

.contact-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-copper));
    margin: var(--spacing-sm) auto;
    position: relative;
}

.contact-facebook-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-indigo-dark);
    margin-top: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.fb-page-wrapper {
    margin-bottom: var(--spacing-md);
}

.contact-facebook iframe {
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    min-height: 600px;
}

.facebook-fallback {
    margin-top: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--color-gray-light);
    border-radius: 8px;
}

.facebook-fallback p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-gray-dark);
}

.contact-form {
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-indigo-dark);
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.contact-message {
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.contact-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-indigo-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--color-beige);
    border-radius: 5px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--color-indigo);
    color: var(--color-white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn:hover {
    background: var(--color-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--color-gold);
}

.btn-gold:hover {
    background: var(--color-gold-light);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-indigo-dark);
    color: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-widget h3 {
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition-base);
}

.footer-widget a:hover {
    opacity: 1;
    color: var(--color-gold);
}

.social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    color: var(--color-white);
}

.social-icon:hover {
    background: var(--color-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.footer-separator {
    margin: 0 var(--spacing-xs);
    opacity: 0.5;
}

.footer-bottom a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

/* Footer Mobile Styles */
@media (max-width: 768px) {
    .footer-separator {
        display: none;
    }
    
    .footer-bottom p {
        flex-direction: column;
        gap: var(--spacing-xs);
        align-items: center;
        text-align: center;
    }
    
    .footer-copyright,
    .footer-credits {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   ADDITIONAL SECTIONS
   ============================================ */
.newsletter-section {
    background: var(--color-indigo);
    color: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.testimonials-section {
    background: var(--color-white);
    padding: var(--spacing-xl) var(--spacing-md);
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial {
    text-align: center;
    padding: var(--spacing-lg);
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-indigo-dark);
}

.partners-section {
    background: var(--color-gray-light);
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}

.partners-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: var(--spacing-lg);
}

.partners-slider-track {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    animation: partners-slide 60s linear infinite;
    will-change: transform;
}

.partners-slider-track:hover {
    animation-play-state: paused;
}

.partner-logo-slide {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    background: transparent;
    transition: var(--transition-base);
}

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

.partner-logo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-base);
}

@keyframes partners-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.no-partners {
    text-align: center;
    color: var(--color-gray);
    padding: var(--spacing-xl);
    font-style: italic;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
}

.partner-logo {
    opacity: 0.6;
    transition: var(--transition-base);
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   SWIPER SLIDERS STYLING
   ============================================ */
.repertoire-slider-wrapper,
.team-slider-wrapper,
.testimonials-slider-wrapper {
    position: relative;
    padding: 0 70px;
    margin: var(--spacing-lg) 0;
}

.events-slider-wrapper {
    position: relative;
    padding: 0;
    margin: var(--spacing-lg) 0;
    padding-bottom: 80px;
}

.repertoire-swiper,
.events-swiper,
.team-swiper,
.testimonials-swiper {
    width: 100%;
    overflow: hidden;
}

.repertoire-swiper .swiper-slide,
.events-swiper .swiper-slide,
.team-swiper .swiper-slide,
.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.repertoire-swiper .swiper-slide > *,
.events-swiper .swiper-slide > *,
.team-swiper .swiper-slide > *,
.testimonials-swiper .swiper-slide > * {
    width: 100%;
}

/* Optimize images in Swiper slides for mobile */
.repertoire-swiper .swiper-slide img,
.events-swiper .swiper-slide img,
.team-swiper .swiper-slide img,
.testimonials-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .repertoire-swiper .swiper-slide img,
    .events-swiper .swiper-slide img,
    .team-swiper .swiper-slide img,
    .testimonials-swiper .swiper-slide img {
        max-width: 100vw;
        max-height: 70vh;
        object-fit: contain;
        width: 100%;
        height: auto;
    }
}

/* Swiper Navigation Arrows */
.repertoire-swiper-next,
.repertoire-swiper-prev,
.events-swiper-next,
.events-swiper-prev,
.team-swiper-next,
.team-swiper-prev,
.testimonials-swiper-next,
.testimonials-swiper-prev {
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 2px solid var(--color-indigo);
    border-radius: 50%;
    color: var(--color-indigo);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.repertoire-swiper-next:focus,
.repertoire-swiper-prev:focus,
.events-swiper-next:focus,
.events-swiper-prev:focus,
.team-swiper-next:focus,
.team-swiper-prev:focus,
.testimonials-swiper-next:focus,
.testimonials-swiper-prev:focus,
.repertoire-swiper-next:active,
.repertoire-swiper-prev:active,
.events-swiper-next:active,
.events-swiper-prev:active,
.team-swiper-next:active,
.team-swiper-prev:active,
.testimonials-swiper-next:active,
.testimonials-swiper-prev:active {
    outline: none !important;
    border: 2px solid var(--color-indigo);
    -webkit-tap-highlight-color: transparent;
}

.repertoire-swiper-next::after,
.repertoire-swiper-prev::after,
.events-swiper-next::after,
.events-swiper-prev::after,
.team-swiper-next::after,
.team-swiper-prev::after,
.testimonials-swiper-next::after,
.testimonials-swiper-prev::after {
    font-size: 18px;
    font-weight: 700;
}

.repertoire-swiper-next:hover,
.repertoire-swiper-prev:hover,
.events-swiper-next:hover,
.events-swiper-prev:hover,
.team-swiper-next:hover,
.team-swiper-prev:hover,
.testimonials-swiper-next:hover,
.testimonials-swiper-prev:hover {
    background: var(--color-indigo);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
    outline: none !important;
}

.repertoire-swiper-prev,
.team-swiper-prev {
    left: 0;
}

.repertoire-swiper-next,
.team-swiper-next {
    right: 0;
}

.testimonials-swiper-prev {
    left: 10px;
}

.testimonials-swiper-next {
    right: 10px;
}

/* Remove outline and focus ring for testimonials buttons */
.testimonials-swiper-next,
.testimonials-swiper-prev {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

.testimonials-swiper-next:focus,
.testimonials-swiper-prev:focus,
.testimonials-swiper-next:active,
.testimonials-swiper-prev:active,
.testimonials-swiper-next:hover,
.testimonials-swiper-prev:hover {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    box-shadow: var(--shadow-md);
}

.testimonials-swiper-next:hover,
.testimonials-swiper-prev:hover {
    box-shadow: var(--shadow-lg);
}

/* Events Slider Arrows - Positioned Below Content */
.events-swiper-prev {
    left: 50%;
    transform: translateX(-50%) translateY(0);
    top: auto;
    bottom: -60px;
    margin-left: -30px;
}

.events-swiper-next {
    right: 50%;
    transform: translateX(50%) translateY(0);
    top: auto;
    bottom: -60px;
    margin-right: -30px;
}

/* Swiper Pagination */
.repertoire-swiper-pagination,
.events-swiper-pagination,
.team-swiper-pagination,
.testimonials-swiper-pagination {
    position: relative;
    margin-top: var(--spacing-md);
    bottom: 0;
}

.repertoire-swiper-pagination .swiper-pagination-bullet,
.events-swiper-pagination .swiper-pagination-bullet,
.team-swiper-pagination .swiper-pagination-bullet,
.testimonials-swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-gray);
    opacity: 0.5;
    transition: var(--transition-base);
}

.repertoire-swiper-pagination .swiper-pagination-bullet-active,
.events-swiper-pagination .swiper-pagination-bullet-active,
.team-swiper-pagination .swiper-pagination-bullet-active,
.testimonials-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-gold);
    opacity: 1;
    transform: scale(1.2);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        gap: var(--spacing-md);
    }
    
    /* About Section Mobile Optimization */
    .about-section .section-title {
        font-size: clamp(24px, 5vw, 36px);
        line-height: 1.5;
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-sm);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        padding: 0;
        overflow-x: hidden;
    }
    
    .about-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .about-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
    }
    
    .about-text {
        padding: 20px;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .about-text h1,
    .about-text h2,
    .about-text h3,
    .about-text h4,
    .about-text h5,
    .about-text h6 {
        font-size: clamp(20px, 4vw, 28px);
        line-height: 1.5;
        margin-bottom: 15px;
        font-weight: 600;
    }
    
    .about-text p {
        font-size: clamp(16px, 2.5vw, 18px);
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .about-text ul,
    .about-text ol {
        font-size: clamp(16px, 2.5vw, 18px);
        line-height: 1.6;
        margin-bottom: 15px;
        padding-left: 20px;
    }
    
    .about-text li {
        margin-bottom: 10px;
        line-height: 1.6;
    }
    
    .about-text a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .about-text blockquote,
    .about-text .quote {
        font-size: clamp(16px, 2.5vw, 20px);
        line-height: 1.6;
        margin: 15px 0;
        padding: 15px 20px;
        padding-left: 20px;
    }
    
    .about-text img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 15px 0;
    }
    
    .about-text table {
        width: 100%;
        max-width: 100%;
        font-size: clamp(14px, 2vw, 16px);
        overflow-x: auto;
        display: block;
    }
    
    .about-text iframe,
    .about-text embed,
    .about-text object,
    .about-text video {
        max-width: 100%;
        height: auto;
    }
    
    .contact-details {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .contact-form {
        padding: var(--spacing-md);
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .contact-facebook iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .event-card {
        padding: var(--spacing-md);
    }
    
    .event-title {
        font-size: 1.25rem;
    }
    
    .partners-slider-wrapper {
        margin-top: var(--spacing-md);
    }
    
    .partner-logo-slide {
        width: 140px;
        height: 90px;
    }
    
    .partners-slider-track {
        gap: var(--spacing-md);
        animation-duration: 40s;
    }
    
    /* Swiper Sliders Mobile - Hide arrows, keep touch/swipe */
    .repertoire-slider-wrapper,
    .events-slider-wrapper,
    .team-slider-wrapper {
        padding: 0;
    }
    
    .testimonials-slider-wrapper {
        padding: 0;
    }
    
    /* Hide all Swiper arrows on mobile */
    .repertoire-swiper-next,
    .repertoire-swiper-prev,
    .events-swiper-next,
    .events-swiper-prev,
    .team-swiper-next,
    .team-swiper-prev,
    .testimonials-swiper-next,
    .testimonials-swiper-prev {
        display: none !important;
    }
    
    /* Hide gallery arrows on mobile */
    .gallery-arrow {
        display: none !important;
    }
    
    .gallery-wrapper.gallery-slider {
        padding: 0;
    }
    
    .repertoire-swiper-next::after,
    .repertoire-swiper-prev::after,
    .events-swiper-next::after,
    .events-swiper-prev::after,
    .team-swiper-next::after,
    .team-swiper-prev::after,
    .testimonials-swiper-next::after,
    .testimonials-swiper-prev::after {
        font-size: 16px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-md);
    }
}

/* Mobile Menu Styles - Optimized for all browsers */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: -webkit-box !important;
        display: -webkit-flex !important;
        display: -ms-flexbox !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        flex-shrink: 0;
        background: rgba(26, 31, 58, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    .menu-toggle span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--color-white) !important;
        width: 22px;
        height: 2.5px;
        margin: 3px 0;
    }
    
    /* Hide 2nd and 4th spans on mobile for clean 3-line design */
    .menu-toggle span:nth-child(2),
    .menu-toggle span:nth-child(4) {
        display: none !important;
    }
    
    .header-container {
        position: relative;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    /* Fix header text overlap - stack vertically on mobile */
    .header-titles {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        max-width: calc(100% - 60px); /* Leave space for hamburger */
    }
    
    .site-logo {
        font-size: 1rem;
        flex: 1;
        min-width: 0; /* Allow flex shrinking */
        min-height: 44px; /* Ensure touch target size */
        padding: 8px 12px; /* Add padding for easier touch */
        margin: -8px -12px; /* Compensate for padding to maintain layout */
        border-radius: 6px; /* Rounded corners for better touch feel */
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2); /* Touch feedback */
        transition: background-color 0.2s ease, transform 0.1s ease;
        display: flex;
        align-items: center;
        cursor: pointer;
        position: relative;
        z-index: 10; /* Ensure link is above other elements */
        pointer-events: auto !important; /* Ensure link is clickable */
        -webkit-touch-callout: none; /* Prevent callout on long press */
    }
    
    .site-logo:active {
        background-color: rgba(255, 255, 255, 0.1);
        transform: scale(0.98);
        -webkit-transform: scale(0.98);
    }
    
    .site-logo .site-title {
        font-size: clamp(16px, 4vw, 20px);
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none; /* Prevent text selection issues, but allow parent link to work */
        user-select: none;
        -webkit-user-select: none;
        position: relative;
        z-index: 1;
    }
    
    .site-logo .site-subtitle {
        font-size: clamp(12px, 3vw, 14px);
        line-height: 1.3;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        pointer-events: none; /* Prevent text selection issues, but allow parent link to work */
        user-select: none;
        -webkit-user-select: none;
        position: relative;
        z-index: 1;
    }
    
    /* Ensure header-titles doesn't block clicks */
    .site-logo .header-titles {
        pointer-events: none;
        position: relative;
        z-index: 1;
    }
    
    /* Custom logo image adjustments for mobile */
    .site-logo img {
        max-height: 40px;
        max-width: 100%;
    }
    
    /* Reduce header padding on mobile */
    .site-header {
        padding: 10px 0;
    }
    
    .site-header.scrolled {
        padding: 8px 0;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        background: var(--color-indigo-dark);
        -webkit-transition: right 0.3s ease;
        -moz-transition: right 0.3s ease;
        -o-transition: right 0.3s ease;
        transition: right 0.3s ease;
        padding: 80px var(--spacing-lg) var(--spacing-lg);
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        z-index: 1001;
        -webkit-box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 0;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin: 0;
    }
    
    .main-navigation a {
        display: block;
        padding: var(--spacing-md);
        width: 100%;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .main-navigation a::after {
        display: none;
    }
    
    .menu-overlay {
        display: block;
    }
}

/* Additional mobile optimizations */
@media screen and (max-width: 480px) {
    .main-navigation {
        width: 90%;
        padding: 70px var(--spacing-md) var(--spacing-md);
    }
    
    .menu-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        background: rgba(26, 31, 58, 0.9);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
        -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.25);
    }
    
    .menu-toggle span {
        width: 20px;
        height: 2.5px;
        margin: 3px 0;
    }
    
    /* Ensure 3-line design on very small screens */
    .menu-toggle span:nth-child(2),
    .menu-toggle span:nth-child(4) {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .repertoire-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }
    
    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
    
    /* Further reduce header text sizes on very small screens */
    .site-logo {
        min-height: 44px; /* Maintain touch target size */
        padding: 8px 10px;
        margin: -8px -10px;
        position: relative;
        z-index: 10; /* Ensure link is above other elements */
        pointer-events: auto !important; /* Ensure link is clickable */
    }
    
    .site-logo .site-title {
        font-size: clamp(14px, 4vw, 18px);
    }
    
    .site-logo .site-subtitle {
        font-size: clamp(11px, 3vw, 13px);
    }
    
    .header-titles {
        gap: 3px;
    }
    
    .header-container {
        padding: 0 var(--spacing-xs);
    }
    
    /* Ensure logo image doesn't get too large */
    .site-logo img {
        max-height: 35px;
    }
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--color-indigo-dark) 0%, var(--color-indigo) 100%);
    padding: var(--spacing-xxl) var(--spacing-md);
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.page-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--color-white);
    margin: 0;
}

.content-area {
    padding: var(--spacing-xl) 0;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    overflow: hidden;
    height: 220px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    min-height: auto;
}

.service-content .btn {
    white-space: nowrap;
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
    align-self: flex-start;
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-title a {
    color: var(--color-indigo-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.service-title a:hover {
    color: var(--color-gold);
}

.service-excerpt {
    color: var(--color-gray);
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    flex-grow: 1;
}

/* Subgallery Grid */
.subgallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.subgallery-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.subgallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.subgallery-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.subgallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.subgallery-card:hover .subgallery-image img {
    transform: scale(1.05);
}

.subgallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subgallery-card:hover .subgallery-overlay {
    opacity: 1;
}

.subgallery-count {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 600;
}

.subgallery-content {
    padding: var(--spacing-md);
}

.subgallery-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.subgallery-title a {
    color: var(--color-indigo-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.subgallery-title a:hover {
    color: var(--color-gold);
}

.subgallery-excerpt {
    color: var(--color-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Subgallery Single Page */
.subgallery-featured-image {
    margin-bottom: var(--spacing-xl);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.subgallery-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.subgallery-description {
    margin-bottom: var(--spacing-xxl);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.subgallery-description p {
    margin-bottom: var(--spacing-md);
}

/* Subgallery Slider */
.subgallery-slider-wrapper {
    margin-top: var(--spacing-xxl);
}

.subgallery-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: visible;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.subgallery-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-gray-light);
}

.subgallery-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.subgallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-light);
    min-height: 500px;
    padding: var(--spacing-md);
    box-sizing: border-box;
    width: 100%;
}

.subgallery-slide img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Desktop: Arrows positioned absolutely */
.subgallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.subgallery-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.subgallery-arrow svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-indigo-dark);
}

.subgallery-arrow-prev {
    left: 20px;
}

.subgallery-arrow-next {
    right: 20px;
}

/* Controls wrapper - Mobile: below image */
.subgallery-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.subgallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.subgallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0;
    padding: 0;
}

.subgallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    min-width: 12px;
    min-height: 12px;
}

.subgallery-dot.active,
.subgallery-dot:hover {
    background: var(--color-gold);
    transform: scale(1.3);
}

.subgallery-arrows-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Mobile optimizations for subgallery slider */
@media (max-width: 768px) {
    .subgallery-slider-wrapper {
        margin-top: var(--spacing-lg);
    }
    
    .subgallery-slider {
        max-width: 100%;
        border-radius: 8px;
        margin: 0;
        overflow: visible;
        box-shadow: none;
    }
    
    .subgallery-container {
        border-radius: 8px;
        overflow: hidden;
    }
    
    .subgallery-slider-track {
        transition: transform 0.3s ease;
    }
    
    .subgallery-slide {
        min-height: auto;
        padding: var(--spacing-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .subgallery-slide img {
        max-width: 100%;
        max-height: 70vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 6px;
        display: block;
        margin: 0 auto;
    }
    
    /* Mobile: Move arrows below image */
    .subgallery-arrow {
        position: static;
        transform: none;
        width: 50px;
        height: 50px;
        background: var(--color-white);
        border: 2px solid var(--color-indigo);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-md);
        -webkit-tap-highlight-color: transparent;
    }
    
    .subgallery-arrow:hover,
    .subgallery-arrow:active {
        background: var(--color-indigo);
        color: var(--color-white);
        transform: scale(1.1);
        box-shadow: var(--shadow-lg);
    }
    
    .subgallery-arrow svg {
        stroke: var(--color-indigo);
    }
    
    .subgallery-arrow:hover svg,
    .subgallery-arrow:active svg {
        stroke: var(--color-white);
    }
    
    .subgallery-arrow-prev,
    .subgallery-arrow-next {
        left: auto;
        right: auto;
    }
    
    /* Controls below image on mobile */
    .subgallery-controls {
        order: 2;
        margin-top: var(--spacing-md);
        padding: var(--spacing-sm) 0;
        width: 100%;
    }
    
    .subgallery-pagination {
        margin-bottom: var(--spacing-sm);
    }
    
    .subgallery-dots {
        gap: 8px;
    }
    
    .subgallery-dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }
    
    .subgallery-arrows-wrapper {
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .subgallery-slider {
        margin: 0;
        border-radius: 0;
    }
    
    .subgallery-container {
        border-radius: 0;
    }
    
    .subgallery-slide {
        min-height: auto;
        padding: var(--spacing-xs);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .subgallery-slide img {
        max-width: 100%;
        max-height: 65vh;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 4px;
        display: block;
        margin: 0 auto;
    }
    
    .subgallery-controls {
        margin-top: var(--spacing-sm);
        padding: var(--spacing-xs) 0;
    }
    
    .subgallery-arrow {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .subgallery-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .subgallery-dots {
        gap: 6px;
    }
    
    .subgallery-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }
}

/* About Page */
.about-page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-page-image {
    margin-bottom: var(--spacing-xl);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-page-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-page-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
}

.about-page-text p {
    margin-bottom: var(--spacing-md);
}

.no-content {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--color-gray);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .subgallery-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .subgallery-arrow {
        width: 40px;
        height: 40px;
    }
    
    .subgallery-arrow-prev {
        left: 10px;
    }
    
    .subgallery-arrow-next {
        right: 10px;
    }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignleft {
    float: left;
    margin: 0 var(--spacing-md) var(--spacing-md) 0;
}

.alignright {
    float: right;
    margin: 0 0 var(--spacing-md) var(--spacing-md);
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-top: var(--spacing-xs);
}



