/* ============================================
   Jiffy Foods Market & Deli — Premium Dark Luxury
   Terracotta + Sand Palette
   ============================================ */

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

:root {
    --bg-primary: #0D0D0D;
    --bg-secondary: #141414;
    --bg-tertiary: #1A1A1A;
    --bg-card: #161616;
    --text-primary: #F5E6D3;
    --text-secondary: #C4A882;
    --text-muted: #8A7B6B;
    --accent-terracotta: #C86D4B;
    --accent-terracotta-light: #D4896A;
    --accent-sand: #D4B896;
    --accent-gold: #C9A96E;
    --accent-gold-light: #D4BA82;
    --border-subtle: rgba(200, 109, 75, 0.15);
    --border-gold: rgba(201, 169, 110, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-terracotta);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--accent-terracotta);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 24px;
    font-weight: 900;
}

.text-accent {
    color: var(--accent-terracotta);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 480px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-terracotta);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 109, 75, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
    border-color: var(--accent-terracotta);
    color: var(--accent-terracotta);
}

.btn-map {
    margin-top: 32px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border-subtle);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: var(--accent-terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-sand) !important;
    font-weight: 500 !important;
    border: 1px solid var(--border-gold);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-cta:hover {
    background: rgba(201, 169, 110, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-line {
    width: 24px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--accent-terracotta);
}

.mobile-menu-phone {
    font-family: var(--font-body);
    font-size: 1rem !important;
    color: var(--accent-sand) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(200, 109, 75, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 30% 30% at 90% 90%, rgba(200, 109, 75, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-sand);
    margin-bottom: 32px;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--accent-sand);
    flex-shrink: 0;
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-emphasis {
    color: var(--accent-terracotta);
    font-style: italic;
    font-weight: 400;
}

.hero-subheadline {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

/* Hero Image Stack */
.hero-image-col {
    position: relative;
    height: 680px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hero-img-main {
    width: 75%;
    height: 85%;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-img-accent {
    width: 55%;
    height: 38%;
    bottom: 5%;
    left: 0;
    z-index: 3;
    border: 2px solid var(--border-gold);
}

.hero-img-badge {
    position: absolute;
    bottom: 38%;
    left: 55%;
    z-index: 4;
    background: var(--accent-terracotta);
    color: var(--text-primary);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent-terracotta), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--border-subtle);
}

.divider-diamond {
    width: 8px;
    height: 8px;
    background: var(--accent-terracotta);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    position: relative;
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-terracotta);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    padding: 20px 0;
}

.about-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-value-icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 109, 75, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-terracotta);
    flex-shrink: 0;
}

.about-value span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* --- Products Section --- */
.products {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-label {
    justify-content: center;
}

.section-header .section-label::before {
    display: none;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-terracotta);
    box-shadow: 0 16px 48px rgba(200, 109, 75, 0.12);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.6), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay svg {
    color: var(--accent-gold);
}

.product-card-body {
    padding: 24px;
}

.product-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Deli Highlight --- */
.deli-highlight {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.deli-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.deli-highlight-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.deli-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 36px;
}

.deli-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.deli-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.deli-features li svg {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.deli-highlight-image {
    position: relative;
}

.deli-highlight-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.deli-image-float {
    position: absolute;
    bottom: 32px;
    left: -24px;
    background: var(--accent-terracotta);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.deli-float-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 230, 211, 0.7);
    margin-bottom: 4px;
}

.deli-float-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.visit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(200, 109, 75, 0.1);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-terracotta);
    flex-shrink: 0;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.visit-link {
    color: var(--accent-sand);
    transition: var(--transition);
}

.visit-link:hover {
    color: var(--accent-terracotta);
}

.visit-map {
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

/* --- Footer --- */
.footer {
    padding: 80px 0 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    background: var(--accent-terracotta);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 360px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-sand);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-image-col {
        height: 480px;
        max-width: 500px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image-wrap img {
        height: 400px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .deli-highlight-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .deli-highlight-image img {
        height: 450px;
    }
    
    .deli-image-float {
        left: 16px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        height: 360px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 80px;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .hero-image-col {
        height: 380px;
    }
    
    .hero-img-main {
        width: 70%;
        height: 78%;
    }
    
    .hero-img-accent {
        width: 55%;
        height: 35%;
    }
    
    .hero-img-badge {
        left: 50%;
        bottom: 35%;
        padding: 12px 16px;
        font-size: 0.75rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.2rem;
    }
    
    .hero-scroll {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .products, .deli-highlight, .visit {
        padding: 80px 0;
    }
    
    .about-image-accent {
        width: 120px;
        height: 120px;
        bottom: -12px;
        right: -12px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .deli-image-float {
        left: 16px;
        bottom: 20px;
        padding: 16px 20px;
    }
    
    .deli-float-value {
        font-size: 1.1rem;
    }
}
