@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700&display=swap");
@import url(responsive.css);

* {
  margin: 0;
  padding: 0;
}

body {
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
  width: 100vw;
  overflow-x: hidden;
}

h2.title {
  font-weight: 700;
  font-size: 40px;
}

.container {
  margin: 0 6rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  list-style: none;
  padding: 0 1rem;
}

nav ul li a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.dropdown {
  display: inline-block;
  position: relative;
}

.dd-button {
  cursor: pointer;
  font-weight: 500;
}

.dd-input {
  display: none;
}

.dd-menu {
  position: absolute;
  top: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 10px 0 0;
  background-color: #ffffff;
  z-index: 10;
  left: -15px;
}

.dd-menu img {
  width: 30px;
  border-radius: 4px;
}

.dd-input + .dd-menu {
  display: none;
} 

.dd-input:checked + .dd-menu {
  display: block;
} 

.dd-menu li {
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
}

.dd-menu li:hover {
  background-color: #f6f6f6;
}

.dd-menu li a {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: -10px -20px;
  padding: 10px 20px;
}

/* Slider Baslangic */

.slider-giris {
  max-width: 100vw;
}

.slider-oge {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100vw;
  height: 91vh;
}

.slider-oge img {
  object-fit: cover;
  width: 100%;
  height: 91vh;
}

.slider-text {
  position: absolute;
  top: 35%;
  max-width: 50%;
  margin-left: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slider-text h1 {
  font-weight: 700;
  color: white;
  font-size: 35px;
}

.slider-text p {
  font-size: 20px;
  color: white;
  line-height: 27px;
}

.slider-buttons {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-buttons a {
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  text-align: center;
  width: 200px;
  height: 50px;
  font-weight: 600;
  cursor: pointer;
}

.dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  display: flex;
  gap: 1rem;
}

.dot1, .dot2, .dot3 {
  border: .5px solid white;
  border-radius: 100%;
  width: 20px;
  height: 20px;
}

.dots .active {
  background-color: white;
}


.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

/* Slider Son */

.about {
  display: flex;
  flex-direction: column;
  margin: 10rem 0;
  gap: 2rem;
}

.about .content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10rem;
}

.about .content .info {
  display: flex;
  flex-direction: column;
}

.about .content .info p:first-child {
  font-size: 19px;
  line-height: 28px;
  margin-bottom: 3rem;
}

.about .content .info .box {
  display: flex;
  flex-direction: column;
  padding: 20px 30px;
  border-radius: 40px;
  color: white;
  gap: 1rem;
}

.about .content .info .box:last-child {
  margin-top: 1rem;
}

.about .content .info .box .box-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about .content .info .box .box-title i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 20px;
  color: black;
  background-color: white;
  border-radius: 100%;
}

.about .content .info .box .box-title h3 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 21px;
}

.about .content .info .box .box-title hr {
  border: 1px solid white;
}

.about .content img {
  width: 500px;
}

.services .accordion {
  margin-top: 2rem;
}

.accordion .accordion-item {
  border-bottom: 1px solid #000;
}

.accordion .accordion-item button[aria-expanded="true"] {
  border-bottom: 1px solid #1e7399;
}

.accordion button {
  position: relative;
  display: block;
  text-align: left;
  width: 100%;
  padding: 1em 0;
  color: #000;
  font-size: 1.15rem;
  font-weight: 400;
  border: none;
  background: none;
  outline: none;
}

.accordion button:hover,
.accordion button:focus {
  cursor: pointer;
  color: #1e7399;
}

.accordion button:hover::after,
.accordion button:focus::after {
  cursor: pointer;
  color: #1e7399;
  border: 1px solid #1e7399;
}

.accordion button .accordion-title {
  padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
  display: inline-block;
  position: absolute;
  top: 18px;
  right: 0;
  width: 30px;
  height: 30px;
}

.accordion button .icon::before {
  display: block;
  position: absolute;
  content: "";
  top: 9px;
  left: 5px;
  width: 10px;
  height: 2px;
  background: currentColor;
}
.accordion button .icon::after {
  display: block;
  position: absolute;
  content: "";
  top: 5px;
  left: 9px;
  width: 2px;
  height: 10px;
  background: currentColor;
}

.accordion button[aria-expanded="true"] {
  color: #1e7399;
}
.accordion button[aria-expanded="true"] .icon::after {
  width: 0;
}
.accordion button[aria-expanded="true"] + .accordion-content {
  opacity: 1;
  max-height: 50em;
  transition: all 400ms linear;
  will-change: opacity, max-height;
  padding: 1rem 0;
}
.accordion .accordion-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 400ms linear, max-height 400ms linear;
  will-change: opacity, max-height;
}

.accordion .accordion-content ul li {
  margin-left: 17px;
}

.projects {
    margin: 10rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects .boxes {
    position: relative !important;
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
}

.projects .boxes .box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 45%;
    box-shadow: 0px 0px 32.29999923706055px 12px #0000001A;
    border-radius: 30px;
    padding: 20px 30px;
}

.projects .boxes .box .title {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.projects .boxes .box .title h3 {
    font-size: 24px;
}

.projects .boxes .box p { 
    line-height: 24px;
}

footer {
    background-color: #212121;
    position: relative;
    padding: 13rem 6rem 1rem 6rem;
    margin-top: 25rem;
    color: white;
}

footer .map {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: -10rem;
    left: 0;
}

footer .map iframe {
    width: 70%;
    border-radius: 100px;
    border: 5px solid #212121;
    height: 300px;
}

footer .cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer .cta h3 {
    font-size: 25px;
    padding-bottom: 10px;
}

footer .cta hr {
    width: 40%;
    border: 1px solid white;
    margin: 1rem 0;
}

footer .main {
    display: flex;
    justify-content: space-between;
    margin-top: 5rem;
}

footer .main .navigation {
    display: flex;
    flex-direction: column;
}

footer .main .navigation span {
    display: flex;
    justify-content: space-between;
}


footer .main .navigation ul li{
    list-style: none;
    padding: 1rem 0;
}

footer .main .navigation ul li a{
    color: white;
    text-decoration: none;
}

footer form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 45%;
}

footer form h2 {
    font-size: 30px;
    font-weight: 400;
}

footer form input {
    border-radius: 20px;
    padding: 20px;
    border: none;
}

footer form input::placeholder, footer form textarea::placeholder {
    font-family: 'Montserrat', sans-serif;
}

footer form .row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

footer form .row input {
    width: 43%;
}

footer form textarea {
    border-radius: 20px;
    padding: 20px;
    border: none;
    resize: none;
    height: 100px;
}

footer form input[type=submit] {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

footer .social-media {
    display: flex;
    gap: 1rem;
}

footer .social-media a {
    color: white;
    text-decoration: none;
    font-size: 25px;
}

footer hr.bot {
    margin: 1rem 0;
}

footer .author {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

footer .author a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding-bottom: 10px;
}

