@import url("https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  color: white;
  min-height: 100vh;
  height: fit-content;
  width: 100%;
  font-family: "Montserrat", serif;
  font-optical-sizing: auto;
  font-style: normal;
}

#nav {
  z-index: 10;
  position: fixed;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(95, 158, 160);
  backdrop-filter: blur(10px);
}

.logo {
  padding: 10px;
  cursor: pointer;
  text-decoration: none;
  color: white;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

.contact {
  display: flex;
  gap: 10px;
}

.phone {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

section {
  height: fit-content;
  width: 100%;
}

#call-to-action {
  height: 100vh;
}

#features {
  min-height: 70vh;
}

#faq {
  min-height: 50vh;
}

#contact {
  min-height: 50vh;
}

#call-to-action .container {
  position: relative; /* Allows positioning of pseudo-element */
  color: white;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
}

#call-to-action .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("public/calltoaction.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(5px); /* Apply the blur effect */
  opacity: 0.9; /* Set background image transparency */
  z-index: -1; /* Push background behind the content */
}

#call-to-action .container button {
  border: 0px;
  padding: 20px 15px;
  border-radius: 10px;
  background-color: rgb(95, 158, 160);
  color: white;
  cursor: pointer;
  font-family: monospace;
  position: relative; /* Ensure button is above pseudo-element */
  z-index: 1; /* Places the button above the background */
  transition: 0.5s;
}

#call-to-action .container button:after {
  content: '->';
  position: absolute;
  opacity: 0;  
  top: 20px;
  right: -20px;
  transition: 0.5s;
}

#call-to-action .container button:hover{
  padding-right: 26px;

}

#call-to-action .container button:hover:after {
  opacity: 1;
  right: 10px;
}


#call-to-action .container p span {
  font-size: 30px;
}

#features {
  background-color: rgb(95, 158, 160);
}

#features .container {
  padding: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
}

#features .container .flex-container {
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

#features .container .flex-container div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  border-radius: 20px;
  height: 300px;
  padding: 30px;
  background-color: aquamarine;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  gap: 20px;
}

#features .container .flex-container div i {
  color: green;
  align-self: center;
  font-size: 40px;
}

#features .container .flex-container div h3 {
  align-self: center;
}

#features .container .flex-container div p {
  font-weight: 300;
}

#features .container h2 {
  font-size: 40px;
  color: white;
}

#gallery {
  background-color: white;
  display: flex;
  height: fit-content;
  flex-direction: column;
  align-items: center;
}

#gallery h2 {
  color: black;
  font-size: 40px;
  text-align: center;
  padding: 30px 0px;
}

#gallery .gallery-container {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 15px;
}

#gallery .gallery-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Resimlerin düzgün kesilmesini sağlar */
  border-radius: 8px; /* Köşelere yuvarlaklık ekler */
}

.facebook {
  cursor: pointer;
}

.fa-facebook {
  font-size: 20px;
}

#faq {
  background-color: rgb(95, 158, 160);
  width: 100%;
  display: flex;
  gap: 50px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#faq .faq-container {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

#faq .faq-container i {
  transition: transform 0.5s;
}

#faq .faq-container i.up {
  -webkit-transform: rotateX(180deg);
  transform: rotateX(180deg);
}

#faq .faq-container .question {
  justify-content: space-between;
  display: flex;
}

#faq .faq-container .question h4 {
  font-size: 14px;
}

#faq .faq-container p {
  max-width: 90%;
  font-size: 12px;
}

#faq .faq-container .faq-off {
  display: none;
}

#faq .faq-container .br {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.171);
  width: 100%;
}

#contact {
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  justify-content: center;
}

#contact .contact-container {
  width: 300px;
  height: 200px;
  border: 1px solid rgba(0, 0, 0, 0.219);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#contact .contact-container h5 {
  font-size: 20px;
}

#contact .contact-container p {
  font-size: 15px;
  color: black;
}

#contact .contact-container a {
  display: flex;
  gap: 10px;
  cursor: pointer;
  align-items: center;
  text-decoration: none;
}

#contact .contact-container a:hover i {
  color: rgb(95, 158, 160);
  transition: color 0.2s ease-in-out;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  width: 100%;
  height: 70px;
  background-color: rgb(95, 158, 160);
}

footer div {
  padding-left: 10px;
}

@media (max-width: 1024px) {
  #gallery .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
  #features .container .flex-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  #faq .faq-container {
    width: 100%;
  }

  footer {
    padding: 0px;
    justify-content: center;
  }

  #call-to-action .container {
    background-position: right; /* Resmi ortalar */
  }
}
