/*font export*/
@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Italiana&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Italiana&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Domine:wght@400..700&family=Italiana&family=Quicksand:wght@300..700&display=swap');


body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden; /* This will hide horizontal scroll */
    width: 100%;
}

::-webkit-scrollbar {
    display: none;
}
  
nav {
    display: flex;
    justify-content: flex-end; /* Centers the ul horizontally */
    flex: 1; /* Takes up available space */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center; /* Centers items vertically */
    justify-content: center; /* Centers items horizontally */
}

/* Adjust header to give proper space */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 50px;
    background-color: white;
    font-family: 'Quicksand', sans-serif;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 16px;
    
    /* Fixed header properties */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 3px 60px rgba(0, 0, 0, 0.116);

    height: 75px;
}

/* Target specifically the navigation text links */
nav ul li a {
    font-size: 16px;
}

nav ul li a {
    position: relative;
}

/* First, reset the animation for all nav links */
nav ul li a::after {
    content: none; /* Remove the underline effect by default */
  }
  
  nav ul li a:hover {
    color: inherit; /* Reset hover color */
  }
  
  /* Then apply animation only to main navigation items */
  nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e93d11;
    transition: width 0.3s ease;
  }
  
  nav > ul > li > a:hover::after {
    width: 100%;
  }
  
  nav > ul > li > a:hover {
    color: #e93d11;
  }

nav a {
    text-decoration: none;
    color: black;
}

.brand {
    margin: 0;
    position: absolute;
    left: 100px;
  
    font-family: 'Italiana', serif;
    color: #292929;
    font-size: 25px;
    letter-spacing: 2px;
    
    cursor: pointer;
  }

/* Adjust logo positioning if needed */
.logo {
    margin-left: -30px; /* Increase this value to move more to the left */
    display: flex;
    cursor: pointer;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f3f3f3;
    border-radius: 5px;
    color: #eb3608;
}

/* This will display the dropdown content when hovering over the dropdown container */

.dropdown:hover .dropdown-content {
    display: block;
}

/* Target specifically the navigation text links */
nav ul li a {
    font-size: 16px;
}

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally */
    border-radius: 50%;
    color: #2b2b2b;
    font-size: 29px;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    width: 40px; /* Fixed width for better centering */
    height: 40px; /* Fixed height for better centering */
    transform: translateY(-3px); /* Added to move up by 3px */
}

.cart-icon:hover {
    border-radius: 50%;
    background-color: #f5f5f5;
    transform: scale(1.1); /* Slight scale up on hover */
}

/* Cart count indicator */
.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    bottom: -1px;
    right: 1px;
    background-color: #1b1b1b;

    font-family: 'Quicksand';
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    
    display: flex;
    justify-content: center;
    align-items: center;

    display: none; /* Hidden by default, will be shown when items are added */
    line-height: 1; /* Ensures text is vertically centered */
}


/* Carousel Section */
.carousel {
    position: relative;
    height: 790px;
    background-image: url('images/s33.jpg');
    background-size: cover;
    background-position: center;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 247, 247);
}

.carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 650px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.856), transparent);
    pointer-events: none;
    z-index: 1; /* overlay is below the text */
}

.carousel-content {
    text-align: center;
    margin-bottom: 180px;
    position: relative; /* For z-index to work */
    z-index: 2; /* Ensures text is above the overlay */
}


.carousel-content h2 {
    font-family: Italiana;
    font-size: 90px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-top: 0;
    text-shadow: 20px 50px 10px rgba(0, 0, 0, 0.123);
}


/* Navigation Buttons */
button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0);
    border: none;
    color: white;
    padding: 10px 15px;
    font-size: 30px;
    cursor: pointer;
}

button.prev {
    left: 20px;
}

button.next {
    right: 20px;
}

button.prev:hover, button.next:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Footer styles */
.footer-container {
    background-color: #111;
    color: #fff;
    padding: 40px 0;
    width: 100%;
}



.footer-top {
    /*
    display: flex;
    justify-content: space-between;
    */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Quicksand', sans-serif;
}

.footer-logo {
    text-align: center;
    margin: 40px 0;

}

.footer-logo img {
    max-width: 120px;
    height: auto;
    cursor: pointer;
}

.footer-logo h2 {
    margin-top: 20px;
    font-family: 'Italiana', serif;
    font-size: 24px;
    letter-spacing: 2px;
    cursor: pointer;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-info {
    text-align: center;
    margin: 30px 0;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer-bottom {
    font-family: 'Quicksand', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    font-size: 14px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.side-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
}

.footer-social i {
    font-size: 20px;
    color: white;
}


/*full menu*/
.menu-section {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 80px 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}


.menu-types {
    text-align: center;
}

.menu-tabs {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #383838;
    padding-bottom: 10px;
}

.menu-tab {
    font-family: 'Bebas Neue';
    color: rgb(0, 0, 0);
    text-transform: uppercase;
    cursor: pointer;
    font-size: 20px;
    letter-spacing: 1px;
    padding-bottom: 10px;
}

.menu-tab.active {
    border-bottom: 2px solid rgb(0, 0, 0);
}

.menu-types h2{
    font-family: 'Bebas Neue';
    font-size: 60px;
    margin-top: 120px; /* Add this to remove default top margin */
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.menu-types p {
    font-family: 'Quicksand';
    font-size: 18px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}



/* menu boxes */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding-left: 5%;
    padding-right: 5%;
    margin: 0 auto;
    padding-bottom: 150px;
}

.menu-item {
    display: flex;
    background: #161616;
    color: rgb(248, 248, 248);
    
    height: 300px; /* Ensures fixed height */
    overflow: hidden; /* Prevents content from expanding */
}

.menu-item-image {
    width: 360px;
    height: 300px;
    background: #ff8888;

    flex-shrink: 0; /* Prevents it from shrinking */
}

.menu-item-content {
    /*
    padding: 15px;
    flex-grow: 1;
    
    justify-content: space-between;
    align-items: flex-start;
    */
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures space between text and price */
    position: relative; /* Enables absolute positioning inside */

    overflow: hidden; /* Ensures long text doesn't push the image */
}

.menu-item-left h3 {
    font-family: 'Bebas Neue';
    font-size: 35px;
    color: #fafafa;
    letter-spacing: 2px;
    margin-top: auto;
    margin-bottom: 5px;
}

.menu-item-left p {
    font-family: 'Quicksand';
    letter-spacing: 1px;
    font-size: 15px;
    color: #e9e9e9;
}

.menu-item-price {
    font-family:"Bebas Neue";
    letter-spacing: 1px;
    font-size: 29px;
    color: #e9e9e9;

    position: absolute;
    bottom: 14px; /* Adjust spacing from the bottom */
    /*left: px;   Adjust spacing from the right */
    /*
    padding-top: 40%;
    padding-left: 65%;
    */
}


/* Add to cart button styles */
.add-to-cart {
    position: absolute;
    height: 36px;
    min-width: 36px;
    right: 5%;
    bottom: 6%;
}
  
.add-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(248, 248, 248);
    border: 1px solid rgb(248, 248, 248);

    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
    color: #000000;
    box-shadow: 0 1px 3px rgba(212, 212, 212, 0.1);
}
  
.quantity-controls {
    display: none;
    background-color: rgb(248, 248, 248);
    border-radius: 30px;
    height: 40px;
    padding: 0 5px;
    color: rgb(0, 0, 0);
    align-items: center;
    justify-content: space-between;
    width: 88px;
}
  

.remove-button{
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
}

.plus-button {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 20px;
}
  
.quantity {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Quicksand';
  }
  
/* Show quantity controls when item is in cart */
.in-cart .add-button {
    display: none;
  }
  
.in-cart .quantity-controls {
    display: flex;
  }


/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Moves it fully off-screen */
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
    z-index: 1001;
}


/* Overlay when cart is open */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-family: 'Bebas Neue';
    font-size: 18px;

    letter-spacing: 2.4px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Cart Items - Updated Layout */
.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
}

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

.cart-item-left {
    display: flex;
    align-items: center;
}

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

.cart-item-info {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.cart-item h4 {
    margin: 0;
    font-size: 14px;
    margin-bottom: 4px;

    font-family: 'Bebas Neue';
    font-size: 20px;
    font-weight:590;
    letter-spacing: 2.1px;
}

.cart-item .cart-price {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* Quantity Controls */
.cart-item-controls {
    display: flex;
    align-items: center;
}

.cart-item-controls button {
    border: none;

    background: #393939;
    color: white;

    padding: 3px 7px;
    cursor: pointer;

    font-size: 16px;
    border-radius: 5px;

    width: 24px;

}

.cart-item-controls {
    margin: 0 10px;
    font-size: 16px;
}

.cart-quantity {
    margin: 0 10px;
    font-size: 18px;
}

/* Cart Footer */
.cart-footer {
    padding-top: 10px;
    border-top: 2px solid #ddd;
}

.subtotal {
    display: flex;
    justify-content: space-between;

    font-family: 'Quicksand';
    font-weight: bold;
    font-size: 17px;
    margin-bottom: 10px;
}

.cart-buttons {
    display: flex;
    justify-content: space-between;
}

.checkout-button {
    width: 100%;
    height: 50px;

    background-color: #000000;
    color: #ffffff;

    font-family: 'Bebas Neue';
    font-size: 20px;
    font-weight:590;
    letter-spacing: 2.4px;
    
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 40px;
}

.checkout-button:hover {
    background-color: #e93d11;
    color: #ffffff;
    border: 1px solid #ff6944;
    cursor: pointer;
}

a {
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
  }

/* ===== Hamburger toggle (hidden on desktop) ===== */
.nav-toggle-checkbox { display: none; }
.nav-toggle-label {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
}
.nav-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background: #2b2b2b;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===================================================== */
/* ============= RESPONSIVE STYLES ===================== */
/* ===================================================== */

/* Global overflow + sizing guard */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100vw; }
section { width: 100%; box-sizing: border-box; }
.menu-grid { box-sizing: border-box; max-width: 100vw; }

@media (max-width: 1024px) {
    header { padding: 8px 24px; }
    .brand { left: 80px; font-size: 22px; }
    nav ul { gap: 14px; }
    nav ul li a { font-size: 14px; }

    .menu-grid { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; padding-bottom: 80px; }
    .menu-item { height: auto; min-height: 220px; }
    .menu-item-image { width: 220px; height: auto; }

    .menu-section { padding: 60px 24px; }
    .menu-types h2 { font-size: 48px; margin-top: 80px; }

    .footer-nav { flex-wrap: wrap; gap: 18px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 768px) {
    header { padding: 8px 16px; height: 65px; }
    .logo img { width: 48px !important; }
    .logo { margin-left: 0; }
    .brand { font-size: 18px; left: 70px; letter-spacing: 1px; }

    .nav-toggle-label { display: flex; }

    nav {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    }
    .nav-toggle-checkbox:checked ~ nav { max-height: 600px; }
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
    .nav-toggle-checkbox:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        margin: 0;
        width: 100%;
        align-items: stretch;
    }
    nav ul li a { display: block; padding: 14px 20px; font-size: 15px; }
    .dropdown-content { position: static; box-shadow: none; background: #f7f7f7; min-width: auto; }
    .dropdown-content a { padding: 12px 36px; }

    .carousel { height: 360px; }
    .carousel-content h2 { font-size: 44px; letter-spacing: 3px; }

    .menu-section { padding: 40px 16px; }
    .menu-types h2 { font-size: 36px; margin-top: 60px; }
    .menu-types p { font-size: 15px; }
    .menu-tabs { flex-wrap: wrap; gap: 10px; padding-bottom: 6px; }
    .menu-tab { font-size: 16px; }

    .menu-grid { grid-template-columns: 1fr; gap: 16px; padding: 0 16px 60px; }
    .menu-item { flex-direction: column; height: auto; }
    .menu-item-image { width: 100%; height: 180px; }
    .menu-item-image img { width: 100%; height: 100%; object-fit: cover; }
    .menu-item-content { padding: 16px; min-height: 160px; }
    .menu-item-left h3 { font-size: 26px; margin-top: 0; }
    .menu-item-left p { font-size: 13px; }
    .menu-item-price { font-size: 22px; position: relative; bottom: auto; margin-top: 12px; }
    .add-to-cart { bottom: 16px; right: 16px; }

    .cart-sidebar { width: 100%; max-width: 100vw; }

    .footer-logo img { max-width: 80px; }
    .footer-logo h2 { font-size: 20px; }
    .footer-nav { gap: 14px; }
    .footer-nav a { font-size: 12px; }
}

@media (max-width: 420px) {
    .brand { font-size: 16px; left: 64px; }
    .logo img { width: 42px !important; }
    .carousel-content h2 { font-size: 34px; }
    .menu-types h2 { font-size: 28px; }
    .menu-item-left h3 { font-size: 22px; }
}