/* ========================================
   3rd Street Nutrition — Styles
   Bold editorial · Forest green + cream
   ======================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: #FDFBF7;
    color: #0f241c;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
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 { list-style: none; }

/* FONT IMPORTS */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
}
.nav-logo-mark {
    width: 36px;
    height: 36px;
    background: #1B4332;
    color: #D4A373;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.nav-logo-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #1B4332;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: #1B4332;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #D4A373;
    transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:not(.nav-cta):hover { color: #2a5c3f; }
.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: #D4A373 !important;
    border: 1.5px solid #D4A373;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.2s;
}
.nav-cta:hover {
    background: #D4A373;
    color: #1B4332 !important;
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: #1B4332;
    border-radius: 8px;
    transition: background 0.2s;
}
.nav-toggle:hover { background: rgba(27, 67, 50, 0.06); }

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #FDFBF7;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1B4332;
    border-radius: 50%;
    border: 1.5px solid rgba(27, 67, 50, 0.15);
    transition: all 0.2s;
}
.mobile-menu-close:hover { background: #1B4332; color: #FDFBF7; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mobile-menu-link {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    color: #1B4332;
    padding: 12px 0;
    transition: color 0.2s;
}
.mobile-menu-link:hover { color: #D4A373; }
.mobile-menu-cta {
    font-family: 'Inter', sans-serif;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #D4A373 !important;
    border: 1.5px solid #D4A373;
    padding: 12px 28px;
    border-radius: 100px;
    margin-top: 8px;
}
.mobile-menu-address {
    margin-top: 16px;
    font-size: 14px;
    color: #2a5c3f;
    opacity: 0.6;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    padding: 120px 24px 80px;
    position: relative;
    background: #FDFBF7;
    overflow: hidden;
}
.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(27, 67, 50, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 163, 115, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-left { max-width: 560px; }
.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #D4A373;
    margin-bottom: 20px;
}
.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 700;
    line-height: 1.05;
    color: #1B4332;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-accent {
    font-style: italic;
    color: #D4A373;
    font-weight: 600;
}
.hero-body {
    font-size: 18px;
    line-height: 1.7;
    color: #2a5c3f;
    margin-bottom: 36px;
    max-width: 460px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #1B4332;
}
.hero-stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #2a5c3f;
    opacity: 0.7;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(27, 67, 50, 0.15);
}
.hero-right {
    position: relative;
    min-height: 560px;
}
.hero-image-main {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(27, 67, 50, 0.12);
}
.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-image-float {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.15);
    border: 4px solid #FDFBF7;
}
.hero-image-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-float-tag {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #1B4332;
    color: #FDFBF7;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2a5c3f;
    opacity: 0.5;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.btn-primary {
    background: #1B4332;
    color: #FDFBF7;
    border: 1.5px solid #1B4332;
}
.btn-primary:hover {
    background: #2a5c3f;
    border-color: #2a5c3f;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.2);
}
.btn-outline {
    background: transparent;
    color: #1B4332;
    border: 1.5px solid rgba(27, 67, 50, 0.3);
}
.btn-outline:hover {
    border-color: #1B4332;
    background: rgba(27, 67, 50, 0.04);
}
.btn-outline-light {
    background: transparent;
    color: #FDFBF7;
    border: 1.5px solid rgba(253, 251, 247, 0.4);
}
.btn-outline-light:hover {
    border-color: #FDFBF7;
    background: rgba(253, 251, 247, 0.1);
}

/* ========================================
   MARQUEE
   ======================================== */
.marquee {
    background: #1B4332;
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: marquee 30s linear infinite;
}
.marquee span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 14px;
    font-weight: 600;
    color: #D4A373;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.marquee-dot {
    color: rgba(212, 163, 115, 0.4) !important;
    font-size: 8px !important;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================
   SECTION BASE
   ======================================== */
.section {
    padding: 100px 24px;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #D4A373;
    margin-bottom: 16px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    color: #1B4332;
    letter-spacing: -0.02em;
}

/* ========================================
   PRODUCTS
   ======================================== */
.products { background: #FDFBF7; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.product-card {
    background: #FAF5ED;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.1);
}
.product-card-img {
    height: 240px;
    overflow: hidden;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body {
    padding: 28px;
}
.product-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1B4332;
    margin-bottom: 10px;
}
.product-card-desc {
    font-size: 15px;
    line-height: 1.65;
    color: #2a5c3f;
    opacity: 0.8;
    margin-bottom: 20px;
}
.product-card-link {
    font-size: 13px;
    font-weight: 600;
    color: #D4A373;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.product-card-link:hover { gap: 10px; }

/* ========================================
   FEATURE
   ======================================== */
.feature { background: #1B4332; padding: 100px 24px; }
.feature-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.feature-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}
.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.feature-content .section-eyebrow { color: #D4A373; text-align: left; }
.feature-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: #FDFBF7;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.feature-text {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(253, 251, 247, 0.7);
    margin-bottom: 16px;
}
.feature-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}
.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #FDFBF7;
    background: rgba(253, 251, 247, 0.08);
    border: 1px solid rgba(253, 251, 247, 0.12);
    padding: 10px 16px;
    border-radius: 100px;
}

/* ========================================
   ABOUT
   ======================================== */
.about { background: #FDFBF7; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content .section-eyebrow { text-align: left; }
.about-content .section-title { text-align: left; }
.about-text {
    font-size: 16px;
    line-height: 1.75;
    color: #2a5c3f;
    margin-bottom: 16px;
}
.about-quote {
    margin-top: 36px;
    padding: 28px;
    background: #FAF5ED;
    border-radius: 12px;
    border-left: 3px solid #D4A373;
    position: relative;
}
.about-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-style: italic;
    color: #1B4332;
    line-height: 1.5;
    margin-bottom: 12px;
}
.about-quote-source {
    font-size: 13px;
    font-weight: 600;
    color: #D4A373;
    letter-spacing: 0.04em;
}
.about-images {
    position: relative;
    min-height: 500px;
}
.about-img-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(27, 67, 50, 0.1);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.15);
    border: 4px solid #FDFBF7;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   COMMUNITY
   ======================================== */
.community { background: #FAF5ED; }
.community-header { text-align: center; margin-bottom: 56px; }
.community-header .section-title { text-align: center; }
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.community-card {
    background: #FDFBF7;
    border-radius: 16px;
    padding: 36px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(27, 67, 50, 0.06);
}
.community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(27, 67, 50, 0.08);
}
.community-card-icon {
    width: 52px;
    height: 52px;
    background: #1B4332;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A373;
    margin-bottom: 20px;
}
.community-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    color: #1B4332;
    margin-bottom: 10px;
}
.community-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #2a5c3f;
    opacity: 0.8;
}

/* ========================================
   VISIT
   ======================================== */
.visit {
    background: #1B4332;
    padding: 100px 24px;
}
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.visit-info .section-eyebrow { text-align: left; }
.visit-info .section-title { text-align: left; color: #FDFBF7; }
.visit-details {
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.visit-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(253, 251, 247, 0.08);
    border: 1px solid rgba(253, 251, 247, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4A373;
    flex-shrink: 0;
}
.visit-detail-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(253, 251, 247, 0.5);
    margin-bottom: 4px;
}
.visit-detail-value {
    font-size: 15px;
    color: #FDFBF7;
    line-height: 1.6;
}
.visit-phone {
    color: #D4A373 !important;
    font-weight: 600;
    transition: color 0.2s;
}
.visit-phone:hover { color: #C4925E !important; }
.visit-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    min-height: 420px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #0f241c;
    padding: 64px 24px 32px;
}
.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    margin-bottom: 16px;
}
.footer-logo-mark {
    width: 36px;
    height: 36px;
    background: #1B4332;
    color: #D4A373;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}
.footer-logo-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: #FDFBF7;
}
.footer-tagline {
    font-size: 14px;
    color: rgba(253, 251, 247, 0.5);
    line-height: 1.65;
    max-width: 280px;
}
.footer-links-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(253, 251, 247, 0.35);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(253, 251, 247, 0.7);
    padding: 6px 0;
    transition: color 0.2s;
}
.footer-links a:hover { color: #D4A373; }
.footer-phone {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #D4A373;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-phone:hover { color: #C4925E; }
.footer-address {
    font-size: 14px;
    color: rgba(253, 251, 247, 0.5);
    line-height: 1.6;
}
.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(253, 251, 247, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom span {
    font-size: 13px;
    color: rgba(253, 251, 247, 0.35);
}

/* ========================================
   REVEAL ANIMATIONS
   Progressive enhancement — only when JS is active & user prefers motion
   ======================================== */
.reveal {
    opacity: 1;
    transform: none;
    transition: none;
}
.js-active .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-active .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-right { display: none; }
    .hero-left { max-width: 100%; }
    .feature-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-images { order: -1; min-height: 400px; }
    .visit-grid { grid-template-columns: 1fr; }
    .visit-map { min-height: 320px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-headline { font-size: clamp(40px, 10vw, 56px); }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat-divider { display: none; }
    .section { padding: 72px 20px; }
    .products-grid { grid-template-columns: 1fr; }
    .community-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .about-images { min-height: 300px; }
    .about-img-secondary { right: 0; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .visit-cta { flex-direction: column; }
    .visit-cta .btn { width: 100%; justify-content: center; }
}
