/* Base Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for sticky header */
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0F172A;
  background-color: #F8FAFC;
}

/* Mobile Accessibility: Tap Targets & Active States */
button,
a,
input,
select,
textarea {
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Active state scaling for interactive elements */
button:active,
a:active:not(.no-scale) {
  transform: scale(0.97);
}

/* Input fields shouldn't scale on active, just focus */
input:active, select:active, textarea:active {
  transform: none;
}

/* Minimum tap target sizes */
input,
select,
textarea,
button:not(.slider-dot) {
  min-height: 44px;
}

/* Carousel Dot Indicators */
.slider-dot {
  min-height: 0 !important;
  min-width: 0 !important;
  width: 12px !important;
  height: 12px !important;
  border-radius: 9999px !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  cursor: pointer;
  background-color: rgba(148, 163, 184, 0.45) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  flex-shrink: 0;
  display: inline-block;
  margin: 0 4px;
}

.slider-dot:hover {
  background-color: rgba(217, 166, 46, 0.7) !important;
  transform: scale(1.2);
}

.slider-dot.active {
  width: 12px !important;
  height: 12px !important;
  background-color: #d9a62e !important;
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(217, 166, 46, 0.35);
}

.dark .slider-dot {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

.dark .slider-dot.active {
  background-color: #d9a62e !important;
  box-shadow: 0 0 0 3px rgba(217, 166, 46, 0.4);
}

/* Specific interactive links that need tap area ensuring */
nav a,
#mobile-menu a,
footer a,
.mobile-cta-bar a {
  
  
  min-height: 44px;
  min-width: 44px;
}

/* Hide scrollbar for cleaner look on certain elements if needed */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom Gradients and Effects */
.glass-effect {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.premium-gradient {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-border {
  border: 1px solid #2563eb;
}

.premium-shadow {
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
}

.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

/* Utilities */

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

/* Mobile Bottom CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  z-index: 40;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .floating-whatsapp {
    bottom: calc(80px + env(safe-area-inset-bottom)); /* Adjust based on mobile CTA height */
  }
}

/* Slider Styles */
.slider-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Real-Time Form Validation States */
.form-input.is-valid {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}

.form-input.is-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3) !important;
  animation: shakeField 0.35s ease-in-out;
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.field-error-msg {
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Status Banner Animations */
.form-status-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.25) 100%);
  border: 1px solid rgba(52, 211, 153, 0.5);
  box-shadow: 0 8px 24px -6px rgba(16, 185, 129, 0.3);
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-status-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.25) 100%);
  border: 1px solid rgba(248, 113, 113, 0.5);
  box-shadow: 0 8px 24px -6px rgba(239, 68, 68, 0.3);
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-status-notice {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.25) 100%);
  border: 1px solid rgba(251, 191, 36, 0.5);
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.3);
  animation: popIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.97) translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Official Google Sign-In Material Button (GIS Standard) */
.gsi-material-button {
  user-select: none;
  -webkit-user-select: none;
  background-color: #FFFFFF;
  border: 1px solid #747775;
  border-radius: 9999px;
  box-sizing: border-box;
  color: #1F1F1F;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  height: 42px;
  letter-spacing: 0.2px;
  outline: none;
  overflow: hidden;
  padding: 0 16px;
  position: relative;
  text-align: center;
  transition: all 0.2s ease;
  vertical-align: middle;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 10px;
  width: 20px;
  flex-shrink: 0;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  align-items: center;
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.gsi-material-button:hover:not(:disabled) {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-color: #5f6368;
}

.gsi-material-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Modal Overlay */
.sheets-modal-backdrop {
  backdrop-filter: blur(4px);
  background-color: rgba(15, 23, 42, 0.75);
}

/* Contact Form Section High Contrast Headings */
#contact h1,
#contact h2,
#contact h3,
#contact h4,
.contact-heading-title {
  color: #ffffff !important;
}

#contact .text-brand-gold {
  color: #D9A62E !important;
}



