@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

ul {
  list-style: none;
}

a {
  color: #333;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
}

p {
  margin: 1rem 0;
}

img {
  width: 100%;
}

.text-center {
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 3rem;
}

.navbar a {
  color: blue;
  padding: 1rem 2rem;
  margin: 0 0.5px;
  text-decoration: none;
}

.navbar a:hover {
  border-bottom: 2px solid var(--warning);
}

.navbar ul {
  display: flex;
}

.navbar .brand {
  font-weight: 400;
}

.navbar h1 {
  font-size: 3rem;
}

.navbar span {
  color: var(--warning);
}

/* Header */
.main-header .content h1 {
  font-weight: 700;
}

.main-header * {
  z-index: 5;
}

/* Slider */
.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.item {
    flex: 0 0 100%;
    position: relative;
    width: 100%;
    height: 100%;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 50%;
    left: 2rem;
    transform: translateY(-50%);
    color: rgb(1, 39, 176);
    font: 600 1rem helvetica, sans-serif;
    text-shadow: 0 3px 8px rgba(12, 152, 221, 0.607);
    opacity: 1;
    max-width: 400px;
}

.content .title {
    font-family: "arial-black";
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content .description {
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
    font-size: 1rem;
}

.content button {
    background-color: rgba(251, 247, 247, 0.1);
    color: rgb(24, 181, 238);
    border: 2px solid rgb(14, 185, 241);
    border-radius: 0.25rem;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
}

.content button:hover {
    background-color: rgba(3, 2, 2, 0.3);
}

.nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.nav .btn {
    background-color: rgb(250, 248, 248);
    color: rgba(9, 115, 236, 0.7);
    border: 2px solid rgba(23, 149, 240, 0.6);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
}

.nav .btn:hover {
    background-color: rgba(3, 2, 2, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
    .content {
      font-size: 25px;
        padding-left: 25px;
        max-width: 300px;
    }
    .content .title {
        font-size: 2rem;
    }
    .content .description {
        font-size: 1.2rem;
    }
    .content button {
        padding: 0.5rem 1rem;
        font-size: 1.5rem;
    }
    .nav {
        bottom: 1rem;
    }
    .nav .btn {
        padding: 0.3rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .content {
        left: 1.5rem;
        max-width: 350px;
    }
    .content .title {
        font-size: 2rem;
    }
    .content .description {
        font-size: 1rem;
    }
    .content button {
        padding: 0.6rem 1.2rem;
    }
}

@media (min-width: 1024px) {
    .content {
        left: 2rem;
    }
    .content .title {
        font-size: 2.5rem;
    }
    .content .description {
        font-size: 1.2rem;
    }
}

/* Icons */
.icons {
  padding: 30px;
}

.icons h3 {
  font-weight: 400;
  margin-bottom: 15px;
  color: black;
}

.icons p {
  color: black;
}

.icons i {
  background-color: var(--primary);
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

/* About */
.about {
  padding-bottom: 90px;
  color: #fff;
}

.about h2 {
  font-size: 4rem;
  font-weight: 400;
}

.about p {
  margin: 2rem 0;
}

/* Gallery */
.gallery img:hover {
  cursor: pointer;
  opacity: 0.8;
}

.gallery .ktlog h2 {
  text-align: center;
  color: #010101;
  font-weight: 600;
}

.gallery .ktlog .img {
  width: 250px;
}

/* Teams */
.teams img {
  border-radius: 50%;
}

.teams img:hover {
  opacity: 0.7;
}

/* Contact */
.contact-form {
  width: 100%;
  padding: 2rem 0;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  margin-bottom: 1.5rem;
}

.contact-form input {
  width: 100%;
  padding: 5px;
  height: 40px;
  border: 1px solid #f5f5f5;
}

.contact-form .btn {
  margin-top: 20px;
}

.contact h2 {
  font-size: 4rem;
}

:root {
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 45px;
  --spacing-xl: 32px;
  --spacing-xxl: 84px;
  --width-container: 1300px;
}

html {
  font-size: 13px;
  scroll-behavior: smooth;
  height: 100%;
  font-family: "Montserrat", sans-serif;
}

body {
  height: 100%;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  background: #fff;
  color: #333;
  line-height: 1.3;
}

.hero-section {
  align-items: flex-start;
  background-image: linear-gradient(15deg, #0f4667 0%, #2a6973 150%);
  display: flex;
  min-height: 100%;
  justify-content: center;
  padding: var(--spacing-xxl) var(--spacing-l);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-column-gap: var(--spacing-l);
  grid-row-gap: var(--spacing-l);
  max-width: var(--width-container);
  width: 100%;
}

@media (min-width: 540px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  list-style: none;
  position: relative;
}

.card:before {
  content: "";
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition: filter 200ms linear, transform 200ms linear;
}

.card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

.card-grid:hover > .card:not(:hover) .card__background {
  filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
}

.card__content {
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 0;
}

.card__category {
  color: var(--text-light);
  font-size: 0.7rem;
  margin-bottom: var(--spacing-s);
  text-transform: uppercase;
}

.card__heading {
  color: var(--text-lighter);
  font-size: 1.5rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  word-spacing: 100vw;
}

:root {
  --color-text: navy;
  --color-bg: papayawhip;
  --color-bg-accent: #ecdcc0;
  --size: clamp(10rem, 1rem + 40vmin, 30rem);
  --gap: calc(var(--size) / 14);
  --duration: 60s;
  --scroll-start: 0;
  --scroll-end: calc(-100% - var(--gap));
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: rgb(255, 255, 255);
    --color-bg: rgb(255, 255, 255);
    --color-bg-accent: #0f6ef1;
  }
}

.denem {
  display: grid;
  align-content: center;
  overflow: hidden;
  gap: var(--gap);
  width: 100%;
  min-height: 100vh;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(
    var(--mask-direction, to right),
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0)
  );
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }
  to {
    transform: translateX(var(--scroll-end));
  }
}

@keyframes scroll-y {
  from {
    transform: translateY(var(--scroll-start));
  }
  to {
    transform: translateY(var(--scroll-end));
  }
}

/* Element styles */
.marquee svg {
  display: grid;
  place-items: center;
  width: var(--size);
  fill: var(--color-text);
  background: var(--color-bg-accent);
  aspect-ratio: 16/9;
  padding: calc(var(--size) / 10);
  border-radius: 0.5rem;
}

.marquee--vertical svg {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

/* Parent wrapper */
.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.wrapper--vertical {
  flex-direction: row;
  height: 100vh;
}

@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.ılet {
  text-align: center;
  padding-top: 130px;
}

.adress {
  padding-top: 100px;
  margin-top: 140px;
}

.adress iframe {
  width: 100%;
  height: 450px;
}

@media screen and (max-width: 991px) {
  .adress iframe {
    height: 250px;
  }
}

.bilgiler {
  padding-left: 40px;
  margin-top: 90px;
  display: flex;
  justify-content: space-around;
}

.bilgiler .bil {
  padding-bottom: 30px;
}

.bilgiler .sağ .foto2 {
  padding-top: 25px;
}

.bilgiler .sağ {
  margin-left: 20px;
  margin-right: 90px;
}

.bilgiler .foto {
  padding-bottom: 30px;
}

.bilgiler h2 {
  font-size: 16px;
}

.bilgiler p {
  font-size: 14px;
}

/* Article */
.articles {
  padding: 3rem 5rem;
}

.article {
  margin-top: 1.5rem;
  color: #fff;
}

/* Footer */
.footer {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer.social
{
  padding-top: 20px;
}
.footer a {
  color: rgb(255, 255, 255);
}

.footer a:hover {
  color: rgb(4, 79, 253);
}

.footer .social a {
  padding-top: 40px;

  margin-right: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  html {
    font-size: 8px;
  }

  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }

  .navbar a {
   padding-left: 5px;
    margin: 0 3px;
  }

  .teams img {
    width: 70%;
  }
}

.card {
  width: 300px;
  height: 500px;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: transparent;
  backdrop-filter: blur(20px);
  text-align: center;
  border: 1px solid #fff;
  /* Transform Propertys */
  --rotate-animation: rotate(45deg);
  --scale-animation: scale(0);
}

.card::before {
  content: "";
  height: 110%;
  width: 110%;
  position: absolute;
  top: -5%;
  left: -5%;
  z-index: -1;
  background: transparent;
  filter: blur(20px);
}

.card__hover {
  color: #1a82f8;
  width: 100%;
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 0;
  text-align: center;
  letter-spacing: 2px;
  pointer-events: none;
  transform: scale(1) translateY(-50%);
  font-family: var(--font-mulish);
  transition: transform 500ms;
}

.card:hover .card__hover {
  transform: scale(0);
}

.card__figure {
  color: #1084ff;
  width: 100%;
  height: 65%;
  border-radius: 10px;
  overflow: hidden;
  transform: var(--rotate-animation) var(--scale-animation);
  transition: transform 600ms ease 100ms;
}

.card:hover .card__figure {
  --rotate-animation: rotate(0);
  --scale-animation: scale(1);
}

.card__figure svg {
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: drop-shadow(0 0 2px #0f0c29);
}

.card__info {
  display: flex;
  flex-direction: column;
  transform: var(--scale-animation);
  transition: transform 600ms ease 100ms;
}

.card:hover .card__info {
  --scale-animation: scale(1);
}

.card__name {
  color: #fff;
  font-size: 28px;
  letter-spacing: 1px;
  font-family: var(--font-AR-One-Sans);
}

.card__ocupation {
  color: aliceblue;
  font-family: var(--font-mulish);
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 2px;
}

.card__links {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  --transform-animation: translateY(-10px);
}

.card__links svg {
  height: 55px;
  width: 55px;
  padding: 10px;
  background-color: rgba(128, 128, 128, 0.211);
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.card__links svg:hover {
  transform: var(--transform-animation);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

/* Hover Colors */
.card__links svg:nth-child(1):hover {
  background: var(--bg-facebook);
}

.card__links svg:nth-child(2):hover {
  background: var(--bg-instagram);
}

.card__links svg:nth-child(3):hover {
  background: var(--bg-twitter);
}

.card__links svg:nth-child(4):hover {
  background: var(--bg-linkedin);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-section h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary); /* #007bff */
}
@media (max-width: 768px) {
  .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
  }

  .footer-section ul li {
      margin-bottom: 0.8rem;
  }

  .footer-section a {
      font-size: 12px;
  }

}