/* ==========================================================================
   SRI SAI BUILD HUB - TAILWIND COMPLEMENTARY ARCHITECTURAL STYLING
   Obsidian Slate + Brushed Warm Gold + Pure Alabaster Palette
   ========================================================================== */

:root {
  --color-gold: #C5A059;
  --color-gold-hover: #B38D46;
  --color-dark: #0B0F17;
  --color-dark-card: #161F30;
  --color-light: #F8FAFC;
}

/* Base resets & typography */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-light);
  color: #1E293B;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0F17;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #C5A059;
}

/* Custom Glass & Header Transition */
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 15, 23, 0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.lightbox-caption {
  color: #F8FAFC;
  font-size: 1.1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 1rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer.open {
  right: 0 !important;
}

.drawer-backdrop.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* FAQ Accordion Details */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background-color: #C5A059;
  color: #FFFFFF;
}

/* Floating WhatsApp Widget */
.whatsapp-floating {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25D366;
  color: #FFFFFF;
  padding: 0.75rem 1.35rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-floating:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.65);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: #0B0F17;
  color: #F8FAFC;
  border-left: 4px solid #C5A059;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Loading Spin */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
}
