* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #f8e5e5;
    --secondary-color: #f7cad0;
    --accent-color: #ff9eaa;
    --text-color: #2c3e50;
    --price-color: #ff6b6b;
    --button-gradient: linear-gradient(135deg, #ff9eaa, #ff6b6b);
    --card-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --hover-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

body {
    background: var(--primary-color);
    color: var(--text-color);
}

header {
    background: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 600;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.logo:hover::after {
    transform: translateX(0);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--button-gradient);
    color: white;
    transform: translateY(-2px);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Remove underline from category buttons */
.category-buttons a::before,
.category-buttons a::after {
    display: none;
}

.nav-links a:hover::before {
    transform: scaleX(1);
}

.nav-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: var(--accent-color);
}

main {
    margin-top: 80px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.hero p {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.girls-hero {
    background: linear-gradient(135deg, #ffcad4, #f3a6b5);
}

.girls-hero h1 {
    color: #e84c6b;
    margin-bottom: 0.5rem;
}

.girls-hero p {
    color: #943147;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeIn 0.6s ease;
    aspect-ratio: 1/1.2;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.image-container {
    width: 100%;
    height: 65%;
    overflow: hidden;
    background: #f9f9f9;
}

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

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

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: white;
}

.product-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    color: var(--text-color);
    font-weight: 500;
}

.product-price {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--price-color);
    font-weight: 600;
}

.buy-button {
    padding: 0.6rem;
    font-size: 0.9rem;
    width: 85%;
    margin: 0 auto;
    border-radius: 25px;
    background: var(--button-gradient);
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    filter: brightness(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeAnimation {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    20% {
        opacity: 1;
        transform: translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-100px);
    }
}

.welcome-message {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffcad4, #f3a6b5);
    color: #e84c6b;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(232, 76, 107, 0.4),
               inset 0 0 15px rgba(255, 255, 255, 0.6);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    animation: welcomeAnimation 2s ease-in-out forwards;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.category-buttons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.category-buttons a,
.category-buttons a:link,
.category-buttons a:visited,
.category-buttons a:hover,
.category-buttons a:active {
    text-decoration: none;
    border: none;
    outline: none;
}

.category-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    background: white;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    text-decoration: none !important;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
    text-decoration: none;
}

.category-buttons a:hover {
    text-decoration: none;
}

.category-btn.active {
    background: var(--button-gradient);
    color: white;
}

footer {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0.5rem;
    }
    
    .product-card {
        border-radius: 12px;
        aspect-ratio: 1/1.3;
    }
    
    .image-container {
        height: 60%;
    }
    
    .product-info {
        padding: 0.5rem;
    }
    
    .product-title {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .product-price {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .buy-button {
        padding: 0.4rem;
        font-size: 0.75rem;
        width: 90%;
    }
}

/* For very small screens */
@media (max-width: 360px) {
    .products-grid {
        gap: 0.5rem;
        padding: 0.3rem;
    }
    
    .product-card {
        aspect-ratio: 1/1.4;
    }
    
    .image-container {
        height: 55%;
    }
    
    .product-info {
        padding: 0.4rem;
    }
    
    .product-title {
        font-size: 0.75rem;
    }
    
    .buy-button {
        padding: 0.3rem;
        font-size: 0.7rem;
        width: 95%;
    }
}

/* Image Slider Styles */
.image-slider {
    position: relative;
    overflow: hidden;
}

.slider-images {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-images img {
    width: 100%;
    flex-shrink: 0;
}

.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    transform: scale(1.2);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}
