* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #000;
}

.header .topBar {
  height: 40px;
  background: #000;
  font-size: 0.9rem;
  color: whitesmoke;
  display: flex;
  justify-content: right;
  margin-right: 20px;
  align-items: center;
}

.header .topBar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .topBar .container .socialMedia {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header .topBar .container .socialMedia .socialMediaP {
  border-right: 2px solid whitesmoke;
  padding-right: 1rem;
}

.header .topBar .container .socialMedia a {
  font-size: 1.1rem;
  color: whitesmoke;
}

.header .topBar .container .telephone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 2rem;
}

.header .topBar .container .socialMedia .telephoneP {
  border-right: 2px solid whitesmoke;
  padding-right: 1rem;
}

.header .topBar .container .telephone a {
  font-size: 1rem;
  color: whitesmoke;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: whitesmoke;
}

.navbar .logo img {
  margin-left: 20px;
  width: 100px;
  height: auto;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 15px;
}

.navbar .nav-links a {
  color: #000;
  font-weight: 550;
  text-decoration: none;
  margin-right: 1.2rem;
}

.navbar .nav-links a:hover {
  color: #D72323;
}

#menu-icon {
  display: none;
  margin-top: 15px;
}

.slider {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.intro {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  font-size: 18px;
}

.btn {
  display: flex;
  height: 50px;
  width: 130px;
  background: #d32f2f;
  color: #000;
  text-decoration: none;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
}

.tyrecontainer {
  width: 90%;
  margin: 40px auto;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.card h2 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #222;
}

.card p {
  font-size: 14px;
  color: #555;
}

.price {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #d32f2f;
}


.helpcontainer {
  padding: 50px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.title {
  color: #fff;
  font-size: 50px;
  font-weight: bold;
  border-left: 4px solid #d32f2f;
  /* Mavi çizgi */
  padding-left: 10px;
  margin-bottom: 25px;
}

.content {
  font-size: 30px;
  line-height: 1.6;
  color: white;
}

.content a {
  color: #d32f2f;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

.hemenara {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px;
}

footer {
  text-align: center;
  padding: 0px;
  background: #000;
  color: #fff;
  margin-top: 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  margin: 0px 40px;
}

.footer-map {
  flex: 1;
  max-width: 600px;
}

.footer-map iframe {
  height: 300px;
  width: 600px;
  border: 0px;
}

.footer-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  max-width: 600px;
  gap: 20px;
}

.footer-info h3 {
  margin-bottom: 25px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.footer-info p {
  margin: 8px 0;
  font-size: 16px;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: none;
}

.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.footer {
  position: relative;
  bottom: 0;
  width: 100%;
  padding: 40px 0;
  background-color: var(--second-bf-color);
}

.footer .social {
  text-align: center;
  padding-bottom: 25px;
  color: var(--main-color);
}

.footer .social a {
  font-size: 25px;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  width: 42px;
  height: 42px;
  line-height: 42px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  margin: 0 10px;
  transition: 0.3s ease-in-out;
}

.footer .social a:hover {
  transform: scale(1.2) translateY(-10px);
  background-color: var(--main-color);
  color: #f0f0f0;
  text-shadow: 0 0 25px #D72323;
}

/* ----- RESPONSIVE TASARIM ----- */

/* Mobil */
@media (max-width: 767px) {

  body {
    line-height: 1.4;
  }

  .header .topBar {
    width: max-content;
    height: 30px;
    font-size: 0.8rem;
    display: flex;
    margin-right: 10px;
    align-items: center;
  }

  .header .topBar .container .socialMedia {
    gap: 1rem;
  }

  .header .topBar .container .socialMedia .socialMediaP {
    padding-right: 0.8rem;
  }

  .header .topBar .container .socialMedia a {
    font-size: 1rem;
  }

  .header .topBar .container .telephone {
    gap: 0.5rem;
    margin-right: 4rem;
    margin-left: 2rem;
  }

  .header .topBar .container .telephone a {
    font-size: 0.9rem;
  }

  .navbar {
    flex-direction: row;
    align-items: flex-start;
  }

  .navbar .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  /* Menü açıldığında */
  .nav-links.active {
    display: flex;
  }


  #menu-icon {
    display: flex;
    font-size: 30px;
    justify-content: center;
    align-items: center;
  }

  #menu-icon.active {
    display: none;
  }

  .slider {
    height: 300px;
    max-width: fit-content;
    overflow: hidden;
  }

  .slider video {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    /* kırpmak için */
    object-position: bottom;
    /* alt kısmı göster */
  }

  .intro {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
  }

  .card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
  }

  .card-container {
    grid-template-columns: 1fr;
  }

  .title {
    font-size: 28px;
  }

  .content {
    font-size: 18px;
    text-align: center;
  }

  .hemenara {
    padding: 40px;
  }

  footer {
    text-align: center;
    padding: 10px;
    background: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-map {
    margin-top: 50px;
  }

  .footer-map iframe {
    height: 150px;
    width: 300px;
  }
}