/* recycle.cafe - Styles */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: Roboto Slab (slab-serif headings), Inter (body) */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    background-color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ========================
   SLIDE REVEAL ANIMATIONS
   ======================== */
.slide-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.slide-reveal:nth-child(2) { transition-delay: 0.1s; }
.slide-reveal:nth-child(3) { transition-delay: 0.2s; }
.slide-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ========================
   GOLD RULE
   ======================== */
.gold-rule {
    width: 60px;
    height: 2px;
    background: #e8b84b;
    margin: 16px 0;
}

.hero-gold-rule {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8b84b, transparent);
    margin: 20px auto;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    overflow: hidden;
}

.hero-marble-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(74, 144, 217, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(232, 184, 75, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(245, 240, 232, 0.05) 0%, transparent 70%);
    opacity: 0.8;
    animation: marbleShift 20s ease-in-out infinite alternate;
}

@keyframes marbleShift {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
    100% { transform: scale(1) rotate(-1deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    color: #f5f0e8;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    text-shadow: 0 2px 40px rgba(232, 184, 75, 0.2);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: #6c757d;
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto;
    letter-spacing: 0.02em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: bobFloat 2s ease-in-out infinite;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: #e8b84b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

@keyframes bobFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================
   WAVE DIVIDERS
   ======================== */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.wave-divider-reverse {
    margin-bottom: -1px;
    margin-top: 0;
}

/* ========================
   SECTION TITLES
   ======================== */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e8b84b;
    margin: 16px auto 0;
}

/* ========================
   ABOUT SECTION
   ======================== */
.about {
    background: #f5f0e8;
    padding: 100px 24px;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.about .section-title {
    color: #1a1a2e;
}

.about-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.bento-cell {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.1);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 280px;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-marble-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(232, 184, 75, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(74, 144, 217, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-cell h3 {
    font-size: 1.75rem;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.bento-cell h4 {
    font-size: 1.15rem;
    color: #1a1a2e;
    margin-top: 16px;
    margin-bottom: 8px;
}

.bento-cell p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
}

.bento-icon svg {
    opacity: 0.9;
}

/* ========================
   MENU SECTION
   ======================== */
.menu {
    position: relative;
    background: #1a1a2e;
    padding: 100px 24px;
    overflow: hidden;
}

.menu-marble-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(232, 184, 75, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(74, 144, 217, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.menu-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.menu .section-title {
    color: #f5f0e8;
}

.menu .section-title::after {
    background: #e8b84b;
}

.menu-tagline {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: -32px;
    margin-bottom: 56px;
    letter-spacing: 0.03em;
}

.menu-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.menu-cell {
    background: rgba(245, 240, 232, 0.05);
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}

.menu-cell:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 184, 75, 0.3);
    background: rgba(245, 240, 232, 0.08);
}

.menu-cell-inner {
    padding: 36px;
}

.menu-feature {
    grid-column: span 1;
    grid-row: span 2;
    background: rgba(232, 184, 75, 0.06);
    border-color: rgba(232, 184, 75, 0.2);
}

.menu-feature .menu-cell-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.menu-badge {
    display: inline-block;
    background: #e8b84b;
    color: #1a1a2e;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.menu-cell h3 {
    font-size: 1.35rem;
    color: #f5f0e8;
    margin-bottom: 12px;
}

.menu-desc {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.7;
    flex-grow: 1;
}

.menu-price {
    display: block;
    font-family: 'Roboto Slab', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e8b84b;
    margin-top: 16px;
}

.menu-cell .gold-rule {
    margin-top: auto;
    width: 40px;
}

/* ========================
   FEATURES SECTION
   ======================== */
.features {
    background: #f5f0e8;
    padding: 100px 24px;
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features .section-title {
    color: #1a1a2e;
}

.features-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-cell {
    background: #fff;
    border-radius: 16px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-cell:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 26, 46, 0.08);
}

.feature-wide {
    grid-column: span 2;
}

.feature-number {
    font-family: 'Roboto Slab', serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(74, 144, 217, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-cell h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.feature-cell p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 640px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background: #1a1a2e;
    padding: 80px 24px 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    text-align: center;
    margin-bottom: 56px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f5f0e8;
    margin-bottom: 8px;
}

.footer-brand .gold-rule {
    margin: 16px auto;
}

.footer-tagline {
    color: #6c757d;
    font-size: 1rem;
    font-weight: 300;
}

.footer-details {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 56px;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #e8b84b;
    margin-bottom: 16px;
}

.footer-col p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom .gold-rule {
    margin: 0 auto 16px;
    width: 100%;
    max-width: 200px;
    height: 1px;
    background: rgba(232, 184, 75, 0.3);
}

.footer-bottom p {
    color: #6c757d;
    font-size: 0.8rem;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
    .about-bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-large,
    .bento-medium {
        grid-column: span 2;
    }

    .menu-bento {
        grid-template-columns: 1fr 1fr;
    }

    .menu-feature {
        grid-row: span 1;
    }

    .features-bento {
        grid-template-columns: 1fr;
    }

    .feature-wide {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .about-bento,
    .menu-bento {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-small,
    .bento-medium,
    .menu-feature {
        grid-column: span 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-details {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
}
