/* ==========================================================================
   1. GENEL AYARLAR, FONTLAR VE SIFIRLAMA
   ========================================================================== */
@font-face {
  font-family: 'Zoom Pro Extended Bold';
  src: url('fonts/ZoomProExtendedBold.woff2') format('woff2'),
       url('fonts/ZoomProExtendedBold.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zoom Pro Normal Medium';
  src: url('fonts/ZoomProNormalMedium.woff2') format('woff2'),
       url('fonts/ZoomProNormalMedium.woff') format('woff');
  font-style: normal;
  font-display: swap;
}

:root {
  --gr-1: #1a1a1a;
  --gr-2: #555555;
  --gr-3: #cccccc;
  --wh: #ffffff;
  --bl: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bl);
  color: var(--wh);
  font-family: 'Zoom Pro Extended Bold', Arial, sans-serif;
  overflow-x: hidden;
}

body.no-scroll {
  overflow-y: hidden;
}

body.no-scroll-mobile {
  overflow: hidden;
}

body.contact-page-body {
  overflow: auto;
}

a {
  margin: 0 12px;
  font-weight: 600;
  color: var(--wh);
  opacity: .85;
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover,
a.active {
  color: var(--gr-2);
}

a:focus-visible {
  outline: 2px solid var(--wh);
  outline-offset: 2px;
}

/* ==========================================================================
   2. INTRO (AÇILIŞ) VE HEADER (NAVİGASYON)
   ========================================================================== */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bl);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

.intro img {
  width: 40%;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  width: 100%;
}

.logo img {
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  z-index: 9001;
  color: var(--wh);
}

.menu-toggle i {
  transition: transform 0.3s ease;
}

/* ==========================================================================
   3. ANA SAYFA (SLIDESHOW)
   ========================================================================== */
.slideshow {
  height: calc(100vh - 80px);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bl);
  transition: transform 0.8s ease;
}

.slide-content {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: row;
}

.slide-content.row.reverse {
  flex-direction: row-reverse;
}

.slide-image {
  flex: 0 0 60%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-image video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.slide-text {
  flex: 0 0 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: var(--bl);
  color: var(--wh);
  padding: 40px;
  text-align: center;
  z-index: 2;
}

.slide-text h2 {
  font-family: 'Zoom Pro Extended Bold', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.dots {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--wh);
  transform: scale(1.3);
}

/* ==========================================================================
   4. SAYFA ŞABLONLARI (İLETİŞİM & HAKKIMIZDA)
   ========================================================================== */
.contact-page {
  padding: 20px clamp(15px, 5vw, 50px) 50px;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.page-title {
  font-size: 32px;
  margin-bottom: 10px;
  word-break: break-word;
}

.page-subtitle {
  color: var(--gr-3);
  margin-bottom: 50px;
  font-size: 16px;
}

.contact-map-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  align-items: stretch;
  width: 100%;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  flex: 1 1 500px;
  width: 100%;
}

.contact-card {
  background: var(--gr-1);
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.25);
}

.contact-card i {
  font-size: 36px;
  color: var(--gr-2);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card i:hover {
  transform: scale(1.2);
  color: var(--gr-3);
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
  word-break: break-word;
}

.contact-card p,
.contact-card a {
  color: var(--gr-3);
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--wh);
}

.about-grid {
  grid-template-columns: 1fr !important;
}

.about-card {
  text-align: left !important;
  align-items: flex-start !important;
}

.about-grid+.map-wrapper .map-container {
  box-shadow: none;
}

.about-card p {
  font-family: 'Zoom Pro Normal Medium', sans-serif;
  font-size: 1rem !important;
}

.map-wrapper {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.map-container {
  min-height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
}

.map-container:hover {
  transform: scale(1.02);
}

.map-container iframe,
.map-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-ratio-box {
  min-height: auto !important;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-ratio-box video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.directions-button a {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--gr-1);
  color: var(--wh);
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.directions-button a:hover {
  background-color: var(--gr-2);
  transform: translateY(-2px);
}

/* ==========================================================================
   5. PROJELER
   ========================================================================== */
.projects {
  padding: 60px 10%;
  background: var(--bl);
  color: var(--wh);
  text-align: center;
}

.projects h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.project-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-card h3 {
  margin: 30px;
  font-size: 1rem;
  padding: 0 15px;
}

.project-card p {
  font-size: 1rem;
  padding: 0 15px 20px;
  color: #ccc;
}

/* ==========================================================================
   6. MODAL & LIGHTBOX (GALERİ)
   ========================================================================== */
.project-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  background: rgba(30, 30, 30, 0.9);
  width: 80%;
  height: 80%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-modal.active .modal-content-wrapper {
  transform: scale(1);
}

.modal-header {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Zoom Pro Extended Bold', sans-serif;
  padding-right: 40px;
}

.modal-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #00f3ff, transparent);
  margin-bottom: 20px;
  border-radius: 2px;
}

.modal-header p {
  font-family: 'Zoom Pro Normal Medium', sans-serif;
  font-size: 1.1rem;
  color: #e0e0e0;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #00f3ff;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 20;
  line-height: 30px;
}

.close-modal:hover {
  color: #ff4757;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  overflow-y: visible;
  padding-right: 10px;
  padding-bottom: 10px;
  margin-top: 20px;
  scrollbar-width: thin;
  scrollbar-color: #00f3ff #1a1a1a;
}

.modal-gallery::-webkit-scrollbar {
  width: 8px;
}

.modal-gallery::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.modal-gallery::-webkit-scrollbar-thumb {
  background-color: #00f3ff;
  border-radius: 10px;
}

.modal-gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.modal-gallery img:hover {
  transform: translateY(-3px);
  border-color: #00f3ff;
  box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active img {
  transform: scale(1);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  z-index: 20001;
}

.gallery-lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.gallery-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
}

.gallery-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
  border-radius: 4px;
  animation: zoom 0.4s;
}

@keyframes zoom {
  from {
    transform: scale(0.8)
  }

  to {
    transform: scale(1)
  }
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.gallery-close:hover {
  color: #bbb;
  text-decoration: none;
}

.gallery-prev,
.gallery-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.gallery-prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.gallery-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.gallery-prev:hover,
.gallery-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 20002;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* ==========================================================================
   7. FOOTER VE PARTNERLER
   ========================================================================== */
.footer {
  background: var(--bl);
  color: var(--wh);
  padding: 60px 10% 30px;
  font-family: 'Zoom Pro Extended Bold', Arial, sans-serif;
  border-top: 1px solid var(--gr-1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left img {
  width: 120px;
  margin-bottom: 15px;
}

.footer-left p {
  color: var(--gr-3);
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-middle h3,
.footer-right h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--wh);
}

.footer-middle ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-middle ul li {
  margin-bottom: 8px;
}

.footer-middle ul li a {
  color: var(--gr-3);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-middle ul li a:hover {
  color: var(--wh);
}

.footer-right p {
  margin: 6px 0;
  font-size: 14px;
  color: var(--gr-3);
}

.footer-right a {
  color: var(--gr-3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: var(--wh);
}

.partner-box {
  width: 100% !important;
  flex-basis: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--gr-1);
  margin-bottom: -30px;
  padding-bottom: 20px;
  gap: 10px;
}

.partner-img {
  max-width: 100px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: 0.4s;
}

.sika {
  max-width: 120px;
}

.partner-img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.partner-divider {
  width: 1px;
  height: 80px;
  background: var(--gr-2);
  opacity: 0.5;
}

.footer-bottom {
  width: 100% !important;
  flex-basis: 100% !important;
  text-align: center;
  font-size: 13px;
  color: var(--gr-3);
}

.footer-bottom a {
  color: var(--wh);
  margin-left: 5px;
  margin-right: 0;
  font-weight: bold;
}

.footer-bottom a:hover {
  color: var(--gr-2);
  text-decoration: none;
}

.f-icon {
  display: inline-block;
  width: 30px;
  text-align: center;
  margin-right: 5px;
  flex-shrink: 0;
}

.footer-right p {
  display: flex;
  align-items: center;
  gap: 0;
}

/* ==========================================================================
   8. MEDIA QUERIES (RESPONSIVE AYARLAR)
   ========================================================================== */

/* --- 992PX VE ÜZERİ (DESKTOP) --- */
@media (min-width: 992px) {
  .slide-image {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  .slide-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* --- 900PX VE ALTI (TABLET & MOBİL MENÜ) --- */
@media (max-width: 900px) {
  .topbar {
    padding: 0 15px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--gr-1);
    flex-direction: column;
    padding-top: 100px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    z-index: 8999;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    display: block;
    padding: 25px 0;
    margin: 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    font-size: 1.3rem;
    width: auto;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .slide-content,
  .slide-content.row,
  .slide-content.row.reverse {
    flex-direction: column;
  }

  .slide-image {
    flex: none;
    width: 100%;
    height: 50%;
  }

  .slide-text {
    flex: none;
    width: 100%;
    height: 50%;
    padding: 20px;
    position: relative;
    padding-top: 0;
  }

  .slide-text h2 {
    font-size: 1.8rem;
  }

  .dots {
    top: auto;
    bottom: auto;
    right: 20px;
    transform: translateY(-50%);
    top: 50%;
  }

  .contact-map-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .contact-grid,
  .map-wrapper {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card h3 {
    font-size: 20px;
  }

  .contact-card p,
  .contact-card a {
    font-size: 13px;
  }

  .map-container {
    width: 100%;
    height: 450px;
    display: flex;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
  }

  .projects {
    padding: 40px 20px;
  }

  .projects h1 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-card {
    width: 100%;
    max-width: none;
  }

  .project-card h3 {
    font-size: 0.9rem;
    line-height: 1.2;
    margin: 20px 0 10px;
    padding: 0 15px;
    white-space: normal;
  }

  .modal-content-wrapper {
    width: 95%;
    height: 95%;
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.3rem;
    padding-right: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    white-space: normal;
  }

  .modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-content {
    max-width: 95%;
    max-height: 75%;
  }

  .gallery-prev,
  .gallery-next {
    font-size: 16px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left img {
    margin: 0 auto 15px;
  }

  .partner-img {
    max-width: 50px;
    max-height: 60px;
    margin: 10px auto;
  }

  .partner-divider {
    height: 60px;
    margin: 0 15px;
  }
}

/* --- (KÜÇÜK MOBİL EKRANLAR) --- */
@media (max-width: 768px) {
  /* Partner Resimleri */
  .partner-img {
    max-width: 50px;
    max-height: 60px;
  }

  /* Lightbox Navigasyon Butonları */
  .lightbox-prev{
    width: 40px;
    font-size: 30px;
    left: 10px;
  }
  .lightbox-next{
    width: 40px;
    font-size: 30px;
    right: 10px;
  }
}