/*
Theme Name: Dr Mohans Dental Clinic
Theme URI: https://example.com/drmohansdental
Author: Dr Mohans Dental Clinic
Author URI: https://example.com
Description: Bilingual (English + Tamil) dental clinic website for Dr Mohans Dental Clinic, Salem. Specialist Dentists | Advanced & Gentle Dental Care.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dentalcare
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 500;
  line-height: 1.3;
}

/* ===== LAYOUT ===== */
.dc-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dc-flex-col {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dc-main {
  flex: 1;
}

/* ===== TOP BAR ===== */
.dc-topbar {
  background: #2563eb;
  color: #fff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.dc-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.dc-topbar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dc-topbar__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ===== NAVIGATION ===== */
.dc-nav {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.dc-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dc-nav__logo {
  width: 40px;
  height: 40px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.25rem;
}

/* Logo Image Styling */
.dc-nav__logo .dc-logo-img {
  width: auto;
  height: 50px;
  max-width: 180px;
  object-fit: contain;
}

.dc-nav__logo:has(.dc-logo-img) {
  background: transparent;
  border-radius: 0;
  width: auto;
  height: 50px;
}

.dc-nav__brand-text {
  font-size: 1.5rem;
  color: #2563eb;
  font-weight: 500;
}

.dc-nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.dc-nav__link {
  color: #374151;
  transition: color 0.2s;
  font-weight: 400;
}

.dc-nav__link:hover,
.dc-nav__link--active {
  color: #2563eb;
}

/* Hamburger */
.dc-nav__hamburger {
  display: flex;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  padding: 0.5rem;
}

.dc-nav__hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.dc-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 1rem;
}

.dc-nav__mobile.is-open {
  display: flex;
}

.dc-nav__mobile-link {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: #374151;
  display: block;
}

.dc-nav__mobile-link:hover,
.dc-nav__mobile-link--active {
  background: #eff6ff;
  color: #2563eb;
}

@media (min-width: 768px) {
  .dc-nav__links {
    display: flex;
  }
  .dc-nav__hamburger {
    display: none;
  }
  .dc-nav__mobile {
    display: none !important;
  }
}

/* ===== FOOTER ===== */
.dc-footer {
  background: #111827;
  color: #fff;
  padding: 3rem 0;
}

.dc-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dc-footer__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.dc-footer__text {
  color: #9ca3af;
}

.dc-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dc-footer__link {
  color: #9ca3af;
  transition: color 0.2s;
}

.dc-footer__link:hover {
  color: #fff;
}

.dc-footer__bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #1f2937;
  text-align: center;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .dc-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== HERO SECTION ===== */
.dc-hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dc-hero__bg {
  position: absolute;
  inset: 0;
}

.dc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.dc-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

.dc-hero__content h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.dc-hero__content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .dc-hero__content h1 {
    font-size: 3.75rem;
  }
  .dc-hero__content p {
    font-size: 1.5rem;
  }
}

/* ===== BUTTONS ===== */
.dc-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  text-align: center;
}

.dc-btn--primary {
  background: #2563eb;
  color: #fff;
}

.dc-btn--primary:hover {
  background: #1d4ed8;
}

.dc-btn--white {
  background: #fff;
  color: #2563eb;
}

.dc-btn--white:hover {
  background: #f3f4f6;
}

.dc-btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.dc-btn--full {
  display: block;
  width: 100%;
}

/* ===== PAGE HEADER ===== */
.dc-page-header {
  background: #2563eb;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.dc-page-header h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.dc-page-header p {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .dc-page-header h1 {
    font-size: 3rem;
  }
}

/* ===== SECTION ===== */
.dc-section {
  padding: 4rem 1rem;
}

.dc-section--gray {
  background: #f9fafb;
}

.dc-section--blue {
  background: #2563eb;
  color: #fff;
}

.dc-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.dc-section__header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.dc-section__header p {
  font-size: 1.125rem;
  color: #4b5563;
  max-width: 42rem;
  margin: 0 auto;
}

.dc-section--blue .dc-section__header p {
  color: rgba(255,255,255,0.9);
}

/* ===== GRID ===== */
.dc-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dc-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dc-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.dc-grid-2--center {
  align-items: center;
}

@media (min-width: 768px) {
  .dc-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .dc-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .dc-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ===== FEATURE CARDS ===== */
.dc-feature {
  text-align: center;
}

.dc-feature__icon {
  width: 64px;
  height: 64px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dc-feature__icon svg {
  width: 32px;
  height: 32px;
  color: #2563eb;
}

.dc-feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dc-feature p {
  color: #4b5563;
}

/* ===== SERVICE CARDS ===== */
.dc-service-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.dc-service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

.dc-service-card__top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dc-service-card__icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.dc-service-card__icon svg {
  width: 32px;
  height: 32px;
}

.dc-service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.dc-service-card p {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.dc-service-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dc-service-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
}

.dc-service-card__feature svg {
  width: 20px;
  height: 20px;
  color: #2563eb;
  flex-shrink: 0;
}

/* ===== VALUE CARDS ===== */
.dc-value-card {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.dc-value-card__icon {
  width: 64px;
  height: 64px;
  background: #dbeafe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dc-value-card__icon svg {
  width: 32px;
  height: 32px;
  color: #2563eb;
}

.dc-value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.dc-value-card p {
  color: #4b5563;
}

/* ===== TEAM ===== */
.dc-team-member {
  text-align: center;
}

.dc-team-member__avatar {
  width: 192px;
  height: 192px;
  background: #e5e7eb;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.75rem;
}

.dc-team-member h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dc-team-member__role {
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.dc-team-member p:last-child {
  color: #4b5563;
}

/* ===== STATS ===== */
.dc-stats {
  text-align: center;
}

.dc-stats__number {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.dc-stats__label {
  font-size: 1.25rem;
}

/* ===== ABOUT IMAGE ===== */
.dc-img-rounded {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  width: 100%;
}

/* ===== TECH LIST ===== */
.dc-tech-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dc-tech-list__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #374151;
}

.dc-tech-list__dot {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== INFO BOXES ===== */
.dc-info-box {
  padding: 1.5rem;
  background: #eff6ff;
  border-radius: 0.5rem;
  text-align: center;
}

.dc-info-box h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dc-info-box p {
  color: #4b5563;
}

.dc-info-box--icon svg {
  width: 32px;
  height: 32px;
  color: #2563eb;
  margin: 0 auto 0.75rem;
}

/* ===== FORMS ===== */
.dc-form-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  padding: 2rem;
}

@media (min-width: 768px) {
  .dc-form-card {
    padding: 3rem;
  }
}

.dc-form-card__header {
  text-align: center;
  margin-bottom: 2rem;
}

.dc-form-card__header h2 {
  font-size: 1.875rem;
  margin-bottom: 0.5rem;
}

.dc-form-card__header p {
  color: #4b5563;
}

.dc-form-group {
  margin-bottom: 1.5rem;
}

.dc-form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.dc-form-group label svg {
  width: 16px;
  height: 16px;
}

.dc-form-group input,
.dc-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #f9fafb;
}

.dc-form-group input:focus,
.dc-form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dc-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.dc-form-note {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 1rem;
}

/* Success Message */
.dc-success {
  text-align: center;
  padding: 2rem 0;
}

.dc-success__icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.dc-success__icon svg {
  width: 32px;
  height: 32px;
  color: #16a34a;
}

.dc-success h2 {
  font-size: 1.875rem;
  color: #16a34a;
  margin-bottom: 1rem;
}

.dc-success p {
  color: #4b5563;
  font-size: 1.125rem;
}

/* ===== CONTACT INFO ===== */
.dc-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dc-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.dc-contact-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #dbeafe;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dc-contact-item__icon svg {
  width: 24px;
  height: 24px;
  color: #2563eb;
}

.dc-contact-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.dc-contact-item p {
  color: #4b5563;
}

.dc-contact-item__sub {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===== MAP PLACEHOLDER ===== */
.dc-map-placeholder {
  background: #d1d5db;
  border-radius: 0.5rem;
  height: 384px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #4b5563;
}

.dc-map-placeholder svg {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
}

.dc-map-placeholder p:first-of-type {
  font-size: 1.125rem;
}

.dc-map-placeholder p:last-of-type {
  font-size: 0.875rem;
}

/* ===== FAQ ===== */
.dc-faq {
  max-width: 48rem;
  margin: 0 auto;
}

.dc-faq__item {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.dc-faq__item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dc-faq__item p {
  color: #4b5563;
}

/* ===== QUICK INFO CARDS ===== */
.dc-quick-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .dc-quick-info {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== TEXT COLORS ===== */
.dc-text-gray { color: #4b5563; }
.dc-text-lg { font-size: 1.125rem; }
.dc-text-center { text-align: center; }
.dc-mb-4 { margin-bottom: 1rem; }
.dc-mb-6 { margin-bottom: 1.5rem; }
.dc-mb-8 { margin-bottom: 2rem; }
.dc-mb-12 { margin-bottom: 3rem; }
.dc-mt-8 { margin-top: 2rem; }

/* ===== INSURANCE GRID ===== */
.dc-insurance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .dc-insurance-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== CONTACT PAGE GRID ===== */
@media (min-width: 1024px) {
  .dc-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* ===== CTA SECTION ===== */
.dc-cta {
  text-align: center;
}

.dc-cta h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.dc-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ===== PREVIEW SERVICE CARDS ===== */
.dc-preview-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.dc-preview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.dc-preview-card p {
  color: #4b5563;
}

/* ===== 4-COL VALUE GRID ===== */
.dc-grid-4-lg {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .dc-grid-4-lg {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .dc-grid-4-lg {
    grid-template-columns: repeat(4, 1fr);
  }
}
