/* Color Scheme from Logo */
:root {
    --primary-red: #C85A5A;
    --dark-red: #B92025;
    --cream: #F5E6D3;
    --light-cream: #FFF8F0;
    --black: #2C2C2C;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--light-cream);
}

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

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 120px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
}

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

.order-btn {
    background-color: var(--primary-red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.order-btn:hover {
    background-color: var(--dark-red);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::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 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: var(--cream);
    color: var(--dark-red);
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: var(--white);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 30px;
}

.about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Menu Section */
.menu {
    padding: 80px 20px;
    background-color: var(--light-cream);
}

.menu h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-red);
    margin-bottom: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-item {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(200, 90, 90, 0.3);
}

.menu-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.menu-item h3 {
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.menu-item p {
    color: var(--black);
}

/* Footer */
footer {
    background-color: var(--dark-red);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 600;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    background-color: #20BA5A;
}

.whatsapp-float svg {
    flex-shrink: 0;
}

.whatsapp-text {
    color: var(--white);
    font-size: 1rem;
}

/* Popup Modal */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary-red);
}

.popup-content h2 {
    color: var(--dark-red);
    margin-bottom: 10px;
    font-size: 2rem;
}

.popup-subtitle {
    color: var(--primary-red);
    font-weight: bold;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--cream);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background-color: var(--light-cream);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.checkbox-label:hover {
    background-color: var(--cream);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
    font-weight: 500;
}

.qty-input {
    width: 80px;
    padding: 8px;
    border: 2px solid var(--cream);
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

/* Always show number input spinners */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: auto;
    opacity: 1;
    height: 40px;
    cursor: pointer;
}

/* Firefox number input */
.qty-input[type="number"] {
    -moz-appearance: number-input;
}

.total-display {
    background-color: var(--light-cream);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.2rem;
}

.total-display strong {
    color: var(--dark-red);
}

.warning-text {
    display: block;
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-red);
    color: var(--white);
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: var(--dark-red);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
/* Tablet and below */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 12px 15px;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    nav a {
        font-size: 0.95rem;
    }

    .order-btn {
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    /* Tablet quantity inputs - slightly larger */
    .qty-input {
        width: 90px;
        padding: 10px 8px;
        font-size: 1.05rem;
        min-height: 44px;
    }

    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button {
        height: auto;
        width: 25px;
    }

    .hero {
        padding: 80px 20px;
    }

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

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

    .cta-button {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }

    .whatsapp-text {
        font-size: 0.9rem;
    }

    .popup-content {
        padding: 30px 20px;
        margin: 10px;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    header .container {
        padding: 10px 12px;
        gap: 12px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex: 0 0 auto;
    }

    .logo img {
        height: 65px;
    }

    nav {
        flex: 0 0 auto;
    }

    nav ul {
        flex-direction: row;
        gap: 0;
        width: auto;
    }

    /* Hide Home, About, Menu links on small screens */
    nav li:not(:last-child) {
        display: none;
    }

    nav li:last-child {
        display: block;
    }

    nav a {
        display: block;
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .order-btn {
        padding: 10px 24px;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: 600;
    }

    /* Mobile-friendly quantity inputs */
    .qty-input {
        width: 100px;
        padding: 12px 8px;
        font-size: 1.1rem;
        min-height: 48px;
        -webkit-appearance: auto;
    }

    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button {
        -webkit-appearance: auto;
        opacity: 1;
        height: auto;
        width: 30px;
        margin: 0;
    }

    .checkbox-label {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .checkbox-label small {
        font-size: 0.85rem;
        color: var(--black);
        margin-left: -4px;
    }

    .hero {
        padding: 60px 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

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

    .cta-button {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }

    .about h2, .menu h2 {
        font-size: 1.8rem;
    }

    .menu-item {
        padding: 25px;
    }

    .menu-icon {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
    }

    .whatsapp-text {
        display: none;
    }

    .popup-content {
        padding: 25px 15px;
        border-radius: 15px;
    }

    .popup-content h2 {
        font-size: 1.6rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 10px;
    }
}
