/* 
  Sasmal Interior Point - Luxury Design System
  Dual Theme Engine: Champagne Gold Glassmorphic (Dark & Luxury Light)
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Default Theme: Dark Velvet & Champagne Gold */
:root, [data-theme="dark"] {
  font-size: 14.5px;
  
  --bg-dark: #090a0f;
  --bg-surface: #12141d;
  --bg-card: rgba(22, 25, 36, 0.75);
  --bg-glass: rgba(15, 17, 26, 0.90);
  --top-bar-bg: rgba(10, 11, 15, 0.95);
  
  --gold-primary: #d4af37;
  --gold-light: #f5e4a7;
  --gold-dark: #997a15;
  --gold-gradient: linear-gradient(135deg, #f5e4a7 0%, #d4af37 50%, #997a15 100%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --border-gold: rgba(212, 175, 55, 0.25);

  --text-main: #f8f9fa;
  --text-heading: #ffffff;
  --text-muted: #c9d2e5;
  --text-body: #dce2f0;
  
  --form-bg: #121522;
  --form-focus-bg: #161a2b;
  --form-border: rgba(212, 175, 55, 0.35);
  --modal-bg: #0d0f17;
  --footer-bg: #06070a;
  
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.6);
  --shadow-hover: 0 20px 45px rgba(212, 175, 55, 0.25);
  --hero-overlay: linear-gradient(180deg, rgba(9, 10, 15, 0.50) 0%, rgba(9, 10, 15, 0.65) 100%);
  --theme-toggle-bg: rgba(212, 175, 55, 0.15);
  --theme-toggle-border: rgba(212, 175, 55, 0.35);
  --theme-toggle-color: #f5e4a7;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --radius-lg: 16px;
  --radius-md: 10px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Luxury Light Mode Theme: Warm Alabaster & Polished Bronze Gold */
[data-theme="light"] {
  --bg-dark: #f5f1eb;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-glass: rgba(228, 218, 204, 0.96);
  --top-bar-bg: #d8ccbc;
  
  --gold-primary: #b8860b;
  --gold-light: #d4af37;
  --gold-dark: #7a5806;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #b8860b 60%, #8b6508 100%);
  --gold-glow: rgba(184, 134, 11, 0.20);
  --border-gold: rgba(184, 134, 11, 0.28);

  --text-main: #1e222d;
  --text-heading: #12151f;
  --text-muted: #5c6475;
  --text-body: #2d3342;
  
  --form-bg: #f8f6f2;
  --form-focus-bg: #ffffff;
  --form-border: rgba(184, 134, 11, 0.35);
  --modal-bg: #fcfbfa;
  --footer-bg: #ded2c0;
  
  --shadow-card: 0 10px 30px rgba(184, 134, 11, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 18px 40px rgba(184, 134, 11, 0.20), 0 8px 24px rgba(0, 0, 0, 0.06);
  --hero-overlay: linear-gradient(180deg, rgba(15, 17, 26, 0.55) 0%, rgba(15, 17, 26, 0.50) 100%);
  --theme-toggle-bg: rgba(184, 134, 11, 0.12);
  --theme-toggle-border: rgba(184, 134, 11, 0.35);
  --theme-toggle-color: #8b6508;
}

/* Global Reset & Base Styling */
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.55;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Dynamic Text & Class Overrides for Theme Switcher */
.text-muted {
  color: var(--text-muted) !important;
}

.text-body {
  color: var(--text-body) !important;
}

.text-heading {
  color: var(--text-heading) !important;
}

p {
  color: var(--text-body);
}

.small, small {
  color: var(--text-muted);
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.4px;
  color: var(--text-heading);
}

/* Override Bootstrap .text-light in Light Mode */
[data-theme="light"] .text-light {
  color: var(--text-heading) !important;
}

[data-theme="light"] p.text-light,
[data-theme="light"] span.text-light,
[data-theme="light"] small.text-light {
  color: var(--text-body) !important;
}

/* Ensure Hero Banner Text stays crisp white over image overlay in both themes */
.hero-slider-section .text-light,
.hero-slider-section .hero-title,
.hero-slider-section .hero-paragraph {
  color: #ffffff !important;
}

.bg-surface {
  background-color: var(--bg-surface) !important;
}

[data-theme="light"] .bg-surface {
  background-color: var(--bg-surface) !important;
  color: var(--text-main) !important;
}

[data-theme="light"] .btn-close-white {
  filter: none !important;
}

.text-gold {
  color: var(--gold-primary) !important;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold {
  background: var(--gold-gradient) !important;
  color: #000 !important;
}

.gold-divider {
  height: 2.5px;
  width: 60px;
  background: var(--gold-gradient);
  border-radius: 3px;
  margin: 0.8rem auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Top Notification / Contact Bar */
.top-bar {
  background: var(--top-bar-bg);
  border-bottom: 1px solid var(--border-gold);
  font-size: 0.78rem;
  padding: 4px 0;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.top-bar a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.top-bar a:hover {
  color: var(--gold-primary);
}

/* Luxury Navbar */
.navbar-luxury {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
  padding: 4px 0;
}
.navbar-luxury.scrolled {
  padding: 2px 0;
  box-shadow: var(--shadow-card);
}
.navbar-brand-logo {
  height: 45px;
  width: auto;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 12px var(--gold-glow);
}
.nav-link {
  color: var(--text-main) !important;
  font-weight: 500;
  margin: 0 6px;
  padding: 4px 8px !important;
  position: relative;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold-primary) !important;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

/* Buttons */
.btn-gold {
  background: var(--gold-gradient);
  color: #0f1015 !important;
  font-weight: 700;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px var(--gold-glow);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.8rem;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--gold-glow);
  color: #000 !important;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 50px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.8rem;
}
.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: #0f1015 !important;
  border-color: transparent;
  transform: translateY(-2px);
}

/* Theme Toggle Button Switch */
.theme-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  color: var(--theme-toggle-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
}
.theme-toggle-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Hero Carousel */
.hero-slider-section {
  position: relative;
  background: var(--bg-dark);
}
.hero-carousel .carousel-item {
  height: calc(100vh - 90px);
  min-height: 520px;
  max-height: 900px;
  position: relative;
}
.hero-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.7) contrast(1.1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  display: flex;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
}
.hero-title {
  font-size: clamp(2.1rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 0.75rem;
  color: #ffffff !important;
}
.hero-paragraph {
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  color: #f1f5f9 !important;
}

.hero-slider-section .btn-outline-gold {
  border-color: #d4af37 !important;
  color: #f5e4a7 !important;
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(8px);
}
.hero-slider-section .btn-outline-gold:hover {
  background: var(--gold-gradient) !important;
  color: #000 !important;
}

/* PORTRAIT GALLERY (Single Row Expanding Accordion on Hover) */
.portrait-gallery-container {
  display: flex;
  gap: 14px;
  width: 100%;
  height: 460px;
  margin-top: 1.5rem;
}
.portrait-card {
  position: relative;
  flex: 1;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s ease, border-color 0.4s ease;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
}
.portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease, filter 0.4s ease;
  filter: brightness(0.75) grayscale(20%);
}
.portrait-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 10, 15, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: var(--transition-smooth);
}
.portrait-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff !important;
  white-space: nowrap;
  margin: 0;
  transition: var(--transition-smooth);
}
.portrait-desc {
  font-size: 0.85rem;
  color: #d1d5db !important;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  max-height: 0;
  overflow: hidden;
}

/* Hover effect: Expand card */
.portrait-card:hover {
  flex: 3.5;
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px var(--gold-glow);
}
.portrait-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.95) grayscale(0%);
}
.portrait-card:hover .portrait-title {
  color: var(--gold-light) !important;
  font-size: 1.45rem;
}
.portrait-card:hover .portrait-desc {
  opacity: 1;
  transform: translateY(0);
  max-height: 100px;
  margin-top: 6px;
}

/* Responsive adjustment for portrait gallery on mobile */
@media (max-width: 991px) {
  .portrait-gallery-container {
    flex-direction: column;
    height: auto;
  }
  .portrait-card {
    height: 240px;
    flex: none !important;
  }
  .portrait-desc {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
  }
}

/* Glassmorphic Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-hover);
}

/* Service Card Icon */
.service-icon {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}
.glass-card:hover .service-icon {
  background: var(--gold-gradient);
  color: #0f1015;
  transform: scale(1.08);
}

/* Review Card */
.review-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.star-rating {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(150, 150, 150, 0.15);
  border: 1px solid var(--border-gold);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}

.rating-badge-gold {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.float-btn:hover {
  transform: scale(1.15);
  color: #fff;
}
.float-phone {
  background: var(--gold-primary);
  color: #0f1015;
}
.float-whatsapp {
  background: #25d366;
}

/* Footer Styling */
footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-gold);
  padding: 60px 0 20px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-contact-list {
  color: var(--text-body) !important;
}

.footer-info-text {
  color: var(--text-body) !important;
}

a.footer-contact-link {
  color: var(--text-body) !important;
  text-decoration: none;
  transition: var(--transition-smooth);
}

a.footer-contact-link:hover {
  color: var(--gold-primary) !important;
}

/* Form Controls & Modals */
.form-control, .form-select {
  background-color: var(--form-bg) !important;
  border: 1px solid var(--form-border) !important;
  color: var(--text-main) !important;
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  background-color: var(--form-focus-bg) !important;
  border-color: var(--gold-primary) !important;
  color: var(--text-main) !important;
  box-shadow: 0 0 10px var(--gold-glow) !important;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
}

.form-label {
  color: var(--text-main) !important;
}

.modal-content {
  background-color: var(--modal-bg) !important;
  border: 1px solid var(--border-gold) !important;
}

.modal-body p, .modal-body label {
  color: var(--text-body) !important;
}

/* Services Page & Card Component Styling */
.services-page-hero {
  padding: 60px 0 35px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
}

.service-item-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.service-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.05);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-gradient);
  color: #0f1015;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-heading);
}

.service-card-tagline {
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

/* Dedicated About Page Styling */
.about-hero-section {
  background: var(--bg-dark);
  padding: 60px 0 40px;
  position: relative;
  border-bottom: 1px solid var(--border-gold);
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 12px 35px var(--gold-glow);
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 45px rgba(212, 175, 55, 0.35);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.about-experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(12, 14, 22, 0.90);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.about-experience-badge .badge-label {
  color: #f8f9fa !important;
  font-size: 0.85rem;
}

.about-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: var(--transition-smooth);
}

.about-feature-box:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 6px 18px var(--gold-glow);
}

.about-pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  height: 100%;
}

.about-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 10px 25px var(--gold-glow);
}

.about-pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--gold-glow);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
