/* ═══════════════════════════════════════════════
   JANSHI PURE FOOD — Main Stylesheet
   Simply Pure. Authentic & Trusted.
   ═══════════════════════════════════════════════ */

/* ── CSS CUSTOM PROPERTIES ─────────────────── */
:root {
    /* Colors */
    --clr-primary:     #8B1A1A;
    --clr-primary-dark: #6B1414;
    --clr-secondary:   #E8A020;
    --clr-accent:      #4A7C59;
    --clr-accent-light:#E8F0EB;
    --clr-bg:          #FAF7F0;
    --clr-bg-alt:      #F2EDE3;
    --clr-text:        #2C2C2C;
    --clr-text-light:  #5A5A5A;
    --clr-text-muted:  #8A8A8A;
    --clr-dark:        #5C1010;
    --clr-white:       #FFFFFF;
    --clr-border:      #E5DFD3;
    --clr-error:       #D32F2F;
    --clr-success:     #2E7D32;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;

    /* Layout */
    --container-max: 1440px;
    --header-height: 135px;

    /* Transitions */
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}


/* ── RESET & BASE ──────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-primary-dark);
}

ul {
    list-style: none;
}


/* ── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--clr-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--clr-text-light);
}


/* ── LAYOUT ────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-2xl) 0;
}

.section-alt {
    background-color: var(--clr-bg-alt);
}

.section-dark {
    background-color: var(--clr-dark);
    color: var(--clr-white);
}

.section-dark h2,
.section-dark h3,
.section-dark p {
    color: var(--clr-white);
}

.section-dark p {
    opacity: 0.85;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .accent-line {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--clr-secondary);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}


/* ── HEADER ────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--clr-bg);
    height: var(--header-height);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    height: 100px;
    background: rgba(250, 247, 240, 0.97);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.site-header.scrolled .brand-logo-img {
    height: 70px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 120px; /* Full size at top */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Navigation */
.nav-menu ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text);
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--clr-primary);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-text);
    transition: all var(--transition);
    border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-overlay.active {
    opacity: 1;
}


/* ── BUTTONS ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}

.btn-primary:hover {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    color: var(--clr-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.btn-outline:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.btn-secondary {
    background: var(--clr-secondary);
    color: var(--clr-text);
    border-color: var(--clr-secondary);
}

.btn-secondary:hover {
    background: #d4901a;
    border-color: #d4901a;
    transform: translateY(-1px);
}

.btn-header {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-header:hover {
    background: var(--clr-primary-dark);
    border-color: var(--clr-primary-dark);
    color: var(--clr-white);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-white {
    background: var(--clr-white);
    color: var(--clr-primary);
    border-color: var(--clr-white);
}

.btn-white:hover {
    background: var(--clr-bg);
    color: var(--clr-primary-dark);
}


/* ── HERO SECTION ──────────────────────────── */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--clr-dark) 0%, #3a0a0a 50%, #1a0505 100%);
    color: var(--clr-white);
    overflow: hidden;
    margin-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/brand/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-secondary);
    border: 1px solid rgba(232, 160, 32, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 2px;
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.hero h1 span {
    color: var(--clr-secondary);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* Decorative spice element */
.hero-decoration {
    position: absolute;
    right: -5%;
    bottom: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,160,32,0.1) 0%, transparent 70%);
    z-index: 0;
}


/* ── TRUST BAR ─────────────────────────────── */
.trust-bar {
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-md) 0;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text);
}

.trust-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    flex-shrink: 0;
}

.trust-icon svg {
    width: 20px;
    height: 20px;
}


/* ── PRODUCT CARDS ─────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.product-card {
    background: var(--clr-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--clr-border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--clr-bg-alt);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--clr-primary);
    color: var(--clr-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-card-body {
    padding: var(--space-md);
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
}

.product-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.product-card-body h3 a {
    color: var(--clr-text);
    text-decoration: none;
}

.product-card-body h3 a:hover {
    color: var(--clr-primary);
}

.product-card-tagline {
    font-size: 0.88rem;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.product-card-meta {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.product-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}


/* ── PRODUCT DETAIL PAGE ───────────────────── */
.product-hero {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
    background: var(--clr-bg-alt);
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.product-image-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--clr-white);
    aspect-ratio: 1;
}

.product-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info .product-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-xs);
}

.product-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-info .product-tagline {
    font-size: 1.15rem;
    color: var(--clr-secondary);
    font-weight: 500;
    margin-bottom: var(--space-md);
    font-style: italic;
}

.product-info .product-origin {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-light);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--clr-border);
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

/* Spec badges */
.product-specs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.spec-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    min-width: 100px;
    text-align: center;
}

.spec-badge .spec-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.spec-badge .spec-label {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.2rem;
}

/* Features list */
.product-features {
    margin-bottom: var(--space-lg);
}

.product-features h3 {
    margin-bottom: var(--space-sm);
}

.product-features ul {
    list-style: none;
}

.product-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
    color: var(--clr-text-light);
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-accent);
    font-weight: 700;
}

/* Uses */
.product-uses {
    margin-bottom: var(--space-lg);
}

.product-uses h3 {
    margin-bottom: var(--space-sm);
}

.uses-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.use-tag {
    background: var(--clr-accent-light);
    color: var(--clr-accent);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
}


/* ── TRACEABILITY SECTION ──────────────────── */
.traceability-section {
    background: var(--clr-bg-alt);
}

.trace-journey {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.trace-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 180px;
    position: relative;
}

.trace-step::after {
    content: '';
    position: absolute;
    top: 28px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--clr-border);
    z-index: 0;
}

.trace-step:last-child::after {
    display: none;
}

.trace-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-white);
    border: 2px solid var(--clr-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
    color: var(--clr-primary);
}

.trace-icon svg {
    width: 24px;
    height: 24px;
}

.trace-step h4 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.trace-step p {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}


/* ── WHY JANSHI SECTION ────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-card {
    text-align: center;
    padding: var(--space-lg);
}

.value-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    background: var(--clr-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
}

.value-card h3 {
    margin-bottom: var(--space-xs);
}

.value-card p {
    font-size: 0.95rem;
}


/* ── TESTIMONIALS ──────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.testimonial-card {
    background: var(--clr-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--clr-secondary);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-text {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--clr-text-light);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--clr-text);
}

.testimonial-role {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
}


/* ── CTA BANNER ────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-dark) 100%);
    color: var(--clr-white);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.cta-banner h2 {
    color: var(--clr-white);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ── ABOUT PAGE ────────────────────────────── */
.page-header {
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
    background: var(--clr-bg-alt);
    text-align: center;
}

.page-header h1 {
    margin-bottom: var(--space-xs);
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--space-sm) 0;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--clr-text-muted);
}

.breadcrumb a:hover {
    color: var(--clr-primary);
}

.breadcrumb span {
    color: var(--clr-text-muted);
    margin: 0 0.5rem;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-story-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.about-story-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}


/* ── CONTACT FORM ──────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-xl);
    align-items: start;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-text);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-text);
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(139, 26, 26, 0.08);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--clr-error);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-errors {
    display: none;
    background: #FFF0F0;
    border: 1px solid var(--clr-error);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--clr-error);
    font-size: 0.88rem;
}

.form-success {
    background: #F0FFF0;
    border: 1px solid var(--clr-success);
    border-radius: var(--radius-sm);
    padding: var(--space-md);
    color: var(--clr-success);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

/* Contact info sidebar */
.contact-info-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    background: var(--clr-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.contact-info-text p {
    font-size: 0.88rem;
    margin-bottom: 0;
}

.contact-info-text a {
    color: var(--clr-text-light);
}

.contact-info-text a:hover {
    color: var(--clr-primary);
}


/* ── FOOTER ────────────────────────────────── */
.site-footer {
    background: var(--clr-dark);
    color: rgba(255,255,255,0.8);
    padding: var(--space-2xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo-img {
    height: 40px;
    filter: brightness(0) invert(1); /* Makes the logo white for the dark footer */
}

.footer-tagline {
    color: var(--clr-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    margin: var(--space-sm) 0 0.5rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-white);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    transition: color var(--transition);
}

.footer-col ul a:hover {
    color: var(--clr-secondary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact svg {
    color: var(--clr-secondary);
    flex-shrink: 0;
}

.footer-bottom {
    padding: var(--space-md) 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.25rem;
}

.footer-made {
    font-size: 0.78rem;
}


/* ── WHATSAPP FLOAT ────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 999;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition);
    pointer-events: none;
}

.whatsapp-float.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}


/* ── SCROLL REVEAL ANIMATIONS ──────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for grid items */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ── RELATED PRODUCTS ──────────────────────── */
.related-products {
    padding: var(--space-2xl) 0;
}

.related-products .products-grid {
    grid-template-columns: repeat(4, 1fr);
}


/* ── PRODUCTS FILTER ───────────────────────── */
.products-filter {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    background: var(--clr-white);
    color: var(--clr-text-light);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
}


/* ── 404 PAGE ──────────────────────────────── */
.page-404 {
    text-align: center;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-404 h1 {
    font-size: 6rem;
    color: var(--clr-primary);
    opacity: 0.2;
    margin-bottom: 0;
}

.page-404 h2 {
    margin-bottom: var(--space-sm);
}

.page-404 p {
    margin-bottom: var(--space-lg);
}


/* ── PROMISE SECTION (Shared: Home + About) ─── */
.promise-section {
    background: var(--clr-bg);
}

.promise-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.promise-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--clr-white);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(139,26,26,0.12);
}

.promise-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.promise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--clr-text);
}

.promise-card p {
    font-size: 0.9rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* Journey Timeline */
.journey-section {
    background: var(--clr-bg-alt);
    border-radius: var(--radius-lg);
    padding: 3rem;
    position: relative;
}

.journey-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--clr-primary);
    margin-bottom: 2.5rem;
}

.journey-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary), var(--clr-accent), var(--clr-primary));
    border-radius: 2px;
}

.journey-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.journey-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--clr-white);
    border: 3px solid var(--clr-primary);
    color: var(--clr-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.journey-step:hover .journey-number {
    background: var(--clr-primary);
    color: var(--clr-white);
}

.journey-content h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--clr-text);
}

.journey-content p {
    font-size: 0.85rem;
    color: var(--clr-text-light);
    line-height: 1.6;
}

/* About page story layout fix */
.about-mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-mission-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--clr-primary);
    margin-bottom: 1.5rem;
}

.about-mission-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--clr-text-light);
}

.about-mission-text p strong {
    color: var(--clr-text);
}

.about-mission-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.about-mission-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .promise-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .journey-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .journey-timeline::before {
        display: none;
    }
    .about-mission-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .promise-values-grid {
        grid-template-columns: 1fr;
    }
    .journey-timeline {
        grid-template-columns: 1fr;
    }
    .journey-section {
        padding: 2rem 1.5rem;
    }
}
