/*
Theme Name: Bagels
Description: Specific styles of the theme relative to this website.
*/

/* ---------------------------------
   Hero Section
   --------------------------------- */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-hero.btn-primary {
    background-color: #fff;
    color: #667eea;
}

.btn-hero.btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-hero.btn-secondary:hover {
    background-color: #fff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ---------------------------------
   Section Common Styles
   --------------------------------- */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------------------------------
   Features Section
   --------------------------------- */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-row {
    margin-top: 30px;
}

.feature-box {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------------------------------
   Featured Products Section
   --------------------------------- */
.featured-products-section {
    padding: 80px 0;
    background-color: #fff;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #f44336;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 1;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    flex-grow: 1;
}

.product-title a {
    color: #333;
    text-decoration: none;
}

.product-title a:hover {
    color: #667eea;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 15px;
}

.product-price del {
    color: #999;
    font-size: 16px;
    margin-right: 10px;
}

.btn-view-product {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-product:hover {
    background-color: #764ba2;
    color: #fff;
    transform: translateY(-2px);
}

.btn-view-all {
    padding: 15px 40px;
    background-color: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #764ba2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------
   Testimonials Section
   --------------------------------- */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 18px;
}

.testimonial-rating i {
    margin-right: 3px;
}

.testimonial-text {
    margin-bottom: 25px;
}

.testimonial-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-designation {
    font-size: 14px;
    color: #999;
}

/* ---------------------------------
   CTA Section
   --------------------------------- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background-color: #fff;
    color: #667eea;
}

.btn-cta-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-cta-secondary {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-cta-secondary:hover {
    background-color: #fff;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------------------------------
   Responsive Styles
   --------------------------------- */
@media (max-width: 991px) {
    .hero-section {
        min-height: 500px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .features-section,
    .featured-products-section,
    .testimonials-section {
        padding: 60px 0;
    }

    .cta-section {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 450px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .features-section,
    .featured-products-section,
    .testimonials-section {
        padding: 50px 0;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 28px;
    }

    .cta-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .hero-content {
        padding: 60px 0;
    }
}
