/* Siam Home Plus - Modern Minimal Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-primary: #2FBAA6;
  --brand-dark: #259B8A;
  --brand-navy: #0F172A;
  --brand-bg: #FFFFFF;
  --brand-surface: #F8FAFC;
  --brand-border: #E2E8F0;
}

body {
  font-family: 'IBM Plex Sans Thai', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #FFFFFF;
  color: #0F172A;
  scroll-behavior: smooth;
}

/* Glassmorphism Navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

/* Ensure Top Navbar Links & Buttons are strictly single line */
.glass-nav a,
.glass-nav button,
.nav-single-line {
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}

/* Minimal Card & Shadows */
.minimal-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1.25rem;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.minimal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(47, 186, 166, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  border-color: rgba(47, 186, 166, 0.4);
}

/* Smooth Tab Styles */
.tab-btn.active {
  background-color: #2FBAA6;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(47, 186, 166, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2FBAA6;
}

/* Hero Badge Glow */
.glow-badge {
  background: rgba(47, 186, 166, 0.08);
  border: 1px solid rgba(47, 186, 166, 0.25);
  color: #1C7C6F;
}

/* Interactive Calculator Sliders */
input[type="range"] {
  accent-color: #2FBAA6;
}

/* Modal animation */
.modal-overlay {
  transition: opacity 0.25s ease-in-out;
}
.modal-content {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease-in-out;
}

/* Floating WhatsApp / Line button */
.floating-contact-btn {
  box-shadow: 0 8px 24px rgba(47, 186, 166, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-contact-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

/* Property Slider & Dots */
.hero-slide {
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-dot {
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.hero-dot.active {
  width: 1.5rem !important;
  background-color: #2FBAA6 !important;
}
.prop-dot {
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}
.prop-dot.active {
  width: 1.5rem !important;
  background-color: #2FBAA6 !important;
}
