@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');

:root {
    --primary-color: #8B4513;
    --secondary-color: #D4AF37;
    --accent-color: #FF6B35;
    --dark-color: #2C1810;
    --light-color: #F5E6D3;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-bar {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left i {
    margin: 0 15px 0 0;
}

.top-right .social-link {
    color: var(--white);
    margin-left: 15px;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
}

.top-right .social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-text p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.7), rgba(139, 69, 19, 0.5));
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.slide-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s;
}

.slide-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1s 0.6s backwards;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--dark-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: #FFD700;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background: var(--white);
    transform: scale(1.3);
}

/* Features */
.features {
    padding: 60px 20px;
    background: var(--light-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Categories */
.categories {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.category-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-btn {
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.category-btn:hover {
    background: #FFD700;
    transform: scale(1.1);
}

.category-card h3 {
    padding: 20px;
    color: var(--primary-color);
    margin: 0;
}

.category-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Featured Products */
.featured-products {
    padding: 80px 20px;
    background: var(--light-color);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
    color: var(--white);
}

.product-badge.new {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.product-badge.popular {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.product-badge.sale {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.product-image-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-color), var(--white));
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: all 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.1) rotate(5deg);
}

.product-quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0;
    transition: all 0.3s;
}

.product-card:hover .product-quick-view {
    opacity: 1;
}

.quick-view-btn {
    width: 100%;
    padding: 10px;
    background: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.quick-view-btn:hover {
    background: var(--secondary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 15px;
}

.product-rating i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 5px;
}

.product-price {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-right: 10px;
}

.btn-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cart:hover {
    background: var(--dark-color);
    transform: scale(1.05);
}

/* Testimonials */
.testimonials {
    padding: 80px 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.customer-details strong {
    display: block;
    color: var(--primary-color);
}

.customer-details span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.stars {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

/* Newsletter */
.newsletter {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 40px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    margin: 5px 0;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: #FFD700;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1rem;
    }

    .slide-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }
}/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 968px) {
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: block;
        order: 3;
    }
    
    .nav-menu {
        order: 4;
        width: 100%;
        flex-direction: column !important;
        gap: 0 !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--white);
        box-shadow: var(--shadow);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .nav-menu.active {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        border-bottom: 1px solid var(--light-color);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .header-actions {
        order: 2;
    }
    
    .slide-title {
        font-size: 2.2rem !important;
    }
    
    .slide-subtitle {
        font-size: 1.1rem !important;
    }
    
    .hero-slider {
        height: 500px !important;
    }
    
    .slider-btn {
        padding: 15px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 1.8rem !important;
    }
    
    .slide-subtitle {
        font-size: 0.95rem !important;
    }
    
    .hero-slider {
        height: 450px !important;
    }
    
    .section-title {
        font-size: 1.6rem !important;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}
