/*-------------------------------------------------------------------------
  Veternity Veteriner Kliniği - Modern UI
-------------------------------------------------------------------------*/
:root {
  --red: #DF0102;
  --red-dark: #B00202;
  --dark: #090A09;
  --white: #FEFEFE;
  --light-bg: #F6F5F3;
  --muted: #6b6f76;
  --border: #eae7e3;
  --green: #25D366;

  --font: 'Open Sans', sans-serif;

  --shadow-sm: 0 4px 18px rgba(9, 10, 9, 0.06);
  --shadow-md: 0 14px 40px rgba(9, 10, 9, 0.10);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--white);
  font-family: var(--font);
  color: var(--dark);
  padding-top: 80px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section[id], footer[id] { scroll-margin-top: 90px; }

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

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--dark); }

p { color: var(--muted); }

a { text-decoration: none; transition: all 0.3s ease; }

/*--------------------------------------------------------------
  BUTTONS
--------------------------------------------------------------*/
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(223, 1, 2, 0.30);
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(223, 1, 2, 0.38);
}

.btn-outline-light-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 100px;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--dark);
}

/*--------------------------------------------------------------
  SECTION HEADINGS
--------------------------------------------------------------*/
.section-padding { padding-top: 6rem; padding-bottom: 6rem; }

.section-eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
}

.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }

.section-text { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; }

/*--------------------------------------------------------------
  NAVBAR
--------------------------------------------------------------*/
.navbar {
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(12px);
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(9, 10, 9, 0.06);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.brand-logo { border-radius: 12px; object-fit: cover; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }

.brand-text strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--dark); }

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.btn-nav-phone {
  background: var(--dark);
  color: #fff;
  border: 0;
  border-radius: 100px;
  padding: 0.6rem 1.3rem;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn-nav-phone:hover { background: var(--red); color: #fff; }

.navbar-toggler { border: 0; box-shadow: none !important; }

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(9,10,9,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*--------------------------------------------------------------
  HERO
--------------------------------------------------------------*/
.hero-container {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero-slide { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9, 10, 9, 0.82) 0%, rgba(9, 10, 9, 0.45) 55%, rgba(9, 10, 9, 0.15) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(254, 254, 254, 0.14);
  border: 1px solid rgba(254, 254, 254, 0.35);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.1rem;
}

.hero-highlight { color: var(--red); position: relative; }

.hero-desc {
  color: rgba(254, 254, 254, 0.88);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 1.8rem;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(254, 254, 254, 0.92);
  font-size: 0.9rem;
}

.trust-item strong { color: #fff; }

.trust-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(254, 254, 254, 0.4);
}

/*--------------------------------------------------------------
  ABOUT
--------------------------------------------------------------*/
.about-image-wrap { position: relative; max-width: 470px; margin: 0 auto; }

.about-image {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  border: 3px solid var(--red);
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -10px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--dark);
  color: #fff;
  border-radius: 16px;
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow-md);
}
.about-badge i { font-size: 1.5rem; color: var(--red); }
.about-badge strong { display: block; font-size: 0.95rem; }
.about-badge span { font-size: 0.78rem; color: rgba(254, 254, 254, 0.75); }

.about-list { list-style: none; margin: 1.4rem 0 1.6rem; padding: 0; }

.about-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

.about-list i { color: var(--red); font-size: 1.1rem; }

/*--------------------------------------------------------------
  SERVICES
--------------------------------------------------------------*/
.services-section { background: var(--light-bg); }

.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  height: 100%;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(223, 1, 2, 0.08);
  color: var(--red);
  font-size: 1.7rem;
  border-radius: 18px;
  margin-bottom: 1.3rem;
  transition: all 0.35s ease;
}

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

.service-title { font-size: 1.15rem; margin-bottom: 0.6rem; }

.service-text { font-size: 0.92rem; line-height: 1.65; margin-bottom: 0; }

/*--------------------------------------------------------------
  STEPS
--------------------------------------------------------------*/
.steps-section { background: var(--light-bg); }

.step-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  text-align: center;
  height: 100%;
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.step-number {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(223, 1, 2, 0.10);
  line-height: 1;
}

.step-icon {
  font-size: 2.2rem;
  color: var(--red);
  margin-bottom: 1rem;
  display: inline-block;
}

.step-title { font-size: 1.15rem; margin-bottom: 0.6rem; }

.step-text { font-size: 0.92rem; line-height: 1.65; margin-bottom: 0; }

/*--------------------------------------------------------------
  REVIEWS
--------------------------------------------------------------*/
.reviews-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.reviews-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem 2rem 2rem;
  margin: 0;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

.reviews-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.reviews-stars { color: #f5a623; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.reviews-quote {
  color: var(--dark);
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.reviews-author { display: flex; align-items: center; justify-content: center; gap: 0.9rem; }

.reviews-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
}

.reviews-author div { text-align: left; }

.reviews-author strong { display: block; font-size: 0.98rem; }

.reviews-author span { font-size: 0.8rem; color: var(--muted); }

/*--------------------------------------------------------------
  FOOTER
--------------------------------------------------------------*/
.site-footer {
  background: var(--dark);
  color: rgba(254, 254, 254, 0.85);
}

.footer-top { padding-top: 4.5rem; padding-bottom: 3rem; }

.footer-map { line-height: 0; border-top: 1px solid rgba(254, 254, 254, 0.10); }

.footer-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.2rem; }

.footer-brand img { border-radius: 14px; object-fit: cover; }

.footer-brand strong { display: block; color: #fff; font-size: 1.15rem; letter-spacing: 1px; }

.footer-brand span { font-size: 0.75rem; color: var(--red); letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }

.footer-about { font-size: 0.92rem; line-height: 1.7; color: rgba(254, 254, 254, 0.65); margin-bottom: 1.4rem; }

.social-icon { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.7rem; }

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(254, 254, 254, 0.08);
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.social-icon-link:hover { background: var(--red); color: #fff; transform: translateY(-3px); }

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  position: relative;
  padding-bottom: 0.7rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 2px;
  background: var(--red);
}

.footer-list { list-style: none; margin: 0; padding: 0; }

.footer-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-list i { color: var(--red); font-size: 1rem; margin-top: 2px; }

.footer-list a { color: rgba(254, 254, 254, 0.85); }
.footer-list a:hover { color: var(--red); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(254, 254, 254, 0.10);
  font-size: 0.85rem;
  color: rgba(254, 254, 254, 0.6);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(9, 10, 9, 0.85);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--red); color: #fff; }

/*--------------------------------------------------------------
  WHATSAPP FLOAT
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: all 0.3s ease;
}
.whatsapp-float:hover { transform: translateY(-4px) scale(1.05); }
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: waPulse 2s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

/*--------------------------------------------------------------
  RESPONSIVE
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
  body { padding-top: 70px; }

  .hero-container { height: 520px; }

  .navbar-collapse {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    margin-top: 0.8rem;
    box-shadow: var(--shadow-md);
  }
  .btn-nav-phone { display: none; }

  .section-padding { padding-top: 4.5rem; padding-bottom: 4.5rem; }

  .about-badge { right: 0; }
}

@media (max-width: 767.98px) {
  .hero-container { height: 480px; }

  .hero-actions { gap: 0.8rem; }
  .hero-actions .btn { width: 100%; }

  .trust-sep { display: none; }
  .hero-trust { gap: 0.8rem 1.2rem; }

  .reviews-track { grid-template-columns: 1fr; }
  .reviews-card { padding: 1.8rem 1.4rem 1.6rem; }
}

@media (max-width: 575.98px) {
  .hero-container { height: 560px; }

  .hero-badge { font-size: 0.72rem; padding: 0.4rem 0.9rem; margin-bottom: 0.9rem; }

  .hero-title { font-size: 1.9rem; margin-bottom: 0.9rem; }

  .hero-desc { font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.2rem; }

  .hero-actions { gap: 0.7rem; margin-bottom: 1.2rem; }
  .hero-actions .btn { padding: 0.72rem 1rem; font-size: 0.9rem; }

  .hero-trust { gap: 0.6rem 1rem; }
  .trust-item { font-size: 0.8rem; }

  .about-badge { bottom: -16px; padding: 0.7rem 1rem; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .back-to-top { right: 16px; bottom: 84px; width: 40px; height: 40px; }
}
