:root {
  --primary: #cb1b1b;
  --secondary: #f0f0f0;
  --dark: #222;
  --light: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  background-color: var(--secondary);
  color: var(--dark);
}
nav {
  background: linear-gradient(90deg, #cb1b1b, #ff8a65);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
}

.logo img {
  height: 50px;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.3s ease;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    background: #cb1b1b;
    padding-top: 60px;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }
}

.iletisimtelkonum{
	opacity: 0;
	width: 100%;
	position: fixed;
	z-index: -5;
	align-items: center;
	justify-content: space-between;
	display: block;
	bottom: 0;
	background-color: #24262b;
}
.iletisimtelkonumic{
	display: grid;
	align-items: center;
	column-gap: 0rem;
	justify-content: space-between;
	justify-items: center;
	grid-template-columns: repeat(2, 1fr);
}
.iletisimtelkonum a{
	border: 0;
	background: none;
	display: block;
	margin: 16px auto;
	text-align: center;
	border: 2px solid #00ff00;
	padding: 8px 40px;
	outline: none;
	color: white;
	border-radius: 24px;
	transition: 0.25s;
	cursor: pointer;
	text-decoration: none;
	width: 200px;
}
.iletisimtelkonum a:hover{
	background: #00ff00;
}
.iletisimtelkonum .yoltarifi{
	border: 2px solid #cb1b1b;
}
.iletisimtelkonum .yoltarifi:hover{
	background: #cb1b1b;
}

@media(max-width: 767px){
	.iletisimtelkonum{
		opacity: 1;
		z-index: 10000000;
	}
}

@media(max-width: 700px){
	.iletisimtelkonum a{
		width: 100%;
	}
	
}

.content-section,
.extra-section {
  padding: 60px 20px;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin: 30px auto;
  max-width: 1100px;
  border-radius: 12px;
}
.content-section h1,
.extra-section h2 {
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 20px;
  position: relative;
}
.content-section h1::after,
.extra-section h2::after {
  content: "";
  width: 60px;
  height: 3px;
  background: var(--primary);
  position: absolute;
  bottom: -10px;
  left: 0;
}
.content-section p,
.extra-section p {
  margin-bottom: 20px;
}
.highlight-box {
  background: #ffeaea;
  border-left: 5px solid var(--primary);
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-style: italic;
}
.text-block {
  margin-top: 20px;
}
.text-image-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.text-part {
  flex: 1;
  min-width: 300px;
}

.image-part {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.image-part img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.services {
  padding: 50px 20px;
  text-align: center;
}
.services h2 {
  font-size: 28px;
  color: var(--primary);
}
.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.service {
  background: white;
  width: 280px;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}
.service:hover {
  transform: translateY(-10px);
}
.service i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 10px;
}
.faq-section {
  background: #fff;
  padding: 50px 20px;
  text-align: left;
  max-width: 1100px;
  margin: auto;
  border-radius: 12px;
}
.faq-section h2 {
  color: var(--primary);
  font-size: 26px;
  margin-bottom: 20px;
  text-align: center;
}
.faq {
  background: var(--secondary);
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.faq:hover {
  background: #eaeaea;
  transform: scale(1.02);
}
.faq summary {
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  font-size: 18px;
}
.faq p {
  margin-top: 10px;
  color: #444;
}
details[open] summary::after {
  content: "▲";
  float: right;
  font-size: 14px;
}
summary::after {
  content: "▼";
  float: right;
  font-size: 14px;
}
.call-to-action {
  background: #a80f0f;
  color: white;
  padding: 60px 20px;
  text-align: center;
}
.call-to-action a {
  margin-top: 15px;
  display: inline-block;
  background: white;
  color: #a80f0f;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}
.call-to-action a:hover {
  background: #a80f0f;
  color: white;
  border: 1px solid white;
}

.social-media {
    background: #fafafa;
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
  }

  .social-media h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #a80f0f;
  }

  .social-icons a {
    margin: 0 10px;
    font-size: 28px;
    color: #a80f0f;
    transition: color 0.3s ease;
  }

  .social-icons a:hover {
    color: #333;
  }
  
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}
@media (max-width: 768px) {
  .service-list {
    flex-direction: column;
    align-items: center;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.extra-section {
  padding: 60px 20px;
}

.extra-section h2 {
  text-align: left;
  font-size: 28px;
  margin-bottom: 40px;
}

.extra-section .extra-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.extra-card {
  flex: 1;
  min-width: 250px;
  background: #fff0f0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.extra-card:nth-child(1) {
  animation-delay: 0.2s;
}
.extra-card:nth-child(2) {
  animation-delay: 0.4s;
}
.extra-card:nth-child(3) {
  animation-delay: 0.6s;
}

.extra-card i {
  color: var(--primary);
  font-size: 24px;
}

.extra-card h3 {
  margin-top: 10px;
  color: var(--primary);
  font-size: 20px;
}

.extra-card p {
  margin-top: 10px;
  font-size: 15px;
  color: #333;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-card {
  border: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.custom-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-grid-item {
  flex: 1 1 calc(33.333% - 20px);
  box-sizing: border-box;
  margin-bottom: 20px;
}

.custom-card .card-body {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.custom-card h5 {
  color: #343a40;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.custom-card p {
  color: #666;
  font-size: 0.95rem;
  flex-grow: 1;
}

.custom-card a {
  color: black;
  text-decoration: none;
}

.icon-circle {
  background: #f1f1f1;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #212529;
  transition: background 0.3s ease;
}

.custom-card:hover .icon-circle {
  background: #212529;
  color: #fff;
}

@media (max-width: 767px) {
  .custom-card {
    width: 80%;
    margin: auto;
  }
}

@media (max-width: 992px) {
  .card-grid-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media (max-width: 576px) {
  .card-grid-item {
    flex: 1 1 100%;
  }
}