/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color1: #f83e04;
    --primary-color: hsl(210, 100%, 50%);
    --primary-dark: hsl(210, 100%, 35%);
    --accent-color: hsl(280, 70%, 60%);
    --text-dark: hsl(220, 20%, 15%);
    --text-light: hsl(220, 15%, 95%);
    --bg-light: hsl(220, 20%, 98%);
    --bg-dark: hsl(220, 25%, 10%);
    --banner-bg: hsl(45, 95%, 55%);
    --banner-text: hsl(220, 20%, 15%);

    /* Spacing */
    --section-padding: 4rem 2rem;

    /* Typography */
    --heading-size: clamp(5rem, 5vw, 4rem);
    --paragraph-size: clamp(1.1rem, 2vw, 1.3rem);

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.titan-one-regular {
    font-family: "Titan One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* @font-face {
    font-family: milkyway;
    src: url('milkyway_demo.ttf');
} */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Banner ===== */
.banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background: linear-gradient(135deg, var(--banner-bg) 0%, hsl(45, 90%, 45%) 100%); */
    background: #b8f2ff;
    color: var(--banner-text);
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.banner-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== Sections ===== */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    padding-top: calc(var(--section-padding) + 3rem);
    /* Account for banner */
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    /*background-image:
        linear-gradient(45deg, transparent 48%, currentColor 48%, currentColor 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, currentColor 48%, currentColor 52%, transparent 52%);*/
    background-size: 60px 60px;
    pointer-events: none;
}

.section-content {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.section-instructions {
    text-align: left;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-heading {
    font-size: var(--heading-size);
    font-weight: 700;
    margin-bottom: 10rem;
    /*background: linear-gradient(135deg, var(--primary-color), var(--accent-color));*/
    background: var(--primary-color1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.section-paragraph {
    font-size: var(--paragraph-size);
    line-height: 1.8;
    color: var(--text-dark);
    opacity: 0.9;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== About Section ===== */
.about-section {

    /*background: linear-gradient(135deg, hsl(210, 100%, 98%) 0%, hsl(280, 100%, 98%) 100%);*/
    background: #f8f3ea;
}

/* ===== Cookie Club Section ===== */
.cookie-section {
    /*background: linear-gradient(to bottom, hsl(220, 25%, 10%), hsl(220, 30%, 15%));*/
    background: #f8f3ea;
    color: var(--text-light);
    padding: 6rem 1rem;
    flex-direction: column;
    gap: 3rem;
}

.cookie-section .section-content {
    margin-bottom: 0;
}

/* ===== Slideshow Section ===== */
.slideshow-section {
    /*background: linear-gradient(to bottom, hsl(220, 25%, 10%), hsl(220, 30%, 15%));*/
    background: #f8f3ea;
    color: var(--text-light);
    padding: 6rem 1rem;
}

.slideshow-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
    padding-bottom: 0.5rem;
}

/* Custom scrollbar for WebKit browsers */
.slideshow-container::-webkit-scrollbar {
    height: 6px;
}

.slideshow-container::-webkit-scrollbar-track {
    background: transparent;
}

.slideshow-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.slideshow-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.slideshow-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    padding: 0 2rem;
}

.slideshow-item {
    flex: 0 0 280px;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    scroll-snap-align: start;
}

.slideshow-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.slideshow-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #e8e0d4;
}

/* ===== Scroll Hint Indicator ===== */
.scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--text-dark);
    opacity: 0.5;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: opacity 0.5s ease;
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-hint-arrow {
    display: inline-flex;
    animation: nudge-right 1.5s ease-in-out infinite;
}

@keyframes nudge-right {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }
}

/* ===== Order Section ===== */
.order-section {
    /*background: linear-gradient(135deg, hsl(280, 100%, 98%) 0%, hsl(210, 100%, 98%) 100%);*/
    background: #f8f3ea;
}

.pricelist-section {
    background: #f8f3ea;
}

.follow-section {
    background: #f8f3ea;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .slideshow-item {
        flex: 0 0 240px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 1.5rem;
    }

    .banner {
        font-size: 0.9rem;
        padding: 0.6rem 0.75rem;
    }

    .slideshow-item {
        flex: 0 0 200px;
    }

    .slideshow-track {
        padding: 0 1rem;
        gap: 1rem;
    }

    .slideshow-section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .section-heading {
        margin-bottom: 1.5rem;
    }

    .slideshow-item {
        flex: 0 0 170px;
    }

    .slideshow-track {
        gap: 0.75rem;
        padding: 0 0.75rem;
    }
}