/* Custom CSS for Chocolate Mastery Landing Page */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #2c1810 0%, #8B4513 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffc107 !important;
}

/* Hero Section */
.hero-section {
    padding: 20px 0;
    background: #8b4513;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="chocolate" patternUnits="userSpaceOnUse" width="20" height="20"><rect width="20" height="20" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23chocolate)"/>');    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.pricing-info {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.1rem;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffc107;
    margin: 0.5rem 0;
}

.discount-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.cta-button {
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    background: linear-gradient(45deg, #ff8c00, #ffc107);
}

.hero-images img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.hero-images img:hover {
    transform: scale(1.05);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ffc107, #ff8c00);
    border-radius: 2px;
}

/* Why Join Section */
.why-join-section {
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Learn Section */
.learn-section {
    background: white;
}

.learn-list {
    list-style: none;
    padding: 0;
}

.learn-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.learn-list li:hover {
    color: #8B4513;
    transform: translateX(10px);
}

/* Recipes Section */
.recipes-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.recipe-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffc107;
}

.recipe-item {
    background: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.recipe-item:hover {
    background: #ffc107;
    color: white;
    transform: translateX(5px);
}

.total-recipes {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* Benefits Section */
.benefits-section {
    background: white;
}

.benefit-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.benefit-item:hover {
    background: white;
    border-color: #ffc107;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.benefit-item h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Course For Section */
.course-for-section {
    background: #f8f9fa;
}

.target-audience {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.target-audience:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.target-icon {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.target-audience h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Why Now Section */
.why-now-section {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
}

.why-now-section .section-title {
    color: #333;
}

.why-now-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Trainer Section */
.trainer-section {
    background: white;
}

.trainer-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid #ffc107;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #ffc107;
    font-family: serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 1rem;
    font-style: italic;
    font-size: 1.1rem;
}

.testimonial-author {
    color: #8B4513;
    font-weight: 600;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
    color: white;
}

.pricing-card {
    background: rgba(255,255,255,0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.pricing-details {
    margin-bottom: 2rem;
}

.pricing-details .original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.2rem;
}

.pricing-details .current-price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffc107;
    margin: 1rem 0;
}

.pricing-details .discount-badge {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.accordion-button {
    font-weight: 600;
    background: #f8f9fa;
    border: none;
}

.accordion-button:not(.collapsed) {
    background: #ffc107;
    color: #333;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #2c1810 0%, #8B4513 100%);
}

.final-cta-section .section-title {
    color: white;
    font-size: 2.5rem;
}

/* Footer */
.footer {
    background: #2c1810 !important;
}

.footer h5 {
    color: #ffc107;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

.gallery-item {
    min-width: calc(33.333% - 14px); /* Desktop: 3 images */
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
    .gallery-item {
        min-width: calc(100% - 14px); /* Mobile: 1 image */
    }

    .gallery-slider {
        padding: 0 30px;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Navigation buttons */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    cursor: pointer;
    z-index: 10;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Certificate Section */
.certificate-section {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                url('images/pattern-bg.jpg') center/cover repeat;
}

.certificate-wrapper {
    padding: 20px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.certificate-wrapper:hover {
    transform: translateY(-5px);
}

.certificate-wrapper img {
    max-width: 100%;
    height: auto;
    border: 8px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.certificate-overlay {
    padding: 20px;
}

.price-bubble {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 999;
    transition: transform 0.3s ease;
    animation: slideIn 0.5s ease-out;
}

.price-bubble:hover {
    transform: translateY(-5px);
}

.price-content {
    padding: 15px;
}

.price-header {
    margin-bottom: 10px;
    text-align: center;
}

.discount-tag {
    background: #ff4444;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.price-body {
    text-align: center;
}

.price-info {
    margin-bottom: 10px;
}

.old-price {
    color: #666;
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 14px;
}

.new-price {
    color: #28a745;
    font-weight: bold;
    font-size: 18px;
}

.enroll-now-btn {
    background: #ffc107;
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.enroll-now-btn:hover {
    background: #ffb300;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .trainer-image {
        width: 250px;
        height: 250px;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .pricing-details .current-price {
        font-size: 2.5rem;
    }
    
    .gallery-item {
        min-width: calc(100% - 14px);
    }
    
    .price-bubble {
        bottom: 70px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-card,
    .benefit-item,
    .target-audience,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .certificate-wrapper {
        padding: 10px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #8B4513;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D2691E;
}

/* Reviews Section Styles */
.la_reviews_section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f8, #fff);
    overflow: hidden;
}
.la_reviews_title {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}
.la_reviews_slider {
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.la_reviews_track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: slideReviews 40s linear infinite;
}
.la_reviews_track:hover {
    animation-play-state: paused;
}
.la_review_item {
    flex: 0 0 300px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.la_review_item:hover .la_review_img img {
    transform: scale(1.05);
}
.la_review_img {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}
.la_review_img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.la_review_item:hover .la_review_img img {
    transform: scale(1.05);
}

@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.whatsapp-float .fab {
    font-size: 24px;
}

.whatsapp-text {
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.social-icon:hover {
    width: 50px;
    color: white;
}

.instagram {
    background: #E1306C;
}

.facebook {
    background: #4267B2;
}

.youtube {
    background: #FF0000;
}

@media (max-width: 768px) {
    .social-sidebar {
        top: unset;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
    }

    .social-icon {
        border-radius: 50%;
    }

    .social-icon:hover {
        width: 40px;
        transform: translateY(-5px);
    }
}