/* ==========================================================================
   Dr. Raman B.V. - Clinic & Dermatology Practice Stylesheet
   ========================================================================== */

/* 1. Global & Base Settings */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
}

/* 2. Responsive Google Calendar Embed Container
   This container ensures the Google Calendar iframe takes up the right
   proportions on desktop and mobile without awkward horizontal scrolling. */
.calendar-responsive-wrapper {
  position: relative;
  width: 100%;
  min-height: 650px;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.calendar-responsive-wrapper iframe {
  width: 100%;
  height: 680px;
  border: 0;
}

/* 3. Google Maps Responsive Container */
.map-responsive-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 1rem;
  overflow: hidden;
}

.map-responsive-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 4. Sticky Mobile Action Bar (Visible only on screens <= 768px)
   Provides an instant 1-tap experience for patients on smartphones. */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 769px) {
  .mobile-action-bar {
    display: none !important;
  }
}

/* Add bottom padding on mobile so content isn't covered by the mobile action bar */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}

/* 5. Subtle Animations */
.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
