/* Main Styles for BBQ Better Website */

/* Base Styles */
:root {
    --primary-color: #f04e23;
    /* Orange-red */
    --secondary-color: #222222;
    /* Dark gray */
    --text-color: #ffffff;
    /* White */
    --bg-color: #0a0a0a;
    /* Black */
    --accent-color: #ff8000;
    --primary-color: #f04e23;
    /* Orange-red */
    --secondary-color: #222222;
    /* Dark gray */
    --text-color: #ffffff;
    /* White */
    --bg-color: #0e0e0e;
    /* Deep Black-Grey */
    --accent-color: #ff8000;
    /* Bright orange */
    --card-bg: #161616;
    /* Slightly lighter for cards */
}

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

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(180deg, #0e0e0e 0%, #1a1a1a 50%, #000 100%);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    font-family: 'Russo One', sans-serif;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

.font-oswald {
    font-family: 'Oswald', sans-serif;
}

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

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

ul {
    list-style: none;
}

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

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 5rem 0;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Header & Navigation */
.header {
    height: 100vh;
    position: relative;
    background: url('../img/sliced-brisket.jpg');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 0;
    z-index: 100;
    background-color: var(--bg-color);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo img {
    height: 60px;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    margin-bottom: 0;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

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

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

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

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    /* Hidden by default */
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
            rgba(255, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(255, 0, 0, 0.3) 100%), rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow:
        inset 0 0 30px 10px rgba(255, 0, 0, 0.5),
        inset 0 0 60px 20px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-bottom: 4rem;
}

.hero-logo {
    margin-bottom: 4rem;
}

.hero-logo img {
    max-width: 700px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.hero h1 {
    margin-bottom: 0rem;
    margin-top: 2rem;
    font-size: 4.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tagline {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.cta-button:hover {
    background-color: var(--accent-color);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    min-width: 180px;
}

.btn-primary {
    background: linear-gradient(135deg, #f04e23, #ff6a00);
    color: var(--text-color);
    border: none;
    box-shadow: 0 6px 20px rgba(240, 78, 35, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6a00, #f04e23);
    box-shadow: 0 10px 28px rgba(240, 78, 35, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

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

.products-section {
    background-color: var(--bg-color);
    padding-top: 7rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background-color: #161616;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.6);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 20px 48px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-card.featured {
    grid-column: span 1;
}

.product-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    background-color: #0e0e0e;
    /* Matches global bg */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.6);
    z-index: 3;
    pointer-events: none;
}

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(240, 78, 35, 0.15), transparent 70%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
    background: radial-gradient(circle, rgba(240, 78, 35, 0.25), transparent 70%);
}

.product-image.image-zoom-container {
    position: relative;
    display: block;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.5s;
    position: relative;
    z-index: 2;
    /* Sits above the glow */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
    /* Extra depth for the bottle/bag */
}

/* Merch images — show full shirt, no cropping */
#merchandise .product-image img {
    object-fit: contain;
    padding: 0.5rem;
}

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

.magnifying-glass {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid #fff;
    border-radius: 50%;
    pointer-events: none;
    display: none;
    z-index: 10;
    background-repeat: no-repeat;
}

/* Popup for Sizing Chart */
.sizing-chart-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.sizing-chart-popup.active {
    display: flex;
}

.sizing-chart-content {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    max-height: 80vh;
    overflow: auto;
    position: relative;
}

.sizing-chart-content img {
    max-width: 100%;
    height: auto;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Product Details */
.product-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-details h3 {
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: 24px;
    /* Rhythm */
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    margin-top: 32px;
    /* Rhythm: before pricing block */
}

.product-shipping {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    /* Micro text */
}

.product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.product-quantity label {
    margin-right: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #444;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background-color: #333;
    border: none;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #444;
}

.quantity-selector input {
    width: 50px;
    height: 40px;
    text-align: center;
    border: none;
    background-color: #222;
    color: var(--text-color);
    font-size: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: var(--accent-color);
}

.product-description {
    margin-bottom: 1rem;
    opacity: 0.7;
    /* Lighter opacity */
    line-height: 1.5;
}

.product-size {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.product-size label {
    margin-right: 1rem;
    font-size: 0.9rem;
}

.product-size select {
    padding: 0.3rem;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 0.9rem;
    width: 160px;
    height: 30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="%23ffffff" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.product-size .sizing-chart-link {
    margin-left: 1rem;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    background-color: #0d0d0d;
}

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

.about-image img {
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-color);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.review-stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reviewer {
    font-weight: 500;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    background-color: #0d0d0d;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #333;
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/briskets.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.newsletter-section h2 {
    letter-spacing: 3px;
}

.newsletter-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(30, 30, 30, 0.9);
    padding: 2rem;
    border-radius: 8px;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-color);
}

.contact-section h2 {
    letter-spacing: 3px;
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.contact-form {
    max-width: 900px;
    background-color: rgba(30, 30, 30, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

.form-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.contact-info {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-social {
    margin-top: 2rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.social-link i {
    font-size: 1.2rem;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: none;
    justify-content: flex-end;
}

.cart-overlay.show {
    display: flex;
}

.cart-container {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background-color: #1a1a1a;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details h4 {
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
}

.cart-item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.cart-quantity-btn {
    background-color: #333;
    border: none;
    color: var(--text-color);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1rem;
}

.cart-quantity-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    background-color: #222;
    color: var(--text-color);
    margin: 0 0.5rem;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    font-size: 1.2rem;
    cursor: pointer;
    align-self: flex-start;
}

.cart-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.cart-total {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.cart-total div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-amount {
    font-weight: 700;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: var(--accent-color);
}

/* Add to styles.css for coupon section styling */
.coupon-section {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#coupon-code {
    flex: 1;
    padding: 0.5rem;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    color: var(--text-color);
    height: 40px;
    /* Increased height for taller field */
}

#apply-coupon {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    height: 40px;
    /* Match height with input */
}

#apply-coupon:hover {
    background-color: var(--accent-color);
}

#coupon-message {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

#coupon-message.success {
    display: block;
    background-color: rgba(39, 174, 96, 0.2);
    color: #2ecc71;
}

#coupon-message.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

.footer-logo img {
    height: 50px;
}

.footer-links ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    justify-content: center;
    white-space: nowrap;
}

.footer-links a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    justify-content: flex-end;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
    opacity: 0.7;
}

/* Media Queries */
@media (min-width: 768px) {
    .hero-logo img {
        transform: scale(1.15);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-logo img {
        max-width: 400px;
    }

    .tagline {
        font-size: 1.5rem;
    }

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

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

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

    .footer-logo,
    .footer-links,
    .footer-social {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    /* Fix hero background on mobile */
    .header {
        background-size: cover;
        background-position: center;
    }

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

    .hero-logo img {
        max-width: 350px;
    }

    /* Hero buttons on mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding: 0 2rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 2rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    /* Footer links wrap on mobile */
    .footer-links ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    section {
        padding: 4rem 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-logo img {
        max-width: 280px;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .newsletter-form,
    .contact-form {
        padding: 1.5rem;
    }

    .cart-container {
        max-width: 100%;
    }
}

/* Notifications */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background-color: #1a1a1a;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 250px;
    animation: slide-in 0.3s ease-out forwards;
}

.notification.fade-out {
    animation: fade-out 0.5s ease-out forwards;
}

.close-notification {
    background: none;
    border: none;
    color: #ccc;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 10px;
}

@keyframes slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Order Confirmation */
.order-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.order-confirmation {
    background-color: #1a1a1a;
    border-radius: 8px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.confirmation-header {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
}

.confirmation-header h2 {
    color: #fff;
    margin-bottom: 5px;
}

.confirmation-details {
    padding: 20px;
}

.confirmation-section {
    margin-bottom: 25px;
}

.confirmation-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    letter-spacing: 4px;
}

.confirmation-items {
    margin-bottom: 15px;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.confirmation-total {
    text-align: right;
    font-size: 1.2rem;
    margin-top: 15px;
}

.shipping-note {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.8;
}

.confirmation-actions {
    padding: 20px;
    text-align: center;
}

.continue-shopping {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.continue-shopping:hover {
    background-color: var(--accent-color);
}

/* Bandit Seasoning Card — contain image to prevent blowup */
.bandit-card {
    max-width: 380px;
}

.bandit-card .product-image {
    background-color: #111;
}

.bandit-card .product-image img {
    object-fit: contain;
    padding: 1rem;
}

/* Bulk Inquiry Popup */
.bulk-inquiry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.bulk-inquiry-overlay.fade-out {
    animation: fadeOut 0.3s ease forwards;
}

.bulk-inquiry-popup {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2.5rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 0 40px rgba(255, 69, 0, 0.15);
}

.bulk-inquiry-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.bulk-inquiry-close:hover {
    color: #fff;
}

.bulk-inquiry-icon {
    margin-bottom: 1rem;
}

.bulk-inquiry-popup h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bulk-inquiry-popup p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.bulk-inquiry-email {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1rem 0;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
}

.bulk-inquiry-email:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.bulk-inquiry-email i {
    margin-right: 0.5rem;
}

.bulk-inquiry-note {
    font-size: 0.85rem !important;
    color: #888 !important;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* View Recipes Button */
.view-recipes-btn {
    display: inline-block;
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 0.8rem;
}

.view-recipes-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.view-recipes-btn i {
    margin-right: 0.4rem;
}

/* Recipes Modal */
.recipes-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 2rem;
}

.recipes-modal-overlay.active {
    display: flex;
}

.recipes-modal {
    background: #1a1a1a;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    padding: 2.5rem;
    position: relative;
    margin: 2rem auto;
    animation: fadeIn 0.3s ease;
}

.recipes-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}

.recipes-modal-close:hover {
    color: #fff;
}

.recipes-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.recipes-modal-header h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.recipes-modal-header p {
    color: #aaa;
    font-size: 1.1rem;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 1.5rem;
}

.recipe-card {
    background: #222;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 3px solid var(--primary-color);
}

.recipe-card h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: none;
}

.recipe-tagline {
    color: var(--primary-color);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.recipe-ingredients h4,
.recipe-steps h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.recipe-ingredients ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.recipe-ingredients li {
    color: #ccc;
    font-size: 0.9rem;
    padding: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.recipe-ingredients li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.recipe-steps p {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.recipe-vibe {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-style: italic;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .recipes-modal {
        padding: 1.5rem;
    }
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #333;
}

.modal-tab {
    flex: 1;
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    color: #888;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.modal-tab:hover {
    color: #ccc;
}

.modal-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.modal-tab-content {
    display: none;
}

.modal-tab-content.active {
    display: block;
}

/* How to Use Tab */
.howto-section {
    margin-bottom: 2rem;
}

.howto-section h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.howto-section>p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

.howto-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.howto-method {
    background: #222;
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 3px solid var(--primary-color);
}

.howto-method h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.howto-method h4 i {
    margin-right: 0.4rem;
    color: var(--primary-color);
}

.howto-method p {
    color: #bbb;
    font-size: 0.9rem;
    line-height: 1.5;
}

.flavor-dial-intro {
    color: #aaa !important;
    font-style: italic;
    margin-bottom: 1rem;
}

.flavor-dial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.flavor-option {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background: #222;
    border-radius: 8px;
    padding: 1rem;
}

.flavor-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.flavor-option h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.flavor-option p {
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.4;
}

@media (max-width: 768px) {

    .howto-methods,
    .flavor-dial-grid {
        grid-template-columns: 1fr;
    }

    /* Product grid stacks to single column */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Shrink product image height */
    .product-image {
        height: 300px;
    }

    /* No hover bounce on touch devices */
    .product-card:hover {
        transform: none;
    }

    /* Bandit card full width on mobile */
    .bandit-card {
        max-width: 100%;
    }

    /* Size selector stack */
    .product-size {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .product-size select {
        width: 100%;
    }

    .product-size .sizing-chart-link {
        margin-left: 0;
    }

    /* Recipes modal full-screen on mobile */
    .recipes-modal-overlay {
        padding: 0;
    }

    .recipes-modal {
        padding: 1.5rem;
        border-radius: 0;
        min-height: 100vh;
        margin: 0;
    }

    .recipes-modal-header h2 {
        font-size: 1.5rem;
    }

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

    .recipe-card {
        padding: 1.2rem;
    }

    /* Modal tabs */
    .modal-tab {
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }

    /* Bulk inquiry popup */
    .bulk-inquiry-popup {
        padding: 1.5rem;
        max-width: 95%;
    }

    /* View Recipes button */
    .view-recipes-btn {
        width: 100%;
        text-align: center;
    }

    /* Product details tighter padding */
    .product-details {
        padding: 1.2rem;
    }

    /* Product title tighter spacing */
    .product-details h3 {
        letter-spacing: 2px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {

    /* Even smaller product images on very small phones */
    .product-image {
        height: 250px;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .product-description {
        font-size: 0.9rem;
    }

    .quantity-btn {
        width: 36px;
        height: 36px;
    }

    .quantity-selector input {
        width: 44px;
        height: 36px;
    }

    /* Flavor dial icons smaller */
    .flavor-icon {
        font-size: 1.4rem;
    }

    .flavor-option {
        padding: 0.8rem;
    }

    .flavor-option p {
        font-size: 0.8rem;
    }

    /* Recipe card text smaller */
    .recipe-ingredients li {
        font-size: 0.85rem;
    }

    .recipe-steps p {
        font-size: 0.85rem;
    }

    /* Cart overlay */
    .cart-container {
        padding: 1.2rem;
    }

    .cart-item {
        grid-template-columns: 60px 1fr auto;
        gap: 0.7rem;
    }

    .cart-item-img {
        width: 60px;
        height: 60px;
    }
}

/* -------------------------------------------------- */
/* BLOG SECTION STYLES                                */
/* -------------------------------------------------- */

.page-header {
    background-color: #1a1a1a;
    /* Dark background */
    padding: 8rem 1rem 4rem;
    /* More top padding to clear fixed header */
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/bbqbetter_beef.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 3.5rem;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.page-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.4rem;
    color: #ddd;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.blog-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 20px 48px rgba(0, 0, 0, 0.7);
    border-color: var(--primary-color);
}

.blog-image {
    height: 220px;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    overflow: hidden;
    position: relative;
}

.blog-icon-placeholder {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.8;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-icon-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.blog-content h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.3;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: auto;
    /* Push to bottom */
    font-size: 1.1rem;
}

.read-more i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.read-more:hover {
    color: #ff6b6b;
    /* Lighter red */
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Mobile responsiveness for blog */
@media (max-width: 768px) {
    .page-header {
        padding: 7rem 1rem 3rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }

    .blog-card {
        margin-bottom: 1rem;
    }
}

/* -------------------------------------------------- */
/* BLOG POST PAGE STYLES                              */
/* -------------------------------------------------- */

.blog-post-page {
    padding: 4rem 0;
    min-height: 80vh;
}

.post-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333;
}

.post-header h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.post-meta {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 1px;
}

.post-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    max-width: 800px;
}

.post-content h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    color: var(--text-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.post-content strong {
    color: #fff;
    font-weight: 700;
}

/* Call to Action Box in Posts */
.cta-box {
    background-color: var(--card-bg);
    border: 1px solid var(--primary-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cta-box h3 {
    font-family: 'Russo One', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }
}