/* ============================================
   Patrick's Fine Spirits — Editorial Style
   Emerald Green + Cream Palette
   ============================================ */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #e8dfd3;
    --warm-500: #d4a373;
    --warm-600: #b8865a;
    --text-dark: #1a1a1a;
    --text-mid: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
    --shadow-md: 0 4px 20px rgba(6, 78, 59, 0.12);
    --shadow-lg: 0 8px 40px rgba(6, 78, 59, 0.16);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

ul {
    list-style: none;
}

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

/* SKIP LINK */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--emerald-900);
}

.logo--light {
    color: var(--white);
}

.logo-dot {
    color: var(--warm-500);
}

.logo-icon {
    color: var(--emerald-700);
}

.logo--light .logo-icon {
    color: var(--warm-500);
}

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

.nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-700);
    transition: width var(--transition);
}

.nav-list a:hover {
    color: var(--emerald-800);
}

.nav-list a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--emerald-900);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: background var(--transition), transform var(--transition) !important;
}

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

.nav-cta:hover {
    background: var(--emerald-700);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* NAV TOGGLE */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    transition: var(--transition);
}

.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 {
    padding: 120px 0 0;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 78, 59, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-800);
}

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

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

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

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

.btn-ghost {
    background: transparent;
    color: var(--emerald-800);
    border: 1.5px solid var(--emerald-200);
}

.btn-ghost:hover {
    border-color: var(--emerald-700);
    background: rgba(6, 78, 59, 0.04);
}

.btn--light {
    background: var(--white);
    color: var(--emerald-900);
}

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

/* HERO VISUAL */
.hero-visual {
    position: relative;
    min-height: 580px;
}

.hero-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.hero-card--main {
    box-shadow: var(--shadow-lg);
}

.hero-card--main img {
    width: 100%;
    height: 580px;
    object-fit: cover;
}

.hero-card-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--emerald-900);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    color: var(--warm-500);
}

/* FLOATING CARDS */
.float-card {
    position: absolute;
    background: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.float-card--1 {
    top: 40px;
    right: -30px;
    animation-delay: 0s;
}

.float-card--2 {
    bottom: 120px;
    left: -40px;
    animation-delay: 2s;
}

.float-card--3 {
    bottom: 30px;
    right: -20px;
    animation-delay: 4s;
}

.float-card-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--emerald-900);
    line-height: 1;
}

.float-card-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

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

/* HERO DIVIDER */
.hero-divider {
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

.hero-divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--warm-500);
    border-radius: 2px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--white);
}

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

.about-images {
    position: relative;
}

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

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

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

.about-img-accent img {
    width: 320px;
    height: 280px;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-900);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    max-width: 260px;
    z-index: 2;
}

.accent-quote {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: var(--cream-100);
    line-height: 1.6;
}

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

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-mid);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.value-icon {
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.section-heading + .section-header {
    margin-bottom: 0;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.product-card-img {
    overflow: hidden;
    height: 220px;
}

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

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

.product-card-body {
    padding: 28px;
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-card-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* ============================================
   GROCERY
   ============================================ */
.grocery {
    padding: 100px 0;
    background: var(--emerald-900);
    color: var(--white);
}

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

.grocery .section-eyebrow {
    color: var(--warm-500);
}

.grocery .section-heading {
    color: var(--white);
}

.grocery-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
}

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

.grocery-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.grocery-list-icon {
    color: var(--warm-500);
    flex-shrink: 0;
}

.grocery-images {
    position: relative;
}

.grocery-img-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grocery-img-1 img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.grocery-img-2 img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--cream-100);
}

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

.testimonial-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-200);
    position: absolute;
    top: 20px;
    left: 28px;
    pointer-events: none;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-mid);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    padding-top: 20px;
}

.testimonial-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-800);
}

/* ============================================
   VISIT
   ============================================ */
.visit {
    padding: 100px 0;
    background: var(--white);
}

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

.visit-detail {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.visit-detail-icon {
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.visit-detail-value {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-phone {
    color: var(--emerald-700);
    transition: color var(--transition);
}

.visit-phone:hover {
    color: var(--emerald-900);
    text-decoration: underline;
}

.map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.map-cta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--emerald-900);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background var(--transition), transform var(--transition);
}

.map-cta:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--emerald-900);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 12px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-layout {
        gap: 40px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .hero-card--main img {
        height: 480px;
    }

    .float-card--1 {
        right: -10px;
    }

    .float-card--2 {
        left: -10px;
    }
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        min-height: 420px;
    }

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

    .about-images {
        max-width: 500px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .grocery-split {
        grid-template-columns: 1fr;
    }

    .grocery-images {
        order: -1;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

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

    .footer-links {
        align-items: flex-start;
    }
}

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

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
        pointer-events: none;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding: 100px 0 0;
    }

    .float-card {
        display: none;
    }

    .about-img-accent {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 16px;
    }

    .about-accent-box {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 16px;
        max-width: 100%;
    }

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

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .product-card-body {
        padding: 20px;
    }

    .testimonial-card {
        padding: 24px;
    }
}
