/* ============================================
   DONUT JOE'S - Modern Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #eda138;
    --color-primary-dark: #d4912f;
    --color-dark: #2D1810;
    --color-brown: #745d4a;
    --color-cream: #FDF8F3;
    --color-white: #FFFFFF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 60px rgba(237, 161, 56, 0.25);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-brown);
    background: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-white:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(116, 93, 74, 0.1);
}

.header-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-brown);
}

.nav-link:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-dark);
}

.mobile-menu-btn i {
    width: 24px;
    height: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 140px 5rem 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-cream);
}

.hero-content {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(237, 161, 56, 0.12);
    border-radius: var(--radius-full);
    width: fit-content;
}

.badge span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
}

.hero h1 {
    color: var(--color-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-brown);
    max-width: 480px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 580px;
    height: auto;
    aspect-ratio: 1.1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   STORY SECTION
   ============================================ */
.story {
    background: var(--color-dark);
    padding: 6rem 5rem;
}

.story-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
    text-align: center;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-primary);
}

.story h2 {
    color: var(--color-white);
}

.stats {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.12);
}

.story-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 800px;
    line-height: 1.8;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
    background: var(--color-cream);
    padding: 6rem 5rem;
}

.menu-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.5rem;
}

.section-header-light h2 {
    color: var(--color-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-brown);
    margin-top: 0.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 0.875;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
}

.product-info p {
    font-size: 1rem;
    color: var(--color-brown);
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit {
    background: var(--color-primary);
}

.visit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.visit-text {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.section-label-light {
    color: rgba(255, 255, 255, 0.5);
}

.visit h2 {
    color: var(--color-white);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.visit-text > p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 400px;
    line-height: 1.7;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-weight: 500;
}

.info-row i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.visit-image {
    position: relative;
    overflow: hidden;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: 4rem 5rem 2rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 5rem;
}

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

.footer-column h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.footer-column a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom span {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .header-content,
    .hero,
    .story,
    .menu,
    .footer {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .visit-text {
        padding: 3rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    .hero-subtitle {
        max-width: 600px;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 100%;
        max-height: 400px;
        margin: 0 auto;
    }

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

    .visit-content {
        grid-template-columns: 1fr;
    }

    .visit-text {
        text-align: center;
        align-items: center;
    }

    .visit-text > p {
        max-width: 500px;
    }

    .visit-info {
        align-items: center;
    }

    .visit-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1.5rem;
    }

    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--color-cream);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(116, 93, 74, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

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

    .header .btn {
        display: none;
    }

    .hero {
        padding: 120px 1.5rem 60px;
        min-height: auto;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .story,
    .menu,
    .footer {
        padding: 4rem 1.5rem;
    }

    .stats {
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat {
        padding: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .visit-text {
        padding: 3rem 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}
