/* ======================================================
   PREMIUM HEADER & FOOTER STYLES
   ====================================================== */

/* HEADER - STICKY & GLASSMORPHISM */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 5px 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.main-header {
  background: rgba(10, 26, 47, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  flex: 1;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo-dark { display: none; }

/* NAVIGATION MENU */
nav {
  flex: 3;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  gap: 15px;
  align-items: center;
}

.menu li a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.menu li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--acik-mavi);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu li a:hover {
  color: var(--acik-mavi);
  background: rgba(var(--acik-mavi-rgb), 0.05);
}

.menu li a:hover::after {
  width: 15px;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1;
}

.theme-btn, .menu-toggle, .menu-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
  font-size: 1.2rem;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: rgba(var(--acik-mavi-rgb), 0.1);
  color: var(--acik-mavi);
}

/* Hide mobile-specific buttons on desktop */
.menu-toggle, .menu-close {
  display: none;
}

/* MOBILE MENU DRAWER */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    padding: 80px 30px;
    gap: 10px;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1100;
    align-items: flex-start;
  }

  .menu {
    background: #0d1e36;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  }

  .menu.show {
    right: 0;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    font-size: 1.1rem;
    padding: 15px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.08);
  }

  .menu li a:hover {
    background: transparent;
  }

  .menu-close {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
  }
}

/* ------------------------------------------------------ 
   FOOTER STYLES 
   ------------------------------------------------------ */
.main-footer {
  margin-top: 100px;
  padding: 80px 0 0;
}

.main-footer {
  background: #071324;
  color: rgba(255, 255, 255, 0.7);
}

.footer-box {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--acik-mavi);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
}

.about-col p {
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* FOOTER LINKS */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--acik-mavi);
  padding-left: 5px;
}

/* CONTACT INFO */
.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.contact-info i {
  color: var(--acik-mavi);
  margin-top: 5px;
}

/* SOCIALS */
.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: rgba(var(--acik-mavi-rgb), 0.08);
  color: var(--acik-mavi);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 1.1rem;
  cursor: default;
}

.socials a:hover {
  background: rgba(var(--acik-mavi-rgb), 0.15);
}

/* FOOTER BOTTOM */
.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.1);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* RESPONSIVE FOOTER */
@media (max-width: 992px) {
  .footer-box {
    grid-template-columns: 1fr 1fr;
  }
  .about-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-col {
    grid-column: span 1;
  }
  .contact-info p, .socials {
    justify-content: center;
  }
}

/* UTILITY FOR JS */
body.no-scroll {
  overflow: hidden;
}

main {
  padding-top: 80px;
}