/* Custom styles for dental practice website */

:root {
  --primary-color: #003d5c;
  --secondary-color: #26c6da;
  --accent-color: #f5f9fb;
  --text-dark: #333;
  --text-light: #5a5a5a;
  --success-color: #28a745;
  --bg-light: #f8f8f8;
  --bg-cream: #fdf8f3;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Headers use Playfair Display */
h1, h2, h3, h4, h5, h6,
.section-title,
.section-subtitle,
.hero-section h1,
.navbar-brand,
.service-card-title,
.testimonial-author,
.footer-section-title {
  font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.3s ease;
  min-height: auto;
}

.navbar .container {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: #003d5c !important;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.navbar-brand .logo-img {
  width: auto;
  height: 75px;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
}

.navbar-nav {
  margin: 0;
  padding: 0;
}

.navbar-collapse {
  padding: 0;
  margin: 0;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  color: #333 !important;
  padding: 5px 15px !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #003d5c !important;
}

.btn-nav-contact {
  background-color: #003d5c;
  border: none;
  color: #fff !important;
  font-weight: 600;
  font-size: 17px;
  padding: 10px 28px;
  border-radius: 5px;
  margin-left: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-nav-contact:hover {
  background-color: #00263d;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.2);
}

.btn-primary-custom {
  background-color: #003d5c;
  border-color: #003d5c;
  color: white;
  font-weight: 600;
  font-size: 17px;
  padding: 0.875rem 1.75rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: #00263d;
  border-color: #00263d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 61, 92, 0.25);
}

/* Hero Section - Note: home page has inline styles that override these */
.hero-section {
  background: #fff;
  /* Inner page header (V1 home hero is gone) - keep it tight under the fixed navbar */
  padding: 36px 0 12px;
}

.hero-section h1 {
  font-size: 54px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.12;
  margin-bottom: 30px;
  letter-spacing: -0.8px;
}

.hero-section p {
  font-size: 19px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Service Card */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

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

.service-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card-text {
  color: var(--text-light);
}

/* Testimonial Card */
.testimonial-card {
  background-color: var(--accent-color);
  border: none;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

.testimonial-stars {
  color: #ffc107;
}

/* FAQ Accordion */
.faq-accordion .accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background-color: white;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background-color: var(--accent-color);
  color: var(--primary-color);
}

.faq-accordion .accordion-body {
  color: var(--text-light);
}

/* Contact Form */
.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.25);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
}

.success-message {
  background-color: var(--success-color);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-color);
}

.footer-section-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
}

/* Utility Classes */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

.content-section {
  padding: 2.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-brand .logo-img {
    width: auto;
    height: 90px;
  }

  .navbar {
    padding: 0;
    margin: 0;
  }
}

/* Accessibility */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}
