/* ============================================
   YumiChoice - Curated Culinary Experience
   Warm, inviting, personalized aesthetic
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Crimson+Pro:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ============================================
   Color & Style Variables
   ============================================ */
:root {
    /* Colors - Warm Peach Palette */
    --paper: #FFF8F3;
    --cream: #FFF5ED;
    --white: #FFFFFF;
    --blush: #FFE5D9;
    --peach: #FF9B71;
    --peach-rich: #FF7F50;
    --coral: #FF6B6B;
    --coral-deep: #E85D5D;
    --amber: #F4A261;
    --gold: #E8B961;
    --clay: #8B4513;
    --earth: #6B4423;
    --ink: #2B2118;
    --stone: #5D4E37;
    
    /* Typography */
    --font-heading: 'Crimson Pro', Georgia, serif;
    --font-text: 'DM Sans', -apple-system, sans-serif;
    
    /* Spacing */
    --gap-tiny: 0.5rem;
    --gap-small: 1rem;
    --gap-medium: 1.5rem;
    --gap-large: 2.5rem;
    --gap-huge: 4rem;
    --gap-massive: 6rem;
    
    /* Curves */
    --radius-soft: 6px;
    --radius-medium: 12px;
    --radius-round: 18px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-subtle: 0 3px 18px rgba(255, 107, 107, 0.08);
    --shadow-moderate: 0 8px 28px rgba(255, 107, 107, 0.12);
    --shadow-strong: 0 14px 40px rgba(255, 107, 107, 0.16);
    
    /* Transitions */
    --transition-quick: 0.2s ease-in-out;
    --transition-normal: 0.35s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    
    /* Container */
    --container-large: 1400px;
    --container-small: 960px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--stone);
    background-color: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: var(--gap-medium);
}

h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    letter-spacing: -0.015em;
}

h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--gap-medium);
    color: var(--stone);
}

/* ============================================
   Layout Container
   ============================================ */
.wrap {
    max-width: var(--container-large);
    margin: 0 auto;
    padding: 0 var(--gap-medium);
}

.wrap--narrow {
    max-width: var(--container-small);
}

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

/* ============================================
   Button Styles
   ============================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-tiny);
    padding: 1rem 2.25rem;
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.button--primary {
    background: linear-gradient(135deg, var(--peach) 0%, var(--peach-rich) 100%);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.button--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-moderate);
}

.button--secondary {
    background: linear-gradient(135deg, var(--coral) 0%, var(--coral-deep) 100%);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.button--secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-moderate);
}

.button--accent {
    background: linear-gradient(135deg, var(--amber) 0%, var(--gold) 100%);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.button--accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-moderate);
}

.button svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   Header Navigation
   ============================================ */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    transition: all var(--transition-normal);
}

.header-nav.is-scrolled {
    box-shadow: var(--shadow-subtle);
}

.header-nav__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gap-small) 0;
}

/* Brand Logo */
.brand-mark {
    display: flex;
    align-items: center;
    gap: var(--gap-tiny);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--ink);
    transition: transform var(--transition-quick);
}

.brand-mark:hover {
    transform: scale(1.03);
}

.brand-mark__image {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-medium);
}

.brand-mark__text span {
    background: linear-gradient(135deg, var(--peach) 0%, var(--coral) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--gap-large);
}

.nav-menu__items {
    display: flex;
    gap: var(--gap-large);
    align-items: center;
}

.nav-menu__link {
    font-weight: 600;
    color: var(--stone);
    position: relative;
    padding: 0.625rem 0;
    transition: color var(--transition-quick);
}

.nav-menu__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--peach), var(--coral));
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.nav-menu__link:hover {
    color: var(--peach);
}

.nav-menu__link:hover::after,
.nav-menu__link.current::after {
    width: 100%;
}

.nav-menu__link.current {
    color: var(--peach);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--gap-tiny);
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* Mobile Panel */
.mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    padding: var(--gap-huge) var(--gap-large);
    transition: right var(--transition-normal);
}

.mobile-panel.open {
    right: 0;
}

.mobile-panel__close {
    position: absolute;
    top: var(--gap-large);
    right: var(--gap-large);
    background: none;
    border: none;
    font-size: 2.25rem;
    cursor: pointer;
    color: var(--ink);
    line-height: 1;
}

.mobile-panel__links {
    display: flex;
    flex-direction: column;
    gap: var(--gap-medium);
    margin-top: var(--gap-huge);
}

.mobile-panel__link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--stone);
    padding: var(--gap-small) 0;
    border-bottom: 1px solid var(--cream);
    transition: color var(--transition-quick);
}

.mobile-panel__link:hover {
    color: var(--peach);
}

/* ============================================
   Showcase Banner
   ============================================ */
.showcase {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 72px;
}

.showcase__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.showcase__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 155, 113, 0.9) 0%, rgba(255, 107, 107, 0.85) 100%);
}

.showcase__message {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    padding: var(--gap-huge) var(--gap-medium);
    animation: riseUp 1s ease;
}

.showcase__tag {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--gap-medium);
}

.showcase__heading {
    color: white;
    margin-bottom: var(--gap-medium);
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.showcase__subtext {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--gap-large);
    line-height: 1.8;
}

.showcase__buttons {
    display: flex;
    gap: var(--gap-medium);
    justify-content: center;
    flex-wrap: wrap;
}

.showcase__scroll {
    position: absolute;
    bottom: var(--gap-large);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-tiny);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

.showcase__scroll svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Content Area
   ============================================ */
.area {
    padding: var(--gap-massive) 0;
}

.area--white {
    background: var(--white);
}

.area--paper {
    background: var(--paper);
}

.area--cream {
    background: var(--cream);
}

.area--blush {
    background: var(--blush);
}

.area__intro {
    max-width: 740px;
    margin: 0 auto var(--gap-huge);
    text-align: center;
}

.area__label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--peach);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--gap-small);
}

.area__title {
    margin-bottom: var(--gap-medium);
}

.area__text {
    font-size: 1.125rem;
    color: var(--stone);
    line-height: 1.8;
}

.area__divider {
    width: 90px;
    height: 4px;
    background: linear-gradient(90deg, var(--peach), var(--coral));
    margin: var(--gap-medium) auto 0;
    border-radius: 2px;
}

/* ============================================
   Dish Collection
   ============================================ */
.dish-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--gap-large);
}

/* Dish Item */
.dish-item {
    background: white;
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
}

.dish-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.dish-item a {
    display: block;
}

.dish-item__visual {
    position: relative;
    height: 270px;
    overflow: hidden;
}

.dish-item__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.dish-item:hover .dish-item__visual img {
    transform: scale(1.1);
}

.dish-item__label {
    position: absolute;
    top: var(--gap-medium);
    right: var(--gap-medium);
    padding: 0.625rem 1.125rem;
    background: var(--peach);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-full);
}

.dish-item__info {
    padding: var(--gap-medium);
}

.dish-item__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--gap-small);
    transition: color var(--transition-quick);
}

.dish-item:hover .dish-item__name {
    color: var(--peach);
}

.dish-item__description {
    color: var(--stone);
    margin-bottom: var(--gap-medium);
    font-size: 1rem;
    line-height: 1.6;
}

.dish-item__details {
    display: flex;
    gap: var(--gap-medium);
}

.dish-item__detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--earth);
    font-weight: 600;
}

.dish-item__detail svg {
    width: 19px;
    height: 19px;
    stroke: var(--peach);
}

/* ============================================
   Category Collection
   ============================================ */
.category-collection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap-large);
}

/* Category Item */
.category-item {
    position: relative;
    height: 340px;
    border-radius: var(--radius-round);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.category-item:hover {
    transform: translateY(-6px);
}

.category-item__visual {
    width: 100%;
    height: 100%;
}

.category-item__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-item:hover .category-item__visual img {
    transform: scale(1.12);
}

.category-item__shade {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 155, 113, 0) 0%, rgba(255, 155, 113, 0.9) 100%);
    transition: background var(--transition-normal);
}

.category-item:hover .category-item__shade {
    background: linear-gradient(180deg, rgba(255, 155, 113, 0) 0%, rgba(255, 155, 113, 0.95) 100%);
}

.category-item__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--gap-large);
    color: white;
    z-index: 2;
}

.category-item__title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.category-item__count {
    font-size: 1.0625rem;
    font-weight: 600;
    opacity: 0.92;
}

/* ============================================
   Story Preview
   ============================================ */
.story-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-huge);
    align-items: center;
}

.story-preview__image {
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-moderate);
}

.story-preview__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-preview__content {
    padding: var(--gap-large);
}

.story-preview__label {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--peach);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--gap-small);
}

.story-preview__heading {
    font-size: 2.75rem;
    margin-bottom: var(--gap-medium);
}

.story-preview__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--stone);
}

.story-preview__signature {
    margin-top: var(--gap-large);
    font-style: italic;
    font-weight: 600;
    color: var(--earth);
}

/* ============================================
   Post Collection
   ============================================ */
.post-collection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--gap-large);
}

/* Post Item */
.post-item {
    background: white;
    border-radius: var(--radius-round);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all var(--transition-normal);
}

.post-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.post-item a {
    display: block;
}

.post-item__visual {
    height: 240px;
    overflow: hidden;
}

.post-item__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-item:hover .post-item__visual img {
    transform: scale(1.1);
}

.post-item__content {
    padding: var(--gap-medium);
}

.post-item__date {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--peach);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--gap-small);
}

.post-item__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: var(--gap-small);
    transition: color var(--transition-quick);
}

.post-item:hover .post-item__title {
    color: var(--peach);
}

.post-item__excerpt {
    color: var(--stone);
    font-size: 1rem;
    line-height: 1.65;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
    padding: var(--gap-huge) 0 var(--gap-large);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--gap-huge);
    margin-bottom: var(--gap-huge);
}

.site-footer__section h4 {
    color: white;
    font-size: 1.1875rem;
    margin-bottom: var(--gap-medium);
    font-weight: 700;
}

.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--gap-small);
}

.site-footer__link {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-quick);
    font-weight: 500;
}

.site-footer__link:hover {
    color: var(--peach);
}

.site-footer__description {
    line-height: 1.8;
    font-size: 1rem;
}

.site-footer__line {
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: var(--gap-large) 0;
}

.site-footer__base {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
}

.site-footer__copyright {
    font-weight: 500;
}

.site-footer__legal {
    display: flex;
    gap: var(--gap-medium);
}

/* ============================================
   Animations
   ============================================ */
@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(45px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.85s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .story-preview {
        grid-template-columns: 1fr;
        gap: var(--gap-large);
    }
    
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .showcase {
        min-height: 85vh;
    }
    
    .showcase__heading {
        font-size: 2.75rem;
    }
    
    .dish-collection {
        grid-template-columns: 1fr;
    }
    
    .category-collection {
        grid-template-columns: 1fr;
    }
    
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
    
    .site-footer__base {
        flex-direction: column;
        gap: var(--gap-medium);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --gap-massive: 4rem;
    }
    
    .showcase__buttons {
        flex-direction: column;
    }
    
    .post-collection {
        grid-template-columns: 1fr;
    }
}
