/* slides.css */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevent scrolling */
    background-color: #000; /* Deep black for cinematic feel */
    font-family: 'Hind Siliguri', sans-serif;
}

/* Container for slides */
.slide-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Base Slide Style - Full Screen */
.shareable-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important; /* Force full height */
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important; /* We control padding internally */
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    overflow-y: auto; /* Allow internal scrolling if content is absolutely massive */
    background-color: #ffffff; /* Default background */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
}

/* Active State */
.shareable-card.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

/* Inner Layout Control */
/* We want the content to be centered and constrained for readability, 
   but the background (gradients etc) to cover the full screen. */

/* For Hero Cards that have inner full-height divs */
#card-hero, #card-hero > div {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* For Standard Content Cards */
/* We wrap the inner content in a max-width container for readability */
.shareable-card > div:not(.card-footer-brand):not(#card-hero > div) {
    width: 100%;
    max-width: 1200px; /* Wide screen friendly */
    padding: 2rem 4rem; /* Generous padding */
    margin: 0 auto;
}

/* Typography Enhancements for Presentation */
.shareable-card h1 {
    font-size: 4rem !important; /* Massive titles */
    line-height: 1.1;
}

.shareable-card h2 {
    font-size: 3rem !important;
    margin-bottom: 1.5rem;
}

.shareable-card p, .shareable-card li {
    font-size: 1.5rem !important; /* Readable body text */
    line-height: 1.6;
}

.shareable-card .text-xs {
    font-size: 1rem !important; /* Even 'small' text should be readable */
}

.shareable-card .text-sm {
    font-size: 1.25rem !important;
}

/* Hide extraneous elements */
.card-footer-brand {
    display: none !important; /* Hide branding footer for cleaner slide look */
}

/* Hide the "screenshot instruction" text */
.text-center.py-6.text-slate-600.text-sm {
    display: none !important;
}

/* Navigation & Controls */
/* Hidden by default, only Home button relevant via ESC */



/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0; /* Move to top */
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 100;
    background: rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    background: #10b981; /* Default emerald */
    width: 0%;
    transition: width 0.3s ease;
}

/* Specific Adjustments for Layouts */
.grid {
    gap: 2rem !important; /* Increase gap for large screen */
}


/* Marquee / Auto Scroll Styles */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.marquee-content {
    display: inline-flex;
    animation: scroll 30s linear infinite;
    gap: 20px;
}

.marquee-content img {
    height: 60vh; /* Adjust height as needed */
    width: auto;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Assumes content is duplicated for seamless loop */
    }
}
