/* ============================================
   Blend & Brew 402 — Stylesheet
   Palette: Deep Teal (#0d3b3e) + Slate Grey (#3d4f5f)
   Accent: Warm Gold (#c9a96e) + Cream (#f5f0e8)
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #2c3e4a;
    background-color: #faf8f5;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ---------- Utility ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0d3b3e;
    color: #f5f0e8;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 0;
}

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

/* ---------- Section Eyebrow ---------- */
.section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c9a96e;
    margin-bottom: 1rem;
}

/* ---------- Section Heading ---------- */
.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: #0d3b3e;
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: #5a6f7d;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #0d3b3e;
    color: #f5f0e8;
    border-color: #0d3b3e;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #154f52;
    border-color: #154f52;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 59, 62, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: #f5f0e8;
    border-color: rgba(245, 240, 232, 0.5);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: rgba(245, 240, 232, 0.1);
    border-color: #f5f0e8;
}

.btn-light {
    background-color: #f5f0e8;
    color: #0d3b3e;
    border-color: #f5f0e8;
}

.btn-light:hover,
.btn-light:focus-visible {
    background-color: #ebe3d5;
    border-color: #ebe3d5;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline-dark {
    background-color: transparent;
    color: #0d3b3e;
    border-color: #0d3b3e;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    background-color: #0d3b3e;
    color: #f5f0e8;
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13, 59, 62, 0.08);
    transition: box-shadow 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 24px rgba(13, 59, 62, 0.08);
}

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

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background-color: #0d3b3e;
    color: #c9a96e;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.logo-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0d3b3e;
}

.logo-tagline {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6f7d;
}

/* Light logo for footer */
.logo-light .logo-mark {
    background-color: #c9a96e;
    color: #0d3b3e;
}

.logo-light .logo-name {
    color: #f5f0e8;
}

.logo-light .logo-tagline {
    color: rgba(245, 240, 232, 0.6);
}

/* ---------- Navigation ---------- */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.primary-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #3d4f5f;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: #0d3b3e;
    background-color: rgba(13, 59, 62, 0.06);
}

.btn-nav {
    background-color: #0d3b3e;
    color: #f5f0e8 !important;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.btn-nav:hover,
.btn-nav:focus-visible {
    background-color: #154f52 !important;
    color: #f5f0e8 !important;
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0d3b3e;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0d3b3e;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 59, 62, 0.92) 0%,
        rgba(13, 59, 62, 0.78) 50%,
        rgba(61, 79, 95, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.7);
    margin-bottom: 2rem;
}

.hero-eyebrow-line {
    display: block;
    width: 32px;
    height: 1px;
    background-color: #c9a96e;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: #f5f0e8;
    margin-bottom: 1.5rem;
}

.hero-headline em {
    font-style: italic;
    color: #c9a96e;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.8);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-hours {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(245, 240, 232, 0.15);
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

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

/* ---------- About ---------- */
.about {
    padding: 7rem 0;
    background-color: #faf8f5;
}

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

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

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.about-image-accent {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 200px;
    height: 200px;
    background-color: #0d3b3e;
    border-radius: 8px;
    z-index: -1;
    opacity: 0.08;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3d4f5f;
    margin-bottom: 1.25rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item svg {
    flex-shrink: 0;
    color: #c9a96e;
    margin-top: 0.125rem;
}

.value-item strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0d3b3e;
    margin-bottom: 0.25rem;
}

.value-item span {
    font-size: 0.9375rem;
    color: #5a6f7d;
    line-height: 1.6;
}

/* ---------- Products ---------- */
.products {
    padding: 7rem 0;
    background-color: #f0ebe3;
}

.products .section-header {
    margin-bottom: 4rem;
}

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

.product-card {
    background-color: #faf8f5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13, 59, 62, 0.1);
}

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

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

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

.product-card-content {
    padding: 1.75rem;
}

.product-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d3b3e;
    margin-bottom: 0.625rem;
}

.product-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #5a6f7d;
}

/* ---------- Specials ---------- */
.specials {
    padding: 7rem 0;
    background-color: #0d3b3e;
}

.specials-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.specials-eyebrow {
    color: #c9a96e;
}

.specials-heading {
    color: #f5f0e8;
}

.specials-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.75);
    margin-bottom: 2rem;
}

.specials-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.85;
}

/* ---------- Visit ---------- */
.visit {
    padding: 7rem 0;
    background-color: #faf8f5;
}

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

.visit-address {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #3d4f5f;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #f0ebe3;
    border-radius: 8px;
    border-left: 3px solid #c9a96e;
}

.visit-address strong {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.125rem;
    color: #0d3b3e;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    color: #c9a96e;
    margin-top: 0.125rem;
}

.visit-detail strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0d3b3e;
    margin-bottom: 0.25rem;
}

.visit-detail a {
    color: #0d3b3e;
    font-weight: 500;
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: #c9a96e;
}

.visit-detail p {
    font-size: 0.9375rem;
    color: #5a6f7d;
    line-height: 1.6;
}

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    background-color: #f0ebe3;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    padding: 3rem 2rem;
}

.map-placeholder svg {
    color: #0d3b3e;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 1rem;
    color: #3d4f5f;
    margin-bottom: 1.5rem;
}

/* ---------- Contact ---------- */
.contact {
    padding: 7rem 0;
    background-color: #f0ebe3;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    padding-top: 1rem;
}

.contact-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #5a6f7d;
    margin-bottom: 2rem;
}

.contact-direct {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0d3b3e;
    transition: color 0.2s ease;
}

.contact-phone:hover {
    color: #c9a96e;
}

.contact-phone svg {
    color: #c9a96e;
}

/* ---------- Form ---------- */
.contact-form-wrap {
    background-color: #faf8f5;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(13, 59, 62, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3d4f5f;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #2c3e4a;
    background-color: #f5f0e8;
    border: 1.5px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa8b4;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d3b3e;
    background-color: #faf8f5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 2.5rem 1rem;
}

.form-success svg {
    color: #0d3b3e;
    margin-bottom: 1rem;
}

.form-success p {
    font-size: 1.0625rem;
    color: #3d4f5f;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #0a2e30;
    color: #f5f0e8;
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.6);
    margin-top: 1rem;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: #f5f0e8;
    margin-bottom: 1.25rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #c9a96e;
}

.footer-contact address {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.6);
}

.footer-contact a {
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s ease;
}

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

.footer-hours p {
    font-size: 0.9375rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

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

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

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

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background-color: #faf8f5;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .primary-nav a {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.0625rem;
    }

    .btn-nav {
        margin-left: 0;
        margin-top: 1rem;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }

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

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

    .about-grid,
    .specials-inner,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-image-wrap {
        order: -1;
    }

    .about-image-wrap img {
        height: 350px;
    }

    .about-image-accent {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .specials-image {
        order: -1;
    }

    .specials-image img {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

    .hero-headline {
        font-size: 1.875rem;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }
}
