/* 
  Smile Care Dental Clinic - Stylesheet
  Theme: Medical Blue & Clean White
*/

:root {
  --primary-blue: #007683;
  --primary-light: #d0e6ec;
  --primary-dark: #005d67;
  --text-dark: #1a1a1a;
  --text-muted: #475569;
  --bg-white: #ffffff;
  --bg-offwhite: #f8fafc;
  --bg-blue-tint: #d0e6ec;
  --border-color: #e2e8f0;
  
  --font-main: 'Inter', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 25px -5px rgba(2, 132, 199, 0.15);
  
  --transition: all 0.3s ease;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 48px auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--bg-blue-tint);
  transform: translateY(-2px);
}

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-link:hover {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 160px 0 100px 0;
  background: linear-gradient(135deg, var(--bg-blue-tint) 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--primary-blue);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
}

.hero-img-box {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.hero-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  border-radius: 50%;
  top: -50px;
  right: -50px;
  z-index: 1;
  filter: blur(80px);
  opacity: 0.5;
}

/* --- Quick Features --- */
.quick-features {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-box {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-blue-tint);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
}

.feature-box h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Services Grid --- */
.services {
  background-color: var(--bg-offwhite);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.service-card {
  background: white;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.service-card-icon {
  font-size: 2.5rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.learn-more {
  color: var(--primary-blue);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.learn-more:hover {
  gap: 12px;
}

/* --- Doctor Profile --- */
.doctor-profile {
  background: white;
}

.doctor-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-offwhite);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.doc-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.doc-info h2 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.doc-title {
  color: var(--primary-blue);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.doc-bio {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.doc-stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--primary-blue);
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Reviews Section --- */
.reviews {
  background-color: var(--bg-blue-tint);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.review-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
}

.reviewer-info h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.stars {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-text {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

.review-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 80px 0 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 48px;
}

.footer-brand h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: white;
}

.footer-brand p {
  color: #94a3b8;
  max-width: 400px;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 24px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-container, .doctor-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-features {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .doctor-container {
    padding: 32px;
  }
  
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* --- Service Card Lists --- */
.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.service-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .learn-more {
  margin-top: auto;
  background: var(--primary-light);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  justify-content: center;
  transition: var(--transition);
}
.service-card .learn-more:hover {
  background: var(--primary-blue);
  color: white;
}
/* --- Age Group Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.gallery-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.gallery-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}
.gallery-info {
  padding: 24px;
}
.gallery-info h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.gallery-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
