* {

    font-family: "Playfair", serif;
    font-weight: 400;
    font-style: normal;
}

.card-text {
    font-family: "Amatic SC", sans-serif;
    font-weight: 600;

    color: rgb(78, 76, 76);
    font-style: normal;
}

.full-container {
    background-color: #F7EEDE;
}

.first-nav {
    font-family: "Antarcticana", sans-serif;
    color: gray;
    border-bottom: 1px solid black;
}

.second-nav {
    display: flex;
    justify-content: space-around;
    /* or center if you adjust spacing manually */
    align-items: center;

}

.nav-middle {
    flex: 1;
    text-align: center;
}

.nav-left,
.nav-right {

    flex: 1;

}

.nav-left ul li a {
    text-decoration: none;
    color: #494747;

}

.nav-right ul li a {
    text-decoration: none;
    color: #494747;

}


/*  */
.layer-headings {
    text-align: center;
    padding: 2rem;
}

.layer-headings h1 {
 
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.layer-headings h1 span {
       font-family: "Amatic SC", sans-serif;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
   margin-right: 10px; 
}

.layer-headings h1 span:hover {
    transform: translateY(-5px);
    text-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .layer-headings h1 {
        font-size: 2rem;
        white-space: nowrap; 
    }
}

/*  */

.layer-headings {
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.hero-section {
    position: relative;
}

/* Carousel image */
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Headings overlay */
.layer-headings {
    position: absolute;      
    top: 50%;             
    left: 50%;              
    transform: translate(-50%, -50%);
    color: #fff;            
    text-align: center;
    z-index: 10;             
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
}

.layer-headings h1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 2px;
}

.layer-headings h3 {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 500;
}

/* ===== MOBILE VIEW ===== */
@media (max-width: 768px) {
    .carousel-inner,
    .carousel-item {
        height: 75vh;  
    }

    .carousel-inner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .layer-headings h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }
}




/* menu section */

.menu-section {
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
}

.menu-item {
    background-color: rgba(128, 128, 128, 0.244);


}

.menu-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.menu-item img:hover {
    transform: scale(1.205);

}




/* re */
.product-display h2 {
    text-align: center;
    margin-bottom: 20px;
}

.product-display .card {
    background-color: #DAD3C7;
    transition: transform 0.3s ease;
}

.product-display .card:hover {
    transform: scale(1.07);
}

/* card */
.card {
    border-radius: 20px !important;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-6px);
}

/* tending section */

.trending-section {
    padding-top: 50px;
    padding-bottom: 20px;

}

/* CUSTOM MODAL CSS */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-modal.show {
    display: flex;
}

.custom-modal-content {
    background-color: #DAD3C7;
    padding: 2rem;
    border-radius: 10px;
    max-width: 900px;
    width: 90%;
    position: relative;
}

.custom-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* equal width for image and details */
    gap: 2rem;
    align-items: start;
}


.modal-img img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.modal-details h2,
.modal-details h3 {
    margin: 0.5rem 0;
}

/* add cart buy now */
.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.modal-buttons .btn {
    flex: 1;
    padding: 0.8rem 0.5rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-buttons .btn-cart {
    /* background-color: #ff9800; */
    /* color: #fff; */
    border: 1px solid #0000004d;
}

.modal-buttons .btn-cart:hover {
    border: 1px solid #0000004d;
}

.modal-buttons .btn-buy {
    /* background-color: #4caf50; */
    border: 1px solid #0000004d;
}

.modal-buttons .btn-buy:hover {
   border: 1px solid #0000004d;
}



/*  */


/* Accordion styling */
.accordion-al {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    position: relative;
}

.accordion-item span:first-child {
    flex: 1;
    /* take remaining width */
    border-bottom: 1px solid #0000004d;
    /* bottom border line */
    padding-right: 10px;
    /* space before + icon */
}

.accordion-item span:last-child {
    flex-shrink: 0;
    /* keep + icon at end */
    transition: transform 0.3s ease;
    /* rotate when active */
}

.accordion-item.active span:last-child {
    transform: rotate(45deg);
    /* + becomes x when open */
}

/* Accordion content */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 0;
}

.accordion-content p {
    margin: 0.5rem 0;
}

/* Show content when active */
.accordion-item.active+.accordion-content {
    max-height: 1000px;
    /* large enough for any content */
    padding: 0.5rem 0;
}




@media (max-width: 768px) {
    .custom-modal-content {
        max-height: 90vh;
        /* modal takes up to 90% of viewport height */
        overflow-y: auto;
        /* enable vertical scrolling */
    }

    .modal-row {
        grid-template-columns: 1fr;
        /* stack on mobile */
    }

    /* Optional: smooth scrollbar */
    .custom-modal-content::-webkit-scrollbar {
        width: 1px;
    }

    .custom-modal-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.2);
        border-radius: 3px;
    }
}

/*  */

/* hide modal by default */


