/* Base Styles */
:root {
  --primary-color: #13353e;
  --secondary-color: #d0af52;
  --light-color: #fafbfb;
  --dark-gray: #99a0a1;
  --accent-color: #cddadd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --padding-section: 80px 0;
}

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

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: var(--light-color);
}

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

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 20px;
}

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

a:hover {
  color: var(--secondary-color);
}

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

.btn {
  display: inline-block;
  padding: 12px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: var(--secondary-color);
  color: #fff;
}

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

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 15px;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header.scroll-up {
  transform: translateY(0);
  background: var(--primary-color);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  height: 50px;
}

.logo img {
  height: 100%;
  transition: all 0.3s ease;
}

/* Convert logo to white when header has background */
.header.scroll-up .logo img {
  filter: brightness(0) invert(1);
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 30px;
}

.main-nav ul li a {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--secondary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(19, 53, 62, 0.4), rgba(19, 53, 62, 0.4)), url('images/banner-sider.jpg') no-repeat center center;
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-color);
  padding-top: 80px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  margin-top: 30px;
}

/* Introduction Section */
.introduction {
  padding: 60px 0;
  background-color: #fff;
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--primary-color);
}

/* Promotion Section */
.promotion {
  padding: var(--padding-section);
  background: linear-gradient(rgba(19, 53, 62, 0.95), rgba(19, 53, 62, 0.95)), url('images/banner-sider.jpg') no-repeat center center;
  background-size: cover;
  color: #fff;
}

.promotion .section-title {
  color: #fff;
}

.promotion-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.promotion-list ul {
  list-style: none;
  padding: 0;
}

.promotion-list ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
}

.promotion-list ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.promotion-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.promotion-form h3 {
  color: #fff;
  text-align: center;
  margin-bottom: 25px;
}

.promotion .form-group {
  margin-bottom: 15px;
}

.promotion .form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 16px;
}

.promotion .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.promotion .form-group input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.2);
}

.promotion .primary-btn {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .promotion-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .promotion-list ul li {
    font-size: 16px;
  }
}

/* Overview Section */
.overview {
  background: var(--light-bg);
  padding: 80px 0;
  position: relative;
}

.overview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.overview-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.overview-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slideshow-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
}

.slideshow-main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.slideshow-main img.active {
  opacity: 1;
  display: block;
}

.slideshow-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.slideshow-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.slideshow-thumbnails::-webkit-scrollbar-track {
  background: var(--accent-color);
  border-radius: 3px;
}

.slideshow-thumbnails::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 3px;
}

.thumbnail-item {
  position: relative;
  cursor: pointer;
}

.thumbnail-item::before {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  margin-bottom: 5px;
}

.thumbnail-item::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  margin-bottom: -6px;
}

.thumbnail-item:hover::before,
.thumbnail-item:hover::after {
  visibility: visible;
  opacity: 1;
}

.thumbnail-item img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  transition: all 0.3s ease;
  opacity: 0.6;
  border: 2px solid transparent;
}

.thumbnail-item:hover img {
  opacity: 1;
  border-color: var(--secondary-color);
}

.thumbnail-item.active img {
  opacity: 1;
  border-color: var(--secondary-color);
}

/* Image Popup */
.image-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.popup-nav i {
  font-size: 40px;
  color: var(--secondary-color);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.popup-nav:hover {
  opacity: 1;
}

.popup-nav:hover i {
  transform: scale(1.1);
  color: #fff;
}

.prev-btn {
  left: -60px;
}

.next-btn {
  right: -60px;
}

.popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: 20px;
}

.popup-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 5px;
}

.popup-caption {
  color: #fff;
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
}

.close-popup {
  position: absolute;
  top: -30px;
  right: -30px;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-popup:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .thumbnail-item img {
    width: 80px;
    height: 60px;
  }
  
  .popup-content {
    max-width: 95%;
  }
  
  .close-popup {
    top: -40px;
    right: 0;
  }
}

@media screen and (max-width: 576px) {
  .slideshow-thumbnails {
    gap: 8px;
  }
  
  .thumbnail-item img {
    width: 60px;
    height: 45px;
  }
}

.overview-details {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  max-height: 600px;
  overflow-y: auto;
}

.overview-details::-webkit-scrollbar {
  width: 6px;
}

.overview-details::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.overview-details::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 3px;
}

.overview-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overview-details ul li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--accent-color);
  color: var(--primary-color);
  font-size: 15px;
  line-height: 1.5;
  align-items: start;
}

.overview-details ul li:last-child {
  border-bottom: none;
}

.overview-details ul li strong {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

@media screen and (max-width: 992px) {
  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .overview-details {
    max-height: none;
    overflow-y: visible;
    padding: 15px 0;
  }
}

@media screen and (max-width: 768px) {
  .overview-details {
    padding: 10px 0;
  }
  
  .overview-details ul {
    padding: 0;
    margin: 0;
  }
  
  .overview-details ul li {
    grid-template-columns: 1fr;
    gap: 5px;
    font-size: 14px;
    padding: 8px 0;
  }
  
  .overview-details ul li strong {
    font-size: 13px;
    margin-bottom: 3px;
    display: block;
  }
}

/* Location Section */
.location {
  padding: var(--padding-section);
  background-color: var(--accent-color);
}

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

.location-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 0;
  height: auto;
  padding-bottom: 80px;
}

.location-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.location-image:hover img {
  transform: scale(1.02);
}

.location-highlights {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(19, 53, 62, 0.9);
  padding: 15px;
  z-index: 1;
  height: 80px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 10px;
}

.highlight-item i {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 8px;
}

.highlight-item span {
  font-size: 14px;
  line-height: 1.3;
}

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

.location-advantage h3,
.location-nearby h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 22px;
  position: relative;
  padding-bottom: 10px;
}

.location-advantage h3::after,
.location-nearby h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.location-advantage ul,
.location-nearby ul {
  list-style: none;
  padding: 0;
}

.location-advantage ul li,
.location-nearby ul li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: var(--primary-color);
  font-size: 16px;
}

.location-advantage ul li i,
.location-nearby ul li i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 14px;
}

@media screen and (max-width: 1200px) {
  .location-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    height: auto;
    min-height: 80px;
  }
}

@media screen and (max-width: 992px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .location-image {
    padding-bottom: 0;
  }
  
  .location-highlights {
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
  }
  
  .location-text {
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .location-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .location-image {
    margin-bottom: 20px;
  }
  
  .location-text {
    gap: 15px;
  }
  
  .location-advantage ul,
  .location-nearby ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .location-advantage ul li,
  .location-nearby ul li {
    font-size: 14px;
    margin-bottom: 0;
    padding: 8px 0;
  }
  
  .location-advantage ul li i,
  .location-nearby ul li i {
    font-size: 12px;
    margin-right: 5px;
  }
  
  .location-advantage h3,
  .location-nearby h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 480px) {
  .location-advantage ul,
  .location-nearby ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .location-advantage ul li,
  .location-nearby ul li {
    font-size: 13px;
    padding: 6px 0;
  }
}

/* Amenities Section */
.amenities {
  padding: var(--padding-section);
  background-color: #fff;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.amenities-list ul {
  list-style: none;
  padding: 0;
}

.amenities-list ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--primary-color);
}

.amenities-list ul li .number {
  min-width: 35px;
  font-weight: 500;
  color: var(--primary-color);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

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

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

.gallery-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  margin: 0;
  text-align: center;
}

/* Floorplans Section */
.floorplans {
  padding: var(--padding-section);
  background-color: var(--accent-color);
}

.section-description {
  text-align: left;
  max-width: 1000px;
  margin: 0 auto 40px;
  color: var(--primary-color);
  font-size: 16px;
  line-height: 1.6;
}

.floorplan-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  margin-top: 40px;
}

.floorplan-menu {
  background: var(--primary-color);
  border-radius: 5px;
  overflow: hidden;
}

.floorplan-menu-title {
  padding: 15px 20px;
  background: var(--secondary-color);
  color: #fff;
  font-weight: 500;
  font-size: 18px;
}

.floorplan-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floorplan-menu ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floorplan-menu ul li:last-child {
  border-bottom: none;
}

.floorplan-menu ul li button {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floorplan-menu ul li button::after {
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: transform 0.3s ease;
}

.floorplan-menu ul li button.active::after {
  transform: rotate(180deg);
}

.floorplan-menu ul li button:hover,
.floorplan-menu ul li button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
}

.floorplan-content {
  display: none;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: var(--shadow);
}

.floorplan-content.active {
  display: block;
}

.floorplan-image {
  width: 100%;
}

.floorplan-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  cursor: zoom-in;
}

@media screen and (max-width: 992px) {
  .floorplan-container {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .floorplan-menu {
    margin-bottom: 0;
    border-radius: 5px 5px 0 0;
  }

  .floorplan-menu ul li button {
    padding: 12px 15px;
  }

  .floorplan-content {
    display: none;
    border-radius: 0 0 5px 5px;
    margin-top: -1px;
  }

  .floorplan-content.active {
    display: block;
  }

  .floorplan-image {
    padding: 15px;
  }
}

@media screen and (max-width: 576px) {
  .floorplan-menu-title {
    font-size: 16px;
    padding: 12px 15px;
  }
  
  .floorplan-menu ul li button {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* Pricing Section */
.pricing {
  padding: var(--padding-section);
  background-color: #fff;
}

.pricing .section-title {
  color: var(--primary-color);
  font-size: 32px;
  margin-bottom: 20px;
}

.pricing-subtitle {
  text-align: center;
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 600;
}

.pricing-info {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.current-price {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.current-price strong {
  color: var(--primary-color);
  font-weight: 600;
}

.price-note {
  font-size: 18px;
  line-height: 1.6;
  color: var(--primary-color);
}

.price-note em {
  font-style: italic;
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .pricing .section-title {
    font-size: 28px;
  }

  .pricing-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .current-price,
  .price-note {
    font-size: 16px;
  }
}

@media screen and (max-width: 576px) {
  .pricing .section-title {
    font-size: 24px;
  }

  .pricing-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .current-price,
  .price-note {
    font-size: 15px;
  }
}

/* Contact Section */
.contact {
  padding: var(--padding-section);
  background-color: var(--accent-color);
}

.contact .section-title {
  margin-bottom: 0;
}

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

.contact-details p {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: 30px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* Hotline Button */
.hotline-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.hotline-button a {
  display: flex;
  align-items: center;
  background-color: var(--secondary-color);
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  animation: pulse 2s infinite;
}

.hotline-button i {
  margin-right: 10px;
  font-size: 20px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(208, 175, 82, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(208, 175, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(208, 175, 82, 0);
  }
}

/* Responsive Design */
@media screen and (max-width: 992px) {
  .overview-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .overview-image {
    margin-bottom: 20px;
  }
  
  .amenities-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .amenities-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .floorplan-content.active {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .header-inner {
    flex-wrap: wrap;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--primary-color);
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .main-nav.active {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  
  .main-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .main-nav ul li {
    margin: 15px 0;
    text-align: center;
    width: 100%;
  }
  
  .main-nav ul li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .main-nav.active ul li {
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
  }
  
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .main-nav.active ul li:nth-child(1) { animation-delay: 0.1s; }
  .main-nav.active ul li:nth-child(2) { animation-delay: 0.2s; }
  .main-nav.active ul li:nth-child(3) { animation-delay: 0.3s; }
  .main-nav.active ul li:nth-child(4) { animation-delay: 0.4s; }
  .main-nav.active ul li:nth-child(5) { animation-delay: 0.5s; }
  .main-nav.active ul li:nth-child(6) { animation-delay: 0.6s; }
  .main-nav.active ul li:nth-child(7) { animation-delay: 0.7s; }
  
  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
    position: relative;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .mobile-menu-toggle span {
    transition: all 0.3s ease;
  }
}

@media screen and (max-width: 576px) {
  .amenities-gallery {
    grid-template-columns: 1fr;
  }
  
  .amenities-list ul li {
    font-size: 15px;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero .subtitle {
    font-size: 20px;
  }
}

@media screen and (max-width: 992px) {
  .popup-nav i {
    font-size: 35px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

@media screen and (max-width: 576px) {
  .popup-nav i {
    font-size: 30px;
  }
}

.zoomable-image {
  cursor: zoom-in;
}

/* Image Popup Enhancements */
.popup-content.location-popup {
  max-width: 95%;
  max-height: 95vh;
}

.popup-content.location-popup img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

/* Apartment Design Section */
.apartment-design {
  padding: 80px 0;
  background: url('images/viber-image-2019-11-04-18-01-30-1030x514.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  color: var(--primary-color);
}

.apartment-design::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
}

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

.apartment-design .section-title {
  color: var(--primary-color);
  margin-bottom: 50px;
  text-align: center;
}

.design-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.design-description {
  padding-right: 30px;
}

.design-description h3 {
  color: var(--primary-color);
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}

.design-description p {
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--primary-color);
}

.design-description ul {
  margin-bottom: 30px;
  padding-left: 0;
  list-style: none;
}

.design-description ul li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  line-height: 1.6;
  color: var(--primary-color);
}

.design-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.design-gallery {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.design-slideshow-main {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.design-slideshow-main img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.design-slideshow-main img.active {
  opacity: 1;
}

.design-slideshow-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 15px;
  background: #fff;
}

.design-thumbnail-item {
  cursor: pointer;
  height: 80px;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
  position: relative;
}

.design-thumbnail-item::before {
  content: attr(data-title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background-color: rgba(19, 53, 62, 0.9);
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  pointer-events: none;
  margin-bottom: 5px;
}

.design-thumbnail-item::after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(19, 53, 62, 0.9);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: -6px;
}

.design-thumbnail-item:hover::before,
.design-thumbnail-item:hover::after {
  visibility: visible;
  opacity: 1;
}

.design-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.design-thumbnail-item img.active {
  opacity: 1;
  border: 2px solid var(--primary-color);
}

@media (max-width: 992px) {
  .design-container {
    grid-template-columns: 1fr;
  }
  
  .design-description {
    padding-right: 0;
    padding-left: 15px;
  }
  
  .design-description ul {
    padding-left: 0;
  }
  
  .design-description ul li {
    padding-left: 22px;
  }
  
  .design-description ul li::before {
    left: 0;
  }
}

@media (max-width: 768px) {
  .design-description {
    padding-left: 10px;
  }
  
  .design-description h3 {
    font-size: 18px;
  }
  
  .design-description ul li {
    padding-left: 20px;
    font-size: 14px;
  }
  
  .design-description ul li::before {
    width: 5px;
    height: 5px;
    top: 7px;
  }
}

@media (max-width: 576px) {
  .design-description {
    padding-left: 8px;
  }
  
  .design-description ul li {
    padding-left: 18px;
  }
  
  .design-description ul li::before {
    width: 4px;
    height: 4px;
    top: 8px;
  }
}

/* Floor Plans Highlight Section */
.floor-plans-highlight {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #fff;
}

.floor-plans-row {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
}

.building-plans {
  flex: 1;
}

.building-plans h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}

.floor-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.plan-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.plan-item:hover {
  transform: scale(1.02);
  border-color: var(--primary-color);
}

.plan-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Info Row Layout */
.info-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

/* Popular Plans Section */
.popular-plans-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.popular-plans-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.popular-plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.plan-type {
  background: rgba(19, 53, 62, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.plan-type:hover {
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  background: rgba(19, 53, 62, 0.8);
}

.plan-type h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
}

.plan-type ul {
  list-style: none;
  padding: 0;
}

.plan-type ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #fff;
  position: relative;
  padding-left: 20px;
}

.plan-type ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
}

/* Register Section */
.register-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.register-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.register-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(19, 53, 62, 0.6);
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.register-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.register-form input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(19, 53, 62, 0.8);
}

.register-form button {
  width: 100%;
  margin-top: 10px;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-form button:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .info-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .popular-plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .popular-plans-grid {
    grid-template-columns: 1fr;
  }
  
  .plan-type {
    padding: 15px;
  }
  
  .plan-type h3 {
    font-size: 16px;
  }
  
  .plan-type ul li {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .floor-plans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Payment Schedule Section */
.payment-schedule {
  padding: 40px 0;
  background-color: #f5f5f5;
  color: var(--primary-color);
  margin-top: 40px;
}

.payment-schedule .section-title {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 28px;
  text-align: center;
  padding-bottom: 10px;
  position: relative;
}

.payment-schedule .section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--secondary-color);
}

.schedule-subtitle {
  text-align: center;
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 500;
}

.schedule-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule-table {
  background: #fff;
  overflow: hidden;
  width: 100%;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row.schedule-header {
  background: #13353E;
  color: #fff;
  font-weight: 600;
}

.schedule-row.schedule-header .schedule-col {
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  border-color: #13353E;
}

.schedule-row:not(.schedule-header):hover {
  background: #f8f9fa;
}

.schedule-col {
  padding: 15px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  border: 1px solid #e0e0e0;
}

@media screen and (max-width: 992px) {
  .schedule-col {
    padding: 12px 15px;
    font-size: 14px;
  }

  .schedule-row.schedule-header .schedule-col {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .schedule-row {
    grid-template-columns: 1fr 1fr;
  }

  .schedule-row.schedule-header {
    display: grid;
  }

  .schedule-col {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #e0e0e0;
  }

  .schedule-col:first-child {
    background: none;
    font-weight: normal;
  }
}

@media screen and (max-width: 576px) {
  .schedule-col {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Real Project Images Section */
.real-project-images {
  padding: var(--padding-section);
  background-color: #fff;
}

.real-project-images .section-title {
  margin-bottom: 15px;
}

.real-project-images .section-subtitle {
  text-align: center;
  color: var(--primary-color);
  font-size: 18px;
  margin-bottom: 40px;
}

.project-images-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 30px;
}

.image-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-item.animate {
  animation: fadeInUp 0.5s ease forwards;
}

/* Add delay for each item */
.image-item:nth-child(1) { animation-delay: 0.1s; }
.image-item:nth-child(2) { animation-delay: 0.2s; }
.image-item:nth-child(3) { animation-delay: 0.3s; }
.image-item:nth-child(4) { animation-delay: 0.4s; }
.image-item:nth-child(5) { animation-delay: 0.5s; }
.image-item:nth-child(6) { animation-delay: 0.6s; }
.image-item:nth-child(7) { animation-delay: 0.7s; }
.image-item:nth-child(8) { animation-delay: 0.8s; }
.image-item:nth-child(9) { animation-delay: 0.9s; }
.image-item:nth-child(10) { animation-delay: 1s; }
.image-item:nth-child(11) { animation-delay: 1.1s; }
.image-item:nth-child(12) { animation-delay: 1.2s; }

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

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

@media screen and (max-width: 1200px) {
  .project-images-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (max-width: 992px) {
  .project-images-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .project-images-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .real-project-images .section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 480px) {
  .project-images-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Project Images Popup */
.project-images-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-images-popup.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.project-images-popup .popup-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: 20px;
}

.project-images-popup .popup-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-images-popup img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.project-images-popup .close-popup {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-images-popup .close-popup:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.project-images-popup .popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 20px;
  transition: all 0.3s ease;
  z-index: 1;
}

.project-images-popup .popup-nav:hover {
  color: var(--secondary-color);
}

.project-images-popup .prev-btn {
  left: -60px;
}

.project-images-popup .next-btn {
  right: -60px;
}

@media screen and (max-width: 992px) {
  .project-images-popup .popup-nav {
    font-size: 20px;
    padding: 15px;
  }

  .project-images-popup .prev-btn {
    left: 10px;
  }

  .project-images-popup .next-btn {
    right: 10px;
  }

  .project-images-popup .close-popup {
    top: -50px;
    right: 0;
  }
}

@media (max-width: 768px) {
  .floor-plans-row {
    flex-direction: column;
    gap: 60px;
  }
  
  .building-plans {
    width: 100%;
  }
} 