/* CSS Variables */
:root {
    --primary: #63181f;
    --secondary: #0d293f;
    --accent: #bc9941;
    --background: #fffadd;
    --text-dark: #2c2c2c;
    --text-dark: #0d293f;
    --text-light: #666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

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

body {
    font-family: "Poppins", 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Cart Badge */
.cart-badge {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow);
    transition: all 0.3s ease;
}

.cart-badge:hover {
    background: var(--accent);
    transform: scale(1.05);
}

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

.cart-count.animate {
    animation: bounceScale 0.3s ease;
}

@keyframes bounceScale {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background) 0%, #f5f0d8 100%);
    padding: 40px 0;
    margin-top: 50px;
}

.boarding-pass-container {
    /* margin-bottom: 2rem; */
}

.boarding-pass {
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 8px 24px var(--shadow);
    position: relative;
    overflow: hidden;
}

.boarding-pass::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" width="100" height="100" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23bc9941" opacity="0.1"/><circle cx="90" cy="90" r="1" fill="%23bc9941" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.airline-header {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.airline-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 2px;
}

.flight-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.passport-stamps {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stamps-collage {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
}

.boarding-details {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.boarding-details>div {
    text-align: center;
}

.boarding-details label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boarding-details span {
    font-weight: bold;
    color: var(--primary);
    font-size: 1rem;
}

.hero-content {
    /* max-width: 500px; */
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    width: 100%;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

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

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

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

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

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

.hero-image {
    position: relative;
    text-align: center;
}

.samosa-hero {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 12px 36px var(--shadow);
}

.image-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(15deg);
}

/* Menu Section */
.menu-section {
    padding: 4rem 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header .lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

.menu-card {
    background: var(--background);
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px var(--shadow);
    border: 1px solid var(--accent);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    /* box-shadow: 5px 5px 0px var(--accent); */
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.menu-card img {
    width: 100%;
    /* height: 200px; */
    aspect-ratio: 3/2;
    object-fit: cover;
}

.menu-card-content {
    /* padding: 1.5rem; */
    margin-top: 10px;
}

.menu-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.price-stamp {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.menu-card .btn {
    width: 100%;
}

/* How to Order Section */
.how-to-order-section {
    padding: 4rem 0;
    background: var(--background);
}

.how-to-order-section h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.step-card {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 6px 20px var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin: 1rem 0;
}

.step-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: var(--white);
}

.contact-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.passport-photo {
    position: relative;
    display: inline-block;
}

.chef-photo {
    width: 100%;
    /* height: 300px; */
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px var(--shadow);
}

.passport-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--accent);
    border-radius: var(--border-radius);
    pointer-events: none;
}

.chef-bio h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.travel-stamps {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.country-stamp {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.flight-path {
    margin: 2rem 0;
}

.route-map {
    width: 100%;
    height: 100px;
    margin-bottom: 1rem;
}

.route-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.chef-signature {
    max-width: 200px;
    margin-top: 2rem;
}

/* Allergen Section */
.allergen-section {
    padding: 4rem 0;
    background: var(--background);
}

.advisory-board {
    background: var(--white);
    border: 3px solid var(--secondary);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 8px 24px var(--shadow);
}

.advisory-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.advisory-header h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

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

.allergen-item {
    padding: 0.5rem 1rem;
    background: var(--background);
    border-radius: 8px;
    border: 1px solid var(--accent);
    font-size: 0.9rem;
}

.customs-stamp {
    text-align: center;
}

.stamp-border {
    display: inline-block;
    border: 3px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--white);
    font-weight: bold;
}

/* Delivery Partners Section */
.delivery-section {
    padding: 4rem 0;
    background: var(--white);
}

.gate-display {
    text-align: center;
    background: var(--secondary);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.gate-display h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.coming-soon {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.partner-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.partner-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 20px;
    /* opacity: 0.3; */
    /* filter: grayscale(100%); */
}

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

.immigration-panel {
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

.customs-seal {
    text-align: center;
}

.logo-seal {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    margin-bottom: 1rem;
}

.contact-info h5 {
    color: var(--accent);
    margin-bottom: 1rem;
}

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

.social-icons i {
    width: 24px;
    height: 24px;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: var(--white);
}

.footer-stamps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent);
    flex-wrap: wrap;
}

.footer-stamp {
    background: var(--accent);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--accent);
    background: var(--background);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--primary);
    margin: 0;
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

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

.modal-step {
    display: none;
}

.modal-step.active {
    display: block;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.cart-items {
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

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

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

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

.cart-item-price {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.remove-item {
    background: #dc3545;
    color: var(--white);
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}

.cart-totals {
    border-top: 2px solid var(--accent);
    padding-top: 1rem;
    margin-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-final {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--accent);
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.success {
    margin: 10px;
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 10px;
}

.success .icon {
    width: 50px;
    height: 50px;
    display: flex;
    border-radius: 50px;
    border: 2px solid var(--secondary);
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 10px;
}

.success .icon svg {
    width: 30px;
    height: 30px;
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .contact-section h2 {
        font-size: 28px;
    }

    .how-to-order-section h2 {
        font-size: 28px;
    }

    .modal-content {
        width: 95%;
        margin: 20px auto;
    }

    .modal-header {
        padding: 5px 10px;
    }

    .modal-footer {
        padding: 0;
        /* flex-direction: column; */
    }

    #cart-step-2 .modal-body {
        padding: 10px;
    }

    #cart-step-2 .modal-footer {
        gap: 0px;
        justify-content: space-around;
        margin-bottom: 18px;
    }

    #cart-step-2 .modal-footer .btn {
        padding: 10px 10px;
        margin: 0;
    }

    .cart-item {
        flex-wrap: wrap;
    }

    .partner-logos {
        flex-direction: column;
        align-items: center;
    }

    .footer-stamps {
        flex-direction: column;
        align-items: center;
    }

    .route-labels {
        flex-direction: column;
        gap: 0.2rem;
        text-align: center;
    }

    .modal-body {
        padding: 0px;
    }

    .cart-totals {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .cart-badge {
        width: 50px;
        height: 50px;
    }

    .boarding-pass {
        padding: 1rem;
    }

    .airline-name {
        font-size: 1rem;
    }

    .hero-content {
        text-align: center;
        margin-top: 2rem;
    }

    .allergen-grid {
        grid-template-columns: 1fr;
    }

    .travel-stamps {
        justify-content: center;
    }
}

@media (max-width:340px) {
    .modal-footer {
        gap: 0;
    }

    .modal-footer .btn {
        padding: 8px 15px;
    }

    #cart-step-2 .modal-footer .btn {
        padding: 8px 8px;
        margin: 0;
        border-radius: 6px;
        font-size: 12px;
    }
}

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

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .cart-badge,
    .modal,
    .hero-buttons {
        display: none !important;
    }
}