/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #dde1f0;
  color: #333;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  height: 100px; /* sabit yükseklik */
  background: rgba(59, 72, 125, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo img {
  height: 160px;
}

.logo a img {
  transition: 0.3s;
}

.logo a img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  position: relative;
  font-weight: 500;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: #ffcc00;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #ffcc00;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  min-height: 70vh;
  background: linear-gradient(to bottom, #3b477a, #a5b1e7 );  
}

/* SOL TARAF (YAZI) */
.hero-left {
  max-width: 50%;
  transform: translateX(80px); /* sağa kaydır */
}

.hero-left h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero-left p {
  color: #ffffff; /* Yazı Rengi  */
  margin-bottom: 20px;
}

/* SAĞ TARAF (GÖRSEL) */
.hero-right img {
  width: 400px;
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  /* box-shadow: 0 10px 30px #ffffff; */ /* görselin gölgesi */
  transform: translateX(-250px); /* sola kaydır */
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 20px;
}

/* BUTTON */
.btn {
  padding: 12px 25px;
  background: #d43e88;      /* Buton Rengi */
  color: white;     /* Yazı Rengi */
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  opacity: 0.85;
  background-color: #ff0000; /* hover rengi */
}

/* SECTIONS */
.section {
  padding: 60px 40px;
  text-align: center;
}

/* GRID */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(260px, 420px));
  justify-content: center;
}

.blog-hero {
  background: linear-gradient(to bottom, #3b477a, #a5b1e7);
}

.blog-hero h1 {
  margin-bottom: 10px;
}

.blog-hero p {
  color: #ffffff;
  max-width: 700px;
  margin: 0 auto;
}

.blog-listing {
  padding-top: 40px;
}

.contact-hero {
  background: linear-gradient(to bottom, #3b477a, #a5b1e7);
}

.contact-hero h1 {
  margin-bottom: 10px;
}

.contact-hero p {
  color: #ffffff;
  max-width: 760px;
  margin: 0 auto;
}

.contact-section {
  padding-top: 36px;
}

.contact-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.contact-form-wrapper h2 {
  color: #2f3a66;
  margin-bottom: 8px;
}

.contact-note {
  color: #5f6584;
  font-size: 14px;
  margin-bottom: 18px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  color: #2f3a66;
  font-weight: 600;
  margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7cee8;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  outline: none;
  background: #f9faff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #5f73c7;
}

.contact-submit {
  margin-top: 14px;
  border: none;
  cursor: pointer;
}

.services-hero {
  background: linear-gradient(to bottom, #3b477a, #a5b1e7);
}

.services-hero h1 {
  margin-bottom: 10px;
}

.services-hero p {
  color: #ffffff;
  max-width: 760px;
  margin: 0 auto;
}

.services-main {
  padding-top: 36px;
}

.services-list {
  max-width: 1100px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(59, 71, 122, 0.25);
}

.service-item img {
  width: 520px;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.service-text {
  text-align: left;
}

.service-text h2 {
  color: #2f3a66;
  font-size: 32px;
  margin-bottom: 10px;
}

.service-text p {
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.75;
}

.service-text ul {
  margin: 8px 0 12px 22px;
  padding-left: 8px;
}

.service-text li {
  color: #4a4a4a;
  font-size: 18px;
  line-height: 1.75;
  margin-bottom: 4px;
}

.blog-post-main {
  padding: 50px 20px 70px;
}

.blog-post-article {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.blog-post-cover {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
}

.blog-post-meta {
  color: #6d7392;
  font-size: 14px;
  margin-bottom: 8px;
}

.blog-post-title {
  color: #2f3a66;
  font-size: 34px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.blog-post-intro {
  font-size: 18px;
  color: #3f476a;
  margin-bottom: 20px;
}

.blog-post-content h2 {
  font-size: 25px;
  color: #2f3a66;
  margin-top: 26px;
  margin-bottom: 10px;
}

.blog-post-content p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
}

.blog-post-back {
  display: inline-block;
  margin-top: 14px;
  text-decoration: none;
  color: #2f3a66;
  font-weight: bold;
}

.blog-post-back:hover {
  color: #1f2b5b;
}

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card-large {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card-large:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-link {
  display: block;
}

.blog-card-link img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.blog-card-meta {
  color: #6d7392;
  font-size: 13px;
  margin: 14px 16px 0;
  text-align: left;
}

.blog-card-large h2 {
  padding: 8px 16px 22px;
  font-size: 22px;
  line-height: 1.35;
  text-align: left;
}

.blog-title-link {
  color: #3b487d;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-title-link:hover {
  color: #1f2b5b;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr; /* mobilde alt alta */
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-card-link img {
    height: 220px;
  }

  .blog-card-large h2 {
    font-size: 20px;
  }

  .blog-post-article {
    padding: 18px;
  }

  .blog-post-cover {
    height: 220px;
  }

  .blog-post-title {
    font-size: 28px;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
  }

  .service-item img {
    width: 100%;
    height: 300px;
  }

  .service-text h2 {
    font-size: 24px;
  }

  .contact-form-wrapper {
    padding: 18px;
  }
}

/* CARD */
.card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  background: #6378d1;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 15px;
  font-size: 16px;
}

/* FOOTER */
footer {
  background: #111;
  color: #ddd;
  padding: 40px;
  text-align: center;
}

footer p {
  margin: 5px 0;
}

/* MOBILE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    height: auto; /* sabit yüksekliği kaldır */
    padding: 15px 20px;
  }

  .logo img {
    height: 80px; /* mobilde logo küçülür */
  }

  nav {
    margin-top: 10px;
    display: flex;
    flex-direction: column; /* linkler alt alta */
    align-items: center;
    gap: 10px;
  }
  nav a {
    font-size: 16px; /* mobilde daha okunaklı */
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    align-items: center;
    padding: 40px 20px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-left {
    max-width: 100%;
    transform: none; /* mobilde kaydırmayı kaldır */
    margin: 0;
  }

  .hero-right img {
    width: 100%;
    max-width: 300px; /* mobilde daha uygun boyut */
    transform: none;   /* kaydırmayı kaldır */
    margin: 20px 0 0 0;
  }
}

h1 {
  color: #ffffff; /* En Büyük Başlık */
}

h2 {
  color: #3b487d; /* Başlık */
}

h3 {
  color: #c52525; /* hizmet/blog kart başlıkları */
}

p {
  color: #555555; /* Paragraflar */
}

.card h3 {
  background-color: #6378d1; /* istediğin arkaplan rengi */
  color: #ffffff;            /* başlık yazı rengi */
  padding: 8px 12px;         /* başlık etrafında boşluk */
  border-radius: 4px 4px 0 0; /* üst köşeleri yuvarlatmak istersen */
  text-align: center;         /* başlığı ortalamak için */
}


/* HAKKIMDA SAYFASI */
.hakkimda-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px; /* resim ve paragraf arası boşluk */
  padding: 60px 40px;
}

.hakkimda-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px; /* isteğe bağlı, görseli yumuşatır */
  transform: translate(-80px, -150px); /* sola ve yukarı kaydır */
}

.hakkimda-right {
  max-width: 600px;
}

.hakkimda-right h1 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222; /* başlık rengi */
}

.hakkimda-right p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px; /* paragraflar arası boşluk */
  color: #555; /* paragraf rengi */
}

/* Mobil uyum */
@media (max-width: 768px) {
  .hakkimda-section {
    flex-direction: column; /* resim üstte, yazı altta */
    text-align: center;
  }

  .hakkimda-left img {
    transform: none; /* mobilde kaydırmayı iptal et */
  }
}

/* Hamburger butonu */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

/* Mobilde görünür */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;       /* başlangıçta gizli */
    flex-direction: column;
    width: 100%;
    text-align: center;
    background: #3b487d;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
  }

  .nav-links.open {
  display: flex; /* open class eklenince göster */
}

  .nav-links a {
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    margin: 0;
    text-decoration: none;
  }

  .nav-links a:hover {
    background-color: #2f3a66;
  }

}

/* TESTIMONIAL SLIDER */
.testimonials {
  background: #f5f7ff;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 40px auto 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  color: #444;
}

.testimonial-card h4 {
  color: #3b487d;
  font-size: 14px;
}

/* butonlar */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #3b487d;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-btn:hover {
  background: #2f3a66;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: 0.3s;
  cursor: pointer;
}

.social-icons img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

/* FOOTER MODERN */
.footer {
  background: #111;
  color: #ddd;
  padding: 60px 40px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h2,
.footer-col h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  color: #bbb;
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-brand-logo {
  width: 120px;
  height: auto;
  border-radius: 8px;
}

.footer-brand-link:hover {
  transform: none;
}

/* Footer sosyal ikonlar */
.footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer .social-icons img {
  width: 35px;
  height: 35px;
  transition: 0.3s;
}

.footer .social-icons img:hover {
  transform: scale(1.2);
}

/* Alt kısım */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 13px;
}

/* ORTAK MOBIL GORSEL UYUMU */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }

  .section {
    padding: 40px 20px;
  }

  .logo img {
    height: 72px;
    width: auto;
  }

  .hero-right img {
    max-width: 280px;
    margin: 16px auto 0;
  }

  .hakkimda-left img {
    max-width: 320px;
    margin: 0 auto;
    transform: none;
  }

  .card img,
  .blog-card-link img,
  .blog-post-cover,
  .service-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}

.randevu-section {
  padding: 70px 20px;
  text-align: center;
  background: linear-gradient(180deg, #eef1ff 0%, #dde1f0 100%);
}

.randevu-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 26px;
  box-shadow: 0 14px 36px rgba(38, 53, 118, 0.14);
  text-align: left;
}

.randevu-section h2 {
  font-size: 30px;
  margin-bottom: 8px;
  color: #2f3a66;
  text-align: center;
}

.randevu-section p {
  margin-bottom: 22px;
  color: #5f6584;
  text-align: center;
}

.randevu-form {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.randevu-form input,
.randevu-form textarea,
.randevu-form select {
  width: 100%;
  border: 1px solid #c9d2f5;
  border-radius: 12px;
  padding: 13px 14px;
  background: #f8f9ff;
  color: #2f3a66;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}

.randevu-form input:focus,
.randevu-form textarea:focus,
.randevu-form select:focus {
  border-color: #5f73c7;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(95, 115, 199, 0.18);
}

.randevu-form button {
  padding: 14px;
  background: linear-gradient(90deg, #d43e88, #ff5b96);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
}

.randevu-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(212, 62, 136, 0.35);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .randevu-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .randevu-section h2 {
    font-size: 26px;
  }
}

.legal-text {
  margin-top: 15px;
  font-size: 13px;
  color: #777;
  text-align: center;
}

.legal-text span {
  color: #d43e88;
  cursor: pointer;
  text-decoration: underline;
}

.legal-text span:hover {
  opacity: 0.8;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 15px;
}

.modal-content h3 {
  margin-top: 15px;
  color: #3b487d;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

/* TAB MENU */
.tabs {
  display: flex;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.tab-btn {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.tab-btn.active {
  border-bottom: 3px solid #d43e88;
  color: #d43e88;
}

.tab-btn:hover {
  background: #f5f5f5;
}

/* TAB CONTENT */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}