/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #123f31;
  --secondary-color: #211f1f;
  --section-bg-color: #123f31;
  --custom-btn-bg-color: #123f31;
  --custom-btn-bg-hover-color: #123f31;
  --dark-color: #123f31;
  --p-color: #123f31;
  --border-color: #1b1b1b;
  --link-hover-color: #f9f6f6;

  --body-font-family: "Plus Jakarta Sans", sans-serif;

  --h1-font-size: 68px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --btn-font-size: 16px;
  --form-btn-font-size: 18px;
  --menu-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color, #f9f6f6);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background-color: var(--section-bg-color);
}

.section-overlay {
  background-color: var(--dark-color);
  position: absolute;
  z-index: 9;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.section-overlay + .container {
  position: relative;
  z-index: 22;
}

.back-top-icon {
  font-size: var(--h2-font-size);
}

/*---------------------------------------
  TIMELINE               
-----------------------------------------*/
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 5px;
  background-color: var(--white-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  padding-top: 0;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--white-color);
  border: 5px solid #7c5c52;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-container-left {
  left: 0;
}

.timeline-container-right {
  left: 50%;
}

.timeline-container-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  right: 25px;
  border: medium solid white;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent white;
}

.timeline-container-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 9px;
  width: 0;
  z-index: 1;
  left: 25px;
  border: medium solid white;
  border-width: 20px 20px 20px 0;
  border-color: transparent white transparent transparent;
}

.timeline-container-right::after {
  left: -13px;
}

.timeline-content {
  padding: 5px;
  background-color: var(--white-color);
  position: relative;
  border-radius: var(--border-radius-medium);
}

/* === HIỆU ỨNG SLIDE IN CHO ALBUM === */
.timeline-content {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 991px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-container::before {
    left: 58px;
    border: medium solid white;
    border-width: 20px 20px 20px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::after,
  .timeline-container-right::after {
    left: 6px;
  }

  .timeline-container-right {
    left: 0%;
  }
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 12px 28px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--white-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  color: var(--secondary-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}

/*---------------------------------------
  NAVIGATION BAR & OFFCANVAS              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .container {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
}

.navbar {
  background: transparent;
  z-index: 999999;
  padding-top: 30px;
  padding-bottom: 30px;
}

.navbar .container {
  background: rgba(18, 63, 49, 0.35);
  border-radius: var(--border-radius-medium);
  padding: 15px 30px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}

.navbar .navbar-brand-image {
  filter: brightness(0) invert(1);
}

.navbar-brand-image {
  width: 48px;
  height: auto;
  margin-right: 10px;
}

.navbar .custom-btn {
  padding: 10px 20px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--link-hover-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--menu-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -0.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-color: var(--dark-color);
  position: relative;
  overflow: hidden;
  min-height: 620px;
  text-align: center;
}

.hero-section::after {
  border-radius: var(--border-radius-medium);
  content: "";
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -65%) rotate(90deg);
  width: 280px;
  height: 430px;
  pointer-events: none;
}

@media screen and (min-width: 991px) {
  .hero-section {
    height: 100vh;
  }
}

.hero-section h1 {
  color: var(--white-color);
}

.small-text {
  color: var(--secondary-color);
}

.hero-section .custom-border-btn {
  border-color: transparent;
}

.hero-section .container {
  position: relative;
  z-index: 9;
}

.hero-slides {
  width: 100%;
  height: 100%;
  position: absolute !important;
}

.opening-hours-list {
  margin: 0;
  padding: 0;
}

.opening-hours-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
  margin-bottom: 10px;
}

.opening-hours-list li .underline {
  background-color: rgba(255, 255, 255, 0.75);
  width: 35%;
  height: 1px;
  margin: auto 15px 0 15px;
}

/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  background-image: url("../images/Final\ 199S-3218.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.about-section .ratio {
  border-radius: var(--border-radius-medium);
}

.custom-video {
  border-radius: var(--border-radius-medium);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-wrap {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.about-video-info {
  background-image: linear-gadient(
    to bottom,
    rgba(121, 121, 121, 0.35),
    rgb(10, 50, 39)
  );
  border-radius: var(--border-radius-medium);
  bottom: 0;
  height: auto;
  padding: 150px 40px;
}

.about-video-info h4 {
  color: var(--white-color);
}

.about-section h6 {
  color: var(--secondary-color);
}

.team-block-wrap {
  background-color: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  cursor: pointer;
  height: auto;
  display: flex;
  flex-direction: column;
}

.team-block-wrap:hover .team-block-image {
  transform: scale(1.2);
}

.team-block-image-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-block-image {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: all 0.3s;
}

.team-block-info {
  background-color: var(--secondary-color);
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-block-info .badge {
  margin: 0;
  font-size: 11px;
  padding: 5px 10px;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.carousel-item {
  transition: transform 0.6s ease, opacity 0.6s ease;
}

/*---------------------------------------
  VIDEO STRIP & PREVIEW WITH AUTO-SCROLL
-----------------------------------------*/
.video-strip-container {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  overflow: visible;
  max-width: 100%;
}

.video-strip {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding-bottom: 0.5rem;
  width: 100%;
  /* Remove conflicting scroll-behavior to use critical.css settings */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

/* Show scrollbar for debugging */
.video-strip::-webkit-scrollbar {
  height: 8px;
}

.video-strip::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.video-strip::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.video-strip::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.video-strip .video-item {
  flex: 0 0 auto;
  width: 300px;
  transition: all 0.3s ease;
  min-width: 300px;
  flex-shrink: 0;
}

/* Ensure no gaps between video items */
.video-strip .video-item:not(:last-child) {
  margin-right: 1rem;
}

/* Responsive design for video strip */
@media (max-width: 768px) {
  .video-strip .video-item {
    width: 250px; /* Smaller on mobile */
  }

  .video-strip {
    gap: 0.5rem; /* Smaller gap on mobile */
  }
}

@media (max-width: 576px) {
  .video-strip .video-item {
    width: 200px; /* Even smaller on small mobile */
  }

  .video-strip {
    gap: 0.25rem; /* Minimal gap on small mobile */
  }
}

.preview-video {
  display: block; /* loại bỏ inline quirks */
  width: 100%; /* chiếm hết .video-item */
  height: auto; /* cao theo tỉ lệ */
  max-height: 480px; /* giới hạn cao */
  object-fit: cover;
  border-radius: var(--border-radius-medium);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.preview-video:hover {
  transform: scale(1.05);
}

/* Modal video */
#videoModal .modal-body {
  background: black;
}

/* Video modal styles */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10000;
}

.modal-video {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 8px;
}

/*---------------------------------------
  OUR MENU              
-----------------------------------------*/
.menu-section {
  background-image: url("../images/mocchau-07114.JPG");
  background-repeat: no-repeat;
  background-size: cover;
}

.menu-block-wrap {
  background: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  padding: 45px;
}

.menu-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.menu-block h6 {
  color: var(--white-color);
}

.menu-block small {
  color: rgba(255, 255, 255, 0.35);
}

.menu-block strong {
  color: var(--secondary-color);
}

.menu-block-image {
  border-radius: 100%;
  width: 350px;
  height: 350px;
  object-fit: cover;
  display: block;
  margin: auto;
  cursor: pointer;
}

.badge {
  background-color: var(--primary-color);
  font-size: 12px;
  position: relative;
  bottom: 4px;
  padding-bottom: 6px;
}

.badge::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid var(--primary-color);
}

/*---------------------------------------
  Concept Hot     
-----------------------------------------*/
.reviews-section {
  background-image: url("../images/Final 199S-3218.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #7c5c52;
}

.reviews-block {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.reviews-block .border-top {
  border-top-color: rgba(255, 255, 255, 0.35) !important;
}

.reviews-block-image-wrap {
  background-image: url("../images/Kyyeumy/project ky yeu 199s MY0441 copy.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}
.reviews-bg-bautroi {
  background-image: url("../images/Bautroirucro/project ky yeu 199s MY0879 copy.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-bg-ThanhXuanChieuTa {
  background-image: url("../images/ThanhXuanChieuTa/Final 199S-1823.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-bg-phaohoa {
  background-image: url("../images/phaohoa/Final\ 199S-07912.JPG");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-bg-lasvegas {
  background-image: url("../images/Lasvegas/lasvegas28.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-bg-gucci {
  background-image: url("../images/Gucci/199ss-01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-bg-cophuc {
  background-image: url("../images/cophuc/199s9.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
}

.reviews-block .reviews-block-image {
  border-radius: var(--border-radius-large);
  width: 65px;
  height: 65px;
  object-fit: cover;
  margin-right: 10px;
}

.reviews-block-info {
  padding: 20px 30px;
}

.reviews-block-info p {
  font-size: var(--btn-font-size);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-group i {
  color: var(--white-color);
}

/*---------------------------------------
  BOOKING SECTION              
-----------------------------------------*/
.booking-section {
  background-image: url("../images/young-female-barista-wear-face-mask-serving-take-away-hot-coffee-paper-cup-consumer-cafe.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.booking-form-wrap {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  margin-top: 100px;
}

.booking-form {
  padding: 55px 65px;
}

.booking-form-image-wrap {
  position: relative;
  height: 100%;
}

.booking-form-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-form-text span {
  color: var(--white-color);
  font-size: var(--btn-font-size);
}

.reservation-page .custom-border-btn {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.reservation-page .custom-border-btn:hover {
  border-color: transparent;
}

/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background-color: var(--dark-color);
  background-image: url("../images/Final\ 199S-5951.JPG");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.google-map {
  border-radius: var(--border-radius-medium);
  filter: grayscale(0%) hue-rotate(0deg) saturate(100%) brightness(100%);
}

.contact-block-wrap {
  background: var(--primary-color);
  border-radius: var(--border-radius-medium);
  padding: 0;
  min-height: 200px;
}

.contact-block {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  transform: rotate(8deg);
  height: 100%;
  padding: 20px 40px;
}

.contact-block h6 {
  transform: rotate(-8deg);
}

.contact-block .custom-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  position: relative;
}

.contact-block strong {
  display: block;
  color: var(--white-color);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 10px;
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  border-radius: var(--border-radius-small);
  margin-bottom: 30px;
  padding-top: 13px;
  padding-bottom: 13px;
  box-shadow: none;
  outline: none;
  transition: all 0.3s;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  background: var(--primary-color);
  border-color: transparent;
}

.custom-form .form-label {
  color: var(--white-color);
  font-style: italic;
  margin-bottom: 15px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--form-btn-font-size);
  font-weight: var(--font-weight-bold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--white-color);
  border-color: transparent;
  color: var(--primary-color);
}

.contact-form .form-control,
.booking-form .form-control {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}

.booking-form .form-control {
  color: var(--white-color);
}

.custom-form input::-webkit-input-placeholder,
.custom-form textarea::-webkit-input-placeholder {
  color: var(--white-color);
}

.booking-form input:-moz-placeholder,
.booking-form textarea:-moz-placeholder {
  color: var(--white-color);
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: var(--primary-color);
  padding-top: 100px;
  padding-bottom: 100px;
}

.site-footer strong {
  color: var(--white-color);
}

.site-footer p,
.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
}

.site-footer-link {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--btn-font-size);
  transition: all 0.3s;
}

.site-footer-link:hover {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
}

.copyright-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--menu-font-size);
}

.copyright-text a {
  color: rgba(255, 200, 160, 0.75);
}

/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--menu-font-size);
  display: block;
  margin: 0 5px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

.social-icon-link span {
  display: block;
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-section {
    padding-top: 148px;
    padding-bottom: 100px;
  }

  .navbar-brand,
  .navbar-brand:hover {
    font-size: var(--h5-font-size);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
    margin-bottom: 0;
  }

  .navbar .custom-btn {
    margin-bottom: 10px;
  }

  .booking-form {
    padding: 45px;
  }

  .contact-section .container {
    width: auto;
    margin-right: 10px;
    margin-left: 10px;
    padding: 35px;
  }

  .site-footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media screen and (max-width: 767px) {
  .custom-btn {
    font-size: 14px;
    padding: 12px 20px;
  }

  .menu-block-wrap,
  .reviews-block-image-wrap,
  .reviews-block-info {
    padding: 20px;
  }

  .team-block-wrap {
    height: auto;
  }

  .team-block-image-wrap {
    height: 250px;
  }

  .team-block-info {
    padding: 20px;
  }

  .team-block-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .team-block-info p {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 578px) {
  .navbar .container,
  .sticky-wrapper.is-sticky .container {
    margin-right: 10px;
    margin-left: 10px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .hero-section::after {
    width: 200px;
    height: 200px;
  }

  .booking-form {
    padding: 35px;
  }

  .opening-hours-list li {
    font-size: 12px;
  }

  .reviews-block-image-wrap {
    flex-direction: column;
  }

  .reviews-block-image {
    margin-bottom: 15px;
  }

  .timeline-container {
    padding-left: 55px;
  }

  .timeline-container::before {
    left: 44px;
    border: medium solid white;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
  }

  .timeline-container-left::before,
  .timeline-container-right::before {
    top: 13px;
  }
}

/* ==== Loại bỏ backdrop + shadow của modal ==== */
#videoModal .modal-content,
#videoModal .modal-body {
  background: transparent !important;
  box-shadow: none !important;
}

/* ==== Giữ tỉ lệ gốc, không kéo căng ==== */
#videoModal .modal-dialog {
  max-width: 90vw; /* modal rộng tối đa 90% viewport */
  width: auto; /* chiều rộng tự tính dựa vào nội dung */
}

#modalVideo {
  width: 100%; /* chiếm hết chiều ngang modal */
  height: auto !important; /* cao theo tỉ lệ */
  object-fit: contain !important; /* vừa vặn, không cắt hoặc kéo */
  background: transparent !important;
}

/* Giới hạn lại chiều rộng và chiều cao của modal */
#albumModal .modal-dialog {
  max-width: 80vw; /* tối đa 80% viewport */
  width: auto;
}
/* Giữ ảnh trong carousel vừa vặn, không tràn */
#albumCarousel .carousel-item img {
  max-width: 100%;
  max-height: 70vh; /* cao tối đa 70% viewport */
  margin: 0 auto;
  object-fit: contain;
}

/* ==== NGÓ NGÀNG GRID ==== */
/* 1. Phóng to chữ “Ngó Ngàng” (thẻ <em>) */
#ngo-ngang .small-text.text-white {
  font-size: 2.5rem; /* chỉnh tuỳ ý, ví dụ 2.5rem (~40px) */
  font-weight: bold;
  color: #ffffff;
}

/* 2. Thu nhỏ chữ tiêu đề bên dưới (<h2>) */
#ngo-ngang .text-center > h2 {
  font-size: 1.75rem; /* chỉnh tuỳ ý, ví dụ 1.75rem (~28px) */
  margin-top: 0.25em; /* cách em một chút */
  font-weight: 600;
  color: #dfdfdf;
}
#ngo-ngang {
  background-image: url("../images/Final\ 199S-01874.JPG");
  background-repeat: no-repeat;
  background-size: cover;
}
#ngo-ngang .ngo-ngang-grid {
  column-count: 5;
  column-gap: 1rem;
  /* mobile responsive */
}
@media (max-width: 992px) {
  #ngo-ngang .ngo-ngang-grid {
    column-count: 3;
  }
}
@media (max-width: 576px) {
  #ngo-ngang .ngo-ngang-grid {
    column-count: 2;
  }
}

#ngo-ngang .ngo-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 1rem;
  text-decoration: none;
}
#ngo-ngang .ngo-item img {
  width: 100%;
  display: block;
  border: 5px solid #fdfafa;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s;
}

/* effect hover */
#ngo-ngang .ngo-item:hover img {
  transform: scale(1.05) rotate(0deg);
}

/* các góc nghiêng khác nhau */
.rotate1 img {
  transform: rotate(-2deg);
}
.rotate2 img {
  transform: rotate(3deg);
}
.rotate3 img {
  transform: rotate(-4deg);
}
.rotate4 img {
  transform: rotate(2deg);
}
/* Thêm vào cuối tooplate-barista.css */

/* 1. Phóng to chữ “Ngó Ngàng” (thẻ <em>) */
#ngo-ngang .text-center > em {
  font-size: 2.5rem; /* chỉnh tuỳ ý, ví dụ 2.5rem (~40px) */
  font-weight: bold;
  color: #ffffff;
}

/* 2. Thu nhỏ chữ tiêu đề bên dưới (<h2>) */
#ngo-ngang .text-center > h2 {
  font-size: 1.75rem; /* chỉnh tuỳ ý, ví dụ 1.75rem (~28px) */
  margin-top: 0.25em; /* cách em một chút */
  font-weight: 600;
  color: #dfdfdf;
}

/* ==== CSS CLASSES CHO INLINE STYLES ==== */

/* Modal video styles */
.modal-video {
  max-width: 70vw;
  max-height: 60vh;
}

/* Concept avatar styles */
.concept-avatar {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

/* Google map styles */
.google-map {
  border: 0;
}

/* Timeline content cursor */
.timeline-content {
  cursor: pointer;
}

/* ==== ALBUM GALLERY LAYOUT ==== */
.album-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 15px;
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  will-change: transform; /* Tối ưu performance */
}

.album-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(0); /* Hardware acceleration */
}

.album-item:hover {
  transform: scale(1.03) translateZ(0);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
  transform: translateZ(0); /* Hardware acceleration */
}

.album-item:hover img {
  filter: brightness(1.1);
}

/* Loading animation */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Modal size cho album */
#albumModal .modal-dialog {
  max-width: 90vw;
  width: 90vw;
}

#albumModal .modal-body {
  max-height: 80vh;
  overflow: hidden;
}

/* Scrollbar cho album gallery */
.album-gallery::-webkit-scrollbar {
  width: 8px;
}

.album-gallery::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.album-gallery::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.album-gallery::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive cho album gallery */
@media (max-width: 768px) {
  .album-gallery {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    grid-auto-rows: 100px;
  }

  #albumModal .modal-dialog {
    max-width: 95vw;
    width: 95vw;
  }
}

/* ==== NGÓ NGÀNG GRID ==== */
