:root {
  --club-red: #c8102e;
  --club-red-dark: #8f0b20;
  --club-black: #111111;
  --club-white: #ffffff;
  --club-gray: #f7f7f7;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: var(--club-white);
  color: var(--club-black);
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.section-title,
.hero h1,
.btn-club,
.btn-send {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

a {
  text-decoration: none;
}

/* ---------- Navbar ---------- */
.navbar-club {
  background-color: var(--club-white);
  border-bottom: 3px solid var(--club-red);
}

.navbar-club .navbar-brand {
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--club-black) !important;
}

.navbar-club .navbar-brand span {
  color: var(--club-red);
}

.navbar-club .nav-link {
  color: var(--club-black) !important;
  font-weight: 600;
  margin: 0 8px;
  position: relative;
}

.navbar-club .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--club-red);
  transition: width 0.25s ease;
}

.navbar-club .nav-link:hover::after,
.navbar-club .nav-link.active::after {
  width: 100%;
}

.navbar-club .nav-link:hover,
.navbar-club .nav-link.active {
  color: var(--club-red) !important;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.75) 100%), url("header.jpeg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--club-white);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
}

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

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
}

.hero .btn-club {
  background-color: var(--club-red);
  color: var(--club-white);
  border: none;
  padding: 12px 32px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.hero .btn-club:hover {
  background-color: var(--club-red-dark);
  color: var(--club-white);
}

/* ---------- Section headers ---------- */
.section-title {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -14px;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--club-black), var(--club-red));
}

section {
  padding: 90px 0;
}

.bg-club-gray {
  background-color: var(--club-gray);
}

/* ---------- Hakkımızda ---------- */
.about-img-wrap {
  position: relative;
  border-left: 6px solid var(--club-red);
}

.stat-box {
  border: 1px solid #e5e5e5;
  border-top: 4px solid var(--club-red);
  background-color: var(--club-white);
  padding: 24px 10px;
  text-align: center;
}

.stat-box h3 {
  color: var(--club-red);
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 0;
}

.stat-box p {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--club-black);
}

/* ---------- Kategoriler ---------- */
.category-card {
  background-color: var(--club-white);
  border: 1px solid #eee;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.category-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--club-black);
  color: var(--club-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 28px auto 18px;
  transition: background-color 0.25s ease;
}

.category-card:hover .category-icon {
  background-color: var(--club-red);
}

.category-card h5 {
  font-weight: 800;
  text-transform: uppercase;
}

.category-card .card-body {
  text-align: center;
  padding-bottom: 30px;
}

/* ---------- Galeri ---------- */
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
  border: 3px solid transparent;
  transition: border-color 0.25s ease;
}

@media (min-width: 768px) {
  .gallery-item {
    height: 240px;
  }
}

.gallery-item:hover {
  border-color: var(--club-red);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item::before {
  content: "\f00e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--club-white);
  font-size: 1.6rem;
  background-color: rgba(17, 17, 17, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

#galleryModal .modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

#galleryModalImg {
  width: 100%;
  height: 70vh;
  max-height: 600px;
  object-fit: contain;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background-color: rgba(17, 17, 17, 0.55);
  color: var(--club-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  z-index: 5;
}

.gallery-nav:hover {
  background-color: var(--club-red);
}

.gallery-nav-prev {
  left: -10px;
}

.gallery-nav-next {
  right: -10px;
}

@media (max-width: 576px) {
  .gallery-nav-prev {
    left: 4px;
  }

  .gallery-nav-next {
    right: 4px;
  }
}

/* ---------- İletişim ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: var(--club-red);
  color: var(--club-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.map-wrap {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-left: 6px solid var(--club-red);
  overflow: hidden;
}

.form-control:focus {
  border-color: var(--club-red);
  box-shadow: 0 0 0 0.2rem rgba(200, 16, 46, 0.15);
}

.btn-send {
  background-color: var(--club-black);
  color: var(--club-white);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  padding: 12px 30px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.btn-send:hover {
  background-color: var(--club-red);
  color: var(--club-white);
}

/* ---------- Sosyal Medya ---------- */
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--club-red);
  color: var(--club-red);
  margin-right: 10px;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background-color: var(--club-red);
  color: var(--club-white);
}

.footer .social-icons a {
  border-color: var(--club-white);
  color: var(--club-white);
}

.footer .social-icons a:hover {
  background-color: var(--club-red);
  border-color: var(--club-red);
  color: var(--club-white);
}

/* ---------- Footer ---------- */
.footer {
  background-color: var(--club-black);
  color: #cfcfcf;
  padding: 50px 0 20px;
}

.footer h5 {
  color: var(--club-white);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer a {
  color: #cfcfcf;
}

.footer a:hover {
  color: var(--club-red);
}

.footer hr {
  border-color: #333;
}

/* ---------- Alt Bilgi Şeridi ---------- */
.credit-bar {
  background-color: var(--club-white);
  color: var(--club-black);
  padding: 14px 0;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

.credit-bar a,
.credit-bar a:link,
.credit-bar a:visited {
  color: var(--club-red) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.credit-bar a:hover,
.credit-bar a:active {
  color: var(--club-red-dark) !important;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--club-red);
  color: var(--club-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}