﻿/* TOREM YIKIM - MODERN TEMA - RENK VE FONT DUZENI */
:root {
  --primary: #0056b3;
  --primary-light: #00a8e8;
  --primary-dark: #003d7a;
  --accent: #00a8e8;
  --bg: #f7f9fa;
  --text: #23272f;
  --text-light: #5a5a5a;
  --white: #fff;
  --black: #000;

  --navbar-scrolled-bg: rgba(0, 0, 0, 0.5);
  --border: #e0e4e7;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --font-main: "Inter", "Montserrat", Arial, sans-serif;
  --font-head: "Montserrat", "Inter", Arial, sans-serif;
}

/* CSS Containment for Performance */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.is-hidden {
  display: none;
}

.project-modal-header {
  position: relative;
}

.close-btn-floating {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  border: none;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* Semantic HTML Optimization */
section {
  contain: layout style paint;
}

main {
  contain: layout style;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 0.5rem 0;
  transform: translateY(0);
}

.navbar-hidden {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 5%;
  gap: 1rem;
  transition: all 0.4s ease;
}

.navbar-scrolled {
  background: rgba(0, 0, 0, 0.5) !important;
  padding: 0.2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.navbar-scrolled .nav-container {
  transform: scale(0.95);
  transform-origin: top center;
  padding: 0.15rem 5%;
}

/* Logo Responsive */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: 320px;
  width: 55%;
  transition: all 0.4s ease;
  height: auto;
}

.logo img {
  height: auto;
  max-height: 100px;
  display: block;
  object-fit: cover;
  transition: all 0.4s ease;
}

.logo img:first-child {
  width: 200px;
  height: 80px;
}

/* Scroll Logo Text */
.scroll-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 2px;
  transition: all 0.4s ease;
}

.scroll-logo-company {
  font-size: 32px;
  font-weight: 700;
  color: #0056b3;
  line-height: 1;
  letter-spacing: 1px;
  font-family: var(--font-head);
}

.scroll-logo-service {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-light);
  letter-spacing: 2px;
  line-height: 1;
}

.navbar-scrolled .logo img {
  max-height: 90px;
  object-fit: cover;
}

.navbar-scrolled .logo img:first-child {
  height: 55px;
  width: 90px;
  overflow-y: hidden;
}

.logo img:last-child {
  flex: 1;
  max-width: 240px;
  object-fit: cover;
}

/* Menu linkleri */
.nav-menu {
  display: flex;

  gap: 2rem;
  list-style: none;
  transition: all 0.4s ease;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 10px;
  transition: all 0.3s;
  position: relative;
  display: block;
  white-space: nowrap;
  font-family: var(--font-head);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-light);
  transition: width 0.4s ease;
}

.nav-menu a:hover {
  color: var(--primary-light);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-light);
}

.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* LANGUAGE SWITCHER */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.1),
    rgba(0, 86, 179, 0.05)
  );
  border: 1px solid rgba(0, 86, 179, 0.2);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.15),
    rgba(0, 86, 179, 0.08)
  );
  border-color: rgba(0, 86, 179, 0.3);
}

.lang-switch i {
  color: #0056b3;
  font-size: 1.1rem;
  min-width: 20px;
}

.language-toggle {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.3rem 0.6rem;
}

.language-toggle:hover {
  color: #00a8e8;
}

.language-toggle i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  color: #0056b3;
}

.language-toggle.active i {
  transform: rotate(180deg);
  color: #00a8e8;
}

/* Custom Dropdown Menu */
.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.98),
    rgba(30, 30, 30, 0.98)
  );
  border: 1.5px solid rgba(0, 86, 179, 0.3);
  border-radius: 0.8rem;
  margin-top: 0.5rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s ease;
  min-width: 200px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(0, 86, 179, 0.2);
  z-index: 1001;
  backdrop-filter: blur(10px);
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-option {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.9rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  border-bottom: 1px solid rgba(0, 86, 179, 0.1);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: rgba(0, 86, 179, 0.2);
  padding-left: 1.3rem;
  color: #00a8e8;
}

.lang-option.active {
  background: linear-gradient(
    90deg,
    rgba(0, 86, 179, 0.3),
    rgba(0, 86, 179, 0.1)
  );
  color: #00a8e8;
  font-weight: 700;
  border-left: 3px solid #0056b3;
  padding-left: calc(1rem - 3px);
}

.lang-option.active::before {
  content: "✓";
  position: absolute;
  left: 0.7rem;
  color: #0056b3;
  font-weight: bold;
}

.lang-code {
  font-size: 0.75rem;
  color: #0056b3;
  font-weight: 700;
  background: rgba(0, 86, 179, 0.15);
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  opacity: 0.8;
  transition: all 0.25s ease;
}

.lang-option:hover .lang-code {
  background: rgba(0, 86, 179, 0.3);
  opacity: 1;
}

.lang-option.active .lang-code {
  background: rgba(0, 86, 179, 0.4);
  opacity: 1;
}

/* Animation for dropdown appearance */
@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* SMOOTH TEXT TRANSITIONS */
.i18n,
.i18n-placeholder {
  transition: opacity 0.3s ease-in-out;
}

body.language-switching .i18n,
body.language-switching .i18n-placeholder {
  opacity: 0.8;
}

/* RTL SUPPORT */
html[dir="rtl"] body,
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .nav-menu {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-actions {
  flex-direction: row-reverse;
}

html[dir="rtl"] .logo {
  flex-direction: row-reverse;
}

html[dir="rtl"] .hero h1 {
  direction: rtl;
}

html[dir="rtl"] .about-content {
  flex-direction: row-reverse;
}

html[dir="rtl"] .contact-grid {
  flex-direction: row-reverse;
}

html[dir="rtl"] .footer-grid {
  direction: rtl;
}

.nav-group-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 86, 179, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
  white-space: nowrap;
}

.nav-group-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0, 86, 179, 0.45);
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--primary-dark);
}

.nav-group-btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(0, 86, 179, 0.4);
  opacity: 0.9;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO - Video */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero-content {
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  color: #fff;
  font-weight: 800;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  min-height: 50px;
  display: flex;
  align-items: center;
  color: #fff;
}

.btn-primary {
  display: inline-block;
  padding: 16px 50px;
  background: linear-gradient(135deg, #0056b3, #003d7a);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.4s;
  border: 2px solid #0056b3;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #00a8e8, #0056b3);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4);
  color: #003d7a;
}

/* BOLUMLER */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #003d7a;
  font-weight: 800;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HAKKIMIZDA BOLUMU */
.about-section {
  padding: 80px 0 60px 0;
  background: #fff;
  text-align: center;
  border-bottom: 1px solid #e0e4e7;
}

.about-desc {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto 40px;
  color: #444;
  line-height: 1.7;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ISTATISTIK KARTLARI */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-bottom: 50px;
}

.stat-card {
  background: #f7f9fa;
  border: 1.5px solid #e0e4e7;
  padding: 28px 10px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 86, 179, 0.07);
  transition: 0.3s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stat-card:hover {
  transform: translateY(-15px);
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.2),
    rgba(0, 61, 122, 0.2)
  );
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.35);
  border-color: #00a8e8;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #003d7a;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1rem;
  color: #666;
  font-weight: 600;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hakkimizda Metin + Fotograf */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  text-align: left;
}

.about-text p {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-text strong {
  color: #003d7a;
}

.about-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 86, 179, 0.1);
  border: 1.5px solid #e0e4e7;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* HIZMETLER */
.services-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #001a33, #003d7a);
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}

.service-card {
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.1),
    rgba(0, 61, 122, 0.1)
  );
  border: 2px solid #0056b3;
  padding: 40px 20px;
  border-radius: 15px;
  text-align: center;
  transition: 0.4s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.2),
    rgba(0, 61, 122, 0.2)
  );
  border-color: #00a8e8;
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.3);
}

.service-card i {
  font-size: 3rem;
  color: #0056b3;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
}

/* PROJELER */
.projects-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #003d7a, #001a33);
  text-align: center;
}

/* KONUM */
.location-section {
  padding: 100px 0;
  background: #fff;
}

.location-card {
  background: linear-gradient(
    135deg,
    rgba(0, 86, 179, 0.08),
    rgba(0, 168, 232, 0.08)
  );
  border: 1px solid rgba(0, 86, 179, 0.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 61, 122, 0.15);
}

.location-header {
  padding: 30px;
  text-align: center;
}

.location-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.location-address {
  color: #1f3552;
  font-weight: 600;
}

.location-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  min-height: 300px;
}

.project-card {
  background: rgba(26, 37, 32, 0.8);
  border: 1px solid rgba(0, 86, 179, 0.3);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 86, 179, 0.6);
  box-shadow: 0 10px 40px rgba(0, 86, 179, 0.25);
}

.project-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.project-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0056b3;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.project-location i {
  color: #0056b3;
}

.project-description {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.btn-details {
  background: linear-gradient(135deg, #0056b3, #5c8563);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  flex-grow: 1;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-details:hover {
  background: linear-gradient(135deg, #00a8e8, #0056b3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
}

.btn-details:active {
  transform: translateY(0);
}

.btn-details i {
  transition: transform 0.3s ease;
}

.btn-details:hover i {
  transform: translateX(3px);
}

/* ILETISIM */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(135deg, #001a33, #003d7a);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #0056b3;
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  text-align: left;
}

.info-item i {
  font-size: 2rem;
  color: #0056b3;
  min-width: 40px;
}

.info-item h4 {
  color: #fff;
  margin-bottom: 5px;
}

.info-item p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.whatsapp-link {
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 700;
}

.whatsapp-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #0056b3;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid #0056b3;
  background: rgba(0, 86, 179, 0.05);
  color: #fff;
  font-size: 1rem;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00a8e8;
  background: rgba(0, 86, 179, 0.15);
  box-shadow: 0 0 20px rgba(0, 86, 179, 0.2);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #0056b3, #003d7a);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid #0056b3;
  cursor: pointer;
  transition: 0.4s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #00a8e8, #0056b3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 86, 179, 0.4);
  color: #003d7a;
}

/* FOOTER */
.footer {
  background: #0f1612;
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 30px;
  border-top: 2px solid #0056b3;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3,
.footer-col h4 {
  color: #0056b3;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-col p,
.footer-col ul {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #0056b3;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 86, 179, 0.3);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu Active State */
.nav-menu.active {
  display: flex !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.95);
  padding: 20px 5%;
  gap: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-menu.active li {
  text-align: center;
}

.nav-menu.active a {
  display: block;
  padding: 15px 0;
  font-size: 1rem;
}

/* ===== PROJE DETAY MODAL ===== */
#projectModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow-y: auto;
}

#projectModal[aria-hidden="true"] {
  display: none;
}

.project-modal {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  position: relative;
  animation: slideUp 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.project-modal > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 86, 179, 0.3);
  padding-bottom: 20px;
}

.project-modal > header h3 {
  color: #0056b3;
  font-size: 24px;
}

#projectModalClose {
  background: #0056b3;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#projectModalClose:hover {
  background: #00a8e8;
  transform: rotate(90deg);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.project-modal-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

#projectModalMainImage {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

#projectModalMainImage:hover {
  transform: scale(1.05);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 86, 179, 0.8);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
}

.gallery-nav:hover {
  background: #00a8e8;
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

#projectGalleryCounter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  display: none;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.gallery-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.gallery-thumbs img:hover {
  border-color: #0056b3;
}

.gallery-thumbs img.active {
  border-color: #0056b3;
  box-shadow: 0 0 10px rgba(0, 86, 179, 0.5);
}

.project-modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-modal-header {
  border-bottom: 1px solid rgba(0, 86, 179, 0.3);
  padding-bottom: 20px;
}

.project-modal-header h2 {
  font-size: 28px;
  color: #0056b3;
  margin-bottom: 10px;
}

.project-modal-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #00a8e8;
  font-size: 16px;
  margin: 0;
}

.project-modal-location i {
  color: #0056b3;
}

.project-modal-description {
  flex-grow: 1;
}

.project-modal-description h4 {
  color: #00a8e8;
  margin-bottom: 10px;
  font-size: 16px;
}

#projectModalDescription {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
  margin: 0;
}

.project-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-action {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-map {
  background: #0056b3;
  color: white;
}

.btn-map:hover {
  background: #00a8e8;
  color: #000;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

.btn-whatsapp:hover {
  background: #1fbb5a;
}

.btn-contact {
  background: #003d7a;
  color: white;
}

.btn-contact:hover {
  background: #0056b3;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
  }

  .lang-switch {
    padding: 0.4rem 0.6rem;
  }

  .lang-switch i {
    display: none;
  }

  .language-toggle {
    font-size: 0.75rem;
  }

  .language-dropdown {
    min-width: 180px;
    right: -20px;
  }

  .lang-option {
    padding: 0.8rem 0.8rem;
    font-size: 0.85rem;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .project-modal {
    padding: 20px;
  }

  .project-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project-modal-header h2 {
    font-size: 22px;
  }

  #projectModalMainImage {
    height: 250px;
  }

  #projectModal {
    padding: 10px;
  }
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    opacity 0.18s ease;
  z-index: 2147483647;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 6px 20px rgba(0, 0, 0, 0.3);
}
.cursor.is-visible {
  opacity: 1;
}
.cursor.grow {
  transform: translate(-50%, -50%) scale(1.45);
  border-color: #00a8e8;
  background: rgba(247, 179, 43, 0.24);
}
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: none !important;
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .cursor {
    display: none !important;
  }
  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: auto !important;
  }
}
