:root {
  --primary-color: #fff;
  --secondary-color: #0d0d0d;
  --accent-color: #1a1a1a;
  --text-color-light: #fff;
  --text-color-dark: #000;
  --hover-gradient: linear-gradient(90deg, skyblue, pink);
  --btn-size: 190px;
  --gap: 18px;
  --label-font: 23px;
  --accent: #ff6b6b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--secondary-color);
  color: var(--text-color-light);
  line-height: 1.6;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
}

header nav a, header nav form {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
}

header h1 img {
  max-width: 240px;
  height: auto;
  transition: max-width 0.3s;
}

nav a {
  margin-left: 25px;
  color: var(--text-color-light);
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.4s;
}

nav a:hover {
  background: var(--hover-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--hover-gradient);
  transition: width 0.4s;
}

nav a:hover::after {
  width: 100%;
}

.lang-select select {
  background: #000;
  color: var(--text-color-light);
  border: 1px solid #444;
  padding: 5px 10px;
  border-radius: 5px;
  margin-left: 20px;
  cursor: pointer;
}

section {
  padding: 100px 4%;
}

.hero {
  min-height: 100vh;
  background: url('') no-repeat center/cover fixed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding-left: 4%;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1; /* Videonun diğer içeriklerin arkasında kalmasını sağlar */
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.slider-box {
  width: 100%;
  max-width: 1000px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slides {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.slide h2 {
  font-size: 3rem;
  line-height: 1.3;
  color: #F5F5F5;
}

.navigation {
  margin-top: 15px;
  text-align: center;
}

.navigation .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
}

.navigation .dot.active {
  background: var(--primary-color);
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

section p {
  max-width: 900px;
  margin: auto;
  text-align: justify;
  font-size: 1rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--accent-color);
  padding: 10px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p,
.service-card h4 {
  text-align: justify;
}

.service-card img {
  max-width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 20px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.contact-form,
.contact-map {
  flex: 1;
  background: #111;
  padding: 20px;
  border-radius: 10px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin: 10px 0;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #222;
  color: var(--text-color-light);
}

.contact-form button {
  padding: 14px;
  border: none;
  background: var(--primary-color);
  color: var(--text-color-dark);
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #ccc;
}

.contact-map iframe {
  width: 100%;
  min-height: 400px;
  border-radius: 10px;
  border: 0;
}

.gallery .masonry, .buyer .masonryb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
  justify-items: center;
}

.gallery .masonry img, .buyer .masonryb img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.masonryb {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  justify-items: center;
}

.masonryb img {
  width: 100%;
  height: 90px; /* Bu değeri fotoğrafların görünmesini istediğiniz yüksekliğe göre ayarlayabilirsiniz */
  object-fit: contain; /* Bu özellik, fotoğrafların en boy oranını koruyarak tam görünmesini sağlar */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.23);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.gallery .masonry img:hover, .buyer .masonryb img:hover {
  transform: scale(1.05);
}

.buyer .masonryb img {
  border-radius: 19px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.23);
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--text-color-light);
  cursor: pointer;
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 30px 4%;
  margin-top: 40px;
  font-size: 0.9rem;
}

footer img {
  height: 80px;
  margin-bottom: 15px;
}

footer a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s;
}

footer a:hover {
  color: #f00;
}

.social-icons a {
  margin: 0 10px;
  font-size: 2rem;
}

hr {
  margin: 20px auto;
  width: 80%;
  border: 0;
  border-top: 1px solid #444;
}

.lang-select select {
  border: 1px solid #ccc;
  padding: 5px;
  border-radius: 5px;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media(min-width:769px) {
  .contact-container {
    flex-direction: row;
  }
}

@media(max-width:768px) {
  header {
    padding: 0px 8%;
	
  }
  header h1 img {
    max-width: 220px;
	margin-top: 26px;
  }
  .hero {
    justify-content: center;
    text-align: center;
    padding-left: -1;
  }
  .slider-box {
    padding: 15px;
  }
  .slide h2 {
    font-size: 1.5rem;
  }
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 4%;
    width: 250px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.9);
  }
  nav.active {
    display: flex;
  }
  nav a {
    margin: 10px 0;
    font-size: 14px;
  }
  .lang-select {
    margin-top: 10px;
  }
  .menu-toggle {
    display: block;
  }
  section {
    padding: 80px 4%;
  }
  section h2 {
    font-size: 2rem;
  }
  .gallery .masonry img {
    height: 200px;
  }
  .buyer .masonryb img {
    height: 100px;
  }
}

.category-buttons {
  display: flex;
  gap: var(--gap);
  justify-content: center;
  align-items: center;
  padding: 18px 12px;
  flex-wrap: wrap;
}

.cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  padding: 0;
  width: calc(var(--btn-size) + 20px);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cat-btn img {
  width: var(--btn-size);
  height: var(--btn-size);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 18px rgba(10, 10, 10, .08);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.cat-btn .label {
  font-size: var(--label-font);
  font-family: Helvetica, Arial, sans-serif;
  color: #fff;
  white-space: nowrap;
}

.cat-btn:hover,
.cat-btn:focus {
  transform: translateY(-6px);
}
#buyer {
  background-color: #f2f2f2;
  color: #333;
  padding: 50px 4%;
  border-radius: 20px;
  margin: 30px 4%; /* Bu satırı ekleyin */
}

#buyer h2 {
  color: #333;
}
.cat-btn:focus img {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  filter: saturate(1.05);
}

.cat-btn.active .label {
  color: var(--accent);
  font-weight: 600;
}

.cat-btn.active img {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
  transform: scale(1.04);
  outline: 3px solid rgba(0, 255, 255, 0.67);
  outline-offset: 4px;
}

@media (max-width:560px) {
  :root {
    --btn-size: 70px;
    --gap: 12px;
    --label-font: 12px;
  }
  .category-buttons {
    padding: 12px;
  }
}

.download-button {
  display: block;
  width: fit-content;
  margin: 5px auto;
  padding: 5px 80px;
  background-color: #dd3300;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #007bff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  width: 90%;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: fadeIn 0.3s ease;
}

.modal-content p {
  font-size: clamp(16px, 4vw, 22px);
  line-height: 1.6;
  font-weight: 400;
  color: #222;
  margin: 0;
  text-align: justify;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 32px;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}

.close:hover {
  color: #000;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
  }
  .modal-content p {
    font-size: 16px;
    line-height: 1.4;
  }
}