/* Polka Deli - Modern Design 2024 */
/* Color Palette: Warm amber, cream, dark brown, forest green accents */

:root {
    --primary-color: #8B4513;      /* Saddle Brown */
    --secondary-color: #D4A574;    /* Warm Tan */
    --accent-color: #2F5233;       /* Forest Green */
    --cream: #FDF5E6;              /* Old Lace */
    --dark-brown: #3D2914;         /* Dark Brown */
    --warm-white: #FFFAF0;         /* Floral White */
    --gold: #C9A962;               /* Gold accent */
    --text-dark: #2C1810;
    --text-light: #FFFAF0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-color) 100%);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.top-bar {
    background: var(--dark-brown);
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--cream);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--gold);
}

.nav-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    margin-left: 15px;
    color: var(--cream);
}

.logo-text h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text span {
    font-size: 0.9rem;
    color: var(--gold);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(45, 25, 15, 0.6), rgba(45, 25, 15, 0.7)), url('../wp-content/uploads/2014/08/Polka_Deli.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 120px;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-style: italic;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gold);
    color: var(--dark-brown);
}

.btn-primary:hover {
    background: var(--cream);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
    margin-left: 15px;
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--dark-brown);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-color) 100%);
    padding: 180px 0 80px;
    text-align: center;
    color: var(--cream);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 50"><path fill="%23FFFAF0" d="M0,50 L1200,50 L1200,0 Q600,50 0,0 Z"/></svg>');
    background-size: cover;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 0;
}

/* About Section */
.about-section {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--gold);
    border-radius: 10px;
    z-index: -1;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.about-content p {
    color: #555;
    margin-bottom: 20px;
}

/* Categories / Products Grid */
.categories-section {
    background: var(--warm-white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-card .card-content {
    padding: 30px;
    text-align: center;
}

.category-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

.category-card .card-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.category-card .card-link:hover {
    color: var(--gold);
}

/* Product Page Content */
.product-page {
    padding: 80px 0;
}

.product-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.product-intro h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.product-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.9;
}

.product-description p {
    margin-bottom: 20px;
}

.product-sidebar {
    background: var(--cream);
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 150px;
}

.product-sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold);
}

.product-sidebar ul {
    list-style: none;
}

.product-sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    color: #555;
}

/* Gallery */
.gallery {
    margin-top: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--primary-color) 100%);
    color: var(--cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--gold);
}

.feature-item h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark-brown);
    margin-bottom: 5px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-brown);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-brown);
    color: var(--cream);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-brand p {
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 12px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--gold);
}

.footer-hours p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark-brown);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        margin-top: 80px;
        min-height: 600px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .about-grid,
    .contact-grid,
    .product-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--cream);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
}

/* Decorative Elements */
.decorative-line {
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 20px auto;
}

/* Quote Box */
.quote-box {
    background: var(--cream);
    padding: 40px;
    border-left: 4px solid var(--gold);
    margin: 40px 0;
    font-style: italic;
    font-size: 1.2rem;
}

/* Specialty List */
.specialty-list {
    background: var(--cream);
    padding: 30px;
    border-radius: 10px;
}

.specialty-list h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.specialty-list ul {
    list-style: none;
}

.specialty-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.specialty-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--gold);
}
