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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #000;
  transition: opacity 0.8s ease;
}

body.fade-out {
  opacity: 0;
}

body.fade-in {
  opacity: 1;
}


/* Header Top */
.header-top {
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  font-size: 0.95rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 20px;       /* mail ve telefon arası boşluk */
  flex-wrap: wrap; /* mobilde alt satıra insin */
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;        /* ikon ile yazı arasındaki boşluk */
}

.contact-item i {
  color: #7b1515;  /* ikon rengi */
  font-size: 16px;
}

.contact-item a {
  color: #555;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

@media screen and (max-width: 768px) {
  .contact-left {
    flex-direction: column; /* mobilde alt alta */
    align-items: flex-start;
    gap: 10px;
  }
}



.social-icons,
.social-icons a {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  text-decoration: none;
  color: #300000;
}

.social-icons a:visited {
  color: #300000;
}

.social-icons a:hover,
.social-icons:hover {
  color: #25d366;
}

.social-icons i {
  font-size: 20px;
  margin-right: 6px;
  color: #25d366;
}

.social-icons span {
  font-weight: 500;
}







/* Header Main */
.header-main {
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 15px 5%;
  border-bottom: 1px solid #eee;
}

.logo-wrapper a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;       
  transition: color 0.3s ease;
}

.logo-wrapper a:hover .logo-text h1 {
  color: #d4aa00;
}

.logo-wrapper a:hover .logo-text p {
  color: #d4aa00;
}



.site-logo {
  height: 90px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.6rem;
  color: #7b1515;
  font-weight: bold;
  margin: 0;
}

.logo-text p {
  font-size: 1rem;
  color: #7b1515;
  margin: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  text-decoration: none;
  color: #300000;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #7b1515;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-background.visible {
  opacity: 1;
}


.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 60px 30px;
  border-radius: 8px;
  text-align: center;
  color: white;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.hero-overlay.animate-in {
  opacity: 1;
  transform: translateY(0);
}



.hero-overlay h2 {
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: #d4aa00;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-overlay p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  transform: scale(1);
}

.btn:hover {
  transform: scale(1.05);
}

.btn.primary {
  background-color: #d4aa00;
  color: #000;
}

.btn.secondary {
  border: 2px solid #d4aa00;
  color: #d4aa00;
}

.btn.primary:hover {
  background-color: #c89f00;
}

.btn.secondary:hover {
  background-color: #d4aa00;
  color: #000;
}


/* Contact Preview */
.contact-preview {
  padding: 50px 5%;
  background-color: #f5f5f5;
}

.contact-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-image-wrapper,
.contact-form {
  flex: 1;
  max-width: 600px;
}

.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
}

.contact-form button {
  background-color: #7b1515;
  color: white;
  padding: 10px;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #5a0f0f;
}

/* Footer */
.dark-footer {
  background-color: #300000;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.dark-footer a {
  color: #fff;
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .hero-overlay {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .contact-row {
    flex-direction: column;
  }
}

/* --- Hakkımda Sayfası --- */
.about-section {
  padding: 60px 5%;
  background-color: #fdfdfd;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

.profile-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.profile-card img {
  width: 100%;
  height: 320px;   /* sabit yükseklik veriyoruz */
  object-fit: cover;  /* resmi kırparak alanı doldurur */
  border-radius: 8px;
  margin-bottom: 15px;
}



.profile-card h2 {
  color: #7b1515;
  margin: 10px 0 5px;
}

.profile-card p {
  font-size: 0.95rem;
  margin: 6px 0;
}

.bio {
  flex: 2;
  max-width: 600px;
}

.bio h2 {
  font-size: 1.5rem;
  color: #300000;
  margin-bottom: 15px;
}

.bio p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Mobil uyum */
@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .profile-card, .bio {
    max-width: 100%;
  }
}

/* --- Hizmetler Sayfası --- */
.services-area {
  padding: 60px 5%;
  background-color: #fdfdfd;
}

.services-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.services-header h2 {
  font-size: 2rem;
  color: #300000;
  margin-bottom: 15px;
}

.services-header p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  font-style: italic;
}

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

.service-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.service-box h3 {
  color: #7b1515;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.service-box p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .services-header h2 {
    font-size: 1.5rem;
  }

  .service-box {
    padding: 20px;
  }
}

/* Bölümler arası boşluk */
section {
  padding: 80px 5%;   /* Yukarı-aşağı 80px boşluk, sağ-sol %5 */
}

.about-preview, 
.services-preview, 
.contact-preview {
  background-color: #fdfdfd; /* Açık gri beyaz arası arka plan */
}

/* Hero bölümü biraz daha büyük olsun */
.hero-banner {
  height: 80vh; /* daha yüksek görünüm */
}

/* Hizmetler kısmı arka plan farklı */
.services-preview {
  background-color: #f7f7f7; 
}

/* İletişim kısmı daha belirgin */
.contact-preview {
  background-color: #fafafa;
  border-top: 1px solid #eee;
}


/* --- Sayfa Üstü Kahraman (Hero) Alanı --- */
.page-hero {
  width: 100%;
  height: 50vh; /* Ekranı tamamen kaplasın (tam sığsın) */
  background-size: cover; /* Tam kapla, oranı koruyarak */
  background-position: center center; /* Ortala */
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* görselin üstüne karartma efekti */
  z-index: 0;
}

.page-hero-overlay {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
  color: white; /* ← bunu mutlaka ekle */
  text-align: center;
  padding: 0 20px;
}


.page-hero-overlay.animate-in {
  opacity: 1;
  transform: translateY(0);
}


.page-hero-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
}

/* --- İletişim Sayfası --- */
.contact-page {
  padding: 60px 5%;
  background-color: #fdfdfd;
  font-family: 'Poppins', sans-serif;
}

.contact-info-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto auto 50px auto;
  align-items: flex-start;
  justify-content: space-between;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h2 {
  font-size: 1.8rem;
  color: #7b1515;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #3b0a0a;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background-color: #7b1515;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #5a0f0f;
}

.map-address {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.address-details {
  flex: 1;
  min-width: 280px;
  font-size: 1rem;
  color: #3b0a0a;
}

.address-details p {
  margin-bottom: 15px;
}

/* Mobil uyum */
@media screen and (max-width: 768px) {
  .contact-info-form,
  .map-address {
    flex-direction: column;
  }
  .contact-page {
    padding: 40px 5%;
  }
}

/* --- Why Us Section --- */
.why-us {
  padding: 100px 5%;
  background: url('../assets/court-bg.jpeg') center/cover no-repeat;
  position: relative;
  color: white;
  margin-top: 50px;
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65); /* karartma efekti */
  z-index: 0;
}

.why-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.why-left {
  flex: 1;
  min-width: 300px;
}

.why-us .why-left h2 {
  color: #d4aa00;           
}

.why-us .why-item h3{
    color: #f5e6c8;          

}


.section-subtitle {
  font-size: 0.9rem;
  color: #d4aa00;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-left h2 {
  font-size: 2rem;
  margin: 15px 0 30px;
}

.why-item {
  margin-bottom: 25px;
}

.why-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.why-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
}

.stat-box {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
}

.stat-box h3 {
  font-size: 2rem;
  color: #d4aa00;
  margin-bottom: 10px;
}

.stat-box p {
  font-size: 1rem;
  color: #eee;
}

/* Mobil uyum */
@media screen and (max-width: 768px) {
  .why-container {
    flex-direction: column;
    text-align: center;
  }
}

.stat-box .countup{
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 1px;
}

/* Menü butonu varsayılan gizli */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #300000;
  cursor: pointer;
  position: relative; /* referans noktası */
  z-index: 1001; /* menünün üstünde olsun */
}

@media screen and (max-width: 768px) {
  .main-nav {
    position: relative;
    width: 100%;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: absolute;
    top: 100%; /* hamburger ikonunun hemen altına */
    left: 0;   /* soldan başlasın */
    width: 100%; /* tam genişlik kaplasın */
    border-top: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .main-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    font-size: 1.8rem;
  }
}

.founder-title {
  font-size: 1rem;
  font-weight: 600;
  color: #7b1515; /* tema rengine göre ayarlayabilirsin */
  margin: -8px 0 10px; /* başlığa yakın olsun diye */
}


.faq-section {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.faq-section h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #300000;
  font-size: 2rem;
}

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

.faq-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.faq-box:hover {
  transform: translateY(-3px);
}

.faq-box h2 {
  margin-bottom: 15px;
  color: #7b1515;
  font-size: 1.3rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
}

.faq-item {
  margin: 10px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #7b1515;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 5px 0 10px 0;
  color: #555;
  line-height: 1.6;
}









