/* Color Variables */
:root {
    /* Primary Colors */
    --dark-purple: #4A2C77;
    --pink: #F77CA5;
    --bright-pink: #FF6EA7;

    /* Secondary Colors */
    --light-purple: #A96CB5;
    --baby-pink: #FDDDEB;
    --bottle-pink: #F78CA3;

    /* Neutrals */
    --white: #FFFFFF;
    --light-gray: #F7F5F9;
    --gray: #6E6E6E;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--dark-purple);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(74, 44, 119, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    color: var(--dark-purple);
    font-weight: 600;
    font-size: 1.8rem;
}

.logo i {
    color: var(--pink);
    margin-right: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--dark-purple);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--pink);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
}

.search-box input {
    background-color: var(--light-gray);
    border: none;
    padding: 10px 40px 10px 15px;
    border-radius: 25px;
    width: 250px;
    color: var(--dark-purple);
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 1.5rem;
    color: var(--pink);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--bright-pink);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-purple);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Search Toggle */
.search-toggle {
    display: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background-color: var(--baby-pink);
}

.search-toggle i {
    color: var(--dark-purple);
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--baby-pink) 0%, var(--white) 100%);
    padding: 150px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.cta-button {
    background-color: var(--bright-pink);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button:hover {
    background-color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 110, 167, 0.3);
}

.hero-illustration {
    text-align: center;
    position: relative;
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icons i {
    position: absolute;
    color: var(--light-purple);
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.floating-icons i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icons i:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-icons i:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 3rem;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 44, 119, 0.1);
    background-color: var(--baby-pink);
}

.category-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 2.5rem;
    color: var(--pink);
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--gray);
    font-size: 1rem;
}

/* Offers Banner */
.offers-banner {
    background: linear-gradient(135deg, var(--bright-pink) 0%, var(--pink) 100%);
    padding: 60px 0;
    margin: 40px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.offer-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.offer-text p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.offer-code {
    background-color: var(--white);
    color: var(--bright-pink);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1.1rem;
}

.offer-cta {
    background-color: var(--white);
    color: var(--bright-pink);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.offer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--baby-pink);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 44, 119, 0.15);
}

.product-image {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.product-badge.new {
    background-color: var(--light-purple);
}

.product-badge.sale {
    background-color: var(--bright-pink);
}

.product-badge.hot {
    background-color: var(--pink);
}

.product-badge.bestseller {
    background-color: var(--dark-purple);
}

.product-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

.product-price {
    margin-bottom: 1rem;
}

.original-price {
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 10px;
}

.sale-price {
    color: var(--bright-pink);
    font-weight: 600;
    font-size: 1.2rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1.5rem;
}

.product-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: 5px;
}

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

.add-to-cart:hover {
    background-color: var(--pink);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--light-gray);
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--baby-pink);
    border-radius: 50px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--dark-purple);
}

.newsletter-form button {
    background-color: var(--bright-pink);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--pink);
    transform: translateY(-2px);
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section h3 i {
    color: var(--pink);
    margin-right: 8px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--pink);
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--pink);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--bright-pink);
    transform: translateY(-2px);
}

.social-links a i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
}

.contact-info i {
    color: var(--pink);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid var(--light-purple);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--light-gray);
}

/* Responsive Design */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Tablets */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header adjustments */
    .navbar {
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 15px rgba(74, 44, 119, 0.1);
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-icons {
        order: 2;
        gap: 1rem;
    }

    .search-toggle {
        display: none;
    }

    .search-box {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        padding: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .search-box input {
        width: 180px;
        padding: 8px 30px 8px 12px;
        border: none !important;
        background-color: var(--light-gray) !important;
    }

    /* Hero section */
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    /* Categories */
    .categories {
        padding: 60px 0;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .category-card {
        padding: 2rem;
    }

    /* Products */
    .products {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    /* Offers banner */
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .offer-text h2 {
        font-size: 2.2rem;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
        max-width: 400px;
    }

    .newsletter-form input {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    /* Header */
    .navbar {
        padding: 0.8rem 0;
    }

    .logo h2 {
        font-size: 1.5rem;
    }

    .nav-icons {
        gap: 0.5rem;
    }

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

    .search-box {
        position: fixed;
        top: 80px;
        left: 10px;
        right: 10px;
        z-index: 998;
        background: var(--white);
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(74, 44, 119, 0.1);
        transform: translateY(-100px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .search-box.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .search-box input {
        width: 100%;
        padding: 12px 40px 12px 15px;
        border: 2px solid var(--baby-pink);
        border-radius: 25px;
        font-size: 1rem;
    }

    .cart-icon i {
        font-size: 1.3rem;
    }

    .nav-menu {
        top: 90%;
        padding: 1.5rem 0;
    }

    .nav-menu li a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        display: block;
    }

    /* Hero section */
    .hero {
        padding: 100px 0 40px;
    }

    .hero-content {
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .hero-illustration i {
        font-size: 6rem !important;
    }

    .floating-icons i {
        font-size: 1.5rem;
    }

    /* Sections */
    .categories, .products {
        padding: 40px 0;
    }

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

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .category-icon i {
        font-size: 2rem;
    }

    .category-card h3 {
        font-size: 1.3rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-card {
        padding: 1rem;
    }

    .product-image {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .product-image i {
        font-size: 2.5rem !important;
    }

    .product-info h3 {
        font-size: 1.2rem;
    }

    /* Offers banner */
    .offers-banner {
        padding: 40px 0;
        margin: 20px 0;
    }

    .offer-text h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .offer-text p {
        font-size: 1.1rem;
    }

    .offer-code {
        font-size: 1rem;
        padding: 6px 12px;
    }

    .offer-cta {
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Newsletter */
    .newsletter {
        padding: 40px 0;
    }

    .newsletter-content h2 {
        font-size: 2rem;
    }

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

    .newsletter-form {
        max-width: 100%;
    }

    .newsletter-form input {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section h4 {
        font-size: 1.1rem;
    }

    .social-links {
        justify-content: center;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

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

    .offer-text h2 {
        font-size: 1.5rem;
    }

    .newsletter-content h2 {
        font-size: 1.6rem;
    }

    .category-card, .product-card {
        padding: 1rem;
    }

    .cta-button, .offer-cta {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}