/* ============================================
   Nahm Pure Foods - Premium Landing Page
   Brand Colors:
   - Primary Gold: #DAA520
   - Black: #000000
   - Secondary Brown: #8B4513
   - Dark Brown: #442109
   Typography: Poppins (headings), Inter (body)
   ============================================ */

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

:root {
    --gold: #DAA520;
    --gold-light: #E8C55B;
    --gold-dark: #B8941C;
    --black: #000000;
    --black-soft: #1a1a1a;
    --white: #ffffff;
    --cream: #FDF8F0;
    --cream-dark: #F5EEE3;
    --brown: #8B4513;
    --brown-dark: #442109;
    --gray: #666666;
    --gray-light: #999999;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-gold: 0 4px 20px rgba(218, 165, 32, 0.25);

    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--black-soft);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black);
}

.gold-text {
    color: var(--gold);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 16px;
}

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

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

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--black-soft);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    padding: 10px 24px;
    border: 2px solid var(--gold);
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--gold);
    color: var(--black);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--black);
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 120px 60px 80px;
    margin-left: 5%;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 2px;
    margin-bottom: 28px;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--white);
}

.hero-title .gold-text {
    color: var(--gold);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

/* ============================================
   Promise/Values Section
   ============================================ */
.promise {
    padding: 100px 0;
    background-color: var(--black);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.promise-item {
    text-align: center;
    padding: 32px 20px;
}

.promise-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--gold);
}

.promise-icon svg {
    width: 100%;
    height: 100%;
}

.promise-item h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 12px;
}

.promise-item p {
    font-size: 0.875rem;
    color: var(--gray-light);
    line-height: 1.6;
}

/* ============================================
   Story Section
   ============================================ */
.story {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.story .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content {
    padding-right: 40px;
}

.story-text {
    margin-bottom: 40px;
}

.story-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.story-text p:first-child {
    font-size: 1.125rem;
}

.story-signature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.signature-logo {
    width: 60px;
    height: auto;
}

.signature-info {
    display: flex;
    flex-direction: column;
}

.signature-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
}

.signature-title {
    font-size: 0.875rem;
    color: var(--gray);
}

.story-visual {
    position: relative;
}

.story-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.story-frame {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 4px;
    pointer-events: none;
}

/* ============================================
   Products Section
   ============================================ */
.products {
    padding: 120px 0;
    background-color: var(--white);
}

.products-header {
    text-align: center;
    margin-bottom: 60px;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

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

.product-card.featured {
    grid-row: span 1;
}

.product-card.featured .product-badge {
    background-color: var(--gold);
    color: var(--black);
}

.product-image {
    aspect-ratio: 1 / 1.2;
    min-height: 320px;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border: 2px solid #DAA521 !important;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--black);
    color: var(--white);
    border-radius: 2px;
    z-index: 2;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.product-info p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.6;
}

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

/* ============================================
   Heritage Section
   ============================================ */
.heritage {
    position: relative;
    padding: 140px 0;
    background-color: var(--black);
    overflow: hidden;
}

.heritage-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23DAA520' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.heritage-content {
    position: relative;
    z-index: 2;
    /* max-width: 700px; */
}

.heritage-text {
    font-size: 1.125rem;
    color: var(--gray-light);
    margin-bottom: 50px;
    line-height: 1.8;
}

.heritage-stats {
    display: flex;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   Audience Section
   ============================================ */
.audience {
    padding: 120px 0;
    background-color: var(--cream);
}

.audience-header {
    text-align: center;
    margin-bottom: 60px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.audience-card {
    background-color: var(--white);
    padding: 48px 36px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

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

.audience-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    color: var(--gold);
}

.audience-icon svg {
    width: 100%;
    height: 100%;
}

.audience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.audience-card p {
    font-size: 0.9375rem;
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   Quote Section
   ============================================ */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.main-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.main-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 500;
    font-style: italic;
    color: var(--black);
    line-height: 1.4;
    margin-bottom: 32px;
}

.main-quote cite {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--black);
    opacity: 0.7;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
    background-color: var(--white);
}

.contact .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--gray);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.contact-value {
    font-size: 1rem;
    color: var(--black);
}

.contact-value:hover {
    color: var(--gold);
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-logo-container {
    padding: 60px;
    background-color: var(--cream);
    border-radius: 8px;
}

.contact-logo {
    width: 200px;
    height: auto;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--black);
    padding: 80px 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--gray-light);
    line-height: 1.6;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

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

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 0.9375rem;
    color: var(--gray-light);
}

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

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--gray);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        background-position: right center;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.5) 100%
        );
    }

    .hero-content {
        max-width: 100%;
        margin-left: 0;
        padding: 140px 40px 80px;
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

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

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

    .story .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .story-content {
        padding-right: 0;
        order: 2;
    }

    .story-visual {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .heritage-stats {
        flex-wrap: wrap;
        gap: 40px;
    }

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

    .contact .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-visual {
        order: -1;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .promise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .promise-item {
        padding: 20px 16px;
    }

    .promise-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .promise-title {
        font-size: 0.9rem;
    }

    .promise-text {
        font-size: 0.75rem;
    }

    .products-showcase {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .heritage-stats {
        justify-content: flex-start;
    }

    .stat {
        text-align: left;
    }

    .stat-number {
        text-align: left;
    }

    .stat-label {
        text-align: left;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 120px 20px 60px;
    }

    .hero-tag {
        font-size: 0.625rem;
        padding: 6px 12px;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .main-quote p {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .promise-grid {
        gap: 12px;
    }

    .promise-item {
        padding: 16px 12px;
    }

    .promise-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .promise-title {
        font-size: 0.8rem;
    }

    .promise-text {
        font-size: 0.7rem;
        line-height: 1.4;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-image {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

/* Smooth scroll offset for fixed header */
section[id] {
    scroll-margin-top: 80px;
}
