/* Smart Gummies - Custom Styles */

:root {
    --primary-red: #E63946;
    --primary-orange: #F77F00;
    --primary-yellow: #F4D35E;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --light-text: #f8f9fa;
    --muted-text: #6c757d;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Bootstrap Theme Colors */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 57, 70, 0.3);
}

.text-primary {
    color: var(--primary-orange) !important;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(247, 127, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--darker-bg);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--primary-orange);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-orange);
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    position: relative;
    overflow: hidden;
}

.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="hexagons" x="0" y="0" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.4 0,28.9 0,14.4" fill="none" stroke="%23F77F00" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>') repeat;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}

.hero-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(247, 127, 0, 0.3));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--muted-text);
    margin-bottom: 30px;
    font-weight: 400;
}

/* Slogans Slider */
.slogans-slider {
    height: 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.slogan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.slogan.active {
    opacity: 1;
    transform: translateY(0);
}

.slogan-text {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-yellow);
    font-weight: 500;
    text-align: center;
    margin: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-orange);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-yellow));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--muted-text);
    font-weight: 400;
}

/* Founder Story */
.founder-image img {
    border: 3px solid var(--primary-orange);
}

.founder-story {
    padding-left: 30px;
}

.story-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-text .highlight {
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.1), rgba(244, 211, 94, 0.1));
    padding: 20px;
    border-left: 4px solid var(--primary-orange);
    border-radius: 8px;
    font-style: italic;
}

.founder-quote {
    background: var(--darker-bg);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(247, 127, 0, 0.2);
}

.blockquote p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-yellow);
}

/* Product Cards */
.product-card {
    background: var(--darker-bg);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 127, 0, 0.05), rgba(231, 57, 70, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(247, 127, 0, 0.2);
    border-color: var(--primary-orange);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-content {
    position: relative;
    z-index: 3;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--light-text);
    position: relative;
    z-index: 3;
}

.product-description {
    color: var(--muted-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
}

.add-to-cart {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-red));
    border: none;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
}

.add-to-cart:hover {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 57, 70, 0.3);
    color: white;
    text-decoration: none;
}

.add-to-cart:focus,
.add-to-cart:active {
    color: white;
    text-decoration: none;
    outline: none;
}

/* Feature Cards */
.feature-card {
    background: var(--darker-bg);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--primary-orange);
    margin-bottom: 15px;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-orange));
    position: relative;
    overflow: hidden;
}

.cta-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="hexagons-cta" x="0" y="0" width="50" height="43.4" patternUnits="userSpaceOnUse"><polygon points="25,0 50,14.4 50,28.9 25,43.4 0,28.9 0,14.4" fill="none" stroke="%23FFFFFF" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons-cta)"/></svg>') repeat;
}

/* Footer */
footer {
    background: var(--darker-bg) !important;
    border-top: 1px solid rgba(247, 127, 0, 0.1);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-orange) !important;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .slogan-text {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .founder-story {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}


/* Manufacturing Section */
.manufacturing-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.manufacturing-content {
    padding: 20px 0;
}

.feature-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

.feature-icon {
    font-size: 24px;
    margin-right: 15px;
    min-width: 40px;
}

.feature-item span:last-child {
    font-weight: 500;
    color: #495057;
}

