

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Taller hero for impact */
    overflow: hidden;
    margin-bottom: 80px;
}

.hero-carousel .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Slower transition */
}

.hero-carousel .carousel-item.active {
    opacity: 1;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.45); /* Slightly darker overlay */
    padding: 40px 60px;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.8em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.5;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 30px;
    z-index: 10;
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.8em;
    transition: background-color 0.3s ease;
    width: 50px; /* Fixed width/height for perfect circle */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Featured Collections */
.featured-collections {
    margin-bottom: 80px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* Increased gap */
    text-align: center;
}

.collection-item {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); /* Stronger shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection-item:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.collection-item img {
    width: 100%;
    height: 300px; /* Larger image area */
    object-fit: cover;
    display: block;
}

.collection-item h3 {
    margin: 20px 0;
    font-size: 1.8em;
    color: #222;
}

/* Product Grid (New Arrivals) */
.product-grid {
  
  text-align: center;
}


/* About Snippet */
.about-snippet {
    text-align: center;
    padding: 70px 0; /* More padding */
    background-color: #eef4f9; /* Soft blue background */
    margin-top: 80px; /* Space from products */
    margin-bottom: 80px;
    border-radius: 12px;
}

.about-snippet p {
    max-width: 900px;
    margin: 0 auto 40px auto; /* More margin below paragraph */
    font-size: 1.2em;
    line-height: 1.7;
    color: #444;
}

/* Testimonials */
.testimonials {
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    padding: 0 50px; /* Space for carousel buttons */
}

.testimonial-carousel {
    position: relative;
    width: 80%; /* Confine carousel width */
    margin: 0 auto;
    overflow: hidden;
    height: 180px; /* Fixed height for carousel items */
    display: flex; /* To manage slides */
    align-items: center; /* Vertically center content */
}

.testimonial-item {
    min-width: 100%;
    transition: transform 0.6s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%; /* Take full height of carousel */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transform: translateX(100%); /* Start off-screen */
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative; /* Take up space when active */
}
.testimonial-item.prev {
    transform: translateX(-100%); /* Move previous slide off-screen */
}

.testimonial-item p {
    font-size: 1.3em;
    font-style: italic;
    color: #555;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-item cite {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 10px;
    pointer-events: none; /* Allow clicks to pass through */
}

.testimonial-nav button {
    background-color: rgba(0, 0, 0, 0.1);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto; /* Re-enable clicks for buttons */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.testimonial-nav button:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #343a40; /* Darker background for contrast */
    color: #fff;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0; /* No margin at the very bottom */
}

.newsletter-section h2 {
    color: #fff;
    margin-bottom: 15px;
}



.newsletter-section p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 1em;
    color: #333;
}

.newsletter-form .btn-primary {
    border-radius: 0 8px 8px 0;
    padding: 15px 30px;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
.main-footer {
    background-color: #222;
    color: #eee;
    padding: 60px 0 25px 0;
}

.main-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #444;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.4em;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    border-radius: 1px;
}


.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    transition: color 0.3s ease;
    font-size: 0.95em;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-icons a {
    color: #eee;
    font-size: 1.8em;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    color: #bbb;
    font-size: 0.9em;
}

.payment-methods i {
    font-size: 2.2em;
    margin: 0 8px;
    color: #bbb;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-header .main-nav {
        display: none; /* Hide nav, consider a hamburger menu via JS if needed */
    }

    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-header .logo {
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

   
    .header-icons {
        width: 100%;
        text-align: center;
    }
    .header-icons a {
        margin: 0 15px; /* Adjust spacing */
    }

    .hero-section {
        height: 500px;
    }
    .hero-content {
        padding: 30px 40px;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }

    .collection-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }

    .about-snippet p {
        font-size: 1.1em;
    }

    .testimonial-carousel {
        width: 90%;
    }
    .testimonial-item p {
        font-size: 1.2em;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
        max-width: 350px; /* Narrower for mobile input */
    }
    .newsletter-form input[type="email"] {
        border-radius: 8px;
        margin-bottom: 15px;
        width: 100%;
    }
    .newsletter-form .btn-primary {
        border-radius: 8px;
        width: 100%;
    }

    .main-footer .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-col ul {
        padding-left: 0; /* Remove default list padding */
    }
}

@media (max-width: 768px) {
    h2 {
        font-size: 2em;
    }
    .hero-section {
        height: 400px;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1em;
    }
    .hero-carousel .carousel-item {
        background-position: 70% center; /* Adjust for mobile focus */
    }
    .carousel-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.5em;
    }
    .product-card img {
        height: 250px;
    }
    .product-card h3 {
        font-size: 1.2em;
    }
    .product-card p.price {
        font-size: 1.1em;
    }

    .about-snippet p {
        font-size: 1em;
    }

    .testimonial-carousel {
        width: 95%;
        height: 150px;
    }
    .testimonial-item p {
        font-size: 1em;
    }
    .testimonial-item cite {
        font-size: 0.9em;
    }
    .testimonial-nav button {
        width: 35px;
        height: 35px;
        font-size: 1em;
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .main-header .logo a {
        font-size: 1.6em;
    }
    .hero-section {
        height: 350px;
    }
    .hero-content {
        padding: 20px;
    }
    .hero-content h1 {
        font-size: 2em;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .collection-grid, .product-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 20px;
    }
    .collection-item img {
        height: 220px;
    }
    .product-card img {
        height: 200px;
    }
    .product-card h3 {
        font-size: 1.1em;
    }
    .footer-col {
        padding-top: 20px; /* Space between columns on mobile */
    }
}


