/* Global Styles */
:root {
    --primary-color: #2a2a2a;
    --secondary-color: #d4af37;
    --accent-color: #e8c284;
    --light-color: #f8f8f8;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #777;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --error-color: #f44336;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

main {
    background-color: #b3f1d7;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border: 1px solid var(--light-color);
    margin-left: 15px;
}

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

.btn-category {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-category:hover {
    background-color: #fff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.scrolling-text {
    font-size: 48px;
    font-weight: bold;
    white-space: nowrap;
    display: inline-block;
    animation: scrollText 8s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Top Banner */
.top-banner {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 15px;
}

.logo-icon {
    margin-left: 10px;
    margin-right: 10px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.search-bar {
    display: flex;
    width: 40%;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 14px;
}

.search-bar button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
    position: relative;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

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

nav ul li:hover::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.wishlist-icon,
.cart-icon {
    margin-left: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    position: relative;
}

.wishlist-icon:hover,
.cart-icon:hover {
    color: var(--secondary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(28, 28, 28, 0.6), rgba(40, 38, 38, 0.6)),
        url('cover.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-align: center;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Featured Categories */
.featured-categories {
    padding: 80px 0;
    background-color: var(--light-color);
}

/* Products Section */
.products {
    padding: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

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

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

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

.product-actions {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.action-btn:hover {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info .category {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.product-info .price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 10px;
}

.discount {
    color: var(--success-color);
    font-size: 0.9rem;
    margin-left: 10px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

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

.view-details {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.view-details:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Banner Section */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('banner.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin: 60px 0;
}

.banner-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: rgb(206, 205, 205);
}

.about-container {
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.about-content {
    flex: 1;
}

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

/* Testimonials Section */
.testimonials {
    margin-left: 20px;
    margin-right: 20px;
    padding: 50px;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgb(214, 214, 214);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0.5, 0.05);
    transition: transform 0.3s;
}

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

.rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.customer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.customer span {
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: rgb(222, 213, 252);
}

.contact-container {
    display: flex;
    gap: 50px;
    margin-left: 80px;
    margin-right: 80px;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 15px;
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #0a43ee;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

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

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    margin-left: 50px;
    margin-right: 50px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.links-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

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

.links-column ul li {
    margin-bottom: 10px;
}

.links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.links-column ul li a:hover {
    color: var(--secondary-color);
}

.newsletter p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 20px;
    margin-right: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.payment-methods i {
    font-size: 1.5rem;
    margin-left: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-left: 20px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--secondary-color);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: flex-end;
}

.cart-content {
    background-color: white;
    width: 100%;
    max-width: 450px;
    height: 100%;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.3s ease-out;
}

.cart-modal.active .cart-content {
    transform: translateX(0);
}

.close-cart {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-cart:hover {
    color: var(--error-color);
}

.cart-items {
    margin: 30px 0;
}

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

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

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

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

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

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

.quantity-btn {
    width: 25px;
    height: 25px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity {
    margin: 0 10px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    color: var(--error-color);
    cursor: pointer;
    margin-left: 15px;
    font-size: 1.2rem;
}

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

.cart-subtotal,
.cart-shipping,
.cart-grand-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cart-grand-total {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 20px 0;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--text-light);
    transition: color 0.3s;
}

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

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--text-light);
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--border-color);
}

/* Product Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.product-modal-content {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.close-product-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.close-product-modal:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.product-modal-container {
    display: flex;
    height: 100%;
}

.product-modal-image {
    flex: 1;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.product-modal-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-modal-details {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.product-modal-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-modal-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.product-modal-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-modal-actions {
    display: flex;
    margin-top: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    background-color: #f1f1f1;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #f1f1f1;
}

.product-modal-add-to-cart {
    flex: 1;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 600;
    transition: background-color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        flex-direction: column;
    }

    .about-image {
        margin-bottom: 30px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 992px) {

    .categories-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-modal-container {
        flex-direction: column;
        height: auto;
        max-height: 90vh;
    }

    .product-modal-image {
        padding: 20px;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

    .search-bar {
        width: 100%;
        margin-bottom: 15px;
    }

    nav {
        margin-bottom: 15px;
    }

    .header-icons {
        margin-top: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        margin: 15px 0;
    }

    .legal-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {

    .categories-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 15px;
    }

    .btn-secondary {
        margin-left: 10px;
    }
}