/*
Theme Name: A&J's Liquor
Theme URI: https://ajs-liquor.com/
Author: Custom Replica
Author URI: https://ajs-liquor.com/
Description: A clean, modern WordPress theme replica of A&J's Liquor - a local liquor store in Cochran, Georgia. Features product showcases, location information, and store hours.
Version: 1.3.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ajs-liquor
Tags: custom-logo, custom-menu, featured-images, responsive-layout, e-commerce, local-business
*/

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

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f9f9f9;
    --color-gray-border: #e5e5e5;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

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

.section {
    padding: 5rem 0;
}

.section-gray {
    background-color: var(--color-gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--color-gray-border);
    padding: 1.25rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-logo a {
    color: var(--color-black);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.main-navigation a {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--color-text);
}

.main-navigation a:hover {
    opacity: 0.7;
}

.site-branding {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.site-tagline {
    font-size: 0.85rem;
    color: var(--color-text-light);
    letter-spacing: 0.01em;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--color-white);
    background-color: var(--color-black);
    border: 1px solid var(--color-black);
    transition: all 0.2s ease;
}

.header-cta:hover {
    opacity: 1;
    background-color: var(--color-white);
    color: var(--color-black);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: 1px solid var(--color-gray-border);
    cursor: pointer;
}

.menu-toggle-bar {
    display: block;
    height: 1.5px;
    width: 100%;
    background-color: var(--color-text);
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed !important;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem;
    margin: 0;
    clip: auto;
    z-index: 9999;
    background: var(--color-black);
    color: var(--color-white);
}

/* Hero Section */
.hero {
    padding: 5.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-kicker {
    display: inline-block;
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
    letter-spacing: 0.01em;
}

.hero-content h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.9;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.9rem;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
    transition: all 0.2s ease;
    border-radius: 0;
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    opacity: 1;
}

.btn-outline {
    background-color: var(--color-white);
    color: var(--color-black);
}

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

.btn-ghost {
    background-color: transparent;
    color: var(--color-black);
    border-color: transparent;
    padding-left: 0;
    padding-right: 0;
}

.btn-ghost:hover {
    background-color: transparent;
    color: var(--color-black);
    opacity: 0.7;
}

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

/* Contact Bar */
.contact-bar {
    padding: 2rem 0;
    border-top: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
    text-align: center;
}

.contact-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.contact-bar-content a {
    color: var(--color-text);
    font-weight: 500;
}

/* Drive-Thru */
.drive-thru-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
    align-items: center;
}

.drive-thru-image img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.drive-thru-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.drive-thru-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.drive-thru-content .section-kicker {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.drive-thru-content .drive-thru-note {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.drive-thru-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.drive-thru-buttons .btn {
    text-align: center;
}

/* Wines of Week */
.wines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.wine-card-image {
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.wine-card-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.wine-card:hover .wine-card-image img {
    transform: scale(1.03);
}

.wine-type {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wine-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.wine-card p {
    font-size: 0.98rem;
    color: var(--color-text-light);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 2rem;
    color: var(--color-white);
}

.category-overlay h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Spotlight */
.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

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

.spotlight-card-image {
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.spotlight-card-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.spotlight-card:hover .spotlight-card-image img {
    transform: scale(1.03);
}

.spotlight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.spotlight-card p {
    color: var(--color-text-light);
    font-size: 0.98rem;
}

/* Visit Section */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit-address {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    line-height: 1.9;
}

.visit-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.visit-buttons .btn {
    text-align: center;
}

.hours-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.hours-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-gray-border);
    font-size: 0.98rem;
}

.hours-note {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-text {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-brand {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.footer-nav a {
    color: var(--color-white);
    font-size: 0.92rem;
    opacity: 0.85;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-meta {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.75rem;
}

/* Category page */
.category-hero {
    margin: 0 0 1rem;
    overflow: hidden;
}

.category-hero img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* Blog listing */
.post-list {
    display: grid;
    gap: 2.5rem;
}

.post-card {
    border-bottom: 1px solid var(--color-gray-border);
    padding-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.post-card-thumb {
    display: block;
    flex: 0 0 300px;
    line-height: 0;
    overflow: hidden;
}

.post-card-thumb img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card-thumb:hover img {
    transform: scale(1.03);
}

.post-card-body {
    flex: 1;
    min-width: 0;
}

.post-card-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.post-card-excerpt {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.post-date {
    margin-top: -0.25rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.archive-back,
.post-back {
    margin: 0 0 2.5rem;
}

.post-back {
    margin: 1.5rem 0 0;
}

.archive-back a,
.post-back a,
.section-kicker a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.archive-back a:hover,
.post-back a:hover,
.section-kicker a:hover {
    opacity: 0.65;
}

.pagination {
    margin-top: 3rem;
}

.pagination .nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-border);
    font-size: 0.92rem;
}

.footer-disclaimer {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-top: 1.75rem;
    line-height: 1.8;
}

/* Projects/archives */
.page-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    letter-spacing: -0.01em;
}

.page-content p {
    margin-bottom: 1.25rem;
    color: var(--color-text-light);
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.25rem 1.25rem;
    color: var(--color-text-light);
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content figure {
    margin: 2rem 0;
}

.page-content figure img {
    width: 100%;
    height: auto;
}

.page-content figcaption {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 0.65rem;
    line-height: 1.6;
}

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

.photo-gallery figure {
    margin: 0;
}

.static-arrivals,
.static-recipes {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-gray-border);
}

.static-arrivals h2,
.static-recipes h2 {
    margin-bottom: 0.75rem;
}

.static-arrivals-intro {
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.static-recipes .btn {
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid,
    .visit-grid,
    .drive-thru-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .drive-thru-image img {
        height: 320px;
    }

    .hero-image img {
        height: 380px;
    }

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

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

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

    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 860px) {
    .header-container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    .header-cta {
        display: none;
    }

    .main-navigation {
        width: 100%;
        display: none;
        border-top: 1px solid var(--color-gray-border);
        padding-top: 1rem;
    }

    .main-navigation.is-open {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--color-gray-border);
    }
}

@media (max-width: 768px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .post-card {
        flex-direction: column;
        gap: 1.25rem;
    }

    .post-card-thumb {
        flex: 0 0 auto;
        width: 100%;
    }

    .post-card-thumb img {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1.05rem;
    }
    
    .section-header h2 {
        font-size: 2.1rem;
    }

    .drive-thru-content h2 {
        font-size: 2.1rem;
    }

    .drive-thru-image img {
        height: 280px;
    }

    .wines-grid,
    .spotlight-grid {
        grid-template-columns: 1fr;
    }

    .wine-card-image img {
        height: 380px;
    }
    
    .container,
    .header-container,
    .hero-grid,
    .footer-content {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }
}
