/* ============================================
   FRESH NUTRITION — Editorial Style Website
   Charcoal + Coral Palette
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-charcoal: #1a1a1a;
    --color-charcoal-light: #2d2d2d;
    --color-charcoal-medium: #3d3d3d;
    --color-coral: #FF6B4A;
    --color-coral-light: #FF8A70;
    --color-coral-dark: #E5553A;
    --color-cream: #FAF7F4;
    --color-cream-dark: #F0EBE5;
    --color-white: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-light: #6b6b6b;
    --color-text-muted: #999999;
    --color-border: #e5e0da;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(26, 26, 26, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 26, 26, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 26, 26, 0.12);
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Section Tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.section-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-coral);
}

.section-tag--light {
    color: var(--color-coral-light);
}

.section-tag--light::before {
    background: var(--color-coral-light);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
}

.section-title em {
    font-style: italic;
    color: var(--color-coral);
}

.section-title--light {
    color: var(--color-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

.btn--ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--ghost-light {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn--large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-lg) 0;
    transition: all var(--transition);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-md);
}

.nav__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
}

.nav__logo-icon {
    color: var(--color-coral);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-coral);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--color-white);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    padding: 10px 20px;
    background: var(--color-coral);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background: var(--color-coral-dark);
    color: var(--color-white);
}

.nav__menu-btn {
    display: none;
    color: var(--color-white);
    padding: var(--space-xs);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--color-charcoal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    color: var(--color-white);
    padding: var(--space-xs);
}

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

.mobile-menu__link {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    padding: var(--space-md) 0;
    transition: color var(--transition);
}

.mobile-menu__link:hover {
    color: var(--color-coral);
}

.mobile-menu__contact {
    margin-top: var(--space-2xl);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    line-height: 2;
}

.mobile-menu__contact a {
    color: var(--color-coral);
    transition: color var(--transition);
}

.mobile-menu__contact a:hover {
    color: var(--color-coral-light);
}

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

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(26, 26, 26, 0.4) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
    width: 100%;
}

.hero__tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-coral-light);
    margin-bottom: var(--space-xl);
}

.hero__tag-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--color-coral);
}

.hero__headline {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.05;
    margin-bottom: var(--space-xl);
    max-width: 800px;
}

.hero__headline em {
    font-style: italic;
    color: var(--color-coral);
}

.hero__subheadline {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-coral), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__image {
    position: relative;
}

.about__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__image-wrapper:hover img {
    transform: scale(1.03);
}

.about__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--color-coral);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.15;
}

.about__content {
    max-width: 520px;
}

.about__text {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about__stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--color-border);
}

.stat__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-coral);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__image {
    overflow: hidden;
    aspect-ratio: 5/4;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card__image:hover img {
    transform: scale(1.05);
}

.product-card__content {
    padding: var(--space-xl);
}

.product-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.product-card__description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--color-charcoal);
}

.why-us__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.why-us__header .section-title {
    color: var(--color-white);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.why-card {
    padding: var(--space-xl);
    background: var(--color-charcoal-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition);
}

.why-card:hover {
    background: var(--color-charcoal-medium);
    transform: translateY(-4px);
    border-color: var(--color-coral);
}

.why-card__icon {
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.why-card__title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.why-card__text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 4/3;
}

.gallery__item:not(.gallery__item--large) {
    aspect-ratio: 1/1;
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    color: var(--color-white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

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

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.88) 0%,
        rgba(26, 26, 26, 0.7) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__content .section-title {
    margin-bottom: var(--space-md);
}

.cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
}

.cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact__detail {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact__detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    color: var(--color-coral);
}

.contact__detail h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.contact__detail p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact__detail a {
    color: var(--color-coral);
    transition: color var(--transition);
}

.contact__detail a:hover {
    color: var(--color-coral-dark);
}

.contact__form-wrapper {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.contact__form-header {
    margin-bottom: var(--space-xl);
}

.contact__form-header h3 {
    font-size: 1.75rem;
    margin-bottom: var(--space-sm);
}

.contact__form-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Styles */
.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--color-coral);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

.form__success.active {
    display: block;
}

.form__success-icon {
    margin-bottom: var(--space-md);
}

.form__success h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.form__success p {
    color: var(--color-text-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-charcoal);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer__logo-icon {
    color: var(--color-coral);
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer__links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.footer__links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-white);
}

.footer__contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-coral);
    margin-bottom: var(--space-md);
}

.footer__contact p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer__contact a:hover {
    color: var(--color-coral);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .why-us__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }
    
    .nav__menu-btn {
        display: block;
    }
    
    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about__image {
        order: -1;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .why-us__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery__item--large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about__stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
    }
    
    .gallery__item--large {
        grid-column: span 1;
    }
    
    .cta__actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}
