/* CSS Variables - Color Scheme matching Lewis & Phillip MCD */
:root {
    --bg-cream: #f2efdd;
    --text-burgundy: #3d081b;
    --btn-pink: #910f3f;
    --btn-pink-hover: #7a0d35;
    --accent-yellow: #f9e547;
    --white: #ffffff;
    --light-gray: #e8e5d5;
    --border-color: rgba(61, 8, 27, 0.1);
    --font-body: 'Archivo', sans-serif;
    --font-heading: 'Proza Libre', serif;
}

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

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-burgundy);
    background-color: var(--bg-cream);
}

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

a:hover {
    opacity: 0.7;
}

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

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

/* Announcement Bar */
.announcement-bar {
    background-color: var(--text-burgundy);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--btn-pink-hover);
    opacity: 1;
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-burgundy);
    transition: all 0.3s ease;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
    width: auto;
}

.company-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-burgundy);
    line-height: 1.2;
}

.company-name small {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav a.active::after,
.nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-burgundy);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--text-burgundy);
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--btn-pink);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 8, 27, 0.95);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-modal input {
    width: 100%;
    padding: 20px 50px 20px 20px;
    font-size: 18px;
    border: none;
    background-color: var(--white);
    font-family: var(--font-body);
}

.search-modal input:focus {
    outline: none;
}

.search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--text-burgundy);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 450px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero .btn {
    background-color: var(--white);
    color: var(--text-burgundy);
    padding: 16px 40px;
    font-weight: 600;
}

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

/* Products Section */
.products {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}

/* Product Grid - All 8 products displayed */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(61, 8, 27, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background-color: #f5f5f5;
}

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

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

.quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px;
    background-color: var(--white);
    color: var(--text-burgundy);
    border: none;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transform: translateY(100%);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border-top: 1px solid var(--border-color);
}

.product-card:hover .quick-add {
    transform: translateY(0);
}

.quick-add:hover {
    background-color: var(--text-burgundy);
    color: var(--white);
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info h3 a {
    color: var(--text-burgundy);
}

.product-info h3 a:hover {
    text-decoration: underline;
    opacity: 1;
}

.price {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-burgundy);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--text-burgundy);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.newsletter h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.newsletter p {
    opacity: 0.8;
    margin-bottom: 25px;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn-submit {
    padding: 12px 15px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form .btn-submit:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-cream);
    padding: 40px 0 30px;
    border-top: 1px solid var(--border-color);
}

.payment-methods {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.payment-methods > span {
    display: block;
    font-size: 11px;
    margin-bottom: 12px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-icons svg {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 12px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 12px;
    opacity: 0.8;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-bottom p {
    opacity: 0.6;
}

/* Cart Sidebar */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    max-width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
}

.cart-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-burgundy);
    line-height: 1;
}

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

.empty-cart {
    text-align: center;
    color: #888;
    padding: 40px 0;
    font-size: 14px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.cart-item-price {
    font-size: 14px;
    margin-bottom: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    background: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: var(--bg-cream);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 8px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    margin-bottom: 8px;
}

.cart-note {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* ===================== */
/* Contact Page Styles   */
/* ===================== */

.page-content {
    padding: 60px 0;
}

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

.about-section h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
}

.about-content {
    max-width: 800px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 500;
    margin: 30px 0 15px;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-section {
    max-width: 600px;
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
}

.contact-form {
    background: var(--white);
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group .required {
    color: var(--btn-pink);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 14px;
    border: 1px solid var(--border-color);
    background-color: var(--white);
    color: var(--text-burgundy);
    transition: border-color 0.3s ease;
}

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

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

.contact-form .btn {
    margin-top: 10px;
}

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

@media (max-width: 768px) {
    .announcement-bar {
        font-size: 12px;
        padding: 8px 15px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-cream);
        padding: 80px 30px 40px;
        transition: left 0.3s ease;
        z-index: 150;
    }

    .nav.active {
        left: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav a {
        font-size: 18px;
    }

    .logo img {
        height: 45px;
    }

    .hero {
        min-height: 350px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .section-title {
        font-size: 22px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .about-section h1 {
        font-size: 28px;
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 15px;
    }

    .hero {
        min-height: 300px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero .btn {
        padding: 12px 30px;
        font-size: 13px;
    }

    .products {
        padding: 40px 0;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 13px;
    }

    .newsletter {
        padding: 40px 0;
    }

    .newsletter h2 {
        font-size: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        border: none;
    }

    .newsletter-form input {
        border: 1px solid rgba(255, 255, 255, 0.3);
        margin-bottom: 10px;
    }

    .newsletter-form .btn-submit {
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        padding: 12px;
    }

    .page-content {
        padding: 40px 0;
    }

    .about-section h1 {
        font-size: 24px;
    }

    .contact-section h2 {
        font-size: 20px;
    }
}
