/* ========== CSS RESET & BASE ========== */
:root {
    /* Dark Theme Variables */
    --bg-primary: #0a0a0f;
    --bg-secondary: #15151f;
    --bg-tertiary: #1e1e2d;
    --text-primary: #ffffff;
    --text-secondary: #b4b4cc;
    --text-tertiary: #8a8aa3;
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    --border-color: #2a2a3a;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(10, 10, 15, 0.95);
    --card-bg: rgba(30, 30, 45, 0.7);
    --modal-bg: rgba(10, 10, 15, 0.98);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
}

[data-theme="light"] {
    /* Light Theme Variables */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --accent-primary: #4f46e5;
    --accent-secondary: #7c3aed;
    --accent-gradient: linear-gradient(135deg, #4f46e5, #7c3aed, #db2777);
    --border-color: #e2e8f0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.9);
    --modal-bg: rgba(255, 255, 255, 0.98);
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #2563eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 8vw, 5rem); }
h2 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.title-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 2rem;
    color: var(--accent-primary);
}

.logo span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 900;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ========== LANGUAGE SELECTOR ========== */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 120px;
}

.language-btn:hover {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-color);
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.language-dropdown.show {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.language-search {
    position: relative;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.language-search input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.language-search i {
    position: absolute;
    left: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.language-list {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.language-list::-webkit-scrollbar {
    width: 6px;
}

.language-list::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

.language-list::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.language-item:hover {
    background: var(--bg-tertiary);
}

.language-item.active {
    background: rgba(99, 102, 241, 0.1);
}

.language-flag {
    font-size: 1.8rem;
    width: 40px;
    text-align: center;
}

.language-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

.language-name small {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.language-code {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    font-family: monospace;
    background: var(--bg-tertiary);
    padding: 4px 10px;
    border-radius: 6px;
}

/* Theme Toggle */
.theme-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    border-color: var(--accent-primary);
    transform: rotate(15deg);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 20px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
}

.hero-title-highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* ========== SECTION STYLES ========== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Products Section */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 15px 30px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.category-tab:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.category-tab.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-media {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    background: var(--bg-tertiary);
}

.product-media img,
.product-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-media img,
.product-card:hover .product-media video {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay-btn {
    padding: 12px 25px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .product-overlay-btn {
    transform: translateY(0);
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-specs {
    list-style: none;
    margin-top: 15px;
}

.product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.view-details {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all {
    text-align: center;
    margin: 60px 0;
}

.btn-view-all {
    padding: 18px 40px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
}

/* Showcase Sections */
.showcase-section {
    padding: 100px 0;
    position: relative;
}

.dark-section {
    background: var(--bg-secondary);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover img {
    transform: scale(1.1);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
}

.showcase-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.showcase-year {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background: var(--accent-primary);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Exhibition Navigation */
.year-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.year-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.year-tab {
    padding: 12px 25px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.year-tab:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.year-tab.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.year-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.year-nav {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.year-nav:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

.current-year-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-primary);
    min-width: 150px;
    text-align: center;
}

/* Stats */
.showcase-stats,
.exhibition-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-card,
.stat-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover,
.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.stat-card i,
.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.stat-card .stat-number,
.stat-item .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-card .stat-label,
.stat-item .stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.stat-item i {
    margin-bottom: 0;
    font-size: 2rem;
}

.stat-content {
    flex: 1;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--bg-tertiary);
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.filter-btn.active {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h4 {
    color: white;
    margin-bottom: 5px;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.load-more-container {
    text-align: center;
}

.btn-load-more {
    padding: 18px 40px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.btn-load-more .loading-text {
    display: none;
}

.btn-load-more.loading .loading-text {
    display: inline;
}

.btn-load-more.loading span:not(.loading-text) {
    display: none;
}

.gallery-stats {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    padding-right: 40px;
}

.about-description {
    margin-top: 30px;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.image-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px;
    color: white;
}

.overlay-content {
    text-align: center;
}

.overlay-content i {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
}

.overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-info {
    padding-right: 40px;
}

.contact-brand {
    margin-bottom: 40px;
}

.contact-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 15px;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-channel:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.contact-channel.whatsapp:hover {
    border-color: #25D366;
}

.contact-channel.email:hover {
    border-color: #EA4335;
}

.contact-channel.wechat:hover {
    border-color: #07C160;
    cursor: pointer;
}

.channel-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-channel.whatsapp .channel-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-channel.email .channel-icon {
    background: linear-gradient(135deg, #EA4335, #D14836);
}

.contact-channel.wechat .channel-icon {
    background: linear-gradient(135deg, #07C160, #05954E);
}

.channel-details {
    flex: 1;
}

.channel-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.channel-details p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.channel-status {
    font-size: 0.85rem;
    color: var(--success-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-social {
    margin-top: 40px;
}

.contact-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    border-color: transparent;
    color: white;
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: transparent;
    color: white;
}

.social-link.youtube:hover {
    background: #FF0000;
    border-color: transparent;
    color: white;
}

.social-link.linkedin:hover {
    background: #0077B5;
    border-color: transparent;
    color: white;
}

.social-link.twitter:hover {
    background: #1DA1F2;
    border-color: transparent;
    color: white;
}

.contact-form-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    padding: 18px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-description {
    margin: 20px 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-certifications {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--accent-primary);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-legal {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.legal-links a {
    color: var(--text-tertiary);
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--accent-primary);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
    transform: translateY(-3px);
}

/* ========== MODALS ========== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--modal-bg);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-secondary);
    border-radius: 25px;
    position: relative;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--text-primary);
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-tertiary);
    z-index: 10;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--accent-primary);
    color: white;
    transform: rotate(90deg);
}

/* Product Modal */
.product-modal-content {
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

/* Gallery Modal */
.gallery-modal-content {
    width: 90%;
    max-width: 1400px;
    max-height: 90vh;
}

.gallery-modal-body {
    padding: 20px;
}

/* WeChat Modal */
.wechat-modal-content {
    width: 90%;
    max-width: 500px;
}

.wechat-modal-body {
    padding: 40px;
    text-align: center;
}

.qr-container {
    margin-bottom: 30px;
}

.qr-container img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.wechat-info h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wechat-id {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.wechat-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-copy, .btn-save {
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-copy {
    background: var(--accent-primary);
    color: white;
    border: none;
}

.btn-save {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-copy:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

.btn-save:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Language Modal */
.language-modal-content {
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
}

.language-modal-body {
    padding: 40px;
}

.language-modal-body h3 {
    margin-bottom: 30px;
    text-align: center;
}

.mobile-language-list {
    max-height: 50vh;
    overflow-y: auto;
}

.mobile-language-list .language-item {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.mobile-language-list .language-item:last-child {
    border-bottom: none;
}

/* Success Modal */
.success-modal-content {
    width: 90%;
    max-width: 400px;
    text-align: center;
    padding: 50px 40px;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-modal-content h3 {
    margin-bottom: 15px;
}

.success-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.btn-success {
    padding: 15px 40px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#preloader p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 0;
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        display: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        width: 100%;
        justify-content: center;
    }
    
    .menu-icon {
        display: block;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        padding-right: 0;
    }
    
    .product-modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .year-navigation {
        flex-direction: column;
        align-items: stretch;
    }
    
    .year-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .gallery-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-buttons {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-stats,
    .exhibition-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .language-dropdown {
        position: fixed;
        top: 80px;
        left: 20px;
        right: 20px;
        width: auto;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .container {
        padding: 0 15px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .showcase-stats,
    .exhibition-stats {
        grid-template-columns: 1fr;
    }
    
    .wechat-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .product-modal-body,
    .contact-form-container {
        padding: 25px;
    }
}


/* ========== MOBILE OPTIMIZATIONS ========== */

/* Touch-friendly buttons and links */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn-primary, .btn-secondary, .btn-outline {
        min-height: 50px;
        padding: 15px 25px;
    }
    
    .nav-links a {
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    .category-tab, .year-tab, .filter-btn {
        min-height: 45px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Improve form inputs for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents iOS zoom on focus */
        padding: 16px;
    }
    
    /* Better scrolling on mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Adjust hero section for mobile */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 10px;
    }
    
    /* Product grid optimization */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    /* Gallery optimization */
    .gallery-item {
        aspect-ratio: 1;
    }
    
    /* Modal optimization */
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    /* Hide some elements on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Improve statistics display */
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Extra small devices */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Compact navigation */
    .nav-right {
        gap: 10px;
    }
    
    .language-btn {
        min-width: 80px;
        padding: 8px 12px;
    }
    
    .theme-btn {
        width: 40px;
        height: 40px;
    }
    
    .whatsapp-btn {
        padding: 10px 15px;
    }
    
    /* Adjust contact form */
    .contact-form-container {
        padding: 20px;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
}

/* Prevent horizontal scrolling */
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Improve performance on mobile */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    
    .hero-background {
        background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-tertiary) 100%);
    }
    
    /* Disable some animations on low-power devices */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* Fix iOS specific issues */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }
    
    .modal {
        padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    }
}

/* Fix viewport height on mobile */
@media (max-height: 700px) {
    .hero {
        min-height: 700px;
    }
}

/* Loading optimization */
#preloader {
    position: fixed;
    z-index: 9999;
}

/* Ensure images don't overflow */
img, video {
    max-width: 100%;
    height: auto;
}

/* Improve readability on mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
}

/* Fix tap highlight color */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Improve scrolling performance */
.scroll-container {
    -webkit-overflow-scrolling: touch;
}

/* Gallery thumbnails on mobile */
@media (max-width: 768px) {
    .gallery-thumbnail {
        width: 80px;
        height: 60px;
    }
    
    .thumb-box {
        width: 100px;
        height: 70px;
    }
}

/* Contact form mobile fixes */
@media (max-width: 768px) {
    .contact-channel {
        padding: 15px;
    }
    
    .channel-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Exhibition grid mobile */
@media (max-width: 768px) {
    .exhibition-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Factory showcase mobile */
@media (max-width: 768px) {
    .showcase-stats, .exhibition-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card, .stat-item {
        padding: 20px;
    }
    
    .stat-card .stat-number, .stat-item .stat-number {
        font-size: 1.8rem;
    }
}

/* Language selector mobile */
@media (max-width: 768px) {
    .language-dropdown {
        width: calc(100vw - 40px);
        left: 20px;
        right: 20px;
    }
}

/* Product hover effect on mobile */
@media (hover: none) {
    .product-card:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .showcase-item:hover img {
        transform: none;
    }
    
    .product-overlay {
        opacity: 1;
        transform: none;
    }
}

/* Add safe area for notch phones */
@supports (padding: max(0px)) {
    body, .navbar {
        padding-left: min(0vmin, env(safe-area-inset-left));
        padding-right: min(0vmin, env(safe-area-inset-right));
    }
    
    .hero {
        padding-top: max(0px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* Loading states for better UX */
.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

/* Error states */
.error-message {
    background: var(--danger-color);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.9rem;
}

/* Success states */
.success-message {
    background: var(--success-color);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.9rem;
}

/* Form validation styles */
input:invalid, textarea:invalid, select:invalid {
    border-color: var(--danger-color) !important;
}

input:valid, textarea:valid, select:valid {
    border-color: var(--success-color) !important;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Skip to main content for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-primary);
    color: white;
    padding: 8px;
    z-index: 9999;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --text-primary: #ffffff;
        --accent-primary: #ffff00;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Gallery image loading animation */
.gallery-image-loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Success animation */
.success-icon i {
    animation: bounce 0.5s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}