@import url(https://fonts.googleapis.com/css2?family=Vazirmatn:wght@200;400;700&display=swap);

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    overflow: hidden;
    color: #FFF;
}

.panel-wrapper {
    overflow-y: auto;
    height: 100vh;
    /* Initial height */
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    /* Enable smooth scrolling on iOS */
    position: relative;
}

.panel {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
}

.home {
    background-image: url(/assets/bg.jpeg);
    background-size: cover;
}

.about {
    background-color: #3E7947;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-align: center;
}

.baklava {
    background-color: #3C7545;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.nan {
    background-color: #3A7143;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.gosht {
    background-color: #386D41;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.spices {
    background-color: #325E3A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.reviews {
    background-color: #2F5636;
}

.footer {
    background-color: #2B4E32;
}

.pagination {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    list-style: none;
    padding: 0;
    z-index: 1;
}

@media only screen and (max-width: 600px) {
    .pagination {
        right: 5px;
    }
}

.pagination li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pagination .dot {
    width: 10px;
    height: 10px;
    border: 1px solid #FFF;
    border-radius: 50%;
    margin-right: 5px;
    cursor: pointer;
}

.pagination .label {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: 5px;
}

.pagination .label:hover {
    opacity: 1;
}

.pagination .active .dot {
    background-color: #FFF;
}

.pagination .active {
    opacity: 1;
}

.halal {
    padding: 1.5rem;
    margin-top: 0.5rem;
    width: 90px;
    height: 90px;
    border: 4px solid #ffffff;
    border-radius: 100%;
    font-size: 30px;
    text-align: center;
}

a {
    all: unset;
    color: #cccccc;
}

a:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* carousel */
.carousel-container {
    max-width: 100%;
    overflow: hidden;
    margin: auto;
    position: relative;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-buttons {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.carousel-dot-container {
    text-align: center;
    margin-top: 10px;
}

.carousel-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #bbb;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #333;
}

.cbuttons {
    color: #000;
    background-color: #fff;
    border: 1px solid gray;
    border-radius: 100%;
    padding: 10px;
    display: flex;
}

.cbuttons:hover {
    background-color: #f3f4f6;
    cursor: pointer;
}

img,
video {
    max-width: 100%;
    height: auto;
}

.inside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1000px;

}

.inside img {
    border: 3px solid #71a587;
    border-radius: 6%;
}

.inside p {
    text-align: center;
    margin-top: 1rem;
    font-size: 20px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #71a587;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    margin-left: 10px;
}