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

:root {
    --primary-color: #0086D4;
    --secondary-color: #00C8FF;
    --accent-color: #00C8FF;
    --dark-color: #0A1E3F;
    --light-color: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --text-dark: #0A1E3F;
    --text-light: #ffffff;
    --white: #ffffff;
}
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-logo {
    height: 50px;
    width: auto;
    display: block;
    max-width: 120px;
}

.nav-brand i {
    font-size: 2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.hero {
    background: #ffffff;
    color: var(--text-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Photo-based hero variant for full-bleed background images */
.hero--photo {
    padding: 0;
    min-height: 70vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero--photo::before,
.hero--photo::after {
    content: none;
}

.hero--photo .hero-content {
    width: 100%;
    padding: 60px 20px;
    background: transparent;
}

/* Home page hero retains photo and readable overlay */
.home-hero .hero-content {
    background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.25));
    color: #ffffff;
}
.home-hero h1,
.home-hero p {
    color: #ffffff;
}
.home-hero {
    /* Soft, clean background for home hero (overrides photo styling) */
    background: linear-gradient(180deg, rgba(0,134,212,0.06), rgba(0,200,255,0.06));
}
.home-hero .hero-content {
    background: transparent !important;
    color: var(--text-dark) !important;
}
.home-hero h1,
.home-hero p {
    color: var(--text-dark) !important;
}

/* Delivery page CTA buttons layout */
.delivery-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.delivery-cta .btn {
    min-width: 260px;
}

@media (max-width: 480px) {
    .delivery-cta {
        flex-direction: column;
    }
    .delivery-cta .btn {
        width: 100%;
        max-width: 360px;
    }
}
.home-hero .btn:not(.btn-outline) {
    background: #ffffff;
    color: var(--primary-color);
    border-color: transparent;
}
.home-hero .btn-outline {
    border-color: #ffffff;
}
.home-hero .btn-outline:hover {
    background: #ffffff;
    color: var(--primary-color);
}

.hero::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}

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

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.2);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.3);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 4rem;
    color: white;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-info .btn {
    margin-top: auto;
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

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

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

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 184, 169, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.branch-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.branch-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.branch-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.branch-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
}

.branch-info-item i {
    color: var(--primary-color);
    width: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1001;
    max-width: 400px;
}

.flash-message {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.flash-success {
    border-left: 4px solid #00b894;
}

.flash-error {
    border-left: 4px solid #d63031;
}

.close-flash {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    margin-left: 1rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-logo {
        height: 40px;
        max-width: 100px;
    }

    .nav-brand {
        font-size: 1.1rem;
    }

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

    .hero p {
        font-size: 1rem;
    }

    .hero--photo {
        min-height: 55vh;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    /* Mobile minimal variant for Deliveroo banner */
    .home-deliveroo-banner {
        padding: 0.6rem 0.9rem !important;
        gap: 0.5rem !important;
    }
    .home-deliveroo-banner .feature-icon {
        width: 40px;
        height: 40px;
    }
    .home-deliveroo-banner h3 {
        font-size: 0.95rem;
        margin: 0;
    }
    .home-deliveroo-banner p {
        display: none;
    }
    .home-deliveroo-banner .btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

/* Home page – Deliveroo banner shrink */
.home-deliveroo-banner {
    padding: 0.8rem 1rem !important;
    gap: 0.75rem !important;
}
.home-deliveroo-banner .feature-icon {
    width: 52px;
    height: 52px;
}
.home-deliveroo-banner h3 {
    font-size: 1.05rem;
}
.home-deliveroo-banner p {
    font-size: 0.9rem;
}
.home-deliveroo-banner .btn {
    padding: 8px 18px;
}

/* Home page – Section color refresh */
.why-section {
    background: linear-gradient(180deg, rgba(0,134,212,0.06), rgba(0,200,255,0.06));
}
.why-section .glass-card {
    background: #ffffff;
    border: 1px solid #eef3f8;
}
.why-section .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.tips-section {
    background: linear-gradient(180deg, #ffffff, rgba(10,30,63,0.03));
}
.tips-section .glass-card {
    background: #ffffff;
    border: 1px solid #eef3f8;
}
.tips-section h3 i {
    color: var(--primary-color) !important;
}

/* Delivery page specific color corrections */
.page-delivery .section-title h2,
.page-delivery h1, .page-delivery h2, .page-delivery h3,
.page-delivery p, .page-delivery li,
.page-delivery a:not(.btn) {
    color: var(--text-dark);
}
.page-delivery .glass-card {
    background: #ffffff;
    border: 1px solid #eef3f8;
}
.page-delivery .btn.btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.page-delivery .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.modal.open { display: flex; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.modal-content {
    position: relative;
    background: white;
    width: min(520px, 92vw);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    z-index: 1;
}

.modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.modal-btn {
    width: 100%;
    text-align: center;
}

