/* ========================================
   PEACHWAVE — Modern Bakery & Grocery Site
   Palette: Charcoal (#1A1A2E) + Coral (#FF6B6B)
   Fonts: Outfit + Playfair Display
======================================== */

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

:root {
    --charcoal: #1A1A2E;
    --charcoal-light: #2D2D44;
    --charcoal-dark: #12121F;
    --coral: #FF6B6B;
    --coral-light: #FF8E8E;
    --coral-dark: #E55555;
    --cream: #FFF8F5;
    --cream-dark: #F5EDE8;
    --white: #FFFFFF;
    --text-dark: #1A1A2E;
    --text-light: #F5F5F7;
    --text-muted: #6B7280;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.12);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.15;
    font-weight: 700;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 12px;
    background: rgba(255, 107, 107, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

.text-coral {
    color: var(--coral);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: var(--charcoal);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 248, 245, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
}

.logo-icon {
    display: flex;
    align-items: center;
}

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral);
    transition: width 0.3s ease;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--coral);
}

.nav-cta {
    background: var(--coral);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--coral-dark) !important;
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    padding: 100px 0 60px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

/* Geometric decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(255, 107, 107, 0.02));
    top: -100px;
    right: -100px;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.06;
    bottom: 15%;
    left: 5%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 107, 107, 0.07);
    top: 25%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-square {
    width: 120px;
    height: 120px;
    background: var(--charcoal);
    opacity: 0.03;
    border-radius: var(--radius-sm);
    bottom: 20%;
    right: 10%;
    transform: rotate(30deg);
}

.geo-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 107, 0.15);
    top: 40%;
    right: 3%;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    background: rgba(255, 107, 107, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: var(--charcoal);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 6/7;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral);
    border-radius: 50%;
    opacity: 0.15;
}

/* Floating stat cards */
.floating-cards {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.float-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    box-shadow: var(--shadow-md);
    text-align: center;
    min-width: 160px;
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    animation-delay: 0s;
    border-left: 4px solid var(--coral);
}

.float-card-2 {
    animation-delay: -2s;
    border-left: 4px solid var(--charcoal);
}

.float-card-3 {
    animation-delay: -4s;
    border-left: 4px solid var(--coral-light);
}

.float-card-icon {
    margin-bottom: 10px;
}

.float-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--charcoal);
    display: block;
}

.float-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

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

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

.product-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.product-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.product-tag {
    display: inline-block;
    background: var(--white);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
}

.product-info {
    padding: 28px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Geometric accent at bottom of products */
.geo-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
}

.geo-accent-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.04;
    bottom: -150px;
    right: 10%;
}

.geo-accent-bar {
    position: absolute;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), transparent);
    bottom: 60px;
    left: 5%;
    border-radius: 2px;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.geo-circle-about {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 107, 0.08);
    position: absolute;
    top: -200px;
    left: -200px;
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

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

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

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

.about-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--charcoal);
}

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

.about-stat-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--coral);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
}

.about-stat-badge .stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.about-stat-badge .stat-word {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* --- Visit Section --- */
.visit {
    padding: 100px 0 0;
    background: var(--cream);
}

.visit-header {
    text-align: center;
    margin-bottom: 60px;
}

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

.visit-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.visit-card-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.visit-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

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

.hours-note {
    font-size: 0.85rem !important;
    color: var(--coral) !important;
    font-weight: 500;
    margin-top: 8px !important;
}

.contact-help {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    margin-top: 8px !important;
}

.phone-link {
    color: var(--coral);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: var(--coral-dark);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--coral);
    transition: gap 0.2s ease;
}

.link-arrow:hover {
    gap: 10px;
}

.map-container {
    margin-top: 0;
    height: 400px;
    filter: grayscale(30%);
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background: var(--charcoal);
    position: relative;
    overflow: hidden;
}

.cta-card {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-shape-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--coral);
    opacity: 0.06;
    top: -60px;
    left: 10%;
}

.cta-shape-2 {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-sm);
    background: var(--coral);
    opacity: 0.05;
    bottom: -40px;
    right: 15%;
    transform: rotate(45deg);
}

.cta-shape-3 {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 107, 107, 0.15);
    top: 20%;
    right: 5%;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
    background: var(--charcoal-dark);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

.footer-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
}

.footer-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-phone {
    color: var(--coral) !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: var(--coral-light) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-card {
        gap: 40px;
    }
    
    .products-grid {
        gap: 24px;
    }
    
    .about-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 80px;
    }
    
    .hero-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        aspect-ratio: 4/3;
        max-height: 400px;
    }
    
    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
    
    .floating-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .float-card {
        width: 100%;
        max-width: 280px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .about-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-img-float {
        right: -10px;
        bottom: -20px;
    }
    
    .about-stat-badge {
        left: -10px;
        top: -10px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: auto;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
