/* Modern CSS with variables and improved organization */
:root {
    /* Color palette */
    --primary-color: #D4A373;
    --primary-dark: #B08A5F;
    --primary-light: #F0E6D9;
    --secondary-color: #5A2D0C;
    --accent-color: #FAEDCD;
    --text-color: #333333;
    --text-light: #777777;
    --white: #FFFFFF;
    --black: #000000;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FFC107;
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;
    
    /* Borders */
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-width: 1px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-main);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--primary-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: var(--space-md);
}

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

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xxl) 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    padding: var(--space-xs) 0;
    box-shadow: var(--shadow-md);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.logo p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--secondary-color);
    position: relative;
    transition: all var(--transition-fast);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--secondary-color);
    transition: all var(--transition-fast);
}

.menu-icon::before {
    top: -6px;
}

.menu-icon::after {
    top: 6px;
}

.mobile-menu[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.mobile-menu[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.main-nav a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
}

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

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::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;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Hero section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(90, 45, 12, 0.6), rgba(212, 163, 115, 0.4));
    z-index: 1;
}

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-info {
    padding: var(--space-lg);
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--secondary-color);
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-md);
    min-height: 60px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    display: block;
}

.product-rating {
    color: var(--warning-color);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-features {
    list-style: none;
    margin: var(--space-lg) 0;
}

.about-features li {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.about-features i {
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    background-color: var(--accent-color);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin: var(--space-lg);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Cart section */
.cart-section {
    background-color: var(--white);
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: var(--space-md);
    align-items: center;
    background-color: var(--primary-light);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    position: relative;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.cart-item-title {
    font-weight: 600;
    color: var(--secondary-color);
}

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

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.remove-item {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    color: var(--error-color);
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.25rem;
}

.cart-summary {
    background-color: var(--primary-light);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
    height: fit-content;
    position: sticky;
    top: var(--space-xl);
}

.cart-total {
    margin-bottom: var(--space-lg);
}

.cart-total p {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.total {
    font-weight: 600;
    font-size: 1.25rem;
    padding-top: var(--space-md);
    border-top: 1px solid var(--primary-color);
}

.btn-checkout {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.125rem;
}

.empty-cart {
    text-align: center;
    padding: var(--space-xl);
    color: var(--text-light);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--space-xxl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

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

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

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: var(--space-xs);
}

.footer-contact address p {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-style: normal;
}

.footer-contact i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--space-sm);
    border: none;
    border-radius: var(--border-radius);
}

.newsletter-form button {
    padding: var(--space-sm) var(--space-md);
}

.footer-bottom {
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Loading states */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Toast notifications */
.toast {
    position: fixed;
    top: var(--space-xl);
    right: var(--space-xl);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(200%);
    transition: transform var(--transition-normal);
    z-index: 10000;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background-color: var(--success-color);
}

.toast.error {
    background-color: var(--error-color);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    z-index: 100;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        padding: var(--space-xxl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-normal);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--space-xl) 0;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}





























/* Add this to your existing style.css */

/* Testimonials */
.testimonials {
    background-color: var(--accent-color);
    text-align: center;
}

.testimonial-slider {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-md);
}

.testimonial-card {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    text-align: left;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-lg);
    position: relative;
    color: var(--text-color);
    line-height: 1.7;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
}

.testimonial-text::before {
    top: -15px;
    left: -10px;
}

.testimonial-text::after {
    bottom: -25px;
    right: -10px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: var(--space-xs);
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
}

.testimonial-rating {
    color: var(--warning-color);
    font-size: 1rem;
}

/* Product badges */
.product-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background-color: var(--primary-color);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: var(--space-lg);
    }
}











.product-highlights {
    margin: 0.5rem 0;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-highlights .highlight {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    font-weight: 600;
}

.product-highlights .offer {
    background-color: var(--primary-color);
    color: var(--white);
}

.product-rating {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.product-image img {
    transition: transform 0.5s ease;
}

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

.btn-primary {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    margin-top: 0.5rem;
}
















/* Reviews Section */
.reviews-section {
    background-color: var(--primary-light);
    padding: var(--space-xxl) 0;
    text-align: center;
}

.reviews-slider {
    position: relative;
    margin-top: var(--space-xl);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card {
    background-color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 600px;
    animation: fadeIn 1s ease-in-out;
}

.review-text {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: var(--space-md);
    font-size: 1.2rem;
}

.review-author {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--space-sm);
}

.review-rating {
    color: var(--warning-color);
    font-size: 1.25rem;
}

/* Animation for review fading */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
