/* ============================================
   CLIMBING CUP - Main Stylesheet
   Modern, Bold Design for Czech Climbing
   ============================================ */

/* CSS Variables */
:root {
    --color-black: #0a0a0a;
    --color-white: #ffffff;
    --color-gray-100: #f7f7f7;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d4d4d4;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    
    --color-accent: #dc2626;
    --color-accent-dark: #b91c1c;
    --color-accent-light: #ef4444;
    
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 1px 2px 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 50px rgba(0,0,0,0.2);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 10vw, 8rem); line-height: 0.9; }
h2 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    font-size: 1rem;
    color: var(--color-gray-300);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    width: 100%;
    padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform var(--transition-normal);
}

.navbar-logo:hover img {
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.navbar-menu a {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-normal);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-cta {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.navbar-cta:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

/* Mobile Menu Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.navbar-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-normal);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Gradient overlays */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(220, 38, 38, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 50% 30% at 70% 80%, rgba(220, 38, 38, 0.08) 0%, transparent 40%);
}

/* Noise texture */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

/* Mountain/climbing graphic shapes */
.hero-shape {
    position: absolute;
    z-index: 0;
    opacity: 0.1;
}

.hero-shape-1 {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(135deg, transparent 40%, rgba(220, 38, 38, 0.1) 100%);
    clip-path: polygon(0 100%, 0 60%, 25% 40%, 45% 70%, 65% 30%, 85% 55%, 100% 20%, 100% 100%);
}

.hero-shape-2 {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    clip-path: polygon(0 100%, 0 70%, 20% 50%, 40% 80%, 60% 40%, 80% 65%, 100% 30%, 100% 100%);
}

.hero-shape-3 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero-shape-4 {
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.hero-shape-5 {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Grid pattern overlay */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.05); opacity: 0.2; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.hero-date {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-accent);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-title span {
    display: block;
}

.hero-title .line-1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    color: var(--color-gray-400);
    letter-spacing: 0.2em;
}

.hero-title .line-2 {
    font-size: clamp(4rem, 12vw, 12rem);
    color: var(--color-white);
    line-height: 0.85;
    margin: 0.5rem 0;
}

.hero-title .line-3 {
    font-size: clamp(2rem, 6vw, 5rem);
    color: var(--color-gray-300);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-gray-400);
    max-width: 600px;
    margin: 2rem auto;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-gray-600);
}

.btn-secondary:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-500);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gray-600), transparent);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

.section-divider {
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    margin: 1.5rem auto 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--color-gray-900);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: grayscale(20%);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-gray-700);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news {
    background: var(--color-black);
}

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

.news-card {
    background: var(--color-gray-900);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.news-card:hover::before {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: all var(--transition-normal);
}

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

.news-card-image-wrapper {
    overflow: hidden;
}

.news-card-content {
    padding: 2rem;
}

.news-card-date {
    font-size: 0.75rem;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.news-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
    color: var(--color-accent);
}

.news-card-excerpt {
    color: var(--color-gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
}

.news-card-link svg {
    transition: transform var(--transition-fast);
}

.news-card:hover .news-card-link svg {
    transform: translateX(5px);
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule {
    background: var(--color-gray-900);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.schedule-tab {
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--color-gray-700);
    color: var(--color-gray-400);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.schedule-tab:hover,
.schedule-tab.active {
    border-color: var(--color-accent);
    color: var(--color-white);
    background: rgba(220, 38, 38, 0.1);
}

.schedule-day {
    display: none;
}

.schedule-day.active {
    display: block;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-gray-800);
    align-items: center;
    transition: all var(--transition-normal);
}

.schedule-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 1rem;
}

.schedule-time {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.schedule-info h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.schedule-info p {
    font-size: 0.9rem;
}

.schedule-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    background: var(--color-black);
    padding-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%);
    transition: all var(--transition-slow);
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(220, 38, 38, 0);
    transition: background var(--transition-normal);
}

.gallery-item:hover::after {
    background: rgba(220, 38, 38, 0.2);
}

/* Large items */
.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: var(--color-gray-900);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-800);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent);
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    transition: transform var(--transition-normal);
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.8;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners {
    background: var(--color-black);
}

.partners-category {
    margin-bottom: 4rem;
}

.partners-category:last-child {
    margin-bottom: 0;
}

.partners-label {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gray-500);
    margin-bottom: 2rem;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.partner-logo {
    height: 60px;
    width: auto;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

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

.partners-category.hlavni .partner-logo {
    height: 80px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    background: var(--color-gray-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item-content h4 {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    margin-bottom: 0.25rem;
}

.contact-item-content p,
.contact-item-content a {
    color: var(--color-white);
    font-size: 1.1rem;
}

.contact-item-content a:hover {
    color: var(--color-accent);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-gray-700);
    color: var(--color-gray-400);
    transition: all var(--transition-normal);
}

.social-link:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(220, 38, 38, 0.1);
}

/* Contact Form */
.contact-form {
    background: var(--color-gray-800);
    padding: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gray-400);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-gray-900);
    border: 1px solid var(--color-gray-700);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

.form-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.form-submit:hover {
    background: var(--color-accent-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-black);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-gray-800);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-text {
    color: var(--color-gray-500);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@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);
    }
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .schedule-item {
        grid-template-columns: 120px 1fr;
    }
    
    .schedule-location {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-gray-900);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right var(--transition-normal);
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .schedule-tabs {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-gray-400); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   ENHANCED MOBILE & TABLET OPTIMIZATION
   ============================================ */

/* Tablet - 768px to 1024px */
@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-title .line-2 {
        font-size: clamp(2.5rem, 8vw, 5rem);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .schedule-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .schedule-time {
        width: auto;
    }
    
    .schedule-location {
        width: auto;
        text-align: left;
    }
}

/* Mobile - under 768px */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    /* Hero Mobile */
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-date {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-title .line-1 {
        font-size: 0.875rem;
        letter-spacing: 0.15em;
    }
    
    .hero-title .line-2 {
        font-size: clamp(2rem, 10vw, 3.5rem);
        line-height: 1.05;
        margin: 0.25em 0;
    }
    
    .hero-title .line-3 {
        font-size: clamp(1.25rem, 5vw, 2rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hide scroll indicator on mobile */
    .hero-scroll {
        display: none;
    }
    
    /* Navbar Mobile */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-logo img {
        height: 36px;
    }
    
    .navbar-cta {
        display: none;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .lang-switcher a {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
    
    /* Mobile Menu */
    .navbar-menu.active {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .navbar-menu.active li a {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    /* Section Headers Mobile */
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .section-label {
        font-size: 0.75rem;
    }
    
    /* About Mobile */
    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* News Mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-card-title {
        font-size: 1.25rem;
    }
    
    /* Schedule Mobile */
    .schedule-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .schedule-tab {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .schedule-item {
        padding: 1rem;
    }
    
    .schedule-time {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .schedule-info h4 {
        font-size: 1rem;
    }
    
    /* FAQ Mobile */
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    /* Partners Mobile */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partner-logo {
        max-height: 50px;
    }
    
    /* Contact Mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer Mobile */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Lightbox Mobile */
    .lightbox-content {
        width: 95vw;
        max-width: none;
    }
    
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .lightbox-prev {
        left: 5px;
    }
    
    .lightbox-next {
        right: 5px;
    }
    
    .lightbox-close {
        top: -35px;
        font-size: 1.5rem;
    }
}

/* Small Mobile - under 480px */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-title .line-2 {
        font-size: clamp(1.75rem, 12vw, 2.5rem);
    }
    
    /* Instagram Grid Mobile */
    .ig-feed-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2px;
    }
    
    .ig-reel-badge {
        padding: 0.25rem;
    }
    
    .ig-reel-badge svg {
        width: 14px;
        height: 14px;
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2px;
    }
    
    /* Stats Mobile */
    .about-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Buttons Mobile */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .ig-feed-item-icon,
    .gallery-grid-item::after {
        opacity: 0.7;
    }
    
    .ig-feed-item::after {
        background: rgba(0,0,0,0.1);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    /* Larger touch targets */
    .navbar-toggle {
        padding: 0.75rem;
    }
    
    .faq-question {
        min-height: 48px;
    }
    
    .schedule-tab {
        min-height: 44px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 3rem;
    }
    
    .hero-title .line-2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar-logo img {
        image-rendering: -webkit-optimize-contrast;
    }
}