
.main-content.show {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

    html {
      scroll-behavior: smooth;
    }
    nav a.active {
      color: #ffcc00;
    }

    /* Genel Ayarlar */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Inter', sans-serif;
background-color: #f9f9f9;
color: #111;
overflow-x: hidden;
}

/* Giriş animasyonu sonrası*/

.main-content.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

html {
  scroll-behavior: smooth;
}

/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9f9f9;
  color: #111;
  overflow-x: hidden;
}

/* Header */
/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #003366; /* ✅ yeni renk */
  transition: all 0.4s ease;
  z-index: 1000;
}

header.shrink {
  background-color: #003366; /* ✅ yeni renk */
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 75px;
  transition: all 0.4s ease;
}

header.shrink .logo img {
  height: 65px;
  content: url('logos/beyaz.png');
}

nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  color: #ffffff !important; /* tamamen beyaz */
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
}

header.shrink nav ul li a {
  color: #ffffff !important; /* shrink'te de beyaz */
}

nav ul li a:hover,
nav ul li a.active {
  color: #ffffff !important; /* hover'da da beyaz */
}

nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(to right, transparent, #ffffff, transparent); /* çizgi de beyaz */
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #003366; /* ✅ yeni renk */
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 200px;
    overflow-y: visible !important;  /* Scroll'u iptal et */
  max-height: 40vh;
  font-size: 1rem;
  margin-bottom: 1rem;
}

  /* Alt menü okları */
  .arrow {
    margin-left: 6px;
    transition: transform .3s ease;
    font-size: .75em;          /* Ana metne göre biraz küçük */
  }
  /* Alt menü açıkken oku çevir */
  .dropdown.open > a .arrow { transform: rotate(180deg); }

.dropdown-menu li {
  padding: 0.3rem 0;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  font-size: 0.8rem;
  padding: 0.3rem 0.6rem;
  color: #ffffff !important; /* beyaz yazılar */
  white-space: nowrap;
    line-height: 0;

}

.dropdown-menu li a:hover {
  background-color: #003366; /* koyu mor hover */
  color: #ffffff !important; /* beyaz yazılar */
}

/* Mobil */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10000;
}

header.shrink .menu-toggle {
  color: white; /* shrink'te de beyaz kalsın */
}

@media (max-width: 1024px) {
  #menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: auto;
      max-height: 80vh;
      margin-top: 80px;
      padding: 1rem;
      background-color: #003366; /* ✅ yeni renk */
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      z-index: 9999;
  }

  #menu.mobile-show {
      display: flex;
  }

  #menu li {
      margin: 1rem 0;
      text-align: center;
  }

  #menu li a {
      font-size: 1.5rem;
      color: #ffffff !important;
      text-decoration: none;
      white-space: nowrap;
  }

  nav {
      flex-direction: column;
  }

  nav ul {
      flex-direction: column;
      width: 100%;
  }

  nav ul li {
      width: 100%;
  }

  .dropdown-menu {
      position: static;
      background-color: #003366; /* ✅ yeni renk */
      box-shadow: none;
      margin-top: 0.3rem;
      max-height: 16vh;
    overflow-y: visible !important;  /* Scroll'u iptal et */
      padding: 0.2rem 0.6rem;
      font-size: 0.75rem;
      text-align: center;
      border-radius: 6px;
  }

  .dropdown-menu li {
    padding: 0.2rem 0; /* Azaltılmış dikey boşluk */
    margin: 0; /* Fazladan boşluk varsa sıfırla */
  }

  .dropdown-menu li a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
      color: #ffffff !important;
      white-space: nowrap;
  }

  .dropdown-menu li a:hover {
      background-color: #003366; /* koyu mor hover */
      color: #ffffff !important;
  }

  .menu-toggle {
      display: block;
  }
}

@media (min-width: 1024px) {
  #menu {
      display: flex !important;
      position: static;
      flex-direction: row;
      background-color: transparent;
      height: auto;
      padding: 0;
      align-items: center;
      justify-content: flex-end;
  }

  .menu-toggle {
      display: none;
  }

  #menu > li > a {
      color: #ffffff !important;
  }

  header.shrink #menu > li > a {
      color: #ffffff !important; /* shrink'te beyaz */
  }
}

/* Animasyon */
@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}


 /* Footer */
 .final-footer {
    background-color: #12181f;
    color: #fff;
    padding: 2rem 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  .final-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
  }
  .footer-social a {
    color: #ccc;
    margin-right: 12px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  .footer-social a:hover {
    color: #ffcc00;
  }
  .footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-links a {
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
  }
  .footer-links a::after {
    content: "|";
    margin-left: 1rem;
    color: #555;
  }
  .footer-links a:last-child::after {
    content: "";
  }
  .footer-logos img {
    height: 48px;
    margin-left: 12px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
  }
  .footer-logos img:hover {
    filter: grayscale(0%);
  }
  .final-footer-bottom {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #999;
  }
  .scrollTopBtn.roof-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: none;
    border: none;
    z-index: 9999;
  }
  .scrollTopBtn.roof-btn img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
  }
  .scrollTopBtn.roof-btn:hover img {
    transform: scale(1.1);
  }
  @media (max-width: 768px) {
    .final-footer-top {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 1rem;
    }
    .footer-links {
      justify-content: center;
    }
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      background: rgba(0, 34, 68, 0.95);
      position: absolute;
      top: 70px;
      right: 2rem;
      padding: 1rem;
      display: none;
      border-radius: 8px;
    }
  
    nav ul.open {
      display: flex;
    }
  
    .menu-toggle {
      display: flex;
    }
  }


  /* Genel Ayarlar */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #222;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* Hero */
  .hero-architecture {
    position: relative;
    height: 90vh;
    background: url('images/mimari-banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
  }
  
  .hero-architecture .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    animation: fadeInDown 1s ease;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    animation: fadeInUp 1.2s ease;
  }
  
  /* Giriş Alanı */
  .architecture-intro {
    background: #f7f9fc;
    padding: 4rem 0;
  }
  
  .architecture-intro .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
  }
  
  .intro-text {
    flex: 1 1 50%;
  }
  
  .intro-text h2 {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 1rem;
  }
  
  .intro-text p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .intro-image {
    flex: 1 1 45%;
    text-align: center;
  }
  
  .intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }
  
  /* Özellik Kartları */
  .architecture-features {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
  }
  
  .architecture-features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .feature-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
  }
  
  .feature-card i {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 0.5rem;
  }
  
  .feature-card p {
    font-size: 1rem;
    color: #444;
  }
  
  /* CTA */
  .cta-section {
    background: linear-gradient(135deg, #003366, #005599);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-btn {
    background-color: #003366;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  .cta-btn:hover {
    background-color: #003366;
    transform: scale(1.05);
  }
  
  /* Animasyonlar */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Mobil */
  @media (max-width: 768px) {
    .architecture-intro .container {
      flex-direction: column;
    }
    .hero-content h1 {
      font-size: 2rem;
    }
    .hero-content p {
      font-size: 1rem;
    }
  }
  

  .hero-architecture {
    position: relative;
    width: 100%;
    height: 80vh;
    background: url('mimari.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-architecture .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* Yazılar net olsun diye koyu bir overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.hero-architecture {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url('mimari.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-architecture .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}