/* Minimal Mobile-First CSS for Dental Site */

:root {
  --primary-color: #4EAE93;
  --primary-light: #E3F2FD;
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e9ecef;
  --shadow-light: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 16px rgba(0,0,0,0.1);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: var(--bg-white);
  padding-top: 70px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar - Mobile First */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.navbar-toggler {
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  padding: 1rem 0;
}

.nav-item {
  margin: 0.25rem 0;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Simplified dropdown for mobile */
.dropdown-menu {
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
  border-radius: 8px;
  padding: 0.5rem;
  background: var(--bg-white);
}

.dropdown-item {
  color: var(--text-dark);
  padding: 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Hero Section - Mobile First */
.hero-banner {
  background: linear-gradient(135deg, var(--primary-color), #1976D2);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.hero-banner h1 {
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.hero-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-img {
  max-width: 280px;
  width: 100%;
  border-radius: 12px;
  margin-top: 1.5rem;
}

/* Info boxes - Mobile First */
.info_boxes {
  background: var(--bg-light);
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.info_box {
  text-align: center;
  padding: 1rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.info_box:last-child {
  border-bottom: none;
}

.info_box .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: block;
}

.info_box .text {
  font-size: 0.875rem;
}

.info_box .text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.info_box .text a {
  color: var(--primary-color);
  text-decoration: none;
}

/* Buttons - Mobile First */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background: #1976D2;
  transform: translateY(-1px);
}

.btn-light {
  background: white;
  color: var(--primary-color);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* Services Section */
.services-section {
  padding: 2rem 0;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-light);
  transition: transform 0.2s ease;
}

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

.service-card .icon-box {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Features Section */
.features-section {
  background: var(--bg-light);
  padding: 2rem 0;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  display: block;
}

.feature-item h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.875rem;
  margin: 0;
}

/* Call to Action Section */
.appointment-section {
  background: var(--primary-light);
  padding: 2rem 0;
  text-align: center;
}

.appointment-section h2 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.appointment-section p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Footer */
.page-footer {
  background: var(--text-dark);
  color: white;
  padding: 2rem 0 1rem;
  margin-top: 2rem;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-buttons .btn {
  width: 100%;
}

/* Footer links */
.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.25rem 0;
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.py-5 { padding: 2rem 0; }
.ml-2 { margin-left: 0.5rem; }
.mt-3 { margin-top: 1rem; }

/* Responsive Design - Desktop improvements */
@media (min-width: 576px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero-banner {
    padding: 4rem 0 3rem;
  }
  
  .hero-banner h1 {
    font-size: 2.25rem;
  }
  
  .hero-img {
    max-width: 1200px;
  }
  
  .info_box {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
  }
  
  .info_box:last-child {
    border-right: none;
  }
}

@media (min-width: 768px) {
  body {
    padding-top: 80px;
  }
  
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar-nav {
    padding: 0;
  }
  
  .nav-item {
    margin: 0 0.25rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
  }
  
  .hero-banner {
    padding: 5rem 0 4rem;
    text-align: left;
  }
  
  .hero-banner h1 {
    font-size: 2.75rem;
  }
  
  .hero-banner p {
    font-size: 1.125rem;
  }
  
  .services-section {
    padding: 3rem 0;
  }
  
  .hero-buttons {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: auto;
    min-width: 160px;
  }
  
  .appointment-section .btn {
    margin: 0 0.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (min-width: 992px) {
  .hero-banner {
    padding: 6rem 0 5rem;
  }
}

/* Print styles */
@media print {
  .navbar, .info_boxes, .appointment-section {
    display: none;
  }
  
  body {
    padding-top: 0;
  }
  
  .hero-banner {
    background: none !important;
    color: var(--text-dark) !important;
  }
}
