/*
Theme Name: Restaurant
Template: astra
Version: 1.0
*/

/* ===== RESET CƠ BẢN ===== */
body {
  margin: 0;
  background: black;
  font-family: 'Be Vietnam Pro', sans-serif;
}

/* ===== LANGUAGE SWITCHER ===== */
.header-lang-switcher {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lang-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.lang-flag {
  font-size: 20px;
  line-height: 1;
}

.lang-text {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lang-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.lang-dropdown-btn:hover .lang-arrow {
  transform: translateY(2px);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #2C3E50;
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.lang-option:hover {
  background: #F7F5F2;
  border-left-color: #D98760;
  padding-left: 20px;
}

.lang-option span:not(.lang-flag) {
  font-weight: 500;
  font-size: 14px;
}

/* ===== HEADER ===== */
.site-header {
  background: #292929;
  padding: 20px 0; 
  color: white; 
  position: sticky;      
  top: 0;                
  z-index: 9999;         
  transition: all 0.3s ease;
}

/* Nội dung trong header nổi lên trên */
.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.site-title {
  position: absolute;
  left: 20px;
  margin: 0;
  z-index: 2;
}

.site-title img {
  left: 0;
  margin-left: -50px;
  color: white;
  width: 150px;
  height: 100px;
}

/* =========================================================
   MENU NGANG + DROPDOWN
   Cấu trúc HTML: <nav class="main-nav"><ul class="menu">...</ul></nav>
========================================================= */

/* Reset chung */
.main-nav ul,
.main-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Menu cấp 1: nm ngang ---------- */
.main-nav > ul.menu {
  display: flex;
  justify-content: center;        /* căn giữa toàn bộ menu */
  align-items: center;
  gap: 80px;                      /* khoảng cách giữa các mc */
}

.main-nav > ul.menu > li {
  position: relative;             /* để định vị submenu */
}

.main-nav > ul.menu > li > a {
  color: white;                    /* màu ch */
  font-size: 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s;
}

.main-nav > ul.menu > li > a:hover {
  background: #F7F5F2;      
  color: #D98760;
  border-radius: 30px;
}

/* ---------- Menu cấp 2: dropdown ---------- */
.main-nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  min-width: 180px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  /* Hiệu ng ẩn */
  opacity: 0;
  transform: translateY(-10px);         
  pointer-events: none;                
  transition: all 0.25s ease;           
}

.main-nav ul.sub-menu li a {
  color: #2C3E50;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

.main-nav ul.sub-menu li a:hover {
  font-size: 18px;
  background: #2C3E50;
  color: #F7F5F2;
  transform: translateY(-5px);
  transform: translateX(5px);
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Hiển thị submenu khi hover cha */
.main-nav ul.menu > li:hover > ul.sub-menu {
  opacity: 1;
  transform: translateY(0);             
  pointer-events: auto;
}

/* ---------- Responsive nhỏ ---------- */
@media (max-width: 768px) {
  .main-nav > ul.menu {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav ul.sub-menu {
    position: static;
    display: none;
  }
  
  .main-nav ul.menu > li:hover > ul.sub-menu {
    display: block;
  }
  
  /* Language switcher trn mobile */
  .header-lang-switcher {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
  }
  
  .site-title img {
    width: 200px;
    height: 180px;
    margin-left: -20px;
  }
  
  .main-nav > ul.menu {
    gap: 10px;
  }
  
  .main-nav > ul.menu > li > a {
    font-size: 16px;
    padding: 8px 12px;
  }
}



/* Fullscreen Hero Banner */
.hero-banner {
    height: 80vh;
    background-image: url('images/banner.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    text-align: center;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1s ease-out;
        
}

.hero-banner h1 {
    font-size: 5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    color:white;
}

.hero-banner p {
    font-size: 1.8em;
    opacity: 0.95;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3em;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Scroll Down Arrow */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down-arrow {
    width: 50px;
    height: 50px;
    border: 3px solid white;
    border-radius: 50%;
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.scroll-down:hover .scroll-down-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.scroll-down-arrow::after {
    content: '';
    font-size: 30px;
    color: white;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container for content sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Restaurant Information */
.restaurant-info {
    padding: 60px 40px;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 5px solid #D2691E;
}

.restaurant-info h2 {
    margin-bottom: 25px;
    font-size: 2.5em;
    text-align: center;
    color:#a38f4b;
    
}

.restaurant-info p {
    line-height: 1.8;
    color: #555;
    font-size: 1.15em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Image Gallery Grid */


/*GRID IMA*/
.gallery-section {
    padding: 60px 0;
    background-color: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.gallery-item img {
    background:transparent;
    width: 100%;
    height: 250px;
    border-radius:20px;
    object-fit: cover;
    display: block;
}
.gallery-item {
    height: 100%;
    min-height: 250px;
    border-radius:20px;
}



.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.gallery-section {
    padding: 40px 0;
}



.gallery-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 500;
    min-height: 200px;
    font-size: 1.1em;
}

.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2;
    min-height: 250px;
}

.gallery-item:nth-child(5) {
    grid-column: 1 / 4;
    grid-row: 3;
    min-height: 200px;
}
.gallery-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
    min-height: 250px;
}


/* Location Section */
.location-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    background: white;
    padding: 50px 40px;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.location-info h2 {
    color:#a38f4b;
    margin-bottom: 25px;
    font-size: 2em;
}

.location-details {
    line-height: 2;
    color: #555;
    font-size: 1.05em;
}

.location-details p {
    margin-bottom: 10px;
}

.location-details strong {
    color: #8B4513;
    display: inline-block;
    width: 140px;
}

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    height: 400px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Food Menu Grid */
.food-section {
    background-color: #fff;
    padding: 80px 0;
}

.food-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.food-item {
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-item:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.food-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-details {
    padding: 20px;
    text-align: center;
}

.food-details h3 {
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.food-details p {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
}

.food-price {
    font-size: 16px;
    color: #b8860b;
    font-weight: bold;
}


.food-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.2);
}

/*==============================*/
/* CHỈNH: Food Header với Filter */
.food-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.food-header h2 {
    margin: 0;
}

/* CHỈNH: Filter Buttons */
.food-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #bfa45a;
    color: #e0d2a0;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9em;
    transition: all 0.3s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    background: white !important;
    color: #bfa45a !important;
    border-color: #bfa45a !important;
    transform: scale(1.05);
}

.filter-btn.active {
    background: #e6d7a1 !important;
    color: #7a6a33 !important;
    border-color: #7a6a33 !important;
}


/* CHỈNH: Animation khi filter */
.food-item {
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
}

.food-item.hide {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* CHỈNH: Responsive Filter */
@media (max-width: 768px) {
    .food-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .food-filter {
        width: 100%;
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
}



/*======================================*/



/* Feedback Section */
.feedback-section {
    background: white;
    padding: 60px 40px;
    border-radius: 10px;
    margin: 40px auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feedback-section h2 {
    color: #8B4513;
    margin-bottom: 40px;
    font-size: 2.5em;
    text-align: center;
}

.customer-reviews {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.review-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #D2691E;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
}

.customer-name {
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.rating {
    color: #FFD700;
    margin-bottom: 12px;
    font-size: 1.3em;
}

.review-text {
    color: #555;
    line-height: 1.7;
    font-style: italic;
    font-size: 1.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-banner h1 {
        font-size: 3.5em;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item:nth-child(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-item:nth-child(4) {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .gallery-item:nth-child(5) {
        grid-column: 1 / 3;
        grid-row: 4;
    }

    .food-menu {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-banner h1 {
        font-size: 2.5em;
    }

    .hero-banner p {
        font-size: 1.3em;
    }

    .food-menu {
        grid-template-columns: 1fr;
    }

    .customer-reviews {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5) {
        grid-column: 1;
        grid-row: auto;
    }
    .location-map {
        height: 300px;
    }
}
/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 20px;
  background: #fff;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-wrapper {
  background: #f5f5f5;
  padding: 40px;
  border-radius: 15px;
  margin-top: 30px;
}


/* ===== FOOTER ===== */
.custom-footer {
  background: #292929;        /* nn nu ging hnh */
  color: white;
  font-family: "Segoe UI", sans-serif;
 
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 20px;
  gap: 30px;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-logo {
  width:250px;
  height:200px;
  margin-left:50px;
  margin-bottom:80px;
}

.footer-col h3 {
  font-size: 20px;
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-col p,
.footer-col li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #D98760;  
  text-decoration:underline;
}
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 20px;
  color: #2C3E50;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #D98760;
  transform: scale(1.2);
}

#contact {

  display: flex;                  
  flex-direction: column;        
  justify-content: center;      
  align-items: center;            
  text-align: center;             
  padding: 20px;                  
}
/* Dòng cui bn quyn */
.footer-bottom {
  text-align: center;
  background: #292929; 
  padding: 10px 0;
  font-size: 14px;
  margin-top: 20px;
}


