/* ============================================
   Westside Market and Liquor — Custom Styles
   Palette: Burgundy (#6B1D2A) + Blush (#F5E6D3)
   Fonts: Cormorant Garamond + Montserrat
   ============================================ */

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

:root {
    --burgundy: #6B1D2A;
    --burgundy-deep: #4A1219;
    --burgundy-light: #8B2E3D;
    --blush: #F5E6D3;
    --blush-light: #FDF6EE;
    --blush-dark: #E8D5C0;
    --cream: #FDF9F5;
    --charcoal: #2A2220;
    --charcoal-light: #4A403C;
    --warm-gray: #7A6E68;
    --warm-gray-light: #A89890;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(107, 29, 42, 0.06);
    --shadow-md: 0 8px 30px rgba(107, 29, 42, 0.10);
    --shadow-lg: 0 20px 60px rgba(107, 29, 42, 0.14);
}

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

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

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

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

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

/* ---- Typography ---- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 24px;
}

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

.section-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--warm-gray);
    line-height: 1.6;
    max-width: 600px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 2px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

.navbar.scrolled {
    background-color: rgba(253, 249, 245, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--charcoal);
}

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

.nav-logo .logo-icon svg {
    opacity: 0.9;
}

.nav-logo em {
    font-style: italic;
    font-weight: 400;
    opacity: 0.85;
}

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--burgundy);
    transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--charcoal-light);
}

.navbar.scrolled .nav-link:hover {
    color: var(--burgundy);
}

.nav-cta {
    background-color: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 2px;
    letter-spacing: 0.1em;
}

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

.nav-cta:hover {
    background-color: var(--burgundy-deep);
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    transition: all var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background-color: var(--charcoal);
}

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

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

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

/* ---- Hero ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 34, 32, 0.72) 0%,
        rgba(107, 29, 42, 0.55) 50%,
        rgba(42, 34, 32, 0.68) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-headline .accent-text {
    color: var(--blush);
    font-style: italic;
}

.hero-subheadline {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(245, 230, 211, 0.85);
    line-height: 1.65;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

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

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

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

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--burgundy);
    border-radius: 4px;
    z-index: -1;
    opacity: 0.25;
}

.about-content p {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--blush);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--burgundy);
}

.feature-item h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---- Breads ---- */
.breads {
    background-color: var(--blush-light);
}

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

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.breads-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.bread-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

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

.bread-card:hover .bread-card-image img {
    transform: scale(1.05);
}

.bread-card-image {
    overflow: hidden;
}

.bread-card-content {
    padding: 28px;
}

.bread-card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.bread-card-content p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

/* ---- Groceries ---- */
.groceries {
    background-color: var(--cream);
}

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

.groceries-content p {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 28px;
}

.grocery-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.grocery-highlights li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--charcoal-light);
}

.highlight-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background-color: var(--burgundy);
    border-radius: 50%;
}

.groceries-images {
    position: relative;
    height: 560px;
}

.grocery-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.grocery-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.grocery-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Liquor ---- */
.liquor {
    background-color: var(--burgundy-deep);
    color: var(--white);
}

.liquor .section-eyebrow {
    color: var(--blush);
}

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

.liquor .section-title .accent-text {
    color: var(--blush);
}

.liquor .section-subtitle {
    color: rgba(245, 230, 211, 0.7);
}

.liquor-header {
    text-align: center;
    margin-bottom: 64px;
}

.liquor-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.liquor-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.liquor-category {
    text-align: center;
    padding: 40px 32px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    transition: all var(--transition);
}

.liquor-category:hover {
    background-color: rgba(255, 255, 255, 0.09);
    transform: translateY(-4px);
}

.category-icon {
    margin: 0 auto 24px;
    width: 72px;
    height: 72px;
    background-color: rgba(245, 230, 211, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blush);
}

.liquor-category h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.liquor-category p {
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.7);
    line-height: 1.75;
}

/* ---- Visit ---- */
.visit {
    background-color: var(--blush-light);
}

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

.visit-info p {
    font-size: 1rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background-color: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.contact-item h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-item a {
    color: var(--burgundy);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--burgundy-deep);
    text-decoration: underline;
}

.visit-map {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 420px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ---- Footer ---- */
.footer {
    background-color: var(--charcoal);
    color: rgba(245, 230, 211, 0.7);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo svg {
    flex-shrink: 0;
    opacity: 0.8;
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(245, 230, 211, 0.6);
}

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

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(245, 230, 211, 0.6);
}

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

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 230, 211, 0.4);
}

/* ---- Animations ---- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scroll-triggered fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about-grid,
    .groceries-layout,
    .visit-layout {
        gap: 48px;
    }
    
    .breads-showcase,
    .liquor-categories {
        gap: 24px;
    }
}

@media (max-width: 900px) {
    .about-grid,
    .groceries-layout,
    .visit-layout {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .about-image-wrapper img {
        height: 400px;
    }
    
    .groceries-images {
        height: 400px;
        order: -1;
    }
    
    .breads-showcase,
    .liquor-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links.open .nav-link {
        color: var(--charcoal);
        font-size: 0.9rem;
    }
    
    .nav-links.open .nav-cta {
        color: var(--white) !important;
    }
    
    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
    
    .breads-showcase,
    .liquor-categories {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 72px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .groceries-images {
        height: 320px;
    }
}
