@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ==========================================================================
   DESIGN VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary: #c8a96a;
  --primary-hover: #b29355;
  --primary-light: #f4efe6;
  --charcoal: #1e1e1e;
  --charcoal-light: #333333;
  --charcoal-bg: #151515;
  --bg-cream: #f8f3ea;
  --bg-white: #ffffff;
  --text-dark: #1e1e1e;
  --text-muted: #666666;
  --text-light: #f8f3ea;
  --border-color: #e2dcd0;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 15px 35px rgba(200, 169, 106, 0.15);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-blur: blur(12px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);

  /* Typography */
  --font-heading: "Playfair Display", serif;
  --font-body: "Poppins", sans-serif;

  /* Layout */
  --container-width: 1200px;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Base Typography Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  outline: none;
}

/* ==========================================================================
   UTILITY & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.bg-cream-section {
  background-color: var(--bg-cream);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 650px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.section-subtitle {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-muted);
  font-weight: 300;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(200, 169, 106, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  color: var(--charcoal);
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: var(--bg-white);
  border-color: var(--charcoal);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 24px 0;
}

header.scrolled {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 14px 0;
}

header.scrolled .logo-text {
  color: var(--charcoal);
}

header.scrolled .nav-link {
  color: var(--charcoal);
}

header.scrolled .nav-link::after {
  background-color: var(--primary);
}

header.scrolled .burger-bar {
  background-color: var(--charcoal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  fill: var(--primary);
  transition: var(--transition-smooth);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--bg-white);
  transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--bg-white);
  z-index: 999;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  padding: 100px 40px 40px 40px;
  gap: 40px;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-drawer ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 24px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--charcoal);
  display: block;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  padding-left: 8px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--bg-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("assets/images/hero_luxury.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-decorations {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-decorations::before {
  content: "";
  position: absolute;
  border: 1px solid rgba(200, 169, 106, 0.25);
  top: 40px;
  left: 40px;
  bottom: 40px;
  right: 40px;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 680px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.2s forwards 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-tagline::before {
  content: "";
  width: 30px;
  height: 1px;
  background-color: var(--primary);
}

.hero h1 {
  font-size: 4rem;
  color: var(--bg-white);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 span {
  font-family: var(--font-body);
  font-size: 1.5rem;
  display: block;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--primary-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   PROMO BANNER SYSTEM
   ========================================================================== */
.promo-bar {
  background-color: var(--primary);
  color: var(--bg-white);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.promo-bar-content {
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}

.promo-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.promo-bar-bullet {
  color: var(--charcoal);
  font-size: 1.2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(50%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-img-frame {
  position: absolute;
  top: 30px;
  left: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: var(--border-radius-lg);
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  border-right: 1px solid var(--border-color);
  padding: 10px 10px 10px 0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.about-content p {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* ==========================================================================
   OUR PROJECTS SECTION
   ========================================================================= */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover,
.filter-tab.active {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(200, 169, 106, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  transition: var(--transition-smooth);
}

.project-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--charcoal);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.project-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-loc {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.project-details {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-detail-item strong {
  display: block;
  color: var(--charcoal);
  font-size: 0.85rem;
  font-weight: 500;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.6;
}

.project-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-price {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.project-price strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
}

/* ==========================================================================
   PROMO SECTION
   ========================================================================== */
.promo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.promo-visual {
  background-color: var(--charcoal);
  color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-visual::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(200, 169, 106, 0.15);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.promo-badge {
  background-color: var(--primary);
  color: var(--bg-white);
  align-self: flex-start;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.promo-headline {
  font-size: 2.8rem;
  color: var(--bg-white);
  line-height: 1.25;
  margin-bottom: 20px;
}

.promo-validity {
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.promo-details-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.promo-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.promo-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.promo-item-info h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.promo-item-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ==========================================================================
   KPR CALCULATOR SECTION
   ========================================================================= */
.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.calc-panel {
  background-color: var(--bg-cream);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  border: 1px solid var(--border-color);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix,
.input-suffix {
  position: absolute;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.input-prefix {
  left: 16px;
}

.input-suffix {
  right: 16px;
}

.calc-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  font-weight: 500;
  color: var(--charcoal);
  transition: var(--transition-fast);
}

.calc-input.has-prefix {
  padding-left: 45px;
}

.calc-input.has-suffix {
  padding-right: 45px;
}

.calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.1);
}

.calc-slider {
  width: 100%;
  margin-top: 10px;
  accent-color: var(--primary);
}

.calc-results {
  background-color: var(--charcoal);
  color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.calc-result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.calc-result-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.installment-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--bg-white);
  font-weight: 700;
}

.installment-amount span {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.breakdown-label {
  color: rgba(255, 255, 255, 0.6);
}

.breakdown-val {
  font-weight: 500;
}

.breakdown-val.gold {
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   BOOKING SURVEY SECTION
   ========================================================================== */
.booking-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.booking-form .input-group.full-width {
  grid-column: span 2;
}

.booking-form select.calc-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C8A96A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
}

.booking-form textarea.calc-input {
  resize: vertical;
  min-height: 120px;
}

.booking-footer {
  grid-column: span 2;
  text-align: center;
  margin-top: 10px;
}

/* Form success message popup */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: var(--charcoal);
  color: var(--bg-white);
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  opacity: 0;
  transition: var(--transition-smooth);
  border: 1px solid var(--primary);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--primary);
  font-size: 1.2rem;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  aspect-ratio: 1;
  cursor: pointer;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-hover-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 5;
  color: var(--bg-white);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover .gallery-hover-info {
  opacity: 1;
  transform: translateY(0);
}

.gallery-category-label {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.gallery-title-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(10, 10, 10, 0.95);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--bg-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--primary);
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.lightbox-modal.open .lightbox-img {
  transform: scale(1);
}

/* ==========================================================================
   VIDEO GALLERY SECTION
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background-color: var(--bg-white, #ffffff);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color, #eaeaea);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

/* Kunci Aspek Rasio Portrait 9:16 Khas Reels/TikTok */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Menjaga rasio presisi agar tidak melar */
  background-color: #000;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Video terisi rapi tanpa terdistorsi */
  display: block;
}

/* Tombol Play/Pause Utama di Tengah Video */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-wrapper:hover .play-btn {
  background: var(--primary, #007bff);
  border-color: #ffffff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Tombol Mute/Unmute di Kiri Atas */
.sound-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sound-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

/* Badge Instagram Link di Kanan Atas */
.ig-badge-link {
  position: absolute;
  top: 12px;
  right: 12px;
  text-decoration: none;
  z-index: 3;
}

.ig-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: #111;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.ig-badge:hover {
  transform: scale(1.05);
  background: #ffffff;
}

.video-info {
  padding: 20px;
  background: #fff;
  flex-grow: 1;
}

.video-category {
  font-size: 0.75rem;
  color: var(--primary, #007bff);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  color: #222;
}

/* Responsif Mobile & Tablet */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
/* Media Query Responsif Mobile */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   LOCATION SECTION
   ========================================================================= */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: stretch;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}

.location-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.location-card:hover,
.location-card.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-cream);
}

.location-name {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.location-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.6;
}

.map-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  min-height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-header {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-header h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal);
  padding-right: 15px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

/* Horizontal line */
.faq-icon::before {
  top: 9px;
  left: 0;
  width: 100%;
  height: 2px;
}

/* Vertical line */
.faq-icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 100%;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-content-inner {
  padding-bottom: 24px;
  color: var(--text-muted);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-text h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-cta {
  background-color: var(--bg-cream);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.contact-cta h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-cta p {
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--charcoal-bg);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand .logo-text {
  color: var(--bg-white);
}

.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  font-weight: 300;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 12px;
}

.footer-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 300;
}

/* ==========================================================================
   FLOATING ELEMENTS (BACK TO TOP & WHATSAPP)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 990;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.btn-whatsapp-float {
  background-color: #25d366;
  color: var(--bg-white);
}

.btn-whatsapp-float:hover {
  background-color: #20ba59;
  transform: scale(1.1);
}

.btn-whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--charcoal);
  color: var(--bg-white);
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background-color: var(--charcoal);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-whatsapp-float:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
}

.btn-totop-float {
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.btn-totop-float.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-totop-float:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
  transform: scale(1.1);
}

.btn-totop-float svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform: rotate(-90deg);
  transition: var(--transition-fast);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delay Utilities */
.delay-100 {
  transition-delay: 100ms;
}
.delay-200 {
  transition-delay: 200ms;
}
.delay-300 {
  transition-delay: 300ms;
}
.delay-400 {
  transition-delay: 400ms;
}
.delay-500 {
  transition-delay: 500ms;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptop / Desktop medium */
@media (max-width: 1199px) {
  :root {
    --container-width: 960px;
  }
  .hero h1 {
    font-size: 3.2rem;
  }
  .about-grid,
  .calculator-grid,
  .promo-layout,
  .location-grid,
  .contact-grid {
    gap: 40px;
  }
  .projects-grid,
  .features-grid,
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (Portrait & Landscape) */
@media (max-width: 991px) {
  :root {
    --container-width: 720px;
  }
  .section-padding {
    padding: 80px 0;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .nav-actions {
    display: none; /* Hide consultation button on tablets to make room */
  }
  .burger-menu {
    display: flex;
  }
  nav {
    display: none;
  }

  /* Conversions to single columns */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-img-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-img {
    height: 400px;
  }

  .projects-grid,
  .features-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .map-wrapper {
    min-height: 350px;
  }
  .map-wrapper iframe {
    min-height: 350px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

/* Mobile landscape and high width portrait */
@media (max-width: 767px) {
  :root {
    --container-width: 540px;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }

  .projects-grid,
  .features-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-details-list {
    grid-template-columns: 1fr;
  }

  .booking-container {
    padding: 30px;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .booking-form .input-group.full-width,
  .booking-footer {
    grid-column: span 1;
  }

  .calc-results {
    padding: 30px 24px;
  }
  .calc-panel {
    padding: 30px 24px;
  }
  .installment-amount {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* Mini mobile screen size */
@media (max-width: 575px) {
  :root {
    --container-width: 100%;
  }
  .section-padding {
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .about-img {
    height: 300px;
  }
  .about-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 0 0 15px 0;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .booking-container {
    padding: 20px;
  }
  .calc-results {
    padding: 24px 16px;
  }
  .installment-amount {
    font-size: 1.85rem;
  }

  header {
    padding: 16px 0;
  }
  .logo-text {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   KPR CALCULATOR VALIDATION STYLES
   ========================================================================== */
.calc-input.invalid {
  border-color: #e63946 !important;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2) !important;
}

.calc-error-message {
  color: #e63946;
  font-size: 0.8rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
  animation: calcErrorFadeIn 0.25s ease-out;
}

@keyframes calcErrorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Result Animation Class */
.calc-results.calculate-animate {
  animation: calcResultPulse 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes calcResultPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

