/* ==========================================================================
   MON FÉERIE - PREMIUM PRESENTATION STYLESHEET
   Sorkunlu Textile - 2026
   ========================================================================== */

/* Design Tokens & Root Variables */
:root {
    --color-bg-dark: #0f172a;
    --color-bg-dark-light: #1e293b;
    --color-bg-light: #fafaf9;
    --color-bg-light-grey: #f5f5f4;
    
    --color-text-dark: #1e293b;
    --color-text-muted: #64748b;
    --color-text-light: #f8fafc;
    --color-text-light-muted: #cbd5e1;
    
    --color-accent-gold: #d4af37;
    --color-accent-gold-hover: #f1c40f;
    --color-accent-gold-glow: rgba(212, 175, 55, 0.2);
    
    --color-burgundy: #7c2d12;
    --color-navy: #1e3a8a;
    --color-pink: #db2777;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Montserrat', -apple-system, sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.25s ease-out;
}

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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Hide scrollbars of the main body, since we navigate by slides */
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-bg-dark);
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .navbar {
    background: rgba(250, 250, 249, 0.85);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .nav-logo {
    color: var(--color-text-dark);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
}

.divider {
    margin: 0 12px;
    color: var(--color-accent-gold);
    opacity: 0.5;
}

.sub-brand {
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0.8;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .nav-btn {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text-dark);
}

.nav-btn:hover {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 0 15px var(--color-accent-gold-glow);
}

/* ==========================================================================
   SLIDE SYSTEM
   ========================================================================== */
.presentation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

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

.slide-content {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    padding: 100px 40px 90px 40px; /* offset for nav and control bars */
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Slide Typography & Titles */
.slide-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 15px;
    display: inline-block;
}

.slide-tag.light {
    color: #e2e8f0;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.slide-title.white {
    color: var(--color-text-light);
}

.accent-text {
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    font-style: italic;
}

.slide-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.slide-desc.light {
    color: var(--color-text-light-muted);
}

/* ==========================================================================
   SLIDE 1: COVER LAYOUT
   ========================================================================== */
.cover-layout {
    align-items: center;
    text-align: center;
    color: var(--color-text-light);
}

.logo-container {
    width: 140px;
    height: 140px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.brand-logo-img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 78px;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 15px;
    color: var(--color-text-light);
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.collection-subtitle {
    font-size: 14px;
    letter-spacing: 8px;
    color: var(--color-accent-gold);
    margin-bottom: 10px;
}

.gold-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
    margin: 20px auto;
}

.intro-desc {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto 40px auto;
    color: var(--color-text-light-muted);
    font-weight: 300;
}

.cover-footer {
    display: flex;
    gap: 30px;
}

.badge {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-text-light-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge i {
    color: var(--color-accent-gold);
}

/* ==========================================================================
   SLIDE 2: SPLIT LAYOUT (50/50)
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.left-col {
    display: flex;
    flex-direction: column;
}

.gold-line-left {
    width: 60px;
    height: 2px;
    background: var(--color-accent-gold);
    margin-bottom: 25px;
}

.philosophy-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    gap: 20px;
    background: rgba(0, 0, 0, 0.02);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 3px solid var(--color-accent-gold);
}

body[data-slide-theme="dark"] .feature-item {
    background: rgba(255, 255, 255, 0.03);
}

.feature-icon {
    font-size: 24px;
    color: var(--color-accent-gold);
    margin-top: 3px;
}

.feature-text h3 {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
    color: inherit;
}

.feature-text p {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

body[data-slide-theme="dark"] .feature-text p {
    color: var(--color-text-light-muted);
}

.right-col {
    width: 100%;
    height: 480px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.shadow-lux {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

body[data-slide-theme="dark"] .shadow-lux {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.full-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.image-wrapper:hover .full-cover-img {
    transform: scale(1.03);
}

.img-overlay-card {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
}

.img-overlay-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--color-accent-gold);
}

.img-overlay-card p {
    font-size: 13px;
    color: var(--color-text-light-muted);
    margin: 0;
}

/* ==========================================================================
   SLIDE 3: SHOWCASE LAYOUT (INTERACTIVE GALLERY)
   ========================================================================== */
.showcase-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.filter-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.05);
}

body[data-slide-theme="dark"] .filter-tabs {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255,255,255,0.05);
}

.filter-tab {
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

body[data-slide-theme="dark"] .filter-tab {
    color: var(--color-text-light-muted);
}

.filter-tab.active {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

body[data-slide-theme="light"] .filter-tab.active {
    background: var(--color-bg-dark-light);
    color: var(--color-text-light);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 35px;
    height: 400px;
}

.grid-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-tag {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-accent-gold);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.btn-zoom {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition-fast);
}

.btn-zoom:hover {
    background: #f8fafc;
    border-color: var(--color-accent-gold);
}

.grid-card .image-container {
    width: 100%;
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    background: #fcfbf9;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    cursor: pointer;
}

.grid-card .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.mockup-card .image-container img {
    object-fit: cover;
}

.grid-card .image-container:hover img {
    transform: scale(1.02);
}

.catalog-info-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 10px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item .value {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-dark);
}

.model-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 18px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.highlight-item strong {
    font-size: 13px;
    color: var(--color-text-dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.highlight-item span {
    font-size: 11px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* ==========================================================================
   SLIDE 4: FABRIC/MATERIALS LAYOUT (DARK)
   ========================================================================== */
.material-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.material-card {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 14px;
    transition: var(--transition-fast);
}

.material-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
}

.m-card-icon {
    font-size: 28px;
    color: var(--color-accent-gold);
    background: rgba(212, 175, 55, 0.1);
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.m-card-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.m-card-content p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-light-muted);
}

/* ==========================================================================
   SLIDE 5: CERTIFICATIONS
   ========================================================================== */
.cert-item-box {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    transition: var(--transition-fast);
}

.cert-item-box:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border-color: var(--color-accent-gold);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cert-badge {
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
}

.oeko-tex-color {
    background: #00877a; /* Green teal matching OEKO TEX */
}

.lenzing-color {
    background: #005a9c; /* Blue matching Lenzing */
}

.cert-num {
    font-size: 11px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.cert-body p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.btn-cert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-dark);
    text-decoration: none;
    border-bottom: 2px solid var(--color-accent-gold);
    padding-bottom: 2px;
    transition: var(--transition-fast);
}

.btn-cert-link:hover {
    color: var(--color-accent-gold);
    border-color: transparent;
}

.pdf-interactive-view {
    height: 520px;
}

.pdf-container-card {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pdf-card-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pdf-card-header span {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-dark);
}

.pdf-icon {
    color: #ef4444;
    font-size: 18px;
}

.pdf-toggle-buttons {
    display: flex;
    background: #e2e8f0;
    padding: 3px;
    border-radius: 6px;
}

.pdf-toggle-btn {
    border: none;
    background: transparent;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.pdf-toggle-btn.active {
    background: white;
    color: var(--color-text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.pdf-iframe-wrapper {
    flex: 1;
    width: 100%;
    background: #e2e8f0;
}

.pdf-iframe-wrapper iframe {
    border: none;
}

/* ==========================================================================
   SLIDE 6: CAD REPEATS & DRAWINGS
   ========================================================================== */
.cad-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
}

.cad-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.btn-primary {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 15px rgba(15,23,42,0.25);
}

.btn-primary:hover {
    background: var(--color-accent-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 20px var(--color-accent-gold-glow);
}

.cad-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 35px;
    height: 430px;
}

.cad-info-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
    height: 100%;
    overflow-y: auto;
}

.cad-info-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-dark);
}

.cad-info-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.cad-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cad-table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-muted);
    padding: 12px 10px;
    border-bottom: 2px solid #e2e8f0;
}

.cad-table td {
    padding: 12px 10px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    color: var(--color-text-dark);
}

.cad-table tr:hover td {
    background-color: #faf8f5;
}

.cad-viewer-panel {
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cad-viewer-panel .panel-header {
    background: #fafafa;
    border-bottom: 1px solid #f1f1f1;
    padding: 10px 20px;
}

.cad-viewer-panel .panel-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.cad-iframe-wrapper {
    flex: 1;
    width: 100%;
}

.cad-iframe-wrapper iframe {
    border: none;
}

/* ==========================================================================
   SLIDE 7: CONTACT / FOOTER
   ========================================================================== */
.contact-layout {
    align-items: center;
    text-align: center;
    justify-content: center;
    color: var(--color-text-light);
}

.footer-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 5px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 850px;
    margin: 40px auto;
    width: 100%;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--color-accent-gold);
    transform: translateY(-5px);
}

.contact-card .icon {
    font-size: 30px;
    color: var(--color-accent-gold);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-text-light);
}

.contact-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-light-muted);
}

.copyright {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: 30px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   FLOATING CONTROL BAR (INDICATORS / ARROWS)
   ========================================================================== */
.control-bar {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 56px;
    padding: 0 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .control-bar {
    background: rgba(250, 250, 249, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.ctrl-btn {
    background: transparent;
    border: none;
    color: var(--color-text-light-muted);
    font-size: 15px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .ctrl-btn {
    color: var(--color-text-muted);
}

.ctrl-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--color-accent-gold);
}

body[data-slide-theme="light"] .ctrl-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-fast);
}

body[data-slide-theme="light"] .indicator-dot {
    background: rgba(0, 0, 0, 0.15);
}

.indicator-dot.active {
    background: var(--color-accent-gold);
    transform: scale(1.4);
    box-shadow: 0 0 8px var(--color-accent-gold);
}

/* ==========================================================================
   IMAGE MODAL
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
    border: 1px solid rgba(255,255,255,0.1);
    animation-name: zoomInModal;
    animation-duration: 0.3s;
}

@keyframes zoomInModal {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--color-text-light-muted);
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--color-accent-gold);
}

.modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 20px;
    padding: 15px 0;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-scale-x {
    transform: scaleX(0);
    animation: scaleX 1s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleX {
    to { transform: scaleX(1); }
}

/* Applies classes to trigger active animations in active slides only */
.slide.active .animate-fade-in {
    animation-play-state: running;
}
.slide.active .animate-slide-up {
    animation-play-state: running;
}
.slide.active .animate-scale-x {
    animation-play-state: running;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .right-col {
        height: 300px;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .cad-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    .slide-content {
        padding-top: 80px;
        overflow-y: auto;
    }
    .slide-title {
        font-size: 32px;
    }
    .main-title {
        font-size: 54px;
    }
}

@media (max-height: 768px) {
    .slide-content {
        padding-top: 80px;
        padding-bottom: 75px;
    }
    .right-col {
        height: 380px;
    }
    .showcase-grid {
        height: 320px;
    }
    .cad-grid {
        height: 350px;
    }
}
