/* ============================================
   Express Carry Out & Grocers — Custom Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    
    --cream-50:   #fefdf9;
    --cream-100:  #fdf8ee;
    --cream-200:  #f5f0e8;
    --cream-300:  #e8e0d0;
    --cream-400:  #d4c8b4;
    
    --amber-400:  #f59e0b;
    --amber-500:  #d97706;
    --amber-600:  #b45309;
    
    --stone-50:   #fafaf9;
    --stone-100:  #f5f5f4;
    --stone-200:  #e7e5e4;
    --stone-300:  #d6d3d1;
    --stone-400:  #a8a29e;
    --stone-500:  #78716c;
    --stone-600:  #57534e;
    --stone-700:  #44403c;
    --stone-800:  #292524;
    --stone-900:  #1c1917;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(6, 95, 70, 0.06), 0 1px 2px rgba(6, 95, 70, 0.04);
    --shadow-md:  0 4px 14px rgba(6, 95, 70, 0.08), 0 2px 6px rgba(6, 95, 70, 0.04);
    --shadow-lg:  0 10px 30px rgba(6, 95, 70, 0.10), 0 4px 10px rgba(6, 95, 70, 0.05);
    --shadow-xl:  0 20px 50px rgba(6, 95, 70, 0.12), 0 8px 16px rgba(6, 95, 70, 0.06);
    
    --radius-sm:  10px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--stone-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul, ol {
    list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--emerald-900);
}

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone-600);
    max-width: 560px;
    margin: 0 auto;
}

.text-accent {
    color: var(--emerald-600);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    box-shadow: 0 4px 14px rgba(4, 120, 87, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(4, 120, 87, 0.4);
}

.btn-outline {
    background: rgba(255,255,255,0.85);
    color: var(--emerald-800);
    border: 2px solid var(--emerald-300);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background: #fff;
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 249, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--cream-200);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(254, 253, 249, 0.95);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
}

.logo-icon {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--emerald-800);
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--stone-500);
    letter-spacing: 0.04em;
}

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

.nav a:not(.btn) {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--stone-700);
    border-radius: 50px;
    transition: var(--transition);
}

.nav a:not(.btn):hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-toggle:hover {
    background: var(--emerald-50);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 120px 0 0;
    background: linear-gradient(160deg, var(--cream-50) 0%, var(--emerald-50) 50%, var(--cream-100) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 2px 2px, var(--emerald-700) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--emerald-700);
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--emerald-200);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-badge svg { opacity: 0.7; }

.hero-headline {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--emerald-900);
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.12rem;
    color: var(--stone-600);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.6);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    backdrop-filter: blur(8px);
}

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

.trust-item svg {
    color: var(--emerald-600);
    margin-bottom: 6px;
    opacity: 0.8;
}

.trust-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--stone-700);
    line-height: 1.4;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
    flex-shrink: 0;
    margin: 0 16px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    max-width: 520px;
}

.hero-image-stack {
    position: relative;
}

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

.hero-img-main {
    width: 100%;
    aspect-ratio: 520 / 640;
}

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

.hero-img-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    width: 200px;
    aspect-ratio: 320 / 200;
    border: 5px solid var(--cream-50);
    z-index: 2;
}

.hero-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.hero-img-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    z-index: 3;
    background: var(--emerald-700);
    color: #fff;
    padding: 16px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.badge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ---------- Sections ---------- */
.section {
    padding: 100px 0;
}

/* ---------- About ---------- */
.about {
    background: var(--cream-50);
}

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

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-float {
    position: absolute;
    bottom: -24px;
    right: -20px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--cream-50);
    box-shadow: var(--shadow-md);
}

.about-img-float img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-stat-card {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--emerald-700);
    color: #fff;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.stat-icon {
    display: block;
    margin-bottom: 6px;
    opacity: 0.85;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content { max-width: 480px; }

.about-content > p {
    color: var(--stone-600);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

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

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
}

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--emerald-800);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.88rem;
    color: var(--stone-500);
    line-height: 1.5;
}

/* ---------- Products ---------- */
.products {
    background: var(--cream-200);
}

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

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--cream-300);
    transition: var(--transition);
}

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

.product-img {
    height: 200px;
    overflow: hidden;
}

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

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

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.product-body h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-800);
}

.product-body p {
    font-size: 0.9rem;
    color: var(--stone-500);
    line-height: 1.6;
}

/* ---------- Community ---------- */
.community {
    background: var(--emerald-800);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.community::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
    background-size: 28px 28px;
    pointer-events: none;
}

.community .section-label {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: var(--emerald-200);
}

.community .section-title { color: #fff; }
.community .text-accent { color: var(--emerald-300); }

.community-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.community-content > p {
    color: rgba(255,255,255,0.75);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.community-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.value-item {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
}

.value-item:hover {
    background: rgba(255,255,255,0.12);
}

.value-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: 8px;
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 4px;
}

.value-item span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.community-visual { position: relative; }

.community-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.comm-img {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.comm-img-1 { grid-column: 1 / -1; }
.comm-img-2 { grid-column: 1; }
.comm-img-3 { grid-column: 2; }

.comm-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 380 / 260;
    border-radius: var(--radius-md);
    transition: transform 0.5s ease;
}

.comm-img:hover img { transform: scale(1.04); }

/* ---------- Visit / Contact ---------- */
.visit {
    background: var(--cream-100);
}

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

.visit-desc {
    color: var(--stone-600);
    font-size: 1.02rem;
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    transition: var(--transition);
    text-decoration: none;
}

.contact-card:hover {
    border-color: var(--emerald-300);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: var(--emerald-700);
    color: #fff;
    border-color: var(--emerald-700);
}

.contact-card-text {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.contact-card-text strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-400);
    margin-bottom: 2px;
}

.contact-card-text span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--stone-800);
}

.contact-card-arrow {
    color: var(--stone-300);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-card:hover .contact-card-arrow {
    color: var(--emerald-600);
    transform: translateX(4px);
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    border: 4px solid #fff;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-brand .logo-icon { color: var(--emerald-300); }

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--emerald-300);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-contact a:hover { color: #fff; }

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    margin-top: 6px;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.4);
}

/* ---------- Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-container,
    .about-grid,
    .community-layout,
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .hero-content { max-width: 100%; }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 249, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav a:not(.btn) {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
    }
    
    .nav .btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }
    
    .hero { padding: 100px 0 0; }
    
    .hero-container { padding-bottom: 60px; }
    
    .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
    
    .hero-actions { flex-direction: column; }
    
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    .hero-trust { flex-direction: column; gap: 16px; }
    
    .trust-divider { 
        width: 40px; 
        height: 1px; 
        margin: 0; 
    }
    
    .hero-img-accent { display: none; }
    
    .section { padding: 72px 0; }
    
    .products-grid { grid-template-columns: 1fr; }
    
    .community-values { grid-template-columns: 1fr; }
    
    .about-img-float { display: none; }
    
    .about-stat-card { right: 10px; top: -14px; }
    
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    
    .hero-badge { font-size: 0.78rem; padding: 6px 14px; }
    
    .hero-img-badge { right: 10px; top: 16px; padding: 12px 16px; }
    
    .badge-number { font-size: 1.2rem; }
    
    .community-img-grid { grid-template-columns: 1fr; }
    .comm-img-1 { grid-column: 1; }
    .comm-img-2 { grid-column: 1; }
    .comm-img-3 { grid-column: 1; }
    .comm-img img { aspect-ratio: 380 / 220; }
}
