/* =====================================================
   BY NIA CUISINE - COMPLETE STYLESHEET REDESIGN
   Woman-focused culinary website with warm, inviting colors
   ===================================================== */

/* CSS VARIABLES - NEW COLOR SCHEME */
:root {
    /* Primary Colors */
    --primary-coral: #FF6B6B;
    --secondary-sage: #87A96B;
    --accent-cream: #FFF8F0;
    --warm-white: #FEFEFE;

    /* Text Colors */
    --text-primary: #2C3E50;
    --text-secondary: #5D6D7E;
    --text-light: #85929E;

    /* Background Colors */
    --bg-primary: #FFF8F0;
    --bg-secondary: #F8F9FA;
    --bg-light: #FDFDFD;

    /* Social Media Colors */
    --youtube-red: #FF0000;
    --facebook-blue: #1877F2;
    --instagram-gradient: linear-gradient(45deg, #E1306C, #FFDC80);
    --tiktok-black: #000000;

    /* Shadows and Effects */
    --shadow-soft: 0 2px 12px rgba(255, 107, 107, 0.1);
    --shadow-medium: 0 4px 20px rgba(255, 107, 107, 0.15);
    --shadow-strong: 0 8px 32px rgba(255, 107, 107, 0.2);
}

/* =====================================================
   BASE STYLES
   ===================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;


}

body.pattern-herbs {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-primary);
    background-image:
        /* Opacity overlay to make image very faint */
        linear-gradient(rgba(255, 248, 240, 0.87), rgba(255, 248, 240, 0.50)),
        /* Your background image */
        url('images/africanfoodbackground.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

*/
/* =====================================================
   TYPOGRAPHY
   ===================================================== */



h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.display-2,
.display-3,
.display-5 {
    font-weight: 700;
    color: var(--primary-coral);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */

/* Social Top Bar */
.social-top-bar {
    /* background-color: var(--warm-white); */
    background-color: var(--bg-primary);
    padding: 8px 0;
    border-bottom: 1px solid #E8E8E8;
}

.social-icons-top {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.social-icon {
    color: var(--text-light);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: var(--primary-coral);
    transform: translateY(-2px);
}

/* Main Navigation */
.menubar {
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    box-shadow: 0 2px 12px rgba(255, 107, 107, 0.1);
    position: fixed;
    /* Changed from sticky to fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    /* Higher z-index to stay above other content */
    transition: all 0.3s ease;
    /* Smooth transition for scroll effects */
    width: 100%;
}

/* Scrolled state - slightly darker */
.menubar.scrolled {
    /* background: linear-gradient(135deg, #E55A5A 0%, #E07777 100%); */
    background: linear-gradient(135deg, #E55A5A 0%, #070303 100%);
    /* Slightly darker */
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.2);
    /* Enhanced shadow */
}

.navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
    border-radius: 20px;
    margin: 0 0.25rem;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.navbar-toggler {
    border: none;
    color: white;
}



/* =====================================================
   CONTAINERS & LAYOUT
   ===================================================== */

.motherOfAllContainers {
    background-color: var(--warm-white);
    padding: 30px 25px;
    border: 1px solid #E8E8E8;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: var(--shadow-soft);

    background-color: rgba(254, 254, 254, 0.75);
    /* 75% opacity */
    backdrop-filter: blur(0.5px);
    /* Optional: adds elegance */
}




.container {
    max-width: 1200px;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
}

.hero-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

.hero-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.hero-cta-btn {
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #FF5252 0%, var(--primary-coral) 100%);
}

/* =====================================================
   CARDS & COMPONENTS
   ===================================================== */

.quick-link-card,
.latest-recipes-card,
.ebook-offer-card {
    background-color: var(--warm-white);
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}



.about-preview-card {

    background-color: var(--warm-white);
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 97%;



}






.latest-recipes-card,
.ebook-offer-card {
    background-color: var(--warm-white);
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 30%;
    margin-top: 1.25rem;
}

.quick-link-card:hover,
.about-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.ebook-offer-card {
    background: linear-gradient(135deg, var(--accent-cream) 0%, #FFF 100%);
    border: 2px solid var(--secondary-sage);
}

/* =====================================================
   IMAGES
   ===================================================== */

.contentLink-img,
.latest-recipe-img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contentLink-img {
    height: 200px;
    margin-bottom: 1rem;
}

.contentLink-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-soft);
}

.latest-recipe-img {
    height: 120px;
}

.about-preview-img img {
    border-radius: 8px;
    width: 100%;
    height: 500px;
    object-fit: cover;

}

/* Image placeholders for missing images */
.placeholder-img,
.videos-placeholder-img {
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%);
    border: 2px dashed #CCC;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #999;
    font-weight: 500;
}

.placeholder-img::before {
    content: "📷 Image";
}

/* =====================================================
   THANK YOU SECTION
   ===================================================== */

.thank-you-section {
    background: linear-gradient(135deg, var(--accent-cream) 0%, #FFF 50%, var(--accent-cream) 100%);
    border: 2px solid var(--primary-coral);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.thank-you-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* =====================================================
   SOCIAL MEDIA INTEGRATION
   ===================================================== */

.social-media-section {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E8E8E8;
    margin-top: 2rem;

}

.main-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.main-social-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.main-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.main-social-icon.youtube {
    background-color: var(--youtube-red);
}

.main-social-icon.facebook {
    background-color: var(--facebook-blue);
}

.main-social-icon.instagram {
    background: var(--instagram-gradient);
}

.main-social-icon.tiktok {
    background-color: var(--tiktok-black);
}

/* =====================================================
   VIDEOS PAGE
   ===================================================== */

.videos-section-header {
    text-align: center;
    margin: 40px 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-cream) 0%, var(--warm-white) 100%);
    border-radius: 15px;
}

.videos-browse-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    margin: 0 auto 20px auto;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.videos-recipe-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

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

.videos-recipe-card img,
.videos-recipe-card .placeholder-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.videos-recipe-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 15px;
}

.allvideos {
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.allvideos:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #FF5252 0%, var(--primary-coral) 100%) !important;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */

/* .about-hero-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    position: relative;
} */

/*fix1--*/
.about-hero-img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

/* fix2 */
/* 
   .about-hero-img {
    width: 100%;
    height: 500px; /* Increased from 400px */
/* object-fit: cover; */
/* object-position: center top; Shows top of image first */

/* border-radius: 12px; */
/* box-shadow: var(--shadow-medium); */
/* }  */



.about-stats-card {
    border: 1px solid #E8E8E8;
    background-color: var(--warm-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-coral);
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.about-section-title {
    color: var(--primary-coral);
    font-weight: 600;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */

.contact-hero-section h3 {
    color: var(--primary-coral);
}

.contact-form-section {
    background-color: var(--warm-white);
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);

}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form-group,
.contact-message-group {
    border: 1px solid #E8E8E8;
    padding: 15px;
    background-color: var(--warm-white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form-group:focus-within,
.contact-message-group:focus-within {
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-form-input,
.contact-message-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
}

.contact-message-input {
    height: 120px;
    resize: vertical;
    font-family: inherit;
}

.contact-submit-btn {
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #FF5252 0%, var(--primary-coral) 100%);
}



/* =====================================================
   FOOTER - FIXED VERSION
   ===================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #34495E 100%);
    color: white;
    margin-top: 60px;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-footer .row {
    margin: 0 -15px;
}

.site-footer .col-md-3 {
    padding: 0 15px;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
}

.footer-title {
    color: var(--primary-coral);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-coral);
}

.footer-description {
    color: #BDC3C7;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    word-wrap: break-word;
    hyphens: auto;
}

.footer-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    transform: translateY(-2px);
}

.footer-divider {
    border-color: #4A5568;
    margin: 2rem 0 1rem 0;
}

.footer-copyright,
.footer-tagline {
    color: #BDC3C7;
    font-size: 0.9rem;
    margin: 0;
}

.footer-tagline {
    font-weight: 500;
}

/* Additional overflow prevention */
.site-footer * {
    max-width: 100%;
    box-sizing: border-box;
}

/* Enhanced mobile responsive fixes for footer */
@media (max-width: 768px) {
    .site-footer .col-md-3 {
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-description {
        font-size: 0.85rem;
    }

    .site-footer .container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .site-footer .col-md-3 {
        padding: 0 5px;
    }

    .footer-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .footer-cta-btn {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* =====================================================
   BUTTONS & INTERACTIONS
   ===================================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #FF5252 0%, var(--primary-coral) 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary-coral);
    color: var(--primary-coral);
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-coral);
    border-color: var(--primary-coral);
    color: white;
    transform: translateY(-2px);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 768px) {
    .motherOfAllContainers {
        padding: 20px 15px;
        margin-top: 10px;
    }

    .hero-content {
        padding: 1.5rem 0;
        text-align: center;
    }

    .hero-img {
        height: 250px;
    }

    .main-social-icons {
        gap: 15px;
    }

    .main-social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .display-2,
    .display-3 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .social-icons-top {
        gap: 8px;
    }

    .social-icon {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .thank-you-section {
        padding: 2rem 1rem;
    }

    .videos-browse-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .about-hero-img {
        height: 250px;
    }

    .contentLink-img {
        height: 150px;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.text-coral {
    color: var(--primary-coral);
}

.text-sage {
    color: var(--secondary-sage);
}

.bg-coral {
    background-color: var(--primary-coral);
}

.bg-sage {
    background-color: var(--secondary-sage);
}

.bg-cream {
    background-color: var(--accent-cream);
}

.shadow-soft {
    box-shadow: var(--shadow-soft);
}

.shadow-medium {
    box-shadow: var(--shadow-medium);
}

.shadow-strong {
    box-shadow: var(--shadow-strong);
}

.rounded-custom {
    border-radius: 12px;
}

.rounded-pill-custom {
    border-radius: 25px;
}

/* =====================================================
   VIDEO PLATFORM CARDS STYLING
   ===================================================== */

/* Base video card styling */
.video-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.video-card:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
}

.video-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover .video-preview {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Video thumbnail container */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.video-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-img {
    transform: scale(1.05);
}

/* Video placeholder (when no image available) */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show placeholder when image fails to load */
.video-img:not([src]),
.video-img[src=""] {
    opacity: 0;
}

.video-img:not([src])+.video-placeholder,
.video-img[src=""]+.video-placeholder {
    opacity: 1;
}

/* Video overlay (appears on hover) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
}

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

/* Platform icon in overlay */
.platform-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

/* Play button */
.play-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    transform: scale(1.1);
    background: white;
}

/* Video info section */
.video-info {
    padding: 12px;
    background: white;
    border-radius: 0 0 12px 12px;

}

.video-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.video-card:hover .video-title {
    color: var(--primary-coral);
}

/* Platform labels */
.platform-label {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================================== */
/* PLATFORM-SPECIFIC COLORS */

/* YouTube Styling */
.youtube-card:hover .video-preview {
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
}

.youtube-placeholder {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.youtube-icon {
    background: #FF0000;
}

.youtube-label {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

/* Instagram Styling */
.instagram-card:hover .video-preview {
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.2);
}

.instagram-placeholder {
    background: linear-gradient(45deg, #E1306C, #FFDC80);
}

.instagram-icon {
    background: linear-gradient(45deg, #E1306C, #FFDC80);
}

.instagram-label {
    background: rgba(225, 48, 108, 0.1);
    color: #E1306C;
}

/* TikTok Styling */
.tiktok-card:hover .video-preview {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tiktok-placeholder {
    background: linear-gradient(135deg, #000000, #333333);
}

.tiktok-icon {
    background: #000000;
}

.tiktok-label {
    background: rgba(0, 0, 0, 0.1);
    color: #000000;
}

/* Facebook Styling */
.facebook-card:hover .video-preview {
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.facebook-placeholder {
    background: linear-gradient(135deg, #1877F2, #0D47A1);
}

.facebook-icon {
    background: #1877F2;
}

.facebook-label {
    background: rgba(24, 119, 242, 0.1);
    color: #1877F2;
}

/* ===================================================== */
/* SIMPLIFIED VERSION STYLING */
/* ===================================================== */
.simple-video-card {
    display: block;
    text-align: center;
    padding: 20px 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

.simple-video-card:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.simple-video-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 12px auto;
    transition: all 0.3s ease;
}

.simple-video-card:hover .simple-video-icon {
    transform: scale(1.1);
}

.simple-video-card h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.platform-text {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

/* Simple version platform colors */
.youtube-simple:hover {
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.1);
}

.instagram-simple:hover {
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.1);
}

.tiktok-simple:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.facebook-simple:hover {
    border-color: rgba(24, 119, 242, 0.3);
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.1);
}

/* ===================================================== */
/* RESPONSIVE DESIGN */

@media (max-width: 768px) {
    body {
        padding-top: 60px;
        /* Adjust for smaller navbar on mobile */
    }

    .menubar {
        padding: 0.5rem 1rem;
    }

    .video-thumbnail {
        height: 100px;
    }

    .video-overlay {
        height: 100px;
    }

    .video-title {
        font-size: 0.8rem;
        color: white;
    }



    .platform-label {
        font-size: 0.65rem;
    }

    .play-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .simple-video-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .simple-video-card {
        padding: 15px 10px;
    }
}

/* latest styles */
/* CSS Variables for colors */
        :root {
            --primary-coral: #FF6B6B;
            --secondary-sage: #87A96B;
            --accent-cream: #FFF8F0;
            --warm-white: #FEFEFE;
            --text-primary: #2C3E50;
            --text-secondary: #5D6D7E;
            --text-light: #85929E;
            --bg-primary: #FFF8F0;
            --shadow-soft: 0 2px 12px rgba(255, 107, 107, 0.1);
            --shadow-medium: 0 4px 20px rgba(255, 107, 107, 0.15);
        }

        body.pattern-herbs {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--text-primary);
            line-height: 1.6;
            margin: 0;
            padding: 0;
            background-color: var(--bg-primary);
            background-image:
                linear-gradient(rgba(255, 248, 240, 0.87), rgba(255, 248, 240, 0.50)),
                url('images/africanfoodbackground.jpg');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        .motherOfAllContainers {
            background-color: rgba(254, 254, 254, 0.75);
            padding: 30px 25px;
            border: 1px solid #E8E8E8;
            border-radius: 15px;
            margin-top: 20px;
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(0.5px);
        }

        /* Video Section Styles */
        .videos-section-header {
            text-align: center;
            margin: 40px 0;
            padding: 2rem;
            background: linear-gradient(135deg, var(--accent-cream) 0%, var(--warm-white) 100%);
            border-radius: 15px;
        }

        .videos-browse-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
            margin: 0 auto 20px auto;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            box-shadow: var(--shadow-soft);
        }

        .text-coral {
            color: var(--primary-coral);
        }

        /* Video Card Styles - Updated for Embedded Videos */
        .videos-recipe-card {
            position: relative;
            overflow: hidden;
            border-radius: 12px;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-soft);
            background: white;
            height: 250px; /* Fixed height for uniform cards */
        }

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

        /* Video iframe container */
        .video-iframe-container {
            width: 100%;
            height: 200px;
            position: relative;
            overflow: hidden;
            border-radius: 12px 12px 0 0;
        }

        .video-iframe-container iframe {
            width: 100%;
            height: 100%;
            border: none;
            object-fit: cover;
        }

        /* Video overlay for text */
        .videos-recipe-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            color: white;
            padding: 15px;
            height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .videos-recipe-overlay h6 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-top:15px;
            line-height: 1.2;
        }

        .videos-recipe-overlay small {
            font-size: 0.75rem;
            opacity: 0.9;
        }

        /* Social Media Section */
        .social-media-section {
            background-color: #f8f9fa;
            padding: 2rem;
            border-radius: 12px;
            border: 1px solid #E8E8E8;
            margin-top: 2rem;
        }

        .main-social-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 1rem;
        }

        .main-social-icon {
            width: 60px;
            height: 60px;
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-soft);
        }

        .main-social-icon:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-medium);
        }

        .main-social-icon.youtube { background-color: #FF0000; }
        .main-social-icon.facebook { background-color: #1877F2; }
        .main-social-icon.instagram { background: linear-gradient(45deg, #E1306C, #FFDC80); }
        .main-social-icon.tiktok { background-color: #000; }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, var(--accent-cream) 0%, #FFF 50%, var(--accent-cream) 100%);
            border: 2px solid var(--primary-coral);
            border-radius: 20px;
        }

        .allvideos {
            background: linear-gradient(135deg, var(--primary-coral) 0%, #FF8E8E 100%);
            border: none;
            color: white;
            padding: 12px 30px;
            font-weight: 600;
            border-radius: 25px;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .allvideos:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-medium);
            background: linear-gradient(135deg, #FF5252 0%, var(--primary-coral) 100%);
            color: white;
        }

        .bg-cream {
            background-color: var(--accent-cream);
        }

        .rounded-custom {
            border-radius: 12px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .videos-recipe-card {
                height: 220px;
            }
            
            .video-iframe-container {
                height: 160px;
            }
            
            .videos-recipe-overlay {
                height: 60px;
                padding: 10px;
            }
            
            .videos-recipe-overlay h6 {
                font-size: 0.8rem;
            }
            
            .videos-recipe-overlay small {
                font-size: 0.7rem;
            }
            
            .main-social-icons {
                gap: 15px;
            }
            
            .main-social-icon {
                width: 50px;
                height: 50px;
                font-size: 1.5rem;
            }
        }

        @media (max-width: 576px) {
            .videos-recipe-card {
                height: 200px;
            }
            
            .video-iframe-container {
                height: 140px;
            }
        }