/* Signature Smiles - Dr Saumya | Professional Dental Clinic */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0d9488; /* Teal */
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --text-dark: #0f172a; /* Slate 900 */
  --text-body: #475569; /* Slate 600 */
  --bg-color: #ffffff;
  --bg-light: #f8fafc; /* Slate 50 */
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  --transition: all 0.3s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

p {
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
  border: none;
}

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

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

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

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

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1ebe57;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-location {
  background-color: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  border-radius: 50%;
}

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

.location-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
}

.logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.logo .logo-text {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

/* Hero Section */
.hero {
  padding-top: 150px;
  padding-bottom: 7rem;
  background: radial-gradient(circle at 15% 50%, rgba(204, 251, 241, 0.8) 0%, rgba(248, 250, 252, 1) 100%);
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--primary-light);
  font-weight: 500;
  color: var(--text-dark);
}

.google-rating-badge .stars {
  color: #fbbf24;
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-body);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-image-bg {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: 0.1;
}

/* Trust / Highlights */
.trust-section {
  padding: 6rem 0;
  background-color: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.trust-card {
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.trust-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

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

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

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content {
  flex: 1;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* Services */
.services-section {
  padding: 5rem 0;
  background-color: white;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-slider-wrapper {
  position: relative;
  width: 100%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.25rem;
}

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

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

.services-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 2rem;
  gap: 1.5rem;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.services-grid::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  min-width: 300px;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: auto;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.service-list {
  margin-top: 1rem;
}

.service-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

/* Doctor Profile */
.doctor-profile {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.profile-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  max-width: 900px;
  margin: 0 auto;
}

.profile-image {
  flex: 1;
  background-color: var(--primary-light);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  flex: 1.5;
  padding: 3rem;
}

.profile-details h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.qualifications {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.experience-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background-color: white;
}

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

.review-card {
  padding: 2.5rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.reviewer-info h4 {
  font-size: 1rem;
  margin: 0;
}

.reviewer-info span {
  font-size: 0.875rem;
  color: var(--text-body);
}

/* Gallery */
.gallery {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

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

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* FAQ */
.faq-section {
  padding: 5rem 0;
  background-color: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-dark);
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-answer {
  margin-top: 1rem;
  display: none;
  color: var(--text-body);
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* Contact */
.contact-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: #f1f5f9;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 50px;
  margin-bottom: 1.5rem;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
}

.footer-brand p {
  color: #cbd5e1;
}

.footer-heading {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.875rem;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-whatsapp:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

.float-call {
  background-color: var(--primary-color);
}

.float-call:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container,
  .about-container,
  .contact-grid {
    flex-direction: column;
  }
  
  .profile-card {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .section-header {
    text-align: center;
  }
  
  .service-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
  }

  .nav-actions .btn {
    width: 100%;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .service-card {
    flex: 0 0 100%;
  }

  .slider-btn {
    display: none; /* Hide UI arrows on mobile, rely on native touch swipe */
  }
}
