:root {
  /* Colors from the logo and requested palette */
  --color-white: #ffffff;
  --color-light-gray: #f5f5f7; /* Apple style light gray */
  --color-gray: #888888;
  --color-dark-gray: #333333;
  --color-charcoal: #111111;
  --color-red: #d32f2f; /* Strong premium red */
  --color-red-hover: #b71c1c;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --section-padding: 100px 20px;
  --border-radius: 16px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  color: var(--color-dark-gray);
}

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

.section-title h2 {
  color: var(--color-charcoal);
}

.section-title p {
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  text-align: center;
  border: none;
  outline: none;
}

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

.btn-primary:hover {
  background-color: var(--color-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
}

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

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

/* HEADER / NAVBAR */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  position: relative;
  width: 150px; /* Logoya yer ayırdık */
  height: 50px; /* Header boyutunun normal kalması için yükseklikle oynadık */
}

.logo img {
  position: absolute;
  top: -15px; /* Logoyu header'ın hafif üstüne taşırdık */
  left: 0;
  height: 160px; /* DEvasa boyut! */
  width: 160px;
  object-fit: cover; 
  border-radius: 50%; 
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.25); /* Kendi kurumsal kırmızısı ile lüks bir ışık/gölge efekti */
  border: 5px solid white;
  background-color: white; 
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Tatlı bir sıçrama efekti */
  z-index: 100;
}

header.scrolled .logo {
  width: 80px;
}

header.scrolled .logo img {
  height: 85px;
  width: 85px;
  border-width: 3px;
  top: -5px;
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-red);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #25D366; /* Base color for WP, but can use brand red if requested. Using red for consistency */
  background-color: var(--color-red);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-red-hover);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--color-light-gray);
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1606811841689-23dfddce3e95?q=80&w=2574&auto=format&fit=crop'); /* Placeholder clinic img */
  background-size: cover;
  background-position: center;
  border-bottom-left-radius: 100px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-text {
  max-width: 600px;
  padding-right: 40px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--color-red);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: var(--color-dark-gray);
}

.hero-btns {
  display: flex;
  gap: 20px;
}

/* SERVICES SECTION */
.services {
  padding: var(--section-padding);
  background-color: var(--color-white);
}

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

.service-card {
  background: var(--color-light-gray);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-align: center;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(211, 47, 47, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--color-red);
  transition: var(--transition);
}

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

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

/* WHY US SECTION */
.why-us {
  padding: var(--section-padding);
  background: var(--color-charcoal);
  color: var(--color-white);
}

.why-us-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content h2 {
  color: var(--color-white);
  margin-bottom: 20px;
}

.why-us-content p {
  color: #cccccc;
  margin-bottom: 30px;
}

.features-list {
  display: grid;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-icon {
  color: var(--color-red);
  font-size: 24px;
}

.why-us-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* BEFORE AFTER GALLERY */
.gallery {
  padding: var(--section-padding);
  background: var(--color-light-gray);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* DOCTOR SECTION */
.doctor {
  padding: var(--section-padding);
}

.doctor-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--box-shadow);
  padding: 40px;
}

.doctor-image {
  flex: 0 0 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.doctor-info h2 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.doctor-title {
  color: var(--color-red);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.doctor-bio {
  margin-bottom: 30px;
}

/* TESTIMONIALS */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-light-gray);
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 10px;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 350px;
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--color-dark-gray);
}

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

/* CONTACT & FOOTER */
footer {
  background: var(--color-charcoal);
  color: var(--color-white);
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

.contact-info {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  color: var(--color-white);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-icon {
  color: var(--color-red);
  font-size: 24px;
}

.info-text h4 {
  margin-bottom: 5px;
}

.info-text p {
  color: #cccccc;
}

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

/* ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
  .hero::after {
    display: none;
  }
  .hero-content {
    text-align: center;
  }
  .hero-text {
    padding-right: 0;
    margin: 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .why-us-container, .doctor-container {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .doctor-image {
    flex: auto;
    width: 100%;
  }
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h2 { font-size: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  
  .nav-links, .whatsapp-btn {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
}
