/* Digital Nomad Villages - Slides CSS with Liquid Glass Design
 * Version: 1.0.0
 * Apple Liquid Glass inspired design system
 */

:root {
    --primary-color: #C06B4D;
    --primary-hover: #A55A3F;
    --secondary-color: #4B6F44;
    --cream-color: #F5EFE0;
    --text-dark: #2D3748;
    --text-light: #718096;
    --transition-base: all 0.15s ease-in-out;
}

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

body {
    font-family: 'Open Sans', 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #F5EFE0 0%, #f0e8d6 50%, #e8ddd1 100%);
    color: var(--text-dark);
    overflow-x: hidden;
    overflow-y: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 15%, rgba(192, 107, 77, 0.12), transparent 45%),
                radial-gradient(circle at 80% 20%, rgba(75, 111, 68, 0.10), transparent 55%),
                radial-gradient(circle at 25% 85%, rgba(192, 107, 77, 0.08), transparent 60%);
    z-index: -1;
}

.brand-badge {
    position: fixed;
    top: 32px;
    left: 40px;
    display: flex;
    align-items: center;
    z-index: 1200;
}

.brand-badge img {
    width: 144px;
    height: 144px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(45, 55, 72, 0.15));
}

.brand-badge-text {
    display: none;
}

.slide-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slide-container::-webkit-scrollbar {
    display: none;
}

.slide {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: clamp(90px, 12vh, 140px) clamp(28px, 6vw, 80px);
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(245, 239, 224, 0.94) 0%, rgba(240, 232, 214, 0.94) 50%, rgba(232, 221, 209, 0.92) 100%);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 42px;
    box-shadow: 0 35px 75px rgba(45, 55, 72, 0.20);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    overflow-y: auto;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(192, 107, 77, 0.08) 0%, transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(75, 111, 68, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.slide-number {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 15px;
    color: rgba(245, 239, 224, 0.9);
    font-weight: 600;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    background: rgba(45, 55, 72, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 22px;
    border-radius: 999px;
    letter-spacing: 0.18em;
}

.content {
    max-width: 1400px;
    width: 100%;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
    padding-bottom: clamp(48px, 8vh, 110px);
}

h1 {
    font-size: clamp(2.8rem, 4vw + 0.5rem, 4.2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    line-height: 1.08;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: min(1100px, 100%);
}

h2 {
    font-size: clamp(1.35rem, 2vw + 0.2rem, 1.7rem);
    font-weight: 500;
    text-align: center;
    color: var(--text-dark);
    line-height: 1.45;
    max-width: min(960px, 100%);
    letter-spacing: 0.01em;
    padding: 16px 36px;
    border-radius: 18px;
    position: relative;
    /* Liquid Glass: Subtle subtitle bar */
    background:
        linear-gradient(135deg, rgba(192, 107, 77, 0.04) 0%, rgba(75, 111, 68, 0.03) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px) saturate(1.08);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    border-top: 0.5px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 0.5px 0 rgba(255, 255, 255, 0.2) inset,
        0 6px 18px rgba(45, 55, 72, 0.08),
        0 2px 6px rgba(192, 107, 77, 0.04);
}

/* Liquid Glass: Minimal specular shimmer for h2 */
h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 100%
    );
    pointer-events: none;
}

.image-placeholder {
    width: 100%;
    max-width: 800px;
    height: auto;
    border: none;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 14px;
    font-size: 15px;
    color: rgba(45, 55, 72, 0.55);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
    padding: 12px;
    position: relative;
    /* Liquid Glass: Multiple translucent layers */
    background:
        linear-gradient(135deg, rgba(192, 107, 77, 0.08) 0%, rgba(75, 111, 68, 0.06) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    /* Liquid Glass: Specular highlight border */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    /* Liquid Glass: Layered depth shadows */
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.3) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset,
        0 30px 70px rgba(45, 55, 72, 0.25),
        0 12px 30px rgba(192, 107, 77, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Liquid Glass: Refraction effect layer */
.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background: linear-gradient(
        115deg,
        rgba(192, 107, 77, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(75, 111, 68, 0.08) 100%
    );
    pointer-events: none;
    opacity: 0.6;
}

/* Liquid Glass: Specular highlight shimmer */
.image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.image-placeholder img {
    width: 70%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    /* Enhanced contrast within glass */
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.12);
    filter: brightness(1.02) contrast(1.03);
}

.image-placeholder:hover {
    transform: translateY(-8px) scale(1.015);
    /* Liquid Glass: Enhanced specular on hover */
    border-top-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4) inset,
        0 -1px 0 rgba(0, 0, 0, 0.05) inset,
        0 40px 90px rgba(45, 55, 72, 0.3),
        0 18px 40px rgba(192, 107, 77, 0.18),
        0 6px 16px rgba(0, 0, 0, 0.15);
}

.image-placeholder:hover::before {
    opacity: 0.8;
}

/* Two-column image layout */
.images-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 20px auto 14px;
    max-width: 1000px;
}

.images-row .image-placeholder {
    margin: 0;
    max-width: 100%;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto 10px;
    max-width: 980px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 0;
    opacity: 0.7;
}

.timeline-item {
    text-align: center;
    flex: 1;
    margin: 0 20px;
    position: relative;
    z-index: 1;
}

.timeline-year {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    background: var(--cream-color);
    padding: 12px 22px;
    border-radius: 14px;
    border: 2px solid var(--primary-color);
    display: inline-block;
}

.timeline-event {
    font-size: 1.15rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 38px;
    margin: 44px auto 10px;
    max-width: 820px;
}

.stat-item {
    text-align: center;
    padding: 38px 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.3s ease;
    box-shadow: 0 18px 40px rgba(45, 55, 72, 0.12);
}

.stat-item:hover {
    background: rgba(245, 239, 224, 0.2);
    border-color: rgba(192, 107, 77, 0.35);
    transform: translateY(-6px);
}

.stat-number {
    font-size: 3.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 14px;
    line-height: 1;
}

.stat-label {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.35;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin: 34px auto 16px;
    max-width: 1020px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: all 0.3s ease;
    box-shadow: 0 16px 32px rgba(45, 55, 72, 0.12);
}

.feature-item:hover {
    background: rgba(245, 239, 224, 0.18);
    border-color: rgba(192, 107, 77, 0.35);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.3rem;
    margin-right: 22px;
    color: var(--primary-color);
    min-width: 56px;
}

.feature-text {
    font-size: 1.18rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-dark);
    text-align: left;
}

.cta-section {
    background: rgba(245, 239, 224, 0.2);
    padding: 46px 42px;
    border-radius: 24px;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(192, 107, 77, 0.24);
    margin: 32px auto 10px;
    max-width: 980px;
    box-shadow: 0 20px 45px rgba(45, 55, 72, 0.15);
}

.cta-section p {
    font-size: 1.22rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-info {
    font-size: 1.4rem;
    margin-top: 34px;
    color: var(--text-light);
    font-weight: 500;
}

.navigation {
    display: none;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.speaker-notes {
    margin-top: 18px;
    padding: 24px 28px;
    background: rgba(45, 55, 72, 0.75);
    border-radius: 22px;
    border-left: 4px solid var(--primary-color);
    max-width: 980px;
    text-align: left;
    color: rgba(245, 239, 224, 0.92);
    box-shadow: 0 24px 55px rgba(45, 55, 72, 0.2);
    max-height: 180px;
    overflow-y: auto;
}

.speaker-notes-label {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 239, 224, 0.65);
    font-weight: 700;
    margin-bottom: 12px;
}

.speaker-notes p + p {
    margin-top: 12px;
}

.speaker-notes strong {
    color: rgba(245, 239, 224, 0.95);
}

.speaker-notes::-webkit-scrollbar {
    width: 6px;
}

.speaker-notes::-webkit-scrollbar-thumb {
    background: rgba(192, 107, 77, 0.65);
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide { padding: clamp(80px, 11vh, 120px) clamp(24px, 5vw, 64px); }
    .features-list { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .speaker-notes { max-height: 210px; }
}

@media (max-width: 768px) {
    .slide { padding: clamp(70px, 10vh, 110px) clamp(20px, 6vw, 48px); border-radius: 28px; }
    .timeline {
        flex-direction: column;
        gap: 34px;
    }
    .timeline::before { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }
    .image-placeholder {
        width: 100%;
        max-width: 320px;
        height: auto;
    }
    .brand-badge { top: 18px; left: 18px; }
    .brand-badge img { width: 104px; height: 104px; }
}

@media (max-width: 520px) {
    .brand-badge-text { display: none; }
    .speaker-notes { font-size: 0.94rem; padding: 20px; }
    .speaker-notes-label { font-size: 0.7rem; }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
