/* Main Container */
.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-container section {
    margin: 30px 0;
}

/* General Section Styling */
section {
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 10px;
}

section:not(:last-of-type) {
    border-bottom: 1px solid #e0e0e0;
}

section h1,
section h2 {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 10px;
    font-size: 2.8rem;
    color: #222;
}

section>p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 10px auto;
    line-height: 1.7;
    color: #555;
    font-size: 1.6rem;
}

.banner-slider {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

.slides-wrapper {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    /* Hiệu ứng trượt mượt mà */
}

.slide {
    flex: 1 0 100%;
    /* Mỗi slide chiếm toàn bộ chiều rộng của container */
    transform: scale(0.95);
    /* Các slide không active sẽ nhỏ hơn một chút */
    opacity: 0.5;
    /* và mờ hơn */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s;
    text-align: center;
}

.slide.active {
    transform: scale(1);
    /* Slide active có kích thước bình thường */
    opacity: 1;
}

.slide img {
    width: 90%;
    height: 550px;
    object-fit: fill;
    vertical-align: middle;
    border-radius: 10px;
}

/* Nút mũi tên chuyển slide */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 3px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10;
    /* Đảm bảo nút nằm trên ảnh */
}

.next {
    right: 0;
    border-radius: 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Các nốt chấm điều hướng */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 10;
    /* Đảm bảo chấm nằm trên ảnh */
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
    background-color: #717171;
}

/* Home Section */
.home-highlights {
    margin-top: 20px;
    background: #fdf6fa;
    padding: 20px;
    border-radius: 10px;
}

.home-highlights h3 {
    color: #d81b60;
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 20px;
}

.home-highlights ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.home-highlights ul li {
    background: var(--white-color, #fff);
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #555;
    font-size: 1.6rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-highlights ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Us Section */
.about-us ul {
    margin: 30px 0;
    padding-left: 30px;
}

.about-us li {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.4rem;
    line-height: 1.6;
}

.about-us li i {
    color: rgb(237, 237, 8);
    font-size: 1.6rem;
    margin-right: 2px;
}

.about-team {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    padding-left: 30px;
}

.about-team h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.about-team p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Menu Preview Section */
.menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item {
    background: var(--white-color);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-item h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 5px;
    text-align: left;
}

.menu-item p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 15px;
    min-height: 40px;
    text-align: left;
}

.menu-price {
    font-size: 1.5rem;
    color: #ff6347;
    font-weight: bold;
    margin-bottom: 10px;
}

.order-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px;
    padding: 10px 16px;
    background-image: linear-gradient(to right, #fe2389, #b253e1);
    color: var(--white-color);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(254, 35, 137, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 7px 20px rgba(254, 35, 137, 0.6);
}

.order-btn:active {
    transform: scale(0.98);
}

.menu-preview>a {
    display: block;
    width: fit-content;
    margin: 20px auto 0 auto;
    padding: 15px 30px;
    background-image: linear-gradient(to right, #fe2389, #b253e1);
    color: var(--white-color);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(254, 35, 137, 0.4);
}

.menu-preview>a:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(254, 35, 137, 0.6);
}

.menu-note {
    margin-top: 20px;
    font-size: 1.2rem;
    color: #777;
    text-align: center;
    font-style: italic;
}

/* Gallery Section */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 20px;
}

.testimonial-item {
    background-color: #f8f9fa;
    border-left: 5px solid #d81b60;
    padding: 10px;
    margin: 5px 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-item blockquote {
    margin: 0 0 15px 0;
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 20px;
    font-size: 1.4rem;
}

.testimonial-item blockquote::before {
    content: '\201C';
    font-size: 4rem;
    font-family: 'Georgia', serif;
    color: #d81b60;
    opacity: 0.5;
    position: absolute;
    left: 0px;
    top: -8px;
    line-height: 1;
}

.testimonial-item cite {
    font-weight: bold;
    color: var(--text-color);
    display: block;
    text-align: right;
    font-size: 1.4rem;
    font-style: normal;
    margin-top: 20px;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.contact-details,
.contact-map {
    flex: 1;
    min-width: 300px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-details p {
    text-align: left;
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: #444;
}

.contact-details p strong {
    min-width: 90px;
    display: inline-block;
}

.contact-details a {
    color: #d81b60;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #b253e1;
    text-decoration: underline;
}

/* Animation when scroll page */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}