/* Global Styles */
:root {
    --black: #000000;
    --gold: #D4AF37;
    --gold-light: #F5E7A3;
    --gold-dark: #9E7E2D;
    --white: #FFFFFF;
    --dark-gray: #1A1A1A;
    --medium-gray: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    /* overflow: hidden; Prevent scrollbars on body */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

h2 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--gold);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* Presentation Container */
.presentation-container {
    width: 100%;
    height: 100vh; /* Use viewport height */
    overflow-y: scroll; /* Enable vertical scrolling */
    /* scroll-snap-type: y mandatory; Let JS handle scroll */
    /* scroll-behavior: smooth; Let JS handle smooth scroll */
}

/* Slide Styles */
.slide {
    width: 100%;
    height: 100vh; /* Ensure slide takes full viewport height */
    display: flex; /* Use flex to center content WITHIN the slide */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5%;
    scroll-snap-align: start;
    position: relative; /* For logo positioning */
    background-color: var(--black);
}

.logo {
    position: absolute;
    top: 30px;
    left: 40px;
    height: 50px;
    width: auto;
}

.logo-footer {
    position: absolute;
    bottom: 30px;
    right: 40px;
    height: 40px;
    width: auto;
    opacity: 0.7;
}

/* Slide 1: Cover */
.cover-slide h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cover-slide .subtitle {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.cover-slide .presenter {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.cover-slide .tagline {
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 500;
}

/* Slide 2: Problem */
.problem-slide ul {
    max-width: 700px;
    margin-bottom: 2rem;
    text-align: left;
    padding-left: 20px;
    list-style: disc;
    list-style-position: inside;
}

.problem-slide li {
    font-size: 1.2rem;
}

.problem-slide .conclusion {
    font-size: 1.3rem;
    color: var(--gold-light);
    font-weight: 500;
    margin-top: 2rem;
}

/* Slide 3: Stack - Pyramid Layout */
.pyramid-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    gap: 1rem; /* Space between tiers */
}

.tier {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.tier h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--gold-dark);
    padding-bottom: 0.5rem;
    width: 80%;
    text-align: center;
}

.category-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
}

.tier-base .category-group {
    max-width: 100%; /* Base is widest */
}

.tier-middle .category-group {
    max-width: 66%; /* Middle tier */
}

.tier-top .category-group {
    max-width: 33%; /* Top tier */
}

.stack-category {
    background-color: var(--dark-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    flex: 1 1 280px; /* Allow wrapping */
    min-width: 280px;
    text-align: left;
}

.stack-category h4 {
    font-size: 1.2rem;
    color: var(--gold-light);
    margin-bottom: 0.75rem;
}

.stack-category .explanation {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.5;
}

/* Hide old hierarchical styles */
.hierarchical-stack { display: none; }

/* Slide 4: Learnings */
.learnings-slide ul {
    max-width: 900px;
    text-align: left;
}

.learnings-slide li {
    font-size: 1.1rem;
    line-height: 1.8;
}

.learnings-slide strong {
    color: var(--gold);
}

/* Slide 5: Use Cases */
.use-cases-slide .use-case-items {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
}

.use-case {
    flex: 1 1 300px;
    background-color: var(--dark-gray);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--gold-dark);
}

.use-case h3 {
    font-size: 1.4rem;
    color: var(--gold-light);
}

.use-case p:first-of-type {
    font-style: italic;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.use-case .demo-placeholder {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-style: italic;
}

/* Slide 6: CTA */
.cta-slide .process {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    font-weight: 500;
}

.cta-slide .packages {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--white);
}

.cta-slide .packages span {
    margin: 0 1rem;
}

.cta-slide .cta-options {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: flex-start;
}

.cta-slide .cta-option {
    text-align: center;
}

.cta-slide .cta-option i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.cta-slide .cta-option p {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cta-slide .cta-option a {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 5px;
    font-weight: 600;
}

.cta-slide .cta-option a:hover {
    background-color: var(--gold-light);
}

.cta-slide .qr-placeholder {
    margin-top: 1rem;
    width: 100px;
    height: 100px;
    background-color: var(--medium-gray);
    display: inline-flex; /* Use inline-flex for centering */
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    border: 1px dashed var(--gold);
}

/* Responsive Adjustments (Example) */
@media (max-width: 768px) {
    .slide {
        padding: 8%;
    }
    .logo {
        height: 40px;
        top: 20px;
        left: 20px;
    }
    .logo-footer {
        height: 30px;
        bottom: 20px;
        right: 20px;
    }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .cover-slide .subtitle { font-size: 1.2rem; }
    .stack-grid { grid-template-columns: 1fr; }
    .use-cases-slide .use-case-items { flex-direction: column; }
    .cta-slide .cta-options { flex-direction: column; gap: 2rem; }
}



/* Center and enlarge logo on cover slide */
.cover-slide .logo {
    position: absolute;
    top: 40px; /* Adjust top position */
    left: 50%;
    transform: translateX(-50%);
    height: 90px; /* Increased height further */
    width: auto;
}

