/* 
  Modern Dental Clinic Design System
  Colors: White, Light Blue, Teal
  Typography: Poppins, Inter
*/

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

:root {
  --primary-teal: #008080;
  --primary-blue: #e0f7fa;
  --accent-blue: #00bcd4;
  --dark-teal: #006064;
  --white: #ffffff;
  --gray-light: #f5f7f8;
  --gray-medium: #e1e4e8;
  --text-dark: #2c3e50;
  --text-muted: #7f8c8d;
  --font-main: 'Poppins', sans-serif;
  --font-alt: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

.section-padding {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/abstract-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.5; /* 50% show */
  z-index: -1;
  pointer-events: none;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--dark-teal);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 128, 128, 0.3);
}

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

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

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow);
}

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

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

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 20px;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.badge-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-hover);
  display: flex;
  gap: 20px;
}

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

.badge-item h3 {
  color: var(--primary-teal);
  font-size: 1.5rem;
}

.badge-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Services */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-teal);
  margin-bottom: 15px;
}

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

.service-card {
  background: var(--gray-light);
  padding: 40px;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-align: center;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/images/abstract-bg.png');
  background-size: 150%;
  background-position: center;
  opacity: 0.5; /* 50% show as requested */
  transition: var(--transition);
  z-index: -1;
}

.service-card:hover::before {
  opacity: 0.05;
  transform: scale(1.1);
}

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

.service-icon {
  font-size: 3.5rem;
  color: var(--primary-teal);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--white);
}

.service-card p {
  transition: var(--transition);
}

.service-card:hover p {
  color: rgba(255, 255, 255, 0.9);
}

/* Banner Layout */
.banner-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

@media (max-width: 992px) {
  .banner-flex {
    flex-direction: column;
    text-align: center;
  }
  .banner-flex .btn {
    margin: 0 auto;
  }
  .small-img {
    display: none;
  }
}

.banner-img-stack {
  position: relative;
  width: 100%;
}

@media (max-width: 992px) {
  .banner-img-stack {
    height: auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .banner-img-stack img, .small-img, .extra-img {
    position: static !important;
    width: 100% !important;
    max-width: 400px;
    transform: none !important;
  }
}

.attraction-banner h2 {
  line-height: 1.1;
}

/* Video Section */
.video-section {
  background-color: var(--primary-blue);
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.video-placeholder {
  width: 100%;
  height: 500px;
  background: url('assets/images/hero-bg.png') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 128, 128, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(0, 128, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 128, 128, 0); }
}

/* Testimonials */
.testimonial-slider {
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  text-align: center;
}

.patient-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 4px solid var(--primary-teal);
}

.stars {
  color: #f1c40f;
  margin-bottom: 15px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Booking Section */
.booking-section {
  background: linear-gradient(135deg, var(--primary-blue), var(--white));
}

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

.booking-form {
  background: var(--white);
  padding: 50px;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-medium);
  border-radius: 10px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--primary-teal);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 999;
}

/* Contact & Footer */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.map-container {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--accent-blue);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.footer-links h4 {
  margin-bottom: 25px;
  font-size: 1.2rem;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a:hover {
  color: var(--accent-blue);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

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

.social-icons a:hover {
  background: var(--accent-blue);
}

.copyright {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .about-grid, .booking-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .section-padding { padding: 60px 0; }
  .hero h1 { font-size: 2.5rem; }
}
