:root {
  --primary-color: #CBA135; /* Gold */
  --primary-light: #E8D596;
  --secondary-color: #1A2B21; /* Deep Green */
  --text-dark: #333333;
  --text-light: #F8F9FA;
  --bg-light: #FAFAFA;
  --bg-white: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* ==========================================
     TOPBAR & HEADER
   ========================================== */
.topbar {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 10px 0;
  font-size: 14px;
}

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

.topbar-info span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header {
  background-color: var(--bg-white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 10px 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-smooth);
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 12px 28px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  border: 1px solid var(--primary-color);
  cursor: pointer;
  display: inline-block;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 24px;
  border-radius: 4px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

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

/* ==========================================
     HERO SECTION
   ========================================== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  background-color: var(--secondary-color);
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(26, 43, 33, 0.8) 0%, rgba(26, 43, 33, 0.3) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--bg-white);
}

.hero-subtitle {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-size: 54px;
  margin-bottom: 30px;
  line-height: 1.2;
}

.hero-desc {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* ==========================================
     ABOUT US - INTRODUCTION
   ========================================== */
.about {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.about .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-content {
  flex: 1;
}

.section-title {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

.section-title.center {
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.about-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.feature-icon {
  color: var(--primary-color);
  font-size: 20px;
  margin-top: 3px;
}

.feature-text strong {
  display: block;
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 5px;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.about-img.large {
  grid-column: 1 / -1;
  height: 300px;
}

.about-img.small {
  height: 250px;
}

/* ==========================================
     HIGHLIGHT SERVICES
   ========================================== */
.services {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.service-img {
  height: 250px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px 20px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 22px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.service-excerpt {
  color: #666;
  font-size: 15px;
  margin-bottom: 20px;
  flex: 1;
}

/* Modal / Popup cho Chi tiết Dịch vụ */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-white);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  transform: translateY(50px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: var(--text-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: var(--bg-light);
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.modal-body h3 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.modal-body .detail-text {
  font-size: 16px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* ==========================================
     REVIEWS
   ========================================== */
.reviews {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.review-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  position: relative;
  aspect-ratio: 4/5;
}

.review-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.review-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  opacity: 0;
  transition: var(--transition-smooth);
}

.review-item:hover .review-overlay {
  opacity: 1;
}

/* ==========================================
     REGISTRATION FORM
   ========================================== */
.registration {
  padding: 100px 0;
  background-color: var(--secondary-color);
  color: var(--bg-white);
  position: relative;
}

.registration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.registration .container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.form-wrapper {
  background-color: var(--bg-white);
  padding: 50px;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  color: var(--text-dark);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  text-align: center;
}

.form-title {
  font-size: 32px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.form-subtitle {
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(203, 161, 53, 0.1);
}

.registration-btn {
  width: 100%;
  margin-top: 10px;
  font-size: 18px;
}

/* ==========================================
     FOOTER
   ========================================== */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary-color);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333;
  font-size: 14px;
}

/* ==========================================
     FLOATING ACTIONS
   ========================================== */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-5px);
}

.btn-zalo { background-color: #0088FF; }
.btn-mess { background-color: #00B2FF; }
.btn-phone { background-color: #4CAF50; }

/* Responsive */
@media (max-width: 992px) {
  .about .container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .section-title {
    font-size: 32px;
  }
}

/* Modal Details Aesthetic Enhancement */
.modal-service-title {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  text-align: center;
}

.modal-service-tagline {
  font-style: italic;
  color: #888;
  margin-bottom: 30px;
  text-align: center;
  font-size: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-light);
  padding: 16px;
  border-radius: 6px;
  border-left: 2px solid var(--primary-color);
}

.benefit-item i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 3px;
}

.benefit-item span {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.benefit-item strong {
  color: var(--secondary-color);
}

.service-result {
  background: var(--secondary-color);
  color: var(--text-light);
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
}

.service-result h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-list li {
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #ddd;
}
