@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

svg {
  max-width: 100%;
  height: auto;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: rgba(255, 255, 255, 0);
  color: #000;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
  text-decoration: none;
}

.space {
  max-width: 1200px;
  margin: 10px auto;
  padding: 100px 0px;
}

/* Header */
.header {
  margin-bottom: 60px;
}

.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .logo,
  .social {
    text-align: center;
  }

  .social {
    flex-wrap: wrap;
  }
}

.logo {
  width: 12rem;
  height: auto;
  fill: #103f35;
}

.logo:hover .logo-path {
  fill: #f9b221;
}

.nav {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: #7a7575;
  font-size: 0.9rem;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  letter-spacing: 2px;
  font-style: normal;
  text-transform: lowercase;
}

.nav a:hover {
  color: #f9b221 !important;
}

.nav a.active {
  color: #000;
}

.socials {
  margin-top: 3rem;
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.socials img {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.socials img:hover {
  color: #f9b221;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  justify-items: center;
}

.grid-item {
  text-align: center;
  width: 100%;
  max-width: 356px;
  text-decoration: none;
  position: relative; /* Görselin yerleşeceği container */
}

.grid-item img:hover {
  opacity: 0.7;
}

.image-wrapper {
  width: 100%;
  height: 370px;
  overflow: hidden;
  position: relative;
}

/* Görsel üzerine hover logo eklemek için */
.grid-item .image-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("gr/gra5.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 3rem;
  height: 3rem;
  opacity: 0;
  transition: opacity 0.2s ease;
  filter: brightness(10000%) saturate(180) contrast(200);
}

.grid-item:hover .image-wrapper::after {
  opacity: 0.9;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grid-item p {
  font-size: 13px;
  color: #666;
  letter-spacing: 0.5px;
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .logo-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav {
    gap: 0.6rem;
  }

  .nav a {
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .logo-nav {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .header {
    margin-bottom: 2rem;
  }

  .nav {
    gap: 0.6rem;
    order: 2;
  }

  .socials {
    order: 1;
    justify-content: flex-end;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .socials img {
    width: 0.7rem;
    height: 0.7rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .space {
    padding: 40px 20px;
  }
}

.lang-btn {
  background-color: white;
  color: #7a7575;
  position: absolute;
  top: 8%;
  right: 10.8%;
  border: none;
  padding: 6px 1px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  letter-spacing: 2px;
}

.kollekt {
  object-position: right;
}

.golden {
  object-position: left;
}

p {
  letter-spacing: 2px;
}
