@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins;
}

body {
    background-color: #f8f9fa;
    color: #333;
    min-height: 100vh;
}

/* Hero Section */
.hero-slider {
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.slider-container {
    position: relative;
    width: 1280px;
    height: 720px;
    background-color: #333;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    font-size: 2rem;
    padding: 0.3em 0.6em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.6);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Best Sellers Section */
.featured-products {
    background-color: #f3f3f3;
    padding: 50px 0;
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
}

.featured-products h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.products-container {
    height: auto;
    width: 1500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.product-card {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 320px;
    height: 400px;
    transition: transform 0.3s ease;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-top: 10px;
    text-align: left;
    margin-left: 10px;
}

.product-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff0000;
    text-align: left;
    margin-left: 10px;
    margin-top: 55px;
}

/* Why Shop With Us Section */
.why-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 1rem;
    text-align: center;
}

.why-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 30px;
}

.why-card {
    flex: 1 1 calc(25% - 2rem);
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
}

.why-card i {
    font-size: 2.5rem;
    color: #8B0000;
    margin-bottom: 15px;
}

.why-card p {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.why-section-title{
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .why-card {
        flex: 1 1 100%;
    }
}


/* Testimonials */
.testimonials {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.testimonial {
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 20px;
    max-width: 300px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
    display: block;
    height: 150px;
}

.testimonial h4 {
    font-weight: 600;
    display: block;
}

/* Newsletter Section */
.cta-section {
    padding: 50px;
    background-color: #8B0000;
    text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    margin-bottom: 30px;
    color: white;
}

.cta-section a {
    display: block;
    color: #8B0000;
    border: none;
    background-color: white;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px;
    width: 120px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-section a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer Section */
.site-footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
}

.social-icons a:hover {
    color: #8B0000;
}

footer p {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

