@font-face {
  font-family: 'SVN-Gilroy';
  src: url('./fonts/svn-gilroy/SVN-Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('./fonts/svn-gilroy/SVN-Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('./fonts/svn-gilroy/SVN-Gilroy-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SVN-Gilroy';
  src: url('./fonts/svn-gilroy/SVN-Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================
   THE REGENCY APARTMENTS - Main Stylesheet
   Color Theme: #1bb2b8 (Teal/Blue-Green)
   ========================================== */

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1bb2b8;
  --primary-dark: #1695a3;
  --primary-light: #4fcbcf;
  --text-dark: #2c3e50;
  --text-muted: #666;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-bg: #2c3e50;
  --border-color: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SVN-Gilroy', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button):focus-visible {
  outline: 3px solid #0a7479;
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-contact {
  background: var(--primary-color);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ==========================================
   Header
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

.header-left img {
  display: block;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.center-title {
  font-size: 2.2rem;
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.nav-list a {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0 10px;
}
.nav-list li {
  border-right: 2px solid #1bb2b8; 
  line-height: 1.2; /* Ép chiều cao vạch đỏ vừa phải so với chữ */
}
.nav-list li:last-child {
  border-right: none;
}

.nav-list a:hover {
  color: var(--primary-color);
}

.mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-brand img {
  width: 36px;
  height: auto;
}

.brand-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/optimized/hero-mobile.jpg');
  background-image: image-set(url('img/optimized/hero-mobile-960.webp') type('image/webp') 1x);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

@media (min-width: 992px) {
  .hero::before {
    background-image: url('img/optimized/hero-desktop.jpg');
    background-image: image-set(url('img/optimized/hero-desktop-1920.webp') type('image/webp') 1x);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 1200px;
  padding: 0 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 3.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
}

.hero .btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  font-size: 1.125rem;
  padding: 16px 40px;
}

.hero .btn-primary:hover {
  background: var(--light-bg);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #1bb2b8;
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 10px;
  opacity: 0.8;
}

.arrow {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(-45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ==========================================
   Section Styles
   ========================================== */
section {
  padding: 30px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header.light {
  color: var(--white);
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
  color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.title-line {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 20px;
  border-radius: 2px;
}

.section-header.light .title-line {
  background: var(--white);
  width: 40px;
  height: 3px;
  margin: 15px auto 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================
   About Section
   ========================================== */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
  text-indent: 30px;
}

.about-image img {
  width: 100%;
  height: 700px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   Apartments Section
   ========================================== */
.apartments {
  background: var(--light-bg);
}

.rooms-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

/* Room Card */
.room-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Room Slider */
.room-slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: var(--light-bg);
}

.room-slides {
  display: flex;
  height: 100%;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.room-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.room-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.room-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Arrows */
.room-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.room-slider .slider-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.room-slider .slider-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.room-slider .slider-prev { left: 15px; }
.room-slider .slider-next { right: 15px; }

.room-slider .slider-arrow svg {
  width: 22px;
  height: 22px;
}

/* Slider Dots */
.room-slider .slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.room-slider .slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(34, 164, 187, 0.247);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.room-slider .slider-dot:hover {
  background: rgba(3, 146, 151, 0.877);
}

.room-slider .slider-dot.active {
  background: var(--white);
  transform: scale(1.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Room Info */
.room-info {
  padding: 25px 30px 30px;
}

.room-info h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.room-features {
  list-style: none;
}

.room-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.room-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}

/* Apartments Highlight */
.apartments-highlight {
  background: var(--primary-color);
  border-radius: 12px;
  padding: 50px;
  text-align: center;
  color: var(--white);
}

.highlight-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.highlight-content p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.95;
  line-height: 1.8;
  color: var(--white);
}

/* ==========================================
   Amenities Section
   ========================================== */
.amenities {
  background: #141624;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.amenities::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(31, 199, 209, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(31, 199, 209, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.amenities .container {
  position: relative;
  z-index: 1;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.amenity-item {
  text-align: center;
  padding: 40px 20px;
  background: #1e2030;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.amenity-item:hover {
  background: rgba(27, 178, 184, 0.15);
  transform: translateY(-4px);
}

.amenity-item:hover .amenity-icon {
  transform: scale(1.15);
}

.amenity-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(27, 178, 184, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: transform 0.3s ease;
}

.amenity-icon svg {
  width: 45px;
  height: 45px;
  color: var(--white);
}

.amenity-item h3 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.amenity-item p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin: 0;
}

.amenity-subtext {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--white);
}

/* Responsive Grid */
@media (max-width: 1400px) {
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1200px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .amenity-item { padding: 30px 20px; }
  .amenity-icon { width: 75px; height: 75px; }
  .amenity-icon svg { width: 40px; height: 40px; }
  .amenity-item h3 { font-size: 1rem; }
}

@media (max-width: 480px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amenity-item { padding: 25px 20px; }
}

/* ==========================================
   Location Section
   ========================================== */
.location {
  background: var(--white);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-card {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.info-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.distance-item:last-child {
  border-bottom: none;
}

.distance-item span {
  color: var(--text-muted);
}

.distance-value {
  font-weight: 600;
  color: var(--primary-color);
}

.map-container {
  height: 100%;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: none;
}

/* ==========================================
   Danang Gallery Section
   ========================================== */
.danang-gallery {
  background: var(--white);
  padding: 50px 0;
}

.danang-gallery .section-subtitle {
  text-align: justify;
  max-width: 1200px;
  color: var(--text-dark);
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

@media (max-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Lightbox
   ========================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--white);
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: opacity 0.3s;
  border: 0;
  background: transparent;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact {
  padding: 100px 0;
  background: #1a1a2e;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--white);
}

.contact-label {
  color: var(--white);
  margin: 0;
  white-space: nowrap;
}

.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-details {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  padding-top: 11px;
}

.contact-details p {
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.social-facebook { color: #1877f2; }
.social-youtube { color: #ff0000; }
.social-instagram { color: #e4405f; }

.social-link:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.social-unavailable {
  cursor: default;
}

.social-unavailable:hover {
  transform: none;
}

.cta-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}

.cta-box h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-box .btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  margin-left: 10px;
}

.cta-box .btn-secondary:hover {
  background: var(--light-bg);
}

.cta-contact-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-box .cta-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin: 0;
  padding: 11px 20px;
}

.cta-contact-label {
  font-size: 0.9rem;
  line-height: 1.2;
}

@media (max-width: 520px) {
  .cta-contact-actions,
  .cta-box .cta-contact-link {
    width: 100%;
  }

  .cta-box .cta-contact-link {
    padding-inline: 14px;
  }

}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 50px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo .logo-text h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin: 0;
}

.footer-logo .logo-text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 5px 0;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 2.75rem; }

  .about-content,
  .location-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .desktop-element { display: none; }
  .mobile-brand { display: flex; }

  .header-center.desktop-element {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }

  .header-center .center-title {
    display: none;
  }

  .header-center .nav {
    width: 100%;
  }

  .nav-list {
    display: none;
    position: static;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
  }

  .nav-list.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: var(--shadow-lg);
  }

  .nav-list.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-title { font-size: 2.25rem; }
  .hero-description { font-size: 1rem; }

  section { padding: 60px 0; }
  .section-title { font-size: 2rem; }

  .rooms-gallery { grid-template-columns: 1fr; gap: 25px; }

  .room-slider { height: 300px; }
  .room-slider .slider-arrow { width: 40px; height: 40px; }
  .room-slider .slider-arrow svg { width: 20px; height: 20px; }
  .room-slider .slider-prev { left: 10px; }
  .room-slider .slider-next { right: 10px; }
  .room-slider .slider-dots { bottom: 12px; gap: 8px; }
  .room-slider .slider-dot { width: 10px; height: 10px; }

  .room-info { padding: 20px; }
  .room-info h3 { font-size: 1.25rem; }
  .room-features li { font-size: 0.9rem; padding-left: 25px; }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .cta-box .btn-secondary {
    display: block;
    margin: 10px auto 0;
  }
}

@media (max-width: 480px) {
  .header-container { padding: 0 15px; }

  .brand-text { font-size: 0.85rem; }

  .hero-title { font-size: 1.875rem; }

  .hero-text {
    font-size: 1.55rem;
    line-height: 1.45;
  }

  .hero .btn-primary {
    padding: 12px 28px;
    font-size: 1rem;
  }

  .apartments-highlight { padding: 30px 20px; }

  .highlight-content h3 { font-size: 1.5rem; }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
  }
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-center { text-align: center; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #f4fbfb;
}

.error-page-content {
  width: min(100%, 560px);
  padding: 48px 28px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.error-page-content img {
  margin-bottom: 12px;
}

.error-page-content h1 {
  margin-bottom: 12px;
}

.error-page-content .error-code {
  margin: 0;
  color: var(--primary-color);
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 700;
  line-height: 1;
}

.error-page-content .btn-primary {
  margin-top: 12px;
  color: var(--white);
  background: var(--primary-color);
}

.hero-text {
  width: 100%;
  max-width: 1200px;
  font-size: 2.0rem;
  color: var(--white);
  text-align: center;
  margin: 0 auto;
  line-height: 1.6;}
  
/* CSS giữ nguyên từ phần trước cho .about-image và .slide */
.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4; 
  border-radius: 16px; 
  overflow: hidden;
}

.about-image .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out; 
}

.about-image .slide.active {
  opacity: 1;
}

/* --- CSS MỚI THÊM VÀO --- */

/* Các nút mũi tên */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /* Căn giữa theo chiều dọc */
  background-color: rgba(255, 255, 255, 0.6);
  color: #333;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

/* Đẩy mũi tên sang 2 mép */
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Khu vực chứa nút tròn (Dots) */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%); /* Căn giữa theo chiều ngang */
  display: flex;
  gap: 10px;
  z-index: 10;
}

/* Định dạng từng nút tròn */
.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Khi hover hoặc khi dot đang active */
.dot:hover, .dot.active {
  background-color: #fff;
  transform: scale(1.2); /* Phóng to nhẹ để dễ nhận diện */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
