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

:root {
    /* Light Theme (Default) */
    --primary-red: #da291c;
    --primary-red-light: #ff4d3c;
    --primary-red-dark: #b22222;
    --bg-light: #ffffff;
    --bg-offwhite: #faf9f8;
    --bg-gray: #f5f5f5;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #6b6b6b;
    --border-light: #e0e0e0;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.08);
    --gradient-gold: linear-gradient(135deg, #b8860b, #daa520);
    --gradient-red: linear-gradient(135deg, #da291c, #b22222);
}

[data-theme="dark"] {
    --bg-light: #121212;
    --bg-offwhite: #1e1e1e;
    --bg-gray: #2d2d2d;
    --text-dark: #ffffff;
    --text-gray: #e0e0e0;
    --text-light: #b0b0b0;
    --border-light: #333333;
    --card-bg: #2d2d2d;
    --shadow: 0 10px 30px rgba(0,0,0,0.3);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.4);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-gray);
    border-radius: 30px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    margin-left: 2rem;
}

.theme-toggle i {
    font-size: 14px;
    color: var(--text-dark);
    z-index: 2;
}

.theme-toggle .toggle-ball {
    position: absolute;
    width: 26px;
    height: 26px;
    background: var(--primary-red);
    border-radius: 50%;
    top: 1px;
    left: 1px;
    transition: transform 0.3s ease;
    z-index: 1;
}

[data-theme="dark"] .theme-toggle .toggle-ball {
    transform: translateX(30px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

[data-theme="dark"] .navbar {
    background: rgba(18, 18, 18, 0.95);
}

.navbar.scrolled {
    padding: 0.8rem 3rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-text span {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-offwhite) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    padding: 8rem 3rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(218,41,28,0.03) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(218,41,28,0.1);
    color: var(--primary-red);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    border: 1px solid rgba(218,41,28,0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(218,41,28,0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 10px 20px rgba(218,41,28,0.2);
}

.btn-primary:hover {
    background: var(--primary-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(218,41,28,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.hero-image-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary-red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(218,41,28,0.3);
}

/* ===== SECTION STYLES ===== */
.section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-subtitle {
    color: var(--primary-red);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ===== ABOUT SECTION ===== */
/* ===== IMPROVED ABOUT SECTION ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: clamp(2.5rem, 5vw, 4rem); /* Made much bigger */
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.2rem, 3vw, 1.8rem); /* Made smaller */
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    color: var(--text-gray);
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: 1px;
}

.section-title .red {
    color: var(--primary-red);
    font-weight: 600;
}
.about-tagline {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tagline-line {
    width: 50px;
    height: 2px;
    background: var(--primary-red);
}

.tagline-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-red);
}

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

.highlight-text {
    color: var(--primary-red);
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(218,41,28,0.1);
    z-index: -1;
}

/* Founder Note */
.founder-note {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(218,41,28,0.05) 0%, rgba(218,41,28,0.02) 100%);
    border-radius: 15px;
    position: relative;
    border-left: 3px solid var(--primary-red);
}

.founder-quote {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 2rem;
    color: var(--primary-red);
    opacity: 0.2;
}

.founder-note p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.founder-note strong {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.founder-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.signature-line {
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.signature-text {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* Improved About Image */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(218,41,28,0.3);
    animation: pulse 2s infinite;
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    text-align: center;
    min-width: 120px;
    border-bottom: 3px solid var(--primary-red);
}

.experience-badge .years {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
}

.experience-badge .years-text {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dark mode adjustments */
[data-theme="dark"] .founder-note {
    background: linear-gradient(135deg, rgba(218,41,28,0.15) 0%, rgba(218,41,28,0.05) 100%);
}

[data-theme="dark"] .experience-badge {
    background: var(--card-bg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-badge {
        bottom: -10px;
        left: 10px;
        padding: 1rem;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .founder-note {
        padding: 1rem;
    }
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(218,41,28,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-red);
    color: white;
    transform: rotateY(180deg);
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

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

/* ===== PRODUCTS SECTION ===== */
.products-section {
    background: var(--bg-offwhite);
}

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

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

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

.product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-content {
    padding: 2rem;
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.product-feature {
    background: var(--bg-gray);
    color: var(--text-dark);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-link:hover {
    gap: 1rem;
}

/* ===== EXHIBITIONS SECTION ===== */
.exhibitions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.exhibition-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
    transition: all 0.3s ease;
}

.exhibition-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.exhibition-date {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.exhibition-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.exhibition-location {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.exhibition-desc {
    color: var(--text-gray);
}

/* ===== DEALER SECTION ===== */
.dealer-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: white;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dealer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.dealer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.dealer-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.dealer-text {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.dealer-features {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.dealer-feature {
    text-align: center;
}

.dealer-feature i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.2);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.dealer-feature span {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.dealer-contact {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0,0,0,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.contact-item i {
    font-size: 1.2rem;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.btn-dealer {
    background: white;
    color: var(--primary-red);
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-dealer:hover {
    background: var(--text-dark);
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 5rem 3rem 2rem;
    background: #1a1a1a;
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-red);
}

.footer-about {
    color: #999;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: white;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-contact p {
    color: #999;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact i {
    color: var(--primary-red);
    width: 20px;
}

.footer-bottom {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-light);
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .exhibitions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FIX FOR DARK MODE NAVIGATION ===== */
[data-theme="dark"] .navbar {
    background: rgba(18, 18, 18, 0.95);
}

[data-theme="dark"] .nav-links a {
    color: var(--text-dark) !important; /* This will be white in dark mode */
}

[data-theme="dark"] .nav-links a:hover {
    color: var(--primary-red) !important;
}

[data-theme="dark"] .logo-text {
    color: var(--text-dark); /* For any text logo if present */
}

[data-theme="dark"] .nav-toggle {
    color: var(--text-dark);
}

/* Ensure the WordPress menu items also get the dark mode color */
[data-theme="dark"] .nav-links .menu-item a {
    color: var(--text-dark) !important;
}

[data-theme="dark"] .nav-links .menu-item a:hover {
    color: var(--primary-red) !important;
}

/* Fix for mobile menu in dark mode */
[data-theme="dark"] .nav-links.active {
    background: var(--bg-light);
}

/* Fix for theme toggle in dark mode */
[data-theme="dark"] .theme-toggle i {
    color: var(--text-dark);
}

/* ===== EXHIBITIONS TIMELINE ===== */
.exhibition-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Timeline vertical line */
.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-red), var(--primary-red), transparent);
    opacity: 0.3;
}

/* Timeline item */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    width: 100%;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Timeline dot */
.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--primary-red);
    border: 4px solid var(--bg-light);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 0 3px rgba(218,41,28,0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(218,41,28,0.3);
}

/* Timeline date */
.timeline-date {
    width: 120px;
    text-align: center;
    padding: 0.5rem;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-date {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    margin-left: 2rem;
}

.date-day {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-red);
    line-height: 1.3;
}

.date-year {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Timeline content */
.timeline-content {
    flex: 1;
    max-width: 400px;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-red);
}

.timeline-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-location i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

.timeline-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Hover details */
.timeline-hover-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.timeline-content:hover .timeline-hover-details {
    max-height: 200px;
    opacity: 1;
    margin-top: 1rem;
}

.details-inner {
    padding-top: 1rem;
    border-top: 1px dashed var(--border-light);
}

.details-badge {
    display: inline-block;
    background: rgba(218,41,28,0.1);
    color: var(--primary-red);
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-text {
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .timeline-dot {
    border-color: var(--bg-light);
}

[data-theme="dark"] .timeline-content {
    background: var(--card-bg);
}

/* Responsive */
@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        width: auto;
        margin: 0 0 0.5rem 0 !important;
        text-align: left;
    }
    
    .date-day, .date-year {
        display: inline;
        margin-right: 0.5rem;
    }
    
    .timeline-content {
        max-width: 100%;
        margin: 0 !important;
    }
}
