﻿:root {
    --main-bg-color: #fffaf3;
    --main-text-color: #550000;
    --btn-bg-color: #42181f;
    --btn-text-color: white;
    --footer-bg-color: #42181f;
    --footer-bg2-color: #f6dcdc;
    --footer-text-color: #f6dcdc;
    --body-bg-color: white;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--main-bg-color);
    color: #333;
}
/*menu*/
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
.map {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 100;
    padding: 20px 40px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.img {
    width: 45%;
    height: 90%;
}

.logo {
    display: flex;
    align-items: baseline;
    font-family: '.VnGothicH', cursive;
    font-size: 32px;
    font-weight: bold;
    color: white;
}

.logo span {
    font-family: '.VnLinus', cursive;
    font-size: 30px;
    font-weight: normal;
    margin-left: 8px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.btn-reserve {
    background-color: #5a8477;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.btn-reserve:hover {
    opacity: 0.9;
}

/* Responsive chỉnh sửa */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
    }

    body {
        padding-top: 100px; /* để nội dung không bị header che */
    }
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none; /* Ẩn menu mặc định */
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 52%;
        margin-top: 8px;
        align-items: flex-end;
        text-align: right;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .nav-menu.show {
        display: flex; /* Hiện menu khi có class show */
    }
}



/*header*/
/*header*/
.hero {
    position: relative;
    height: 100vh;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

    .hero::before,
    .hero::after,
    .hero .bg3 {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0;
        animation: fadeZoom 18s infinite ease-in-out;
        z-index: -1;
    }

    .hero::before {
        background-image: url('img/head01.jpg');
        animation-delay: 0s;
    }

    .hero::after {
        background-image: url('img/head02.jpg');
        animation-delay: 5s;
    }

    .hero .bg3 {
        background-image: url('img/head03.jpg');
        animation-delay: 10s;
    }

@keyframes fadeZoom {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    10% {
        opacity: 1;
        transform: scale(1.03);
    }

    30% {
        opacity: 1;
        transform: scale(1.05);
    }

    40% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}


.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hero h0 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 12px;
    color: white;
    text-align: center;
    max-width: 800px; /* QUAN TRỌNG */
width: 90%; /* Giúp responsive */
word-wrap: break-word;
line-height: 1.6;
font-size: 18px;
}

.section {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    gap: 40px;
    align-items: stretch; /* 👈 làm cho 2 cột bằng chiều cao */
    justify-content: center;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {

    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/*body - Giới thiệu*/
.text-box, .image-box {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
}

.text-box {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    text-align: justify;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideInLeft 2s ease-out forwards;
}

    .text-box h2 {
        color: var(--main-text-color);
        font-size: 32px;
        margin-bottom: 20px;
    }

    .text-box p {
        color: #333;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .text-box ul {
        padding-left: 20px;
        color: #444;
        font-weight: 500;
    }

        .text-box ul li {
            margin-bottom: 8px;
        }

.image-box {

    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-out forwards;
}
.image-box img {
    height: 100%; /* 👈 đảm bảo ảnh cao bằng khung */
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    
}

.head img {
    width: 90%;
    height: 90%;
}


@media (max-width: 768px) {
    .section {
        flex-direction: column;
        padding: 40px 20px;
    }
}

h2 {
    font-size: 2rem;
    color: var(--main-text-color);
    margin-bottom: 20px;
}
h3 {
    font-size: 1.5rem;
    color: #FF9999;
    margin-bottom: 10px;
    text-decoration: none;
}
h4 {
    font-size: 1.25rem;
    color: #FF99CC;
    margin-bottom: 10px;
}
h5 {
    font-size: 1.15rem;
    color: #FF99CC;
    margin-bottom: 10px;
    font-style: italic;
    font-weight: normal;
}
h7 {
    font-size: 1.25rem;
    color: #333333;
    margin-bottom: 10px;
}
ul {
    padding-left: 20px;
    line-height: 1.8;
    font-size: 1rem;
    text-align: justify; /* giúp căn đều hai bên nếu dòng dài */
}

.multi-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

    .multi-images img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.slideshow-bg {
    height: 100%;
    width: 100%;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideshow 15s infinite;
}

@keyframes slideshow {
    0% {
        background-image: url('img/body01.jpg');
    }

    33% {
        background-image: url('img/body02.jpg');
    }

    66% {
        background-image: url('img/body03.jpg');
    }

    100% {
        background-image: url('img/body04.jpg');
    }
}
@media (max-width: 768px) {
    .hero {
      height: auto;
      flex-direction: column;
      text-align: center;
      padding: 80px 20px 100px; /* Thêm khoảng thở trên dưới */
      min-height: 100svh;
    }
  
    .hero h1 {
      font-size: 1.75rem;
    }
  
    .hero p {
      font-size: 1rem;
    }
  
    .hero-content {
      padding: 20px;
    }
  
    .section {
      flex-direction: column;
    }
  
    .text-box, .image-box {
      flex: 1 1 100%;
      padding: 20px;
    }
  
    .text-box h2 {
      font-size: 1.6rem;
    }
  
    .text-box h7, .text-box p, ul {
      font-size: 1rem;
    }
  }
  

/*body - Dịch vụ*/
.about p,
.services p,
.contact p {
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-item {
    background-color: var(--body-bg-color);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    text-decoration: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

    .gallery-grid img {
        width: 100%;
        border-radius: 12px;
        object-fit: cover;
    }

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

form button {
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

    form button:hover {
        background-color: var(--btn-bg-color);
    }

.contact-section {
    background-color: var(--main-bg-color);
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact h0 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.form-box,
.map-box {
  flex: 1;
  min-width: 300px;
}

.form-box h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #673b2b;
}

.form-box p {
  margin-bottom: 20px;
  color: #444;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #999;
    border-radius: 4px;
    background-color: var(--main-bg-color);
}

form textarea {
  height: 120px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.button {
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

form button {
    padding: 12px 24px;
    background-color: var(--btn-bg-color);
    color: var(--btn-text-color);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

form button:hover {
  background-color: var(--footer-bg-color);
}

.map-box h3 {
    margin-bottom: 5px;
    font-size: 20px;
    color: #2e2e2e;
    text-decoration: none;
}

.map-box p {
  margin-bottom: 15px;
  font-size: 16px;
}

/*FOOTER*/
.footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 80px 20px 40px;
    position: relative;
    text-align: center;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

    .wave svg {
        position: relative;
        display: block;
        width: calc(200% + 1.3px);
        height: 80px;
    }

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
}

.footer h1 {
    font-size: 40px;
    font-weight: bold;
    font-family: '.VnGothicH', cursive;
    margin-bottom: 10px;
}

    .footer h1 span {
        font-size: 30px;
        font-weight: normal;
        font-family: '.VnLinus', cursive;
    }
.footer nav a {
    color: var(--footer-text-color);
    margin: 0 10px;
    text-decoration: none;
    font-size: 14px;
}

    .footer nav a:hover {
        text-decoration: underline;
    }

.footer p, .footer a {
    font-size: 14px;
    color: var(--footer-text-color);
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: underline;
    }

.footer-bottom {
    margin-top: 40px;
    font-size: 13px;
    text-align: center;
}


.imgfooter {
    width: 55%;
    height: 45%;
}