/* 
   Tu Salud Podal Centro Podológico - Medical Light Theme Stylesheet
*/


html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
}

body {
  background-color: #ffffff;
  color: #1e293b;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: #0f172a;
}

/* Square Header Styles */
#main-header {
  position: fixed;
  top: 1rem !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100% - 2rem) !important;
  max-width: 1200px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  z-index: 100 !important;
  padding: 0 !important;
}

#main-header.scrolled>div {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-color: rgba(13, 148, 136, 0.2) !important;
  box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.1) !important;
}

.header-nav-link {
  color: #475569;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.header-nav-link:hover {
  color: #0d9488;
  background-color: #f1f5f9;
}

/* Navigation Collapse Breakpoint (Exactly 1000px) */
@media (min-width: 1000px) {
  .nav-mobile-only {
    display: none !important;
  }

  .nav-desktop-only {
    display: flex !important;
  }
}

@media (max-width: 999px) {
  #mobile-menu-btn.nav-mobile-only {
    display: flex !important;
  }

  .nav-desktop-only {
    display: none !important;
  }
}

/* Hero Section - Dentist Premium Style */
.hero-premium-container {
  position: relative;
  min-height: calc(100vh - 70px);
  margin: 20px;
  border-radius: 32px;
  background: url('../assets/desktophero.jpg') center 12%/cover no-repeat;
  overflow: hidden;
}

@media (max-width: 563px) {
  .hero-premium-container {
    background-image: url('../assets/mobilehero.jpg') !important;
    background-position: center center !important;
    min-height: auto !important;
    margin: 20px 10px !important;
  }
}

@media (min-width: 981px) {
  .hero-premium-container {
    background-position: center top !important;
  }
}



.hero-premium-container::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Dark overlay on left fading to transparent/light on right to ensure readability of text */
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 45%, rgba(15, 23, 42, 0.3) 60%);
  z-index: 1;
}

@media (max-width: 1023px) {
  .hero-premium-container::before {
    /* More coverage/darkness vertically on mobile/tablet since content stacks, but kept 20% lighter */
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #14b8a6 0%, #0284c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .gradient-text {
    /* Brighter gradient on mobile/tablet for improved readability */
    background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px -2px rgba(20, 184, 166, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(20, 184, 166, 0.6);
  color: #ffffff;
}

.btn-shine::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg);
  animation: btn-shine-sweep 5s infinite;
}

@keyframes btn-shine-sweep {
  0% {
    left: -75%;
  }

  50% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

/* Card hover animation */
.card-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
}

.card-lift:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 184, 166, 0.3);
  box-shadow: 0 15px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Calendar Inputs Styling - Clinic theme */
input[type="date"] {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  padding: 12px;
  transition: all 0.3s ease;
}

input[type="date"]:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15);
  outline: none;
}

/* Time slot selection button */
.time-slot-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  border-color: #14b8a6;
  color: #0d9488;
}

/* Reveal on scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-none {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* Filled stars for reviews */
.text-amber-400 .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}