/* ==========================================================================
   KARYA HOMESTAY — Dark Navy / Gold Industrial Premium Theme
   ========================================================================== */

:root {
  --primary: #0a1e3c;
  --primary-dark: #000a28;
  --primary-light: #1e3c6e;
  --accent: #f4b800;
  --accent-hover: #d4a000;
  --accent-glow: rgba(244, 184, 0, 0.15);
  --text: #1a2332;
  --text-light: #5a6b82;
  --text-on-dark: #e8edf2;
  --text-light-on-dark: #8899b0;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --bg-dark: #000a28;
  --bg-card: #ffffff;
  --border: #e0e4ea;
  --success: #27ae60;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 10, 40, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 10, 40, 0.12);
  --shadow-glow: 0 8px 40px rgba(244, 184, 0, 0.2);
  --transition: 0.3s ease;
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-heading: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Glass Navbar --- */
.glass-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 30, 60, 0.88);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(244, 184, 0, 0.08);
  transition: all var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-on-dark);
}
.nav-logo svg {
  width: 32px;
  height: 32px;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--text-light-on-dark);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text-on-dark); }
.nav-links a:hover::after { width: 100%; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(244, 184, 0, 0.1);
  border: 1px solid rgba(244, 184, 0, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
}
.lang-switch:hover {
  background: rgba(244, 184, 0, 0.2);
  border-color: var(--accent);
}
.lang-switch .active-lang { color: var(--accent); }

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 10, 40, 0.98);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-light-on-dark);
  text-decoration: none;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu .lang-switch { margin-top: 1rem; }
.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-on-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    radial-gradient(circle at 25% 25%, var(--accent) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, var(--primary-light) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,184,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,184,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 700px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 184, 0, 0.1);
  border: 1px solid rgba(244, 184, 0, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge i { font-size: 0.75rem; }
.hero h1 {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.1rem;
  color: var(--text-light-on-dark);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 520px;
  position: relative;
  z-index: 2;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(244, 184, 0, 0.25);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid rgba(244, 184, 0, 0.25);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(244, 184, 0, 0.05);
  transform: translateY(-2px);
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
}
.btn-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.35);
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item .number {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.hero-stat-item .label {
  font-size: 0.78rem;
  color: var(--text-light-on-dark);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* --- Sections --- */
section { padding: 5rem 0; }
.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section-alt {
  background: var(--bg-alt);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-dark .section-title { color: var(--text-on-dark); }
.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 3rem;
}
.section-dark .section-subtitle { color: var(--text-light-on-dark); }

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-dark {
  background: rgba(30, 60, 110, 0.2);
  border: 1px solid rgba(244,184,0,0.07);
}
.card-dark:hover {
  border-color: rgba(244,184,0,0.15);
}

/* --- Highlight Cards (hero stats + feature) --- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.highlight-card {
  background: rgba(30, 60, 110, 0.15);
  border: 1px solid rgba(244,184,0,0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}
.highlight-card:hover {
  border-color: rgba(244,184,0,0.2);
  background: rgba(30, 60, 110, 0.25);
  transform: translateY(-3px);
}
.highlight-card .icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.highlight-card .value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-on-dark);
}
.highlight-card .label {
  font-size: 0.8rem;
  color: var(--text-light-on-dark);
  margin-top: 0.25rem;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.25rem;
  margin: 0 auto 1rem;
  transition: all var(--transition);
}
.feature-card:hover .icon {
  background: var(--accent);
  color: var(--primary-dark);
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Rooms Gallery Grid --- */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.room-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.room-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.room-card:hover .room-img { transform: scale(1.05); }
.room-body {
  padding: 1.5rem;
}
.room-body h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.room-body .bed-type {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.room-body .capacity {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.room-body .capacity i { color: var(--accent); margin-right: 0.25rem; }
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.room-features span {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--bg-alt);
  border-radius: 999px;
  color: var(--text-light);
}
.room-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.room-price small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

/* --- Pricing Table --- */
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table th {
  background: var(--primary);
  color: var(--text-on-dark);
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.pricing-table th:last-child { text-align: right; }
.pricing-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.pricing-table td:last-child {
  text-align: right;
  font-weight: 600;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table .highlight-row {
  background: var(--accent-glow);
}
.pricing-table .highlight-row td {
  color: var(--primary-dark);
  font-weight: 600;
}
.pricing-table .surcharge-note {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 500;
}
.pricing-info {
  padding: 1.5rem;
  background: var(--bg-alt);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.pricing-info-item {
  text-align: center;
}
.pricing-info-item .label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing-info-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Weekend Banner */
.weekend-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.weekend-banner .text {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
}
.weekend-banner .text small {
  font-weight: 400;
  font-size: 0.85rem;
  display: block;
  margin-top: 0.15rem;
}
.weekend-banner .badge {
  background: var(--primary-dark);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

/* --- Location Section --- */
.location-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map {
  width: 100%;
  height: 300px;
  border: none;
}
.location-body {
  padding: 1.5rem;
}
.location-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.location-body .address {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.location-body .station-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 184, 0, 0.1);
  border: 1px solid rgba(244, 184, 0, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.location-landmarks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.landmark-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.landmark-item i {
  color: var(--accent);
  width: 1.25rem;
  text-align: center;
}
.landmark-item .name {
  flex: 1;
  font-weight: 500;
}
.landmark-item .dist {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.contact-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.contact-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.contact-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Rules --- */
.rules-list {
  max-width: 600px;
  margin: 0 auto;
}
.rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.rules-list li:last-child { border-bottom: none; }
.rules-list li i {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.rules-list li .rule-text {
  font-size: 0.95rem;
}

/* --- WhatsApp Float --- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 8px 32px -6px rgba(37, 211, 102, 0.3);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}
.wa-float:hover {
  box-shadow: 0 14px 44px -6px rgba(37, 211, 102, 0.5);
}
.wa-float .pulse-ring {
  position: absolute;
  inset: -0.5rem;
  border-radius: 9999px;
  opacity: 0.3;
  background: inherit;
  animation: waPulse 2.5s ease-out infinite;
  pointer-events: none;
}
.wa-float .wa-label { white-space: nowrap; }
@media (max-width: 480px) {
  .wa-float { padding: 0.75rem; right: 0.75rem; bottom: 0.75rem; }
  .wa-float .wa-label { display: none; }
}
@keyframes waPulse {
  0% { transform: scale(0.8); opacity: 0.4; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* --- Footer --- */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-light-on-dark);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(244,184,0,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col p, .footer-col a {
  font-size: 0.85rem;
  color: var(--text-light-on-dark);
  line-height: 1.8;
  display: block;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light-on-dark);
}

/* --- Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Breadcrumb --- */
.breadcrumb {
  background: var(--bg-dark);
  padding: 5rem 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.breadcrumb h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-on-dark);
}
.breadcrumb p {
  color: var(--text-light-on-dark);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .rooms-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .hero-stat-item .number { font-size: 1.4rem; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 1rem; }
  .pricing-table th, .pricing-table td { padding: 0.75rem 1rem; }
}