/* ========================================
   PENAKE LAKEVILLE - Landing Page Styles
   ======================================== */

/* ---------- Embedded Fonts ---------- */
@font-face {
  font-family: 'Podrich';
  src: url('../font/Podrich/Podrich.woff') format('woff'),
       url('../font/Podrich/Podrich.ttf') format('truetype'),
       url('../font/Podrich/Podrich.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #003c4b;
  --color-primary-dark: #082c2c;
  --color-primary-light: #0e4e4e;
  --color-gold: #c5a96a;
  --color-gold-light: #b8a781;
  --color-gold-dark: #aa9165;
  --color-white: #ffffff;
  --color-off-white: #f8f6f3;
  --color-light-gray: #f0ede8;
  --color-gray: #6c757d;
  --color-dark: #222222;
  --color-text: #444444;
  --color-text-light: #777777;
  --font-family: "Noto Sans Thai", sans-serif;
  --font-family-secondary: 'Podrich', serif;
  --transition: all 0.3s ease;
}

/* ---------- Font Family ---------- */
.font-secondary {
  font-family: 'Podrich', serif !important;
}

/* ---------- Global Styles ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--color-primary);
}

html {
  margin-left: 0; 
  margin-right: 0;
  height: 100%; 
  overflow-y: scroll;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--color-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 70px 0;
}

.container {
  padding-left: calc(var(--bs-gutter-x) * 1);
  padding-right: calc(var(--bs-gutter-x) * 1);
}

.section-title {
  /* font-size: 2rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 1rem; */

  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.section-subtitle {
  /* font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem; */

  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-text);\
  margin-bottom: 2.5rem;
}

.gold-divider {
  width: 60px;
  height: 2px;
  background-color: var(--color-gold);
  margin: 0 auto 2rem;
}

.gold-divider-img {
  content: url("../img/graphic-line01.png");
  max-height: 35px;
  margin: auto;
  display: block;
}

.gold-pattern-img {
  content: url("../img/graphic-pattern01.png");
  width: 350px;
  position: absolute;
  right: -50px;
  top: 0;
}

.concept-section .gold-pattern-img {
  filter: brightness(70%);
  opacity: 0.9;
}

.info-section .gold-pattern-img {
  z-index: 20;
  opacity: 0.8;
  top: -100px
}

/* ---------- Custom Buttons ---------- */
.btn-penake {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  padding: 10px 32px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
}

.btn-penake:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(12, 60, 60, 0.3);
}

.btn-penake-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  padding: 10px 32px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  display: inline-block;
}

.btn-penake-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(12, 60, 60, 0.3);
}

.btn-penake-gold {
  background-color: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 50px;
  padding: 10px 32px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}

.btn-penake-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(197, 169, 106, 0.4);
}

.btn-lineapp {
  background-color: #00c300;
  color: var(--color-white);
  border: 2px solid #00c300;
  border-radius: 50px;
  padding: 10px 32px;
  font-family: var(--font-family);
}

.btn-lineapp:hover {
  background-color: #008000;
  border-color: #008000;
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 128, 0, 0.4);
}

/* ---------- Penake Icon ---------- */
.penake-info-icon {
  width: 2rem;
  margin-right: 0.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.penake-info-icon.icon-units {
  content: url("../img/icon-info-total\ units.png");
}
.penake-info-icon.icon-project-area {
  content: url("../img/icon-info-project\ area.png");
}
.penake-info-icon.icon-area {
  content: url("../img/icon-info-useable\ area.png");
}
.penake-info-icon.icon-bedroom {
  content: url("../img/icon-info-bedroom.png");
}
.penake-info-icon.icon-bathroom {
  content: url("../img/icon-info-bathroom.png");
}
.penake-info-icon.icon-kitchen {
  content: url("../img/icon-info-kitchen.png");
}
.penake-info-icon.icon-parking {
  content: url("../img/icon-info-parking.png");
}
.penake-info-icon.icon-price {
  content: url("../img/icon-info-starting\ price.png");
}

.penake-plan-icon {
  width: 2rem;
  margin-right: 0.5rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.penake-plan-icon.icon-bedroom {
  content: url("../img/icon-plan-bedroom.png");
}
.penake-plan-icon.icon-bathroom {
  content: url("../img/icon-plan-bathroom.png");
}
.penake-plan-icon.icon-livingroom {
  content: url("../img/icon-plan-livingroom.png");
}
.penake-plan-icon.icon-kitchen {
  content: url("../img/icon-plan-kitchen.png");
}
.penake-plan-icon.icon-diningroom {
  content: url("../img/icon-plan-diningroom.png");
}
.penake-plan-icon.icon-maidroom {
  content: url("../img/icon-plan-maidroom.png");
}
.penake-plan-icon.icon-parking {
  content: url("../img/icon-plan-parking.png");
}

/* ---------- Site Header ---------- */
.site-header {
  z-index: 1050;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  background-color: transparent;
}

.site-header.scrolled {
  background-color: var(--color-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.92;
}

/* -- Header Top Row (Logo + Lang) -- */
.header-top {
  padding: 16px 0 16px;
  transition: padding 0.3s ease;
  position: relative;
  z-index: 10;
}

.site-header.scrolled .header-top {
  padding: 12px 0 12px;
}

.header-logo img {
  height: 55px;
  transition: height 0.3s ease;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
}

.site-header.scrolled .header-logo img {
  height: 42px;
}

.site-header.scrolled .header-nav .navbar-nav .nav-link {
  font-size: 0.9rem;
  padding: 12px 20px !important;
}

/* -- Language Dropdown -- */
.lang-dropdown {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

.lang-btn {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  /* border: 1px solid rgba(255,255,255,0.35); */
  border-radius: 50px;
  background: transparent;
  transition: var(--transition);
  font-family: var(--font-family);
}

.lang-btn:hover,
.lang-btn:focus,
.lang-btn.show {
  color: var(--color-gold);
  border-color: var(--color-gold);
  background: transparent;
  box-shadow: none;
}

.lang-btn::after {
  border: none;
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  vertical-align: middle;
}

.lang-dropdown .dropdown-menu {
  min-width: 80px;
  background-color: var(--color-primary);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 4px 0;
  margin-top: 8px;
}

.lang-dropdown .dropdown-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  padding: 6px 16px;
  font-family: var(--font-family);
  transition: var(--transition);
}

.lang-dropdown .dropdown-item:hover,
.lang-dropdown .dropdown-item.active {
  background-color: rgba(255,255,255,0.08);
  color: var(--color-gold);
}

/* -- Header Nav Row -- */
.header-nav {
  padding: 0;
  border-top: 1px solid var(--color-gold);
  margin: 0 40px;
}

.header-nav .navbar-nav .nav-link {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  font-weight: 400;
  padding: 20px !important;
  position: relative;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.header-nav .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background-color: var(--color-gold);
  transition: var(--transition);
}

.header-nav .navbar-nav .nav-link:hover::after,
.header-nav .navbar-nav .nav-link.active::after {
  width: 50px;
}

.header-nav .navbar-nav .nav-link:hover,
.header-nav .navbar-nav .nav-link.active {
  color: var(--color-white);
}

.header-nav .btn-penake {
  font-size: 0.85rem;
  padding: 4px 24px;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.header-nav .btn-penake:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
}

/* -- Navbar Toggler (Mobile) -- */
.mobile-toggler {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  padding: 4px 8px;
  z-index: 10;
}

.mobile-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slider-prev,
.hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.2); */
  background: rgba(166, 166, 166, 0.45);
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
  background: rgba(255, 255, 255, 0.35);
  color: var(--color-white);
}

.hero-slider-prev {
  left: 2rem;
}

.hero-slider-next {
  right: 2rem;
}

.hero-slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.hero-dot.active {
  background: var(--color-white);
}

.hero-overlay {
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    to bottom,
    rgba(7, 30, 30, 0.65) 0%,
    rgba(7, 30, 30, 0.25) 25%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.3) 100%
  ); */
  background: linear-gradient( to bottom, rgba(24, 37, 37, 0.65) 0%, rgba(7, 30, 30, 0.25) 25%, rgba(0, 0, 0, 0.05) 50%, rgba(0, 0, 0, 0.3) 100% );
  /* background: linear-gradient( 
    to bottom, 
    rgba(7, 30, 30, 0.265) 0%, 
    rgba(7, 30, 30, 0.25) 25%, 
    rgba(0, 0, 0, 0.05) 50%, 
    rgba(0, 0, 0, 0.3) 100% 
  ); */
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding-top: 120px;
}

.hero-content .hero-logo {
  width: 280px;
  max-width: 60%;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.hero-content h1 {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 2px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceDown 2s infinite;
}

.hero-scroll-indicator a {
  color: var(--color-white);
  font-size: 1.5rem;
  opacity: 0.7;
  transition: var(--transition);
}

.hero-scroll-indicator a:hover {
  opacity: 1;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(10px); }
  60% { transform: translateX(-50%) translateY(5px); }
}

/* ---------- Concept Section ---------- */
.concept-section {
  background-color: var(--color-gold-light);
  overflow: hidden;
}

.concept-section .row {
  min-height: 600px;
}

.concept-project-name {
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.concept-label {
  font-size: 1.3rem;
  font-weight: 500;
  /* color: var(--color-primary); */
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.concept-heading {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--color-text);
  /* letter-spacing: 2px; */
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.concept-text p {
  font-size: 1.15rem;
  line-height: 1.6;
  /* color: var(--color-primary); */
  margin-bottom: 0.8rem;
}

.concept-text p strong {
  font-weight: 600;
}

.concept-footer .concept-footer-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-primary);
}

.concept-section .concept-image {
  /* height: 100%; */
  /* overflow: hidden; */
  /* padding: 50px; */
  position: relative;
  margin: 0 12px;
}

.concept-section .concept-image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-dark);
  z-index: -1;
}

.concept-section .concept-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.concept-section .concept-image:hover img {
  transform: scale(1.03);
}

/* ---------- Project Info Section ---------- */
.info-section {
  background-color: var(--color-white);
  position: relative;
}

.info-section .info-image {
  position: relative;
  /* overflow: hidden; */
  /* border-radius: 4px; */
  height: 780px;
}

.info-section .info-image img {
  object-fit: cover;
  width: 100%;
  height: -webkit-fill-available;
}

.info-details {
  /* padding: 2rem 0; */
  z-index: 10;
  position: absolute;
  background-color: #c5aa6ace;
  display: block;
  width: fit-content;
  right: 0;
  top: 60px;
  padding: 60px;
}

.info-details h2 {
  font-size: 2rem;
  letter-spacing: 6px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* .info-details .gold-line {
  width: 50px;
  height: 2px;
  background-color: var(--color-gold);
  margin-bottom: 1.5rem;
} */

.info-item {
  display: flex;
  align-items: center;
  padding: 7px 0;
  /* border-bottom: 1px solid rgba(12, 60, 60, 0.08); */
  font-size: 1.1rem;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item .info-label {
  min-width: 120px;
  font-weight: 500;
}

.info-item .info-value {
  /* font-size: 0.95rem; */
  /* color: var(--color-primary); */
  font-weight: 600;
}

/* ---------- House Models Section ---------- */
.models-section {
  background-color: var(--color-white);
}

.model-tabs {
  margin-bottom: 3rem;
}

.model-tabs .nav-tabs {
  border-bottom: 2px solid var(--color-light-gray);
  justify-content: center;
  overflow: hidden;
  padding-bottom: 2px;
  gap: 0;
}

.model-tabs .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-text-light);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 12px 30px;
  /* letter-spacing: 1px; */
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: var(--font-family);
  background: none;
}

.model-tabs .nav-tabs .nav-link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-gold-light);
}

.model-tabs .nav-tabs .nav-link.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-gold);
  background: none;
  font-weight: 600;
}

/* ---------- Model tab prev/next arrows ---------- */
.model-tab-content-wrapper {
  position: relative;
}

.model-tab-nav {
  position: absolute;
  top: 150px;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0.6;
}

.model-tab-nav:hover {
  /* background: var(--color-gold);
  /* color: var(--color-white); */ */
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); */
}

.model-tab-nav i {
  font-size: 1.5rem;
  font-weight: bold;
}

.model-tab-prev {
  left: -24px;
}

.model-tab-next {
  right: -24px;
}

@media (max-width: 991.98px) {
  .model-tab-nav {
    width: 40px;
    height: 40px;
    top: 80px;
  }
  .model-tab-nav i {
    font-size: 1.25rem;
  }
  .model-tab-prev {
    left: 0;
  }
  .model-tab-next {
    right: 0;
  }
}

/* ---------- Model card ---------- */
.model-card .model-house-image {
  text-align: center;
  margin-bottom: 2rem;
}

.model-card .model-house-image img {
  max-height: 400px;
  object-fit: contain;
}

.model-specs {
  /* background-color: var(--color-off-white); */
  border-radius: 8px;
  padding: 0 2rem;
  /* margin-bottom: 2rem; */
}

.model-specs h4 {
  font-size: 1.8rem;
  color: var(--color-primary);
  /* letter-spacing: 2px; */
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.spec-title {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.spec-icon {
  /* width: 40px; */
  /* height: 40px; */
  /* background-color: var(--color-primary); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-right: 12px;
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: .5;
}

.spec-text .spec-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  display: block;
  line-height: 1.3;
}

.spec-text .spec-value {
  font-size: 1.1rem;
  color: var(--color-primary);
  /* font-weight: 600; */
  display: block;
  line-height: 1.3;
}

.model-plans {
  margin-top: 2rem;
}

.model-plans h5 {
  font-size: 0.95rem;
  color: var(--color-primary);
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.plan-tabs .nav-pills {
  gap: 8px;
  margin-bottom: 1.5rem;
}

.plan-tabs .nav-pills .nav-link {
  border-radius: 50px;
  padding: 6px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background: none;
  transition: var(--transition);
  font-family: var(--font-family);
}

.plan-tabs .nav-pills .nav-link.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.plan-image {
  text-align: center;
  /* background-color: var(--color-white);
  /* border-radius: 8px; */
  /* padding: 1rem; */
  /* box-shadow: 0 2px 15px rgba(0,0,0,0.06); */
}

.plan-image img {
  max-height: 500px;
  object-fit: contain;
}

.plan-number {
  text-align: right;
  padding-right: 1.2rem;
  font-size: 1.4rem;
  color: var(--color-primary);
  font-weight: 600;
  /* margin-top: .8rem; */
  margin-bottom: 2.5rem;
}

/* ---------- Facilities Section ---------- */
.facilities-section {
  background-color: var(--color-gold-light);
}

.facility-card {
  position: relative;
  overflow: hidden;
  height: 530px;
  cursor: pointer;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.facility-card:hover img {
  transform: scale(1.08);
}

.facility-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  color: var(--color-white);
}

.facility-overlay h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
  /* letter-spacing: 2px; */
  margin-bottom: 0.3rem;
}

.facility-overlay p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

.facilities-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 2.5rem 0 0;
  border-radius: 0;
}

.facilities-list li {
  color: var(--color-white);
  letter-spacing: 0.5px;
  padding: 4px 20px;
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
}

.facilities-list li + li::before {
  content: '|';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

/* ---------- Gallery Section ---------- */
.gallery-section {
  background-image: linear-gradient(rgba(152, 133, 93, 0.9), rgba(139, 131, 106, 0.8)), url('../img/gallery-section-bg.jpg');
  background-color: var(--color-gold-light);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  /* border-radius: 8px; */
  margin-bottom: 1.5rem;
  background-color: #f5f3ef86;
}

.gallery-main img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  /* background-color: rgba(255, 255, 255, 0.9); */
  background-color: rgba(126, 126, 126, 0.761);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: var(--color-primary); */
  color: var(--color-white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:hover {
  /* background-color: var(--color-primary); */
  background-color: #252525e2;
  color: var(--color-white);
}

.gallery-nav-btn.prev {
  left: 16px;
}

.gallery-nav-btn.next {
  right: 16px;
}

.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold) transparent;
}

.gallery-thumbnails::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 2px;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 80px;
  /* border-radius: 4px; */
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  border: 3px solid transparent;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--color-gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Map Section ---------- */
.map-section {
  background-color: var(--color-white);
  position: relative;
  padding-bottom: 0;
}

.map-section .location-info {
  font-size: 1.15rem;
  color: var(--color-primary);
}

.map-section .map-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-container {
  position: relative;
  margin: 0 12px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.map-container:hover img {
  transform: scale(1.03);
}

.map-container .map-image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold-dark);
  z-index: -1;
  opacity: 0.4;
}

.map-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  /* justify-content: center; */
  flex-wrap: wrap;
}

.nearby-places {
  background-color: var(--color-gold-light);
  padding: 3rem 0;
  color: var(--color-primary);
}

.nearby-place-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  /* text-align: center; */
  padding: 1rem;
  padding-left: 2rem;
}

.nearby-place-title img {
  height: 6.5rem;
  object-fit: contain;
}

/* .nearby-place-title-icon {
  font-size: 2.2rem;
} */

.nearby-place-list {
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 1.6;
}

.nearby-place-title h3 {
  color: var(--color-primary);
}

/* ---------- Contact / Registration Section ---------- */
.contact-section {
  background-color: var(--color-white);
  /* color: var(--color-white); */
  padding: 60px 0;
}

.contact-section h2 {
  /* color: var(--color-gold); */
  font-size: 2rem;
  /* letter-spacing: 2px; */
  margin-bottom: 1rem;
}

.contact-section p {
  /* color: rgba(255, 255, 255, 0.8); */
  font-size: 0.95rem;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-bottom: 1px solid rgba(69, 69, 69, 0.831);
  border-radius: 0;
  padding: 5px 10px;
  font-family: var(--font-family);
  font-size: 1.2rem;
}

.contact-form .form-control::placeholder {
  /* color: rgba(255, 255, 255, 0.5); */
}

.contact-form .form-control:focus {
  /* background-color: rgba(255, 255, 255, 0.15); */
  border-color: var(--color-gold);
  /* box-shadow: 0 0 0 0.2rem rgba(197, 169, 106, 0.2); */
  /* color: var(--color-white); */
  box-shadow: none;
}

.contact-form select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}

.contact-form .form-select {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-bottom: 1px solid rgba(69, 69, 69, 0.831);
  /* color: var(--color-white); */
  border-radius: 0;
  padding: 5px 10px;
  font-family: var(--font-family);
  font-size: 1.2rem;
}

.contact-form .form-select:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-gold);
  /* box-shadow: 0 0 0 0.2rem rgba(197, 169, 106, 0.2); */
  /* color: var(--color-white); */
  box-shadow: none;
}

.contact-form .form-select option {
  background-color: var(--color-primary);
  /* color: var(--color-white); */
}

/* ---------- Social Login Section ---------- */
.social-login-section {
  margin-bottom: 2rem;
  /* text-align: center; */
}

.social-login-label {
  font-size: 1.1rem !important;
  font-weight: 500;
  /* color: var(--color-text); */
  margin-bottom: 1rem;
}

.social-login-buttons {
  display: flex;
  gap: 1rem;
  /* justify-content: center; */
  flex-wrap: wrap;
}

.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: var(--font-family);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: 240px;
  justify-content: center;
}

.btn-social .social-icon {
  flex-shrink: 0;
}

.btn-social-facebook {
  background-color: #4267B2;
  color: #fff;
  border-color: #4267B2;
}

.btn-social-facebook:hover {
  background-color: #365899;
  border-color: #365899;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(66, 103, 178, 0.4);
}

.btn-social-google {
  background-color: #fff;
  color: #444;
  border-color: #ddd;
}

.btn-social-google:hover {
  background-color: #f8f8f8;
  border-color: #bbb;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-login-divider {
  display: flex;
  align-items: center;
  margin: 2.8rem 0;
  gap: 1rem;
}

.social-login-divider::before,
.social-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #ccc;
}

.social-login-divider span {
  font-size: 1rem;
  color: #999;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .btn-social {
    min-width: 100%;
  }
  .gold-pattern-img {
    width: 250px;
  }
  .concept-section .gold-pattern-img {
  }
  .info-section .gold-pattern-img {
    top: 0;
  }
  .hero-slider-prev {
    left: 0.8rem;
  }
  .hero-slider-next {
    right: 0.8rem;
  }
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-logo {
  width: 180px;
}

.footer-info p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 0.3rem;
}

.footer-info a {
  color: var(--color-gold);
}

.footer-info a:hover {
  color: var(--color-gold-light);
}

.footer-social {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a img {
  width: 24px;
  height: auto;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-social a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1.5rem;
}

.footer-privacy-policy {
  display: flex;
  justify-content: flex-end;
}

.footer-privacy-policy a {
  font-size: 0.85rem;
  color: var(--color-gold);
  transition: var(--transition);
}

.footer-privacy-policy a:hover {
  color: var(--color-gold-light);
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--color-gold);
  display: flex;
  justify-content: flex-end;
  /* margin-top: 1.6rem; */
}

/* ---------- Floating Buttons ---------- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.btn-floating {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-floating:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.contact-float-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-float-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.contact-float-wrap.open .contact-float-menu {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.btn-messenger {
  background-color: #0084ff !important;
  color: #fff !important;
  text-decoration: none;
}

.btn-messenger svg {
  display: block;
}

.btn-line {
  background-color: #06c755 !important;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-line-text {
  font-family: inherit;
}

.btn-contact-float {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1.3rem;
}

.btn-contact-float:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-go-top {
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.btn-go-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-go-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Animations ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .site-header.scrolled .header-nav .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 12px 20px !important;
  }

  .info-section .container {
    max-width: 100%;
    padding: 0;
  }
  
  .footer .col-lg-6 {
    text-align: center;
  }

  .footer .col-lg-6 div {
    justify-content: center;
  }

  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .hero-content .hero-logo {
    width: 220px;
  }

  .hero-content h1 {
    font-size: 1rem;
    letter-spacing: 5px;
  }

  .header-nav {
    border-top: none;
    margin: 0;
  }

  .navbar-collapse {
    background-color: var(--color-primary);
    padding: 1rem 1.5rem;
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.3); */
  }

  .header-nav .navbar-nav .nav-link {
    padding: 12px 16px !important;
    font-size: 1.05rem;
  }

  .header-nav .navbar-nav .nav-link::after {
    display: none;
  }

  .header-nav .btn-penake {
    text-align: center;
    display: block;
    border: 1px solid var(--color-gold);
    margin: 15px;
    padding: .6rem;
    color: var(--color-gold);
  }

  .model-tabs .nav-tabs .nav-link {
    font-size: 1.1rem;
    padding: 10px 16px;
  }

  .facility-card {
    height: 400px;
    margin-bottom: 1rem;
  }

  .gallery-main img {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 50px 0;
  }

  .hero-section {
    /* min-height: 500px;
    height: 80vh; */
    min-height: 320px;
    height: 50vh;
  }

  .hero-content .hero-logo {
    width: 180px;
  }

  .concept-section .row {
    min-height: auto;
  }

  .concept-heading {
    font-size: 1.6rem !important;
  }

  .info-details {
    margin-top: 2rem;
  }

  .contact-form .row * {
    margin-top: 1.1rem !important;
  }

  .model-tabs .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .model-tabs .nav-tabs .nav-link {
    white-space: nowrap;
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  .facility-card {
    height: 280px;
  }

  .gallery-main img {
    height: 250px;
  }

  .gallery-thumb {
    width: 90px;
    height: 60px;
  }

  .map-buttons {
    flex-direction: column;
    align-items: center;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }

  .btn-floating {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }

  .section-title {
    font-size: .9rem;
    letter-spacing: 2px;
  }

  .section-subtitle {
    font-size: 1.8rem;
  }

  .model-card .model-house-image img {
    max-height: 250px;
  }

  .plan-image img {
    max-height: 300px;
  }
}
