 :root {
    --zone-primary: #edbf89;
    --zone-secondary: #003b2e;
    --zone-accent: #f0f8f5;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--zone-accent);
}

.zone-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.zone-header {
    background: linear-gradient(135deg, var(--zone-secondary) 0%, #004d3a 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.zone-main {
    flex: 1;
    padding: 2rem 0;
}

.zone-footer {
    background: var(--zone-secondary);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.zone-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.zone-title {
    color: var(--zone-secondary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.zone-btn {
    background: var(--zone-primary);
    color: var(--zone-secondary);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.zone-btn:hover {
    background: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(237, 191, 137, 0.4);
}

.zone-hero {
    background: linear-gradient(135deg, rgba(237, 191, 137, 0.9) 0%, rgba(0, 59, 46, 0.9) 100%),
                url('{{ zone.hero_image|default("/uploads/zones/default-hero.jpg") }}');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.zone-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.zone-hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .zone-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .zone-card {
        padding: 1.5rem;
    }
}
.zone-header-section
{
    background-color: rgba(0, 59, 46, 0.7);
    
}
.zone-header-section::after
{
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    height: 200px;
    width: 100%;
    background: linear-gradient(to bottom,  rgba(0,59,46,0.7) 0%,rgba(125,185,232,0) 100%); 
}

.zone-header-section .hotline-zone {
    border: 1px solid var(--zone-primary);
    color: var(--zone-primary);
    font-weight: 600;
}
.brochure-zone
{
    color: var(--zone-primary);
    font-weight: 500;
    position: relative;
}
.brochure-zone::after
{
    content: "";
    position: absolute;
    right: -45px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: url('/public/assets/images/download-icon.png') no-repeat center center;
    background-size: contain;
    animation: bounceUpDown 2s ease-in-out infinite;
}
.link-video-zone
{
    color: var(--zone-primary);
    font-weight: 500;
    position: relative;
    padding-left: 35px;
}
.link-video-zone::after
{
    content: '▶';
    width: 35px;
    height: 35px;
    transform: translateY(-50%);
    position: absolute;
    left:0px;
    top: 50%;
    border: var(--zone-primary) 1px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.link-360-zone
{
    background-image: url('/public/assets/images/360-icon.png');
    width: 50px;
    height: 35px;
    background-repeat: no-repeat;
    background-position: center;
}
.btn-view-apartment
{
  background-color: #006e55;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius:4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: none;
}
.btn-view-apartment:hover
{
  background-color: #ba9145;
  color: #fff;
}
.link-360-apartment
{
    background-image: url('/public/assets/images/360-icon1.png');
    width: 50px;
    height: 35px;
    background-repeat: no-repeat;
    background-position: center;
}
.intro-apartment
{
  font-size: 18px;
  color: #393939;
  list-style: 24px;
  border-bottom: solid 1px #edbf89;
  padding-bottom: 20px;
  margin-bottom: 20px;

}
.ul-apartment
{
  margin: 0;
  padding: 0;
}
.title-lifestyle{
    background: linear-gradient(to bottom,  rgba(0,110,85,0) 0%,rgba(0,110,85,0.94) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    padding: 20px;
    padding-top: 40px;
}

/* Bounce up down animation */
@keyframes bounceUpDown {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-70%);
    }
}

/* Hover effect to pause animation */
.brochure-zone:hover::after {
    animation-play-state: paused;
    transform: translateY(-60%);
}


/* Language Dropdown Styles */
.language-dropdown {
  position: relative;
  z-index: 999;
}

.language-toggle {
  
  border-radius: 6px;
  background: linear-gradient(to bottom, rgba(0,112,91,1) 0%,rgba(0,112,92,1) 50%,rgba(0,108,87,1) 100%);
  cursor: pointer;
  user-select: none;
}

.language-toggle:hover {
  border-color: #edbf89;
}

.language-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.language-dropdown.open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu {
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.language-option {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.language-option:hover {
  background-color: #f9fafb;
}

.language-option.active {
  
  color: white;
}

.language-option.active:hover {
  
}

.flag-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* FancyBox Custom Styles for Better Firefox Compatibility */
.fancybox-container {
  z-index: 9999 !important;
}

.fancybox-bg {
  background: rgba(0, 0, 0, 0.85) !important;
}

.fancybox-slide--iframe .fancybox-content {
  background: #000 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}

.fancybox-iframe {
  border: none !important;
  border-radius: 8px !important;
}

/* Video link hover effects */
.link-video-zone:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.link-video-zone:hover span {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Loading state for video */
.fancybox-loading {
  color: #fff !important;
}
.bg-green-800
{
    background-color: #006e55;
}
.border-b
{
    border-bottom: solid 1px #778e68;

}
.color-green
{
    color: #edbf89 !important;

}
.bg-position-bottom
{
    background-position: bottom;
}
.bg-position-right
{
    background-position: right bottom;
}
.bg-position-left
{
    background-position: left;
}
.bg-position-top
{
    background-position: top;
}

/* Responsive */


.bg-green-gradient
{
   background-color: #005a46;
}
.bg-F9EBD9
{
   background-color: #f3e5d4;
}
/* Apartment Tabs Styles */
.apartment-tab {
  position: relative;
  border: 2px solid #006e55;
  transition: all 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  padding: 0.3rem 1.5rem;
  border-radius: 100px;
  font-size: 18px;
  display: block;
  height: auto;
  color: #424242;
  margin-left: 10px;
  margin-right: 10px;
}

.apartment-tab:hover {
  color: #edbf89;
  border-color: #edbf89;
}

.apartment-tab.tab-active {
  color: #005a46;
  border: 2px solid #edbf89;
}
.tab.tab-active:not(.tab-disabled):not([disabled])
{
  border: 2px solid #006e55;
  background-color: #006e55;
  color: #fff;
}
.tab-content {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.tab-content.active {
  opacity: 1;
}

/* Gallery Image Transitions */
.tab-content img {
  transition: all 0.3s ease;
}

.tab-content img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-content img.border-2 {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 90, 70, 0.3);
}

/* Tab Content Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content.show {
  animation: fadeInUp 0.5s ease-out;
}

/* Responsive Tab Adjustments */
@media (max-width: 768px) {
  .tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .apartment-tab {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }
  
  .tab-content .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .amenity-tab
  {
    font-size: 14px !important;
  }
}

/* Tab Loading Animation */
.tab-content.loading {
  opacity: 0.5;
  pointer-events: none;
}

.tab-content.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #edbf89;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
  z-index: 10;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.floor-plan
{
  background-color: #f9f2e9;
  background-image: url('/public/assets/images/floor-plan-bg.png');
  background-position: left bottom;
  background-repeat: no-repeat;
}
.bg-006e55
{
  background-color: #006e55;
  background-repeat: no-repeat;
  background-position: bottom right;
}
.box-news-zone
{
  margin-left: -200px;
  
}
.title-news-zone
{
  width: 700px;
  float: right;
}

 /* Container chính của gallery */
        .gallery-container {
            padding-top: 50px;
            padding-bottom: 50px;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        /* Header của gallery */
        .gallery-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 10px;
            margin-bottom: 25px;
        }

        .gallery-title {
         
            font-weight: bold;
            color: #4b6a4f; /* Màu xanh lá cây */
            position: relative;
        }
        
        .gallery-title::before {
            content: '';
            display: block;
            width: 50px;
            height: 50px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23a4c1a7" d="M50,0 C80,10 90,40 90,60 C90,80 70,100 50,100 C30,100 10,80 10,60 C10,40 20,10 50,0 Z" transform="rotate(30 50 50)"/></svg>');
            background-size: contain;
            background-repeat: no-repeat;
            position: absolute;
            top: -25px;
            left: -15px;
            opacity: 0.5;
            z-index: -1;
        }

        .gallery-nav {
            font-size: 0.9rem;
            font-weight: 500;
            letter-spacing: 1px;
        }

        .gallery-nav span {
            margin-left: 15px;
            cursor: pointer;
        }
        
        .gallery-nav span.active {
            font-weight: bold;
        }

        /* CSS cho Slider */
       .gallery-container .swiper {
            width: 100%;
            height: auto;
        }

        .gallery-container .swiper-slide {
            height: 500px; /* Chiều cao cố định cho slide */
            background: #eee;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 22px;
            font-weight: bold;
            color: #fff;
            overflow: hidden; /* Ẩn phần ảnh thừa */
        }

        .gallery-container .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover; /* Giữ tỷ lệ và cắt ảnh vừa với khung */
            transition: transform 0.3s ease;
        }
        
        .gallery-container .swiper-slide a:hover img {
            transform: scale(1.05); /* Hiệu ứng zoom nhẹ khi hover */
        }

        /* CSS cho các nút điều hướng */
        .gallery-container .slider-controls {
            position: relative;
            margin-top: 20px;
            margin-left: 10px;
            width: 100px;
            height: 40px;
            display: flex;
        }
        
        .gallery-container .swiper-button-prev,
       .gallery-container  .swiper-button-next {
            position: static; /* Ghi đè vị trí mặc định */
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            margin: 0 20px;
            color: #4b6a4f; /* Màu mũi tên */
        }
        
       .gallery-container .swiper-button-prev::after,
        .gallery-container .swiper-button-next::after {
            font-size: 20px;
            font-weight: bold;
        }
       .gallery-container .swiper-button-prev::before
        {
            content: '';
            width: 30px;
            height: 2px;
            background-color: #4b6a4f;
            position: absolute;
            bottom: 10px;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
        }
       .gallery-container .swiper-button-next::before
        {
            content: '';
            width: 30px;
            height: 2px;
            background-color: #4b6a4f;
            position: absolute;
            bottom: 10px;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
        }
        /* Responsive */
        @media (max-width: 768px) {
           .gallery-container .swiper-slide {
                height: 300px;
            }
           .gallery-container .gallery-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }


        .zoneMainSwiper {
    width: 100%;
    height: 400px; /* Điều chỉnh chiều cao phù hợp */
    margin-bottom: 1rem;
}

.zoneMainSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.zoneThumbsSwiper {
    width: 100%;
    height: 100px; /* Điều chỉnh chiều cao phù hợp */
}

.zoneThumbsSwiper .swiper-slide {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.zoneThumbsSwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.zoneThumbsSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}
.content-detail img
{
  max-width: 100%;
  margin: 0 auto;

}
.info-form
{
  background-color: rgb(20 83 45 / 0.8);
}
.logo-form
{
   padding-bottom: 20px;
   margin-bottom: 20px;
}
.info-register-item .content-info-feedback
{
  color: #edbf89 !important;
  font-weight:600 !important;
}
.ul-list-4 {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.ul-list-4 li {
  counter-increment: item;
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Vòng tròn chứa số */
.ul-list-4 li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #edbf89;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  z-index: 2;
}

/* Hiệu ứng tỏa tia */
.ul-list-4 li::after {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  background: #edbf89;
  border-radius: 9999px;

  /* ánh sáng mờ */
  opacity: 0.45;

  /* scale từ nhỏ → lớn + mờ dần */
  animation: radiate 2.4s infinite ease-out;

  /* nằm phía sau vòng tròn số */
  z-index: 1;
}

/* Keyframes cho hiệu ứng tỏa tia */
@keyframes radiate {
  0% {
    transform: translateY(-50%) scale(0.85);
    opacity: 0.5;
  }
  70% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0;
  }
  100% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 1599px) {
.logo-zone img
    {
        height: 80px;
    }
    .content-slide-zone .text-6xl
    {
      font-size: 36px;

    }
    .box-news-zone
    {
      margin-left: -140px;
    }
    .swiper-news-zone
    {
      height: 400px !important;
    }
  }

  @media (max-width: 768px) {
  .language-menu {
    right: -20px;
    width: 180px;
  }
  
  /* Mobile FancyBox adjustments */
  .fancybox-slide--iframe .fancybox-content {
    width: 95% !important;
    height: 70% !important;
    margin: auto !important;
  }
  .swiper-news-zone
  {
    height: auto !important;
  }
  .box-news-zone
  {
    margin-left: 0px;
    height: auto !important;
  }
  .apartment-tab
  {
    margin: 0 !important;
    padding: 0.3rem 0.8rem !important;
  }
  .bg-register.py-16{
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .w-full.bg-green-800 .mb-8{
      margin-bottom: 0px !important;

    }
    .w-full.bg-green-800 h2
    {
      margin-bottom: 0 !important;
    }
    .w-full.bg-green-800 .py-12
      {
        padding-bottom: 10px !important;
        padding-top: 30px !important;

      }
}

.title-home
{
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}
@media (max-width: 768px) {
  .title-home
  {
    font-size: 22px !important;
  }
}

