/* ============================================
   BASE STYLES & RESET
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --orange-bright: #ff4800;
    --orange-hover: #f59e0b;

    /* Stone Palette */
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-900: #1c1917;

    /* Typography */
    --font-serif: 'Libre Baskerville', serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--stone-900);
    background: var(--stone-50);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 700;
}

.section-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange-bright);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--stone-50);
    border-bottom: 1px solid var(--stone-200);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 2rem;
    width: auto;
}

.nav-links {
    display: none;
    gap: 2rem;
    list-style: none;
    font-size: 0.875rem;
    color: var(--stone-600);
}

.nav-links a:hover {
    color: var(--stone-900);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--stone-900);
}

/* Desktop Navigation */
@media (min-width: 768px) {
    .logo {
        height: 2.5rem;
    }

    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--stone-50);
    border-bottom: 1px solid var(--stone-200);
    padding: 2rem 1.5rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 1.5rem;
}

.mobile-menu a {
    color: var(--stone-600);
    font-size: 1rem;
}

/* ============================================
   MAIN CONTENT SPACING
   ============================================ */
main {
    margin-top: 65px;
}

section {
    padding: 3rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 2rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 8rem 3rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(to bottom, var(--stone-50), var(--stone-100));
    padding: 4rem 1rem 3rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 0.95;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--orange-bright);
}

.hero .tagline {
    font-size: 1.125rem;
    color: var(--stone-600);
    max-width: 32rem;
    margin-bottom: 1rem;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    background: var(--stone-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-400);
    font-size: 1.125rem;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 2rem 6rem;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero .tagline {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .hero h1 {
        font-size: 5rem;
    }

    .hero .tagline {
        font-size: 1.5rem;
    }
}

@media (min-width: 1280px) {
    .hero h1 {
        font-size: 6rem;
    }
}

/* ============================================
   ABOUT SECTION (Who is Helichef)
   ============================================ */
.about {
    background: white;
}

.about-layout {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-content {
    order: 1;
}

.about-image {
    order: 2;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--stone-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-content .section-label {
    color: var(--orange-bright);
    font-size: 0.875rem;
}

.about-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    background: var(--stone-25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-400);
    font-size: 1rem;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 3rem;
    }

    .about-content p {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .about-content {
        order: 2;
    }

    .about-image {
        order: 1;
    }

    .about-content h2 {
        font-size: 3.5rem;
    }
}

/* ============================================
   WHAT WE SHARE SECTION
   ============================================ */
.what-we-share {
    background: var(--stone-50);
}

.what-we-share-intro {
    max-width: 48rem;
    margin-bottom: 3rem;
}

.what-we-share-intro h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.pillars-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.pillar-card {
    background: white;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--stone-200);
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pillar-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: var(--stone-900);
    transition: color 0.3s ease;
}

.pillar-card p {
    color: var(--stone-600);
    line-height: 1.7;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

/* Mobile: Active state for touch feedback */
@media (hover: none) and (pointer: coarse) {
    .pillar-card:active {
        background: var(--stone-600);
        border-color: var(--stone-600);
    }

    .pillar-card:active h3 {
        color: white;
    }

    .pillar-card:active p {
        color: var(--stone-200);
    }
}

/* Desktop: Hover state for mouse users */
@media (hover: hover) and (pointer: fine) {
    .pillar-card {
        cursor: pointer;
    }

    .pillar-card:hover {
        background: var(--stone-600);
        border-color: var(--stone-600);
        transform: translateY(-4px);
    }

    .pillar-card:hover h3 {
        color: white;
    }

    .pillar-card:hover p {
        color: var(--stone-200);
    }
}

@media (min-width: 768px) {
    .what-we-share-intro h2 {
        font-size: 2.5rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pillar-card {
        padding: 2rem 1.75rem;
    }

    .pillar-card h3 {
        font-size: 1.5rem;
    }

    .pillar-card p {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .what-we-share-intro h2 {
        font-size: 3rem;
    }

    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================
   CRAFT STORIES CAROUSEL
   ============================================ */
.craft-stories {
    background: var(--stone-900);
    color: white;
}

.craft-stories .section-label {
    color: var(--orange-bright);
}

.craft-stories h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.craft-stories .intro {
    font-size: 1.125rem;
    color: var(--stone-400);
    max-width: 48rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

/* Story Cards */
.story-card {
    flex: 0 0 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.story-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--orange-bright);
}

.story-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--stone-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--stone-600);
    font-size: 0.875rem;
    overflow: hidden;
    position: relative;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(30%);
}

.coming-soon-overlay {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-sans);
}

.story-content {
    padding: 2rem;
}

.story-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.story-content p {
    color: var(--stone-400);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.carousel-arrow:hover {
    background: var(--orange-bright);
    border-color: var(--orange-bright);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-arrow:disabled:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--orange-bright);
    width: 1.5rem;
    border-radius: 0.25rem;
}

/* Desktop: Show 3 cards */
@media (min-width: 768px) {
    .craft-stories h2 {
        font-size: 3rem;
    }

    .craft-stories .intro {
        font-size: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .craft-stories h2 {
        font-size: 3.5rem;
    }

    .story-card {
        flex: 0 0 calc((100% - 4rem) / 3);
    }

    .carousel-track {
        gap: 2rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--stone-900);
    color: white;
    padding: 4rem 1.5rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand img {
    height: 2rem;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--stone-500);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--stone-400);
    transition: color 0.3s ease;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--orange-bright);
}

.footer-links {
    display: grid;
    gap: 2rem;
}

.footer-column h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--stone-400);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--stone-500);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--stone-400);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand img {
        height: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 3fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   SMOOTH SCROLL
   ============================================ */
html {
    scroll-behavior: smooth;
}
