/* home.css - Styles specific to homepage */



/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 249, 242, 0.85), rgba(255, 249, 242, 0.9)), url('https://images.unsplash.com/photo-1578985545062-69928b1d9587?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1089&q=80');
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23f7a8b8' fill-opacity='0.15' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    margin-bottom: 25px;
    font-size: 5rem;
    animation: bounceIn 1.5s ease;
    letter-spacing: 2px;
}

@keyframes bounceIn {
    0% { transform: scale(0.7); opacity: 0; }
    70% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}

.hero-tagline {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 50px;
    font-weight: 500;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #FF80AB);
    color: white;
    padding: 22px 55px;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 10px 25px rgba(247, 168, 184, 0.5);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 1px;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.8s;
    z-index: -1;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--dark-color), #5D4037);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 18px 35px rgba(247, 168, 184, 0.6);
    letter-spacing: 1.5px;
}

.cta-button:hover:before {
    left: 100%;
}

/* Featured Products */
.featured-products {
    padding: 140px 0;
    text-align: center;
    position: relative;
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3.2rem;
}

.section-title p {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 750px;
    margin: 25px auto 0;
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

/* Product Card */
.product-card {
    background-color: var(--white);
    border-radius: 25px;
    overflow: hidden; /* REMOVE THIS LINE - yahi crop kar raha tha */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--accent-color), #FFCA28);
    color: var(--dark-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 213, 79, 0.3);
}

.product-img {
      height: auto;
            width: 100%;
            object-fit: cover;
            transition: transform 0.7s;
}

.product-card:hover .product-img {
    transform: scale(1.2);
}

.product-info {
    padding: 35px;
}

.product-name {
    font-size: 1.9rem;
    margin-bottom: 18px;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
}

.product-desc {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.order-btn {
    background: linear-gradient(135deg, var(--accent-color), #FFB300);
    color: var(--dark-color);
    border: none;
    padding: 16px 35px;
    border-radius: 35px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    width: 100%;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(255, 213, 79, 0.3);
}

.order-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), #F06292);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(247, 168, 184, 0.4);
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M500,97C126.7,96.3,0.8,19.8,0,0v100l1000,0V0C999.2,19.8,873.3,96.3,500,97z' fill='%23FFF9F2'/%3E%3C/svg%3E");
    background-size: 100% 120px;
    background-position: top;
    background-repeat: no-repeat;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 70px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 45px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    transition: transform 0.5s;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 8rem;
    color: rgba(247, 168, 184, 0.2);
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.8rem;
    margin-right: 25px;
    box-shadow: 0 8px 20px rgba(247, 168, 184, 0.4);
}

.author-info h4 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.author-info p {
    color: var(--text-color);
    opacity: 0.9;
    font-size: 1rem;
}

/* Special Offer Banner */
.offer-banner {
    background: linear-gradient(90deg, var(--primary-color), #FF80AB, var(--accent-color));
    color: white;
    padding: 35px 0;
    text-align: center;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.offer-banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.2' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.offer-content {
    position: relative;
    z-index: 1;
}

.offer-content h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.offer-content p {
    font-size: 1.4rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.offer-btn {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 35px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s;
    margin-top: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    font-size: 1.2rem;
}

.offer-btn:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
    /* background: linear-gradient(135deg, rgba(247, 168, 184, 0.15), rgba(255, 213, 79, 0.1)); */
    padding: 8px 18px;
    border-radius: 25px;
    position: relative;
}

nav ul li a.active:after {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    bottom: -2px;
}
/* Floating Animation for Products */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.product-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.product-card:nth-child(2) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.product-card:nth-child(3) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 4s;
}

/* Responsive Design - Homepage Specific */
@media (max-width: 1100px) {
    .hero h1 {
        font-size: 4.2rem;
    }
    
    .section-title h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero-tagline {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .featured-products, .testimonials {
        padding: 100px 0;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .offer-content h3 {
        font-size: 2rem;
    }
    
    .offer-content p {
        font-size: 1.2rem;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1.3rem;
    }
}
