/* ===================================
   Omic Adventures - LysN Enzyme Website Styles
   Inspired by ProtiFi Design
   =================================== */

/* CSS Variables for consistent theming */
:root {
    --primary-color: #176457;
    --primary-dark: #0f473d;
    --secondary-color: #238a84;
    --accent-color: #238a84;
    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --font-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Inter', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.875rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

.logo:hover {
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.btn-nav {
    padding: 0.5rem 1.75rem;
    font-size: 0.875rem;
    color: white;
    border-bottom: none;
    border-radius: 0.375rem;
}

.nav-links a.btn-nav,
.nav-links a.btn-nav:hover {
    color: white;
    border-bottom: none;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.25rem;
}

.cart-icon i {
    font-size: 1.25rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section Fade In Animation */
@keyframes heroFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(15, 71, 61, 0.85) 0%, rgba(35, 138, 132, 0.75) 100%),
        url('../images/hero-mushroom.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroFadeIn 0.6s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Page Header (simpler alternative to hero for internal pages) */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 2rem 0;
    border-bottom: none;
    position: relative;
    box-shadow: 0 2px 8px rgba(23, 100, 87, 0.15);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(35, 138, 132, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(23, 100, 87, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.page-header .container {
    border-left: 5px solid white;
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-align: center;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover {
    background-color: #0f473d;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Hero/Dark background button overrides */
.hero .btn-primary,
.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-dark);
}

.hero .btn-primary:hover,
.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* CTA Section Button Hover Fix */
section[style*="background: #cbd8d2"] .btn:hover,
section[style*="background:#cbd8d2"] .btn:hover {
    background-color: #11473d !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Scroll-Based Entrance Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stock banner fades in smoothly (no slide) */
.stock-banner {
    animation: fadeIn 0.8s ease-out 0.3s both;
}

/* Page header text animations - simple fade for variety */
.page-header h1 {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.page-header p {
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.25s both;
}

/* Hero section animations */
.hero {
    animation: fadeIn 0.6s ease-out both;
}

.hero h1 {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero .hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.4s both;
}

.hero > div > p {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.6s both;
}

.hero .btn-group {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out 0.8s both;
}

/* Elements start hidden and animate when visible */
.animate-on-scroll {
    opacity: 0;
}

/* When element is visible, add this class via JS - simple fade for sections */
.animate-on-scroll.is-visible {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Cards and features animate on scroll */
.feature-card,
.product-card,
.application-item {
    opacity: 0;
}

.feature-card.is-visible,
.product-card.is-visible,
.application-item.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger delays for cards - tighter timing for better performance on large displays */
.feature-card:nth-child(1).is-visible,
.product-card:nth-child(1).is-visible {
    animation-delay: 0.05s;
}

.feature-card:nth-child(2).is-visible,
.product-card:nth-child(2).is-visible {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3).is-visible,
.product-card:nth-child(3).is-visible {
    animation-delay: 0.15s;
}

.feature-card:nth-child(4).is-visible,
.product-card:nth-child(4).is-visible {
    animation-delay: 0.2s;
}

.feature-card:nth-child(5).is-visible,
.product-card:nth-child(5).is-visible {
    animation-delay: 0.25s;
}

.feature-card:nth-child(6).is-visible,
.product-card:nth-child(6).is-visible {
    animation-delay: 0.3s;
}

/* Mission section special animations */
.mission-mascot {
    opacity: 0;
}

.mission-mascot.is-visible {
    animation: slideInUp 0.8s ease-out forwards;
}

.mission-content {
    opacity: 0;
}

.mission-content.is-visible {
    animation: slideInFromRight 0.8s ease-out 0.2s forwards;
}

/* CTA section animations - background fades in, content staggers up */
/* Only hide elements if JavaScript is available (indicated by .js class on html) */
.js .cta-section {
    opacity: 0;
}

.cta-section.is-visible {
    animation: fadeIn 0.6s ease-out forwards;
}

.js .cta-heading {
    opacity: 0;
}

.cta-heading.is-visible {
    animation: fadeInUp 0.7s ease-out 0.15s forwards;
}

.js .cta-text {
    opacity: 0;
}

.cta-text.is-visible {
    animation: fadeInUp 0.7s ease-out 0.3s forwards;
}

.js .cta-buttons {
    opacity: 0;
}

.cta-buttons.is-visible {
    animation: fadeInUp 0.7s ease-out 0.45s forwards;
}

/* Synchronized feature groups - all items appear together */
.feature-group-sync .feature-card {
    opacity: 0;
}

.feature-group-sync.is-visible .feature-card {
    animation: fadeInUp 0.6s ease-out forwards !important;
    animation-delay: 0s !important;
}

/* Science page - mechanism/comparison cards */
.js .comparison-card,
.js .mechanism-card {
    opacity: 0;
}

.comparison-card.is-visible,
.mechanism-card.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.comparison-card:nth-child(1).is-visible {
    animation-delay: 0.1s;
}

.comparison-card:nth-child(2).is-visible {
    animation-delay: 0.2s;
}

.mechanism-card.is-visible {
    animation-delay: 0.3s;
}

/* Contact page - form and info cards */
.js .contact-form-card,
.js .contact-info-card {
    opacity: 0;
}

.contact-form-card.is-visible {
    animation: slideInFromLeft 0.7s ease-out forwards;
}

.contact-info-card.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-info-card:nth-child(1).is-visible {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2).is-visible {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3).is-visible {
    animation-delay: 0.3s;
}

/* slideInFromLeft animation for contact form */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .feature-card,
    .product-card,
    .application-item,
    .cta-section,
    .cta-heading,
    .cta-text,
    .cta-buttons,
    .mission-mascot,
    .mission-content {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

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

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.feature-icon i {
    font-size: 1.75rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e8f5f3 0%, #f0faf8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-color);
    position: relative;
}

.product-image i {
    font-size: 4rem;
    color: #11473d;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(35, 138, 132, 0.5);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding: 0;
    border-radius: 0;
}

.product-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: "✓";
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.product-price-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-top: 0.25rem;
}

.product-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-medium);
    font-size: 1.125rem;
}

/* Applications Section */
.applications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.application-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.application-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.application-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.application-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.application-item h4 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

.testimonial-title {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
/* Background colors are specified inline on each page */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Tables */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    box-shadow: var(--shadow-sm);
    border-radius: 0.5rem;
    overflow: hidden;
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover {
    background-color: var(--bg-light);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.625rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 1rem;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.cart-item-image i {
    font-size: 2rem;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1999;
}

.cart-overlay.open {
    display: block;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .btn-group {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .products-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mission Section with Mascot */
.mission-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.mission-mascot {
    flex-shrink: 0;
}

.mascot-image {
    width: 250px;
    height: auto;
    transition: transform 0.3s ease;
}

.mascot-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.mission-content {
    text-align: left;
}

@media (max-width: 768px) {
    .mission-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .mission-content {
        text-align: center;
    }

    .mascot-image {
        width: 200px;
    }
}

/* Radio Button Styling - Use logo blue instead of default purple */
input[type="radio"] {
    accent-color: var(--primary-color);
}

/* Stock Callout Box */
.stock-callout {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(35, 138, 132, 0.2);
}

.stock-callout strong {
    color: var(--text-dark);
}

.stock-callout i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 1.125rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
