/* ===================================
   COMPONENTS
   Reusable component styles for the dsite theme
   (Buttons, Statistics, Ratings, Doctor Photo, Google Map)
   =================================== */

/* ===================================
   BUTTONS
   =================================== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--background-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ===================================
   STATISTICS SECTION
   =================================== */
.stats-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0;
  margin: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: var(--white);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===================================
   RATING STARS
   =================================== */
.rating {
  display: inline-block;
  margin-bottom: 1rem;
}

.rating .star {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-right: 2px;
}

.rating .star.empty {
  color: #d1d5db;
}

/* ===================================
   DOCTOR PHOTO
   =================================== */
.doctor-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.3);
}

/* ===================================
   GOOGLE MAP
   =================================== */
.map-section {
  margin: 0;
  padding: 0;
}

.google-map {
  width: 100%;
}

.google-map iframe {
  display: block;
  width: 100%;
}
