html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-image:url(../Images/ordernowbg.jpg);
    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/*Header Styles */
header {
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 98%;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-family: Montserrat;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

header nav ul.left-nav {
    justify-content: flex-start;
}

header nav ul.right-nav {
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
    align-items: center;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a.order-now {
    background-color: #ff6b6b;
    color: #000000;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

/*Order Form Styles */
.order-form {
    background-color: #00000000;
    color: white;
    padding: 250px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}
.order-form h2 {
    font-size: 3.0em;
    font-family:  luloLuloCleanW ;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0);
    margin-bottom: 0px;
    text-align: center;
}

.order-form h3{
    font-family:  Montserrat ;
    color: #ff6b6b;
    background-color: rgba(0, 0, 0, 0);
    margin-bottom: 0px;
    text-align: center;
}
.order-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.order-form input[type="text"],
.order-form input[type="email"],
.order-form input[type="tel"],
.order-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.order-form .menu-items {
    margin-bottom: 20px;
}
.order-form .menu-items h3 {
    margin-bottom: 10px;
}
.order-form .menu-items ul {
    list-style-type: none;
    padding: 0;
}
.order-form .menu-items ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.order-form .menu-items ul li input[type="checkbox"] {
    margin-right: 10px;
}
.order-form .menu-items ul li input[type="number"] {
    width: 60px;
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: auto;
}
.order-form .special-instructions textarea {
    height: 100px;
}

.order-form button[type="button"] {
    width: 100%;
    padding: 10px;
    background-color: #ff6b6b;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.order-form button[type="button"]:hover {
    background-color: #ff0000;
    color: white;
}


/* Footer Styles */
footer {
    background-color: #000000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer p {
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.footer-section {
    flex: 1;
    margin-right: 20px;
    text-align: left;
    font-family: 'Montserrat';
}

.footer-section:last-child {
    margin-right: 0;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ff6b6b;
}

.footer-section p {
    margin: 10px 0;
    line-height: 1.6;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    padding: 0px;
}

.footer-section a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}



/* Social Icons Styles */

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    font-size: 14px;
}

.social-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white; 
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #ff6666; 
}

.social-links .fa {
    margin-right: 10px; 
    font-size: 16px; 
}
/* Menu Styles */
.menu-section {
    margin-bottom: 20px;
}
.menu-section h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
    font-family: Montserrat;
    color: #ff6b6b;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-family: Montserrat;
}
.menu-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}
.menu-item label {
    flex-grow: 1;
}

.menu-checkbox {
    margin-right: 10px;
    appearance: none; 
    width: 20px;
    height: 20px;
    border: 2px solid #ff6b6b; 
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.menu-checkbox:checked {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

.menu-checkbox:checked::after {
    content: "✓";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-item .quantity {
     width: 60px; 
     padding: 5px;
     border: 1px solid #ddd;       
     border-radius: 4px;       
     font-size: 14px;       
     text-align: center;       
     outline: none;       
     transition: border-color 0.3s, box-shadow 0.3s;               
}        

.menu-item .quantity:focus {
    border-color: #ff6b6b;        
    box-shadow: 0 0 5px rgb(255, 0, 0);        
}   

.menu-item select {
    padding: 5px 10px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-right: 10px;
}

.menu-item select:focus {
    border-color: #ff0000;
    box-shadow: 0 0 5px #ff6b6b;
}

.menu-item select:hover {
    border-color: #ff6b6b;
}
.subtotal {
    font-weight: bold;
    margin-left: auto;
}
.total, .delivery-fee {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    text-align: right;
}

/* Fonts */
@font-face {
    font-family: IrishGrover;
    src: url(../Fonts/IrishGrover-Regular.ttf);
    font-weight: bold;
  }

@font-face {
    font-family: Montserrat;
    src: url(../Fonts/Montserrat-VariableFont_wght.ttf);
    font-weight: bold;
}

header nav ul.right-nav li a.order-now:hover {
    background-color: #ff0000; 
    color: #ffffff; 
    transition: background-color 0.3s ease, color 0.3s ease; 
  }

  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #000000;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}



/* 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: #000000;
    margin: 10% auto; 
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.close:hover {
    color: #ff6b6b;
}

#cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

#proceed-to-payment {
    background-color: #ff6b6b;
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
    font-family: Montserrat;
}



#proceed-to-payment:hover {
    background-color: #ff4c4c;
    color: white;
}

#view-cart-btn{
    font-family: Montserrat;
}

.payment-option{
    font-family: Montserrat;
    display: flex;
    padding: 10px;
}

/* Error Messages */
.error {
    color: red;
    font-size: 0.9em;
    display: block;
    margin-bottom: 10px;
    font-family: Montserrat;
}

.invalid {
    border: 2px solid red;
}