/* ============================================
   The Black Cherry — Styles
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #0a0f1a;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.16);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate-800);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

a:hover {
    color: var(--teal-700);
}

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
   ============================================ */

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-eyebrow.light {
    color: var(--teal-200);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 20px;
}

.section-title.light {
    color: #ffffff;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--slate-600);
    line-height: 1.7;
    max-width: 600px;
}

.section-lead.light {
    color: var(--slate-300);
}

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

.section-header {
    margin-bottom: 56px;
}

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

.light-muted {
    color: var(--slate-400);
    line-height: 1.7;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--teal-600);
    color: #ffffff;
    border: 2px solid var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* ============================================
   Header
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    text-decoration: none;
}

.logo:hover {
    color: var(--teal-600);
}

.logo-icon {
    color: var(--teal-600);
}

.logo-light {
    color: #ffffff;
}

.logo-light:hover {
    color: var(--teal-200);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

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

.nav-list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-list a:hover {
    color: var(--teal-600);
    background: var(--teal-50);
}

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

.nav-toggle:hover {
    background: var(--slate-100);
}

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }

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

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

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

/* ============================================
   Hero
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7872402/pexels-photo-7872402.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280') center center / cover no-repeat;
    transform: scale(1.02);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.08); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 26, 0.82) 0%,
        rgba(15, 23, 42, 0.68) 50%,
        rgba(13, 148, 136, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--slate-300);
    margin-bottom: 40px;
    max-width: 560px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--slate-400);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 48px; }
    50% { opacity: 0.4; height: 32px; }
}

/* ============================================
   Trust Bar
   ============================================ */

.trust-bar {
    background: var(--slate-900);
    padding: 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: background var(--transition);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.trust-icon {
    flex-shrink: 0;
    color: var(--teal-400);
}

.trust-item span:last-child {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--slate-300);
    line-height: 1.4;
}

/* ============================================
   About
   ============================================ */

.about {
    padding: 100px 0;
    background: #ffffff;
}

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

.about-visual {
    position: relative;
}

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

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

.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--teal-600);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.badge-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 4px;
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
}

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

.about-content .section-lead {
    margin-bottom: 16px;
}

.about-content p {
    color: var(--slate-600);
    margin-bottom: 24px;
    line-height: 1.75;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: var(--slate-700);
    line-height: 1.5;
}

.feature-check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* ============================================
   Services
   ============================================ */

.services {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--slate-200);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--teal-50);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--teal-600);
    color: #ffffff;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.92rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ============================================
   Bakery Spotlight
   ============================================ */

.bakery {
    padding: 100px 0;
    background: #ffffff;
}

.bakery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bakery-images {
    position: relative;
}

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

.bakery-img-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bakery-img-stack {
    position: absolute;
    bottom: -40px;
    right: -40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bakery-img-stack img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    object-fit: cover;
    display: block;
}

.bakery-content {
    padding: 16px 0;
}

.bakery-content .section-lead {
    margin-bottom: 16px;
}

.bakery-content p {
    color: var(--slate-600);
    margin-bottom: 24px;
    line-height: 1.75;
}

.bakery-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 36px;
    padding: 28px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-600);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* ============================================
   Community
   ============================================ */

.community {
    padding: 100px 0;
    background: var(--slate-900);
}

.community-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.community-content .section-lead {
    margin-bottom: 16px;
}

.community-content p {
    line-height: 1.75;
    margin-bottom: 16px;
}

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

.community-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   Visit / Contact
   ============================================ */

.visit {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.contact-details {
    margin-top: 40px;
}

.contact-row {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--slate-200);
}

.contact-row:first-child {
    border-top: 1px solid var(--slate-200);
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--teal-50);
    color: var(--teal-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 6px;
}

.contact-row dd {
    font-size: 1rem;
    color: var(--slate-800);
    line-height: 1.6;
}

.contact-row dd a {
    color: var(--slate-800);
}

.contact-row dd a:hover {
    color: var(--teal-600);
}

/* Form */
.form-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-200);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.92rem;
    color: var(--slate-500);
    margin-bottom: 32px;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--teal-600);
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: 72px 0 0;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-tagline {
    color: var(--slate-500);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-500);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--teal-400);
}

.footer-contact address {
    font-style: normal;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact a {
    color: var(--slate-500);
}

.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--slate-600);
}

/* ============================================
   Scroll Animations
   ============================================ */

.reveal {
    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);
}

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

.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; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .about-grid,
    .bakery-layout,
    .community-inner,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-accent {
        right: 16px;
        bottom: -24px;
    }

    .bakery-img-stack {
        right: 16px;
        bottom: -24px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 999;
    }

    .nav-list.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .nav-list .btn {
        align-self: flex-start;
        margin-top: 8px;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: 20px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .bakery-img-stack {
        position: relative;
        bottom: auto;
        right: auto;
        flex-direction: row;
        margin-top: 16px;
    }

    .bakery-img-stack img {
        width: 50%;
    }

    .bakery-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .community-inner {
        gap: 40px;
    }

    .form-card {
        padding: 28px 24px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .about-badge {
        top: -12px;
        left: -12px;
        padding: 12px 16px;
    }

    .about-img-accent {
        width: 65%;
        right: 8px;
        bottom: -16px;
    }

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