/* Modern Minimalist Index Design - Premium E-Commerce */

/* Typography Enhancement */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fafafa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Ultra Modern Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(15,15,15,0.85) 0%, rgba(30,30,30,0.6) 50%, rgba(15,15,15,0.85) 100%), 
                url('https://2.bp.blogspot.com/_YbrYXdTuKcQ/Sv06KV4JQcI/AAAAAAAAANo/mqUebRmrRmI/s1600/Fairy+Girls.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 12rem 0 10rem;
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.03em;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: #1a1a1a;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #1a1a1a;
    transform: translateY(-3px);
}

/* Elegant Section Styling */
.section {
    padding: 8rem 0;
    background: #fafafa;
}

.section:nth-child(even) {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-weight: 300;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-weight: 300;
    line-height: 1.8;
}

/* Premium Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    animation: fadeIn 0.8s ease-out;
}

.product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,26,26,0.02), rgba(26,26,26,0));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 400px;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    z-index: 2;
}

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

.product-overlay .btn {
    background: white;
    color: #1a1a1a;
    padding: 12px 32px;
    font-size: 0.85rem;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-overlay .btn {
    transform: translateY(0);
}

.product-overlay .btn:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-3px);
}

.product-info {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.product-name {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #666;
}

.product-brand {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

/* Smooth Scroll Reveal Animation */
.product-card {
    opacity: 0;
    animation: revealCard 0.6s ease-out forwards;
}

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

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }
.product-card:nth-child(8) { animation-delay: 0.4s; }

/* Loading Optimization */
.product-image img {
    will-change: transform;
}

.product-card {
    will-change: transform;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 8rem 0 6rem;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.75rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }
    
    .product-image {
        height: 320px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 14px 36px;
        font-size: 0.85rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .product-name {
        font-size: 1.05rem;
    }
    
    .product-price {
        font-size: 1.15rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Baby Banner Section */
.baby-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 240, 245, 0.9) 0%, rgba(255, 250, 250, 0.8) 50%, rgba(255, 240, 245, 0.9) 100%), 
                url('https://2.bp.blogspot.com/_YbrYXdTuKcQ/Sv06KV4JQcI/AAAAAAAAANo/mqUebRmrRmI/s1600/Fairy+Girls.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    padding: 8rem 0;
    text-align: center;
    margin: 4rem 0;
    overflow: hidden;
}

.baby-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(255, 255, 255, 0.4) 100%);
    pointer-events: none;
}

.baby-banner-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.baby-banner-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    color: #8b4513;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.baby-banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: #666;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-baby {
    background: #ffb6c1;
    color: #8b4513;
    border: 2px solid #ffb6c1;
}

.btn-baby:hover {
    background: #ff91a4;
    color: white;
    border-color: #ff91a4;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 182, 193, 0.4);
}

/* Responsive Design for Baby Banner */
@media (max-width: 1200px) {
    .baby-banner-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .baby-banner {
        padding: 6rem 0;
        background-attachment: scroll;
    }
    
    .baby-banner-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .baby-banner {
        padding: 5rem 0;
        margin: 3rem 0;
    }
    
    .baby-banner-title {
        font-size: 2.3rem;
    }
    
    .baby-banner-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .baby-banner {
        padding: 4rem 0;
        margin: 2rem 0;
    }
    
    .baby-banner-title {
        font-size: 2rem;
    }
    
    .baby-banner-subtitle {
        font-size: 1rem;
    }
}