/* Base Styles */
:root {
    --primary-color: #800020; /* Burgundy */
    --primary-light: #aa3355;
    --primary-dark: #600010;
    --secondary-color: #d2b48c; /* Beige */
    --secondary-light: #e5d4b7;
    --secondary-dark: #b39476;
    --neutral-color: #808080; /* Soft gray */
    --neutral-light: #f5f5f5;
    --neutral-dark: #555555;
    --white: #ffffff;
    --black: #333333;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--primary-light);
}

ul, ol {
    list-style-type: none;
}

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

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

section {
    padding: 5rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
}

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

.btn.primary:hover {
    background-color: var(--primary-dark);
}

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

.btn.secondary:hover {
    background-color: var(--secondary-dark);
}

.btn.tertiary {
    background-color: transparent;
    color: var(--black);
    border: 1px solid var(--neutral-color);
    box-shadow: none;
}

.btn.tertiary:hover {
    background-color: var(--neutral-light);
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

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

nav ul {
    display: flex;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    color: var(--black);
    padding: 0.5rem;
    position: relative;
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Features Section */
.features {
    background-color: var(--neutral-light);
}

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

.feature {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--primary-light);
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--white);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 1rem;
}

.stat h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta {
    text-align: center;
    margin-top: 2rem;
}

/* About Products Section */
.about-products {
    background-color: var(--white);
}

.about-products p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.quality-assurance {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--neutral-light);
    border-radius: var(--border-radius);
}

.quality-assurance h3 {
    margin-bottom: 1.5rem;
}

.quality-assurance ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.quality-assurance li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quality-assurance svg {
    color: var(--primary-color);
}

.history {
    margin-top: 2rem;
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

.product-image {
    height: 200px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 1.5rem;
}

.price {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 1rem;
}

.description {
    color: var(--neutral-dark);
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    justify-content: space-between;
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-light);
    position: relative;
}

.testimonial-slider {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding-bottom: 2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 300px;
    max-width: 400px;
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 3 1 600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--white);
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

address p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.cookie-policy {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Product Pages */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-details-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-details-info h1 {
    margin-bottom: 1rem;
}

.product-details-price {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.product-details-description {
    margin-bottom: 2rem;
}

.product-details-features {
    margin-bottom: 2rem;
}

.product-details-features h3 {
    margin-bottom: 1rem;
}

.product-details-features ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.product-details-features li {
    margin-bottom: 0.5rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background-color: var(--neutral-light);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--neutral-color);
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1rem;
}

.product-action-buttons {
    display: flex;
    gap: 1rem;
}

/* Cart Page */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--neutral-color);
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-light);
    vertical-align: middle;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-quantity button {
    background-color: var(--neutral-light);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-quantity input {
    width: 50px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--neutral-color);
    border-radius: var(--border-radius);
}

.cart-remove {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
}

.cart-summary {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-color);
}

.cart-total.final {
    font-weight: bold;
    font-size: 1.2rem;
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 1rem;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* Checkout Page */
.checkout-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.checkout-form h3 {
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--neutral-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkout-summary {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: sticky;
    top: 120px;
}

.checkout-summary h3 {
    margin-bottom: 1.5rem;
}

.checkout-items {
    margin-bottom: 2rem;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-color);
}

.checkout-item-name {
    font-weight: 600;
}

/* Contact Page */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--neutral-light);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    color: var(--primary-color);
}

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

.contact-social h3 {
    margin-bottom: 1rem;
}

/* About Page */
.about-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.about-hero h1 {
    margin-bottom: 1.5rem;
}

.about-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member-info h3 {
    margin-bottom: 0.5rem;
}

.team-member-info p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Success Page */
.success-message {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 0;
}

.success-icon {
    color: green;
    font-size: 5rem;
    margin-bottom: 2rem;
}

.success-message h1 {
    margin-bottom: 1.5rem;
}

.success-message p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Semi-transparent elements */
.semi-transparent {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 0.15em;
    animation: typing 3.5s steps(40, end);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .product-details {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}
