:root {
    --primary-color: #006994;
    /* Ocean Blue */
    --secondary-color: #00a8cc;
    /* Lighter Blue */
    --accent-color: #ff6b6b;
    /* Salmon/Coral */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --font-heading: 'Outfit', sans-serif;
    /* Changed to Outfit globally */
    --font-body: 'Outfit', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--off-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--success);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #218838;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    margin-left: 10px;
    box-shadow: 0 4px 15px rgba(0, 105, 148, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 105, 148, 0.4);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    /* Changed to Outfit as requested */
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Header */
#main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
    /* Slightly tighter padding to focus on content */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: auto;
    max-height: 80px;
    /* Increased from 60px for better visibility */
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-cart {
    position: relative;
    background-color: var(--light-gray);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.cart-count {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 0.8rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -5px;
    left: 5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
    padding: 20px;
}

.mobile-nav-links li {
    margin-bottom: 15px;
}

.mobile-nav.active {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    /* Add padding for breathing room */
    /* Use a gradient instead of an image as background */
    background: linear-gradient(135deg, #001f33, #004e75);
    display: flex;
    align-items: center;
    color: var(--white);
    min-height: 85vh;
}

/* Remove old overlay */
.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
    /* Space between text and image */
}

.hero-text {
    flex: 1;
    /* Take up available space but allow image to take remainder */
    max-width: 600px;
}

.hero-image-container {
    flex: 1;
    max-width: 550px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 5px solid rgba(255, 255, 255, 0.1);
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    /* Adjust height as needed */
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* Override previous border-radius */
    border: none;
    /* Override previous border */
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.hero-image-container:hover .carousel-item img {
    transform: scale(1.05);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    /* Explicitly set to Outfit */
    font-size: 3rem;
    /* Slightly smaller to fit long title */
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
    /* Bolder for impact */
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-color);
    /* Highlight subtitle */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero-info {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-info p {
    margin-bottom: 5px;
}

/* Responsive adjustments for Hero */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        /* Stack vertically on smaller screens */
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-container {
        max-width: 100%;
    }

    .hero-carousel {
        height: 300px;
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 168, 204, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Products Common */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Specific 2-column layout for Meals */
.meals-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
}

@media (max-width: 768px) {
    .meals-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-color: #eee;
    overflow: hidden;
    position: relative;
    display: flex;
    /* Center placeholder content */
    align-items: center;
    justify-content: center;
}

.meal-card .product-image {
    height: 300px;
    /* Taller images for the 2-column meals layout */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-details {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.product-details .description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.price-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.btn-add:hover {
    background-color: var(--secondary-color);
}

.info-alerts {
    max-width: 800px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert {
    background-color: #e3f2fd;
    color: #0d47a1;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    border-left: 4px solid #BBDEFB;
}

.alert.warning {
    background-color: #fff3e0;
    color: #e65100;
    border-left-color: #ffe0b2;
}

.product-search-filter {
    background-color: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#productSearch {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 1px solid var(--light-gray);
    border-radius: 30px;
    outline: none;
    transition: var(--transition);
}

#productSearch:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: none;
    border: 1px solid var(--light-gray);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.gallery-content h3 {
    margin-bottom: 5px;
    font-family: var(--font-heading);
    color: var(--warning);
}

.btn-text {
    color: var(--white);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 10px;
    display: inline-block;
    border-bottom: 2px solid var(--warning);
}

/* Checkout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
}

.box-shadow {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.order-summary h3,
.checkout-form h3 {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 15px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

#cart-items-container {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.item-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.item-info .item-price {
    font-size: 0.85rem;
    color: var(--text-light);
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid var(--light-gray);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.remove-btn {
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-total-section {
    border-top: 2px solid var(--light-gray);
    padding-top: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.sm {
    flex: 0 0 100px;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-lg {
    padding: 15px;
    font-size: 1.1rem;
}

.form-helper {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 10px;
    text-align: center;
}

/* Testimonials */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card .stars {
    color: var(--warning);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author h4 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.author span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Info Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.info-box h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 5px;
}

.schedule p {
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--light-gray);
    padding-bottom: 5px;
}

.schedule h4 {
    margin: 15px 0 10px;
    color: var(--secondary-color);
}

.coverage-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.coverage-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coverage-list i {
    color: var(--success);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.faq-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background-color: #001729;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .order-summary {
        order: 2;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .header-actions .btn-cart {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions .btn-cart {
        /* Show cart icon only on mobile if wanted, or just rely on sticky header? Let's show a simplified cart icon maybe */
        display: flex;
        background: none;
        padding: 5px;
    }

    .cart-total {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-padding {
        padding: 50px 0;
    }
}