:root {
    --primary-dark: #2d7a3a;
    --primary-mid: #3d9c4e;
    --primary-light: #5bb35e;
    --accent: #7ec97f;
    --bg-light: #f0f4f0;
    --bg-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #2c3e2c;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.8s;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow: hidden; /* Prevent scrolling */
    width: 100vw;
    height: 100vh;
}

#presentation-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, #ffffff 0%, #e8ebe8 100%);
}

.slide-counter {
    position: fixed;
    top: 40px;
    right: 40px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    z-index: 100;
    letter-spacing: 2px;
}

.slides-wrapper {
    width: 80%;
    max-width: 1400px;
    height: 80%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.slide-content {
    padding: 40px;
}

h1 {
    font-size: 5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: 3.5rem;
    color: var(--primary-mid);
    margin-bottom: 2.5rem;
    font-weight: 700;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 6px;
    background: var(--accent);
    border-radius: 3px;
}

.points-list {
    list-style: none;
    font-size: 1.8rem;
}

.points-list > li {
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

.points-list > li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

.points-list ul {
    list-style: none;
    font-size: 1.4rem;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    color: var(--text-muted);
}

.points-list ul li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.points-list ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.sources {
    margin-top: 3rem;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.hint-3d {
    margin-top: 2rem;
    font-size: 1.1rem;
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    color: var(--primary-dark);
    font-weight: 600;
    border: 1px dashed var(--primary-mid);
    animation: pulse 2s infinite;
}

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

/* 3D Slide Styles */
#slide-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 2000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(100%);
}

#slide-3d.visible {
    transform: translateY(0);
}

model-viewer {
    width: 100%;
    height: 100%;
    background-color: #050a05;
}

.overlay-3d {
    position: absolute;
    top: 40px;
    left: 40px;
    color: white;
    z-index: 10;
}

.title-3d {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

.slide-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.text-column {
    flex: 1;
}

.image-column {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.image-column img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    border: 3px solid var(--bg-white);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    .points-list { font-size: 1.4rem; }
    .points-list ul { font-size: 1.2rem; }
}
