/* mCream Edibles - Main Styles */

/* Brand Color Palette */
:root {
    --mcream-white-smoke: #F5F5F5;
    --mcream-mint-green: #C6E5DB;
    --mcream-dark-cyan: #398F93;
    --mcream-tyrian-purple: #480D3C;
    --mcream-dark-purple: #340930;
    
    /* Text colors for each background */
    --mcream-text-on-light: #000000;
    --mcream-text-on-dark: #FFFFFF;
    
    /* Dynamic viewport heights for mobile browser compatibility */
    --vh: 1vh;
    --vw: 1vw;
}

/* Custom mCream font for titles/headers */
@font-face {
    font-family: 'mCream';
    src: url('../fonts/mcream_01.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Video background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* fallback */
    height: 100dvh; /* dynamic viewport height */
    object-fit: cover;
    z-index: -2;
    /* Ensure video covers any potential gaps */
    min-width: 100vw;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
}

/* Dark overlay for better text readability */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh; /* fallback */
    height: 100dvh; /* dynamic viewport height */
    background: linear-gradient(135deg, var(--mcream-dark-purple) 0%, var(--mcream-tyrian-purple) 100%);
    opacity: 0.4;
    z-index: -1;
    /* Ensure overlay covers any potential gaps */
    min-width: 100vw;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    height: 100vh; /* fallback */
    height: 100dvh; /* dynamic viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

/* Hero buttons container */
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Logo styling */
.logo {
    position: relative;
    z-index: 1;
    text-align: center;
}

.logo img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float-logo 4s ease-in-out infinite;
}

/* Floating animation for hero logo */
@keyframes float-logo {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-15px);
    }
}


/* Content on top */
.content {
    position: relative;
    z-index: 1;
    color: var(--mcream-text-on-dark);
    text-align: center;
    padding: 40px 20px 80px 20px;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

/* Compact content for sections that need to fit better */
.content.compact {
    min-height: 80vh; /* fallback */
    min-height: 80dvh; /* dynamic viewport height */
    padding: 30px 20px;
}

/* Ensure content doesn't overflow viewport */
.content * {
    max-width: 100%;
}

/* Typography */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    padding-bottom: 90px; /* Space for bottom navigation (70px nav + 20px buffer) */
    background-color: var(--mcream-dark-purple);
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
    overflow-x: hidden;
}

h1 {
    font-family: 'mCream', Arial, sans-serif;
    font-weight: normal;
    font-size: 3rem;
    margin: 0 0 10px 0;
    color: var(--mcream-text-on-dark);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2, h3, h4, h5, h6 {
    font-family: 'mCream', Arial, sans-serif;
    font-weight: normal;
    color: var(--mcream-text-on-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: var(--mcream-text-on-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

p:last-child {
    margin-bottom: 0;
}

/* Button styling with mCream font */
.btn {
    font-family: 'mCream', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    margin: 8px auto;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Primary button variant - glassmorphism with cyan gradient */
.btn-primary {
    font-size: 1.1rem;
    padding: 18px 36px;
    background: linear-gradient(135deg, rgba(57, 143, 147, 0.8), rgba(57, 143, 147, 0.6));
    border: 2px solid var(--mcream-dark-cyan);
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    transform: translateY(0) scale(1);
    will-change: transform;
    text-decoration: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(57, 143, 147, 1), rgba(57, 143, 147, 0.8));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(57, 143, 147, 0.4);
    border-color: var(--mcream-mint-green);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.btn-primary:focus {
    outline: none;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, rgba(57, 143, 147, 0.8), rgba(57, 143, 147, 0.6));
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-color: var(--mcream-dark-cyan);
}

/* Secondary button variant - glassmorphism with mint gradient */
.btn-secondary {
    font-size: 1.1rem;
    padding: 18px 36px;
    background: linear-gradient(135deg, rgba(198, 229, 219, 0.3), rgba(198, 229, 219, 0.2));
    border: 2px solid var(--mcream-mint-green);
    color: white;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-radius: 8px;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    transform: translateY(0) scale(1);
    will-change: transform;
    text-decoration: none;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(198, 229, 219, 0.5), rgba(198, 229, 219, 0.3));
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(57, 143, 147, 0.4);
    border-color: var(--mcream-mint-green);
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(-2px) scale(1.02);
    transition: all 0.1s ease;
}

.btn-secondary:focus {
    outline: none;
    transform: translateY(0) scale(1);
    background: linear-gradient(135deg, rgba(198, 229, 219, 0.3), rgba(198, 229, 219, 0.2));
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border-color: var(--mcream-mint-green);
}

/* Directions buttons container */
.directions-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    flex-wrap: wrap;
    width: 100%;
}

/* Directions button styling */
.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'mCream', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 140px;
    margin: 0 auto;
}

.btn-directions:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-decoration: none;
    color: white;
}

.btn-directions:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

/* Apple Maps specific styling */
.apple-maps {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.apple-maps:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: white;
}

/* Google Maps specific styling */
.google-maps {
    background: rgba(57, 143, 147, 0.3);
    border-color: var(--mcream-dark-cyan);
}

.google-maps:hover {
    background: rgba(57, 143, 147, 0.5);
    border-color: var(--mcream-mint-green);
}

/* Social Media Section - Centered */
.content.social-section {
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    flex-wrap: wrap;
    width: 100%;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'mCream', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1rem;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 160px;
    gap: 10px;
    will-change: transform;
    transform: translateZ(0);
    margin: 0 auto;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    text-decoration: none;
    color: white;
}

.btn-social:active {
    transform: translateY(-1px) translateZ(0);
    transition: transform 0.1s ease;
}

/* Social Media Icons */
.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
    will-change: transform;
    transform: translateZ(0);
}

.btn-social:hover .social-icon {
    transform: scale(1.1) translateZ(0);
}

/* Platform-specific styling */
.btn-social.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
    border-color: rgba(225, 48, 108, 0.6);
}

.btn-social.tiktok:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-social.facebook:hover {
    background: rgba(24, 119, 242, 0.3);
    border-color: rgba(24, 119, 242, 0.6);
}

.btn-social.x-twitter:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}


/* Font test section */
.font-test {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Brand color showcase sections */
.color-showcase {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.color-section {
    margin: 30px 0;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.color-section.white-smoke {
    background-color: var(--mcream-white-smoke);
    color: var(--mcream-text-on-light);
    border: 2px solid var(--mcream-mint-green);
}

.color-section.mint-green {
    background-color: var(--mcream-mint-green);
    color: var(--mcream-text-on-light);
    border: 2px solid var(--mcream-dark-cyan);
}

.color-section.dark-cyan {
    background-color: var(--mcream-dark-cyan);
    color: var(--mcream-text-on-light);
    border: 2px solid var(--mcream-tyrian-purple);
}

.color-section.tyrian-purple {
    background-color: var(--mcream-tyrian-purple);
    color: var(--mcream-text-on-dark);
    border: 2px solid var(--mcream-dark-purple);
}

.color-section.dark-purple {
    background-color: var(--mcream-dark-purple);
    color: var(--mcream-text-on-dark);
    border: 2px solid var(--mcream-tyrian-purple);
}

.color-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.color-section p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.test-buttons {
    margin: 20px 0;
}

/* Additional header sizes for testing */
h2 {
    font-size: 2.2rem;
    margin: 30px 0 15px 0;
}

h3 {
    font-size: 1.8rem;
    margin: 25px 0 12px 0;
}

h4 {
    font-size: 1.5rem;
    margin: 20px 0 10px 0;
}

h5 {
    font-size: 1.3rem;
    margin: 15px 0 8px 0;
}

h6 {
    font-size: 1.1rem;
    margin: 12px 0 6px 0;
}

/* Mobile scrolling improvements */
@media (max-width: 768px) {
    /* Improve scrolling performance on mobile */
    * {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Smooth scrolling for mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize animations for mobile performance */
    .floating-molecule {
        will-change: transform;
        transform: translateZ(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .logo img {
        height: 150px;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 1rem;
        padding: 16px 32px;
        min-width: 180px;
    }
    
    .content {
        padding: 3vh 15px 6vh 15px;
    }
    
    .store-section {
        padding: 2vh 15px 8vh 15px !important;
    }
    
    .content.compact {
        padding: 20px 15px;
        min-height: 70vh;
    }
    
    .font-test {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .directions-buttons {
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .btn-directions {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .social-buttons {
        gap: 15px;
        justify-content: center;
        align-items: center;
    }
    
    .btn-social {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 140px;
    }
    
    .social-icon {
        width: 20px;
        height: 20px;
    }
    
    .hours-container {
        max-width: 350px;
        margin: 1.5vh auto 3vh auto;
        padding: 1.5vh 0;
    }
    
    .hours-container p {
        font-size: clamp(0.9rem, 2.2vw, 1.1rem);
        margin: 0.6vh 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-content {
        gap: 40px;
        margin-top: 20px;
    }
    
    .logo img {
        height: 120px;
    }
    
    .btn-primary, .btn-secondary {
        font-size: 0.9rem;
        padding: 14px 28px;
        width: 90%;
        max-width: 280px;
        min-width: 160px;
        letter-spacing: 1px;
        margin-top: 20px;
    }
    
    .content {
        padding: 2vh 10px 5vh 10px;
    }
    
    .store-section {
        padding: 1.5vh 10px 8vh 10px !important;
    }
    
    .content.compact {
        padding: 15px 10px;
        min-height: 60vh;
    }
    
    .btn {
        display: flex;
        width: 100%;
        max-width: 280px;
        margin: 8px auto;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .directions-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 20px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .btn-directions {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 20px auto;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .btn-social {
        width: 100%;
        max-width: 280px;
        min-width: auto;
        padding: 14px 20px;
        font-size: 0.9rem;
        justify-content: center;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }
    
    .social-icon {
        width: 22px;
        height: 22px;
    }
    
    .hours-container {
        max-width: 300px;
        margin: 1vh auto 2.5vh auto;
        padding: 1vh 0;
    }
    
    .hours-container p {
        font-size: clamp(0.85rem, 2vw, 1rem);
        margin: 0.5vh 0;
        line-height: 1.4;
    }
}

/* FAQ Section Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-question h3 {
    font-family: 'mCream', Arial, sans-serif;
    font-size: 1.3rem;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 15px;
    min-width: 20px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.1);
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
    padding: 0 25px 25px 25px;
}

/* Mobile responsiveness for FAQ */
@media (max-width: 768px) {
    .faq-container {
        gap: 12px;
        padding: 15px 0;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-icon {
        font-size: 1.3rem;
        margin-left: 10px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        padding: 0 20px 20px 20px;
    }
}



/* Store Section Specific Styles */
.store-section {
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
    padding: 3vh 20px 8vh 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-evenly !important;
    align-items: center !important;
    box-sizing: border-box;
    overflow: visible;
    position: relative;
}

/* Ensure store section content never gets cut off */
.store-section::after {
    content: '';
    height: 10vh;
    min-height: 80px;
    flex-shrink: 0;
}

/* Hours Container Styles */
.hours-container {
    max-width: 400px;
    margin: 2vh auto 4vh auto;
    padding: 2vh 0;
    width: 90%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.hours-container p {
    margin: 0.8vh 0;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.5;
    color: var(--mcream-text-on-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    word-wrap: break-word;
}


/* Floating THC Molecule Styles */
.floating-molecule {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

.thc-molecule {
    width: 200px;
    height: auto;
    animation: float-molecule 8s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes float-molecule {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.05);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg) scale(0.95);
        opacity: 0.85;
    }
    75% { 
        transform: translateY(-25px) rotate(2deg) scale(1.02);
        opacity: 0.9;
    }
}

/* Ensure content stays above the molecule */
#faq-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* fallback */
    min-height: 100dvh; /* dynamic viewport height */
    padding-top: 120px; /* Add space to move content down and avoid molecule overlap */
}

#faq-section h1,
#faq-section p,
#faq-section p2,
#faq-section .btn {
    position: relative;
    z-index: 2;
}

/* Safety Section Styling */
#safety-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

#safety-section p2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    color: var(--mcream-text-on-dark);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

#safety-section p2:last-child {
    margin-bottom: 0;
}

#safety-section p2 strong {
    font-weight: 600;
    
}

/* Mobile responsiveness for Safety Section */
@media (max-width: 768px) {
    #safety-section {
        padding: 30px 15px;
    }
    
    #safety-section p2 {
        font-size: 1.1rem;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    #safety-section {
        padding: 20px 10px;
    }
    
    #safety-section p2 {
        font-size: 1rem;
        line-height: 1.5;
    }
}

/* Mobile responsiveness for Floating Molecule */
@media (max-width: 768px) {
    .thc-molecule {
        width: 150px;
    }
    
    .floating-molecule {
        opacity: 0.7;
    }
    
    #faq-section {
        padding-top: 100px;
        text-align: center;
    }
    
    #faq-section .btn {
        margin: 20px auto;
        max-width: 260px;
    }
}

@media (max-width: 480px) {
    .thc-molecule {
        width: 120px;
    }
    
    .floating-molecule {
        opacity: 0.6;
    }
    
    #faq-section {
        padding-top: 80px;
        text-align: center;
    }
    
    #faq-section .btn {
        margin: 20px auto;
        max-width: 250px;
    }
}



/* Footer Section Styles */
.footer-section {
    background-color: var(--mcream-dark-purple);
    color: var(--mcream-text-on-dark);
    padding: 60px 0 0 0;
    position: relative;
    z-index: 1;
    min-height: auto;
    overflow-x: hidden;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Brand Section */
.footer-brand {
    text-align: left;
}

.footer-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.footer-brand p {
    font-family: 'mCream', Arial, sans-serif;
    font-size: 1.4rem;
    color: var(--mcream-text-on-dark);
    margin: 0 0 25px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-social img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
}

.footer-social a:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 4px 8px rgba(255,255,255,0.3));
}

/* Footer Store Section */
.footer-store h3,
.footer-products h3,
.footer-legal h3 {
    font-family: 'mCream', Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--mcream-text-on-dark);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-store p,
.footer-products p,
.footer-legal p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--mcream-text-on-dark);
    margin: 0 0 15px 0;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-hours h4 {
    font-family: 'mCream', Arial, sans-serif;
    font-size: 1.1rem;
    color: var(--mcream-mint-green);
    margin: 20px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Footer Products Section */
.footer-products ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-products li,
.footer-legal li {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--mcream-text-on-dark);
    margin: 0 0 8px 0;
    padding-left: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-legal li a {
    color: var(--mcream-mint-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal li a:hover {
    color: var(--mcream-text-on-dark);
    text-decoration: underline;
}

/* Age Warning */
.age-warning {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--mcream-mint-green);
}

.age-warning p {
    font-size: 0.9rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.age-warning p:last-child {
    margin-bottom: 0;
    font-weight: 400;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-bottom p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    word-wrap: break-word;
    hyphens: auto;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px 0;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-brand p {
        font-size: 1.2rem;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .footer-social img {
        width: 35px;
        height: 35px;
    }
    
    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .footer-store h3,
    .footer-products h3,
    .footer-legal h3 {
        font-size: 1.1rem;
    }
    
    .footer-store p,
    .footer-products li,
    .footer-legal li {
        font-size: 0.95rem;
    }
    
    .footer-hours h4 {
        font-size: 1rem;
    }
    
    .age-warning {
        margin-top: 15px;
        padding: 12px;
    }
    
    .age-warning p {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding: 15px 0;
        margin-top: 10px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .footer-section {
        padding: 30px 0 15px 0;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-grid {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-logo img {
        height: 50px;
    }
    
    .footer-brand p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-social {
        gap: 10px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-social img {
        width: 30px;
        height: 30px;
    }
    
    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
    }
    
    .footer-store h3,
    .footer-products h3,
    .footer-legal h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .footer-store p,
    .footer-products li,
    .footer-legal li {
        font-size: 0.9rem;
    }
    
    .footer-hours h4 {
        font-size: 0.95rem;
        margin: 15px 0 8px 0;
    }
    
    .age-warning {
        margin-top: 12px;
        padding: 10px;
    }
    
    .age-warning p {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: 12px 0;
        margin-top: 5px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.3;
        padding: 0 5px;
    }
    
    .footer-bottom p:last-child {
        font-size: 0.7rem;
        margin-top: 5px;
    }
}