@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Oswald:wght@200..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lilita+One&family=Oswald:wght@200..700&family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Tint&family=Lilita+One&family=Oswald:wght@200..700&family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Tint&family=Lilita+One&family=Oswald:wght@200..700&family=Playwrite+CU:wght@100..400&family=Sevillana&family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bungee+Tint&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lilita+One&family=Oswald:wght@200..700&family=Playwrite+CU:wght@100..400&family=Sevillana&family=Teko:wght@300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=New+Amsterdam&display=swap");
@import url("https://fonts.googleapis.com/css2?family=New+Amsterdam&family=Reddit+Sans+Condensed:wght@200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Protest+Guerrilla&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Bebas+Neue&family=Protest+Guerrilla&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Agdasima:wght@400;700&display=swap");
* {
  margin: 0;
  padding: 0;
}

body {
  box-sizing: border-box;
  border: none;
  font-family: "Roboto", sans-serif;
  background: white;
}
/* Modern Gallery Styling */
:root {
  --primary: #1d908b;
  --secondary: #ffa600;
  --dark: #333;
  --light: #fff;
  --gray: #f5f5f5;
  --gray-dark: #e0e0e0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --transition: all 0.3s ease;
  --gradient-primary: linear-gradient(135deg, #ffa600, #ff8c00);
}
.scrolling-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000; /* Header'dan daha yüksek z-index */
  background: var(--gradient-primary);
  color: white;
  padding: 10px 0;
  overflow: hidden;
}
.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
}
.modern-gallery {
  font-family: "Roboto", sans-serif;
  background-color: var(--light);
  padding-bottom: 80px;
  overflow: hidden;
}

/* Hero Section */
.gallery-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-bottom: 50px;
}

.gallery-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.gallery-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(29, 144, 139, 0.1);
  color: var(--primary);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.gallery-title {
  font-size: 4rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.gallery-title .highlight {
  color: var(--primary);
  position: relative;
}

.gallery-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 166, 0, 0.2);
  z-index: -1;
}

.gallery-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-overlay-shape {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: linear-gradient(
    135deg,
    rgba(29, 144, 139, 0.05) 0%,
    rgba(29, 144, 139, 0.1) 100%
  );
  border-radius: 50%;
  z-index: 1;
}

/* Gallery Navigation */
.gallery-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
  flex-wrap: wrap;
  gap: 30px;
}

.gallery-tabs {
  display: flex;
  gap: 15px;
}

.gallery-tab-button {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background-color: var(--gray);
  border: none;
  border-radius: var(--radius);
  color: #666;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-tab-button i {
  margin-right: 10px;
  font-size: 18px;
}

.gallery-tab-button.active {
  background-color: var(--primary);
  color: var(--light);
}

.gallery-tab-button:hover:not(.active) {
  background-color: var(--gray-dark);
}

.gallery-info {
  display: flex;
  align-items: center;
}

.info-item {
  text-align: center;
  padding: 0 20px;
}

.info-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.info-label {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

.info-divider {
  width: 1px;
  height: 40px;
  background-color: var(--gray-dark);
}

/* Gallery Content */
.gallery-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-grid {
  display: none;
}

.gallery-grid.visible {
  display: block;
}

.gallery-intro {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
}

.gallery-intro p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item-inner {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 200%; /* 2:1 aspect ratio for the gallery items */
  overflow: hidden;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 25px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.overlay-content {
  color: var(--light);
  text-align: left;
  width: 100%;
}

.overlay-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay-content p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.gallery-view-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary);
  color: var(--light);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-view-btn:hover {
  background-color: #e69500;
  transform: scale(1.1);
}

.gallery-more-btn {
  text-align: center;
  margin-top: 40px;
}

.load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.load-more:hover {
  background-color: var(--primary);
  color: var(--light);
}

/* Platform Selector */
.platform-selector {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.platform-btn {
  padding: 12px 25px;
  background-color: var(--gray);
  border: none;
  border-radius: 30px;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.platform-btn.active {
  background-color: var(--primary);
  color: var(--light);
}

.platform-btn:hover:not(.active) {
  background-color: var(--gray-dark);
}

.platform-content {
  display: none;
}

.platform-content.visible {
  display: block;
}

/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 0;
  margin: 0;
}
.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background-color: transparent;
  color: white;
  border: none;
  font-size: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.modal-close:hover {
  color: #ff6b6b;
  transform: rotate(90deg);
}

.modal-navigation {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.modal-prev,
.modal-next {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: absolute;
  z-index: 2;
}
.modal-prev {
  left: -25px;
}

.modal-next {
  right: -25px;
}

.modal-prev:hover,
.modal-next:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-image-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  flex-grow: 1;
}

.modal-image {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  transition: opacity 0.3s ease;
  display: block;
  margin: 0 auto;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.modal-caption {
  width: 100%;
  text-align: center;
  color: white;
  margin-top: 20px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modal-description {
  font-size: 16px;
  opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .gallery-title {
    font-size: 3rem;
  }

  .gallery-nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-info {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .gallery-title {
    font-size: 2.5rem;
  }

  .gallery-description {
    font-size: 1rem;
  }

  .gallery-items {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .info-number {
    font-size: 2rem;
  }

  .modal-prev,
  .modal-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }

  .modal-close {
    top: -40px;
    right: 10px;
    font-size: 24px;
  }

  .modal-title {
    font-size: 20px;
  }

  .modal-description {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .gallery-title {
    font-size: 2rem;
  }

  .gallery-tabs {
    flex-direction: column;
  }

  .gallery-items {
    grid-template-columns: 1fr 1fr;
  }

  .platform-selector {
    flex-direction: column;
  }

  .info-item {
    padding: 0 10px;
  }

  .info-number {
    font-size: 1.5rem;
  }
}
