/* Genel Stiller */
:root {
  --primary-color: #0066cc;
  --hover-color: #9e211e;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
}

html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

main {
  flex: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Header Stili */
.header {
  background-color: var(--light-bg);
  padding: 2rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.header h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.header-description {
  color: var(--dark-text);
  font-size: 1.1rem;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Logo */
.logo img {
  width: 50px;
  height: 50px;
}

/* Galeri Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* Lightbox Stili */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 25px;
  color: var(--light-text);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 1000;
}

.close-lightbox:hover {
  color: var(--hover-color);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* Footer Stili */
footer {
  background-color: #0164ab;
  color: var(--light-text);
  padding: 3rem 0 1rem;
  width: 100%;
  position: relative;
  bottom: 0;
  min-height: 200px;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.footer-info p {
  color: var(--light-text);
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 800px;
    padding: 0 2rem;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .header-description {
    font-size: 1rem;
  }

  .gallery-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 600px;
    padding: 0 1.5rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header-description {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .nav-btn {
    padding: 0.8rem;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .close-lightbox {
    font-size: 30px;
    top: 10px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  .header h1 {
    font-size: 1.8rem;
  }

  .header-description {
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info h3 {
    font-size: 1.2rem;
  }

  .footer-info p {
    font-size: 0.9rem;
  }

  .nav-btn {
    padding: 0.6rem;
    font-size: 1rem;
    width: 35px;
    height: 35px;
  }

  .prev-btn {
    left: 5px;
  }

  .next-btn {
    right: 5px;
  }

  .close-lightbox {
    font-size: 25px;
    top: 5px;
    right: 10px;
  }
}
