/* 
  Optimized Stylesheet for Natural Life Holding
  Author: Gemini AI
*/

/* Language Switcher
-------------------------------------------------- */
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.lang-btn {
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #333;
  padding: 5px 10px;
  margin: 0 2px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.4);
}

.lang-btn.active {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.6);
}

.navbar.scrolled .lang-btn {
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
}

.navbar.scrolled .lang-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.4);
}

.navbar.scrolled .lang-btn.active {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.6);
}

/* 1. Base & Typography
-------------------------------------------------- */
* {
  font-family: 'Montserrat', sans-serif !important;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #555;
  background-color: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #111;
}

.display-1 {
  font-size: 4.5rem;
  font-weight: 400; /* Increased font-weight for boldness */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff; /* Ensured white color */
  text-shadow: 0 2px 15px rgba(0,0,0,0.5); /* Enhanced shadow */
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 25px;
}

.section-subtitle {
  font-style: italic;
  font-size: 1.2rem;
  color: #777;
  margin-bottom: 30px;
}

p {
  margin-bottom: 15px;
}

a {
  color: #007bff;
  transition: color 0.3s ease;
}
a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* 2. Navbar
-------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 40px;
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, height 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 70px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .brand {
  display: inline-block;
  /* Make logo visible by default for desktop */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease; /* This transition will apply on mobile */
}

.navbar .brand img {
  height: 45px;
  transition: height 0.3s ease;
}
.navbar.scrolled .brand img {
  height: 40px;
}

.navbar .navigation,
.navbar .navbar-toggle {
  margin-left: auto;
}

.navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.navigation ul li {
  display: inline-block;
  margin-left: 35px;
}
.navigation ul li a {
  color: #333 !important;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.navbar.scrolled .navigation ul li a {
  color: #333 !important;
}
.navbar:not(.scrolled) .navigation ul li a:hover,
.navbar:not(.scrolled) .navigation ul li.active a {
  color: #007bff;
}

.navbar.scrolled .navigation ul li a:hover,
.navbar.scrolled .navigation ul li.active a {
  color: #0056b3;
}

.navbar-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 32px;
  height: 32px;
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  position: relative; /* Set as positioning context for the icons */
}

.navbar.scrolled .navbar-toggle {
  opacity: 1;
  visibility: visible;
}

.navbar-toggle img {
  width: 100%;
  height: 100%;
}

/* 3. Mobile Menu
-------------------------------------------------- */
.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.menu.active {
  right: 0;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  text-align: center;
}
.mobile-menu li {
  margin-bottom: 25px;
}
.mobile-menu li a {
  font-size: 1.8rem;
  font-weight: 300;
  color: #333;
}

/* Open menu state */
.menu-open .navbar-toggle {
  /* No special styles needed now, JS handles the icon swap */
}

/* 4. Section Layout & Styling
-------------------------------------------------- */
.section {
  position: relative;
  overflow: hidden;
  width: 100%;
}

#page1, #page7 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page1 .intro {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.video-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-banner iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Hero Navigation Arrows */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  border: none;
  font-size: 2.5rem;
  font-weight: 200;
  padding: 0;
  margin: 0;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  display: inline-block;
  width: 40px;
  height: 40px;
  text-align: center;
}

.hero-nav:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) scale(1.15);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-nav {
    font-size: 1rem;
    padding: 6px 10px;
  }
  
  .hero-prev {
    left: 10px;
  }
  
  .hero-next {
    right: 10px;
  }
}

/* Section Colors */
.section-white {
  padding: 80px 0; /* Unified vertical padding */
  background-color: #fff;
}
.section-white .section-title,
.section-white h3 {
  color: #222;
}
.section-white p {
  color: #555;
}

.section-dark {
  background-color: #1a1a1a;
}
.section-dark .section-title,
.section-dark h3,
.section-dark p,
.section-dark .section-subtitle {
  color: #fff;
}

.vertical-centred {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 2;
}

.intro .subtitle-top {
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}
.intro .subtitle-top-2 {
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  font-style: italic;
  color: #fff;
  text-shadow: 0 1px 5px rgba(0,0,0,0.4);
}

.professional-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px; /* Removed vertical padding */
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; /* Increased gap for more space */
  align-items: center;
}

.image-container {
  width: 100%;
  overflow: hidden;
  box-shadow: none; /* Removed shadow for a flatter look */
  aspect-ratio: 1 / 1; /* Creates a 1:1 aspect ratio */
}
.image-container img {
  width: 100%;
  height: 100%; /* Make image fill the container */
  display: block;
  object-fit: cover; /* Ensures the image covers the area without distortion */
}

.content-section {
  margin-bottom: 25px;
}
.content-section h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.simple-list {
  padding-left: 20px;
  list-style: none;
}
.simple-list p {
  position: relative;
}
.simple-list p strong {
    color: #333;
}
.dark .simple-list p strong {
    color: #fff;
}

/* 5. Contact Section
-------------------------------------------------- */
#contact .section-title {
  margin-bottom: 15px;
}
#contact .section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-col h4 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-info p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.contact-form-container {
  max-width: 800px;
  margin: 70px auto 0;
}

.form-title {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 30px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-row.text-center {
    justify-content: center;
}

.contact-form .form-group {
    flex: 1;
}

.contact-form .form-group.full-width {
    flex-basis: 100%;
}

.contact-form .form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
  background-color: #fff;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
  background-color: #fff;
}

.btn-submit {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 15px 50px;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: auto;
}

.btn-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* 6. Responsive Styles
-------------------------------------------------- */
@media (max-width: 1024px) {
  .display-1 {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .professional-container {
    padding: 0 30px; /* Removed vertical padding */
  }
  .split-layout {
    gap: 40px;
  }

  .contact-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0 15px;
    height: 70px;
  }
  .navbar.scrolled {
    height: 60px;
    background: rgba(255, 255, 255, 0.85);
  }

  /* Logo luôn hiển thị trên mobile */
  .navbar .brand,
  .navbar:not(.scrolled) .brand {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .navbar .brand img {
    height: 38px;
  }
  .navbar.scrolled .brand img {
      height: 32px;
  }
  .navbar .navigation {
    display: none;
  }
  .navbar-toggle {
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .navbar .navbar-toggle .icon-bar {
      background-color: #333; /* Changed to dark for better contrast on white background */
  }

  .display-1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  
  .professional-container {
    padding: 0 20px; /* Removed vertical padding */
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .image-container {
      margin-bottom: 0;
      /* The text-content will now dictate the flow */
  }

  .text-content {
      text-align: left;
  }
  
  .contact-grid {
      grid-template-columns: 1fr;
      gap: 50px;
  }

  .contact-form .form-row {
      flex-direction: column;
      gap: 0;
      margin-bottom: 0;
  }
  .contact-form .form-group {
      margin-bottom: 20px;
  }

  #contact .col-md-6 {
      margin-bottom: 40px;
  }

  .section-white {
    padding: 50px 0; /* Unified vertical padding for mobile */
  }
}

/* 7. Footer
-------------------------------------------------- */
.site-footer {
    width: 100%;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col:nth-child(1) {
    text-align: left;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3) {
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-col h5 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
}

.footer-nav {
    list-style: none;
    padding: 0;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-nav a {
    color: #555;
    text-decoration: none;
}
.footer-nav a:hover {
    color: #007bff;
}

.social-list .social-icon {
    font-size: 24px;
    color: #555;
    margin-right: 15px;
    transition: color 0.3s ease;
}
.social-list .social-icon:hover {
    color: #007bff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
} 
/* ================================================ */
/* 8. Custom Styles for Services Section
/* ================================================ */

/* Grid container chứa các cột văn bản */
.services-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px; /* Khoảng cách giữa 2 cột văn bản */
  width: 100%;
  margin-top: 30px; /* Khoảng cách với tiêu đề chính */
}

/* Kiểu cho mỗi cột văn bản */
.service-column {
  flex: 1;
  min-width: 0;
}

/* Kiểu cho mỗi mục dịch vụ */
.service-item {
  margin-bottom: 30px;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item h3 {
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #333;
}

.service-item p, 
.service-item li {
  font-size: 0.95em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 10px;
}

.service-item ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

/* Responsive cho 2 cột văn bản bên trong */
@media (max-width: 992px) { /* Thay đổi điểm ngắt để phù hợp hơn */
  .services-grid {
      flex-direction: column;
      gap: 0;
  }
}

/* ================================================ */
/* 9. Custom Override for Wider Services Section
/* ================================================ */

/* Tăng chiều rộng tổng thể của khu vực nội dung */
.professional-container {
  max-width: 1440px;
}

/* Thay đổi tỉ lệ cột chính (Ảnh : Chữ) thành 40% : 60% */
#page4 .split-layout {
  grid-template-columns: 1fr 1.5fr; /* Cột chữ rộng gấp rưỡi cột ảnh */
  gap: 60px; /* Điều chỉnh khoảng cách cho cân đối */
  align-items: flex-start;
}

/* Giảm nhẹ khoảng cách giữa 2 cột văn bản để chữ có thêm không gian */
#page4 .services-grid {
  gap: 25px;
}
/* Đổi màu chữ của link trong danh sách thành màu đen */
.simple-list a {
  color: #000; /* Thiết lập màu chữ thành đen */
  text-decoration: none; /* Bỏ gạch chân */
}

/* (Tùy chọn) Giữ hiệu ứng gạch chân khi di chuột qua */
.simple-list a:hover {
  text-decoration: underline;
}
#contact .contact-col h4 a,
#contact .contact-col .contact-info p,
#contact .contact-col .contact-info span,
#contact .contact-col .contact-info a {
    color: #000 !important;
}