/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background: #ffffff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}


/* GENEL */
.container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER - ortak görünüm */
:root{
  --header-bg: rgba(255,255,255,.88);
  --header-border: rgba(15,23,42,.08);
  --header-text: #0f172a;
  --header-brand: #2563eb;
  --header-pill: rgba(15,23,42,.06);
  --header-pill-active: rgba(37,99,235,.12);
  --header-shadow: 0 12px 40px rgba(15,23,42,.10);
  --header-radius: 14px;
}
@media (max-width: 768px) {
  body.nav-open .evaluation-shortcut {
    top: 260px;
    transition: top 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
  }
}
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--header-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 0px;
  gap: 200px;
}

.site-header .logo{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-header .logo img,
.logo img{
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin-left: 0;
  transition: transform 0.3s ease;
}

.site-header .logo img:hover,
.logo img:hover{
  transform: scale(1.05);
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.main-nav a{
  color: var(--header-text);
  text-decoration: none;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.2;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover{
  color: var(--header-text);
  background: var(--header-pill);
}

.main-nav a:active{ transform: translateY(1px); }

.main-nav a.active{
  background: var(--header-pill-active);
  color: var(--header-brand);
  font-weight: 600;
}

.nav-dropdown{
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle{ cursor: pointer; }
.dropdown-toggle::after{ content: "▾"; margin-left: 6px; font-size: 12px; opacity: .7; }

.dropdown-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #ffffff;
  min-width: 220px;
  border: 1px solid var(--header-border);
  border-radius: var(--header-radius);
  box-shadow: var(--header-shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 999;
}

.dropdown-menu a{
  display: block;
  padding: 10px 12px;
  color: var(--header-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 12px;
}

.dropdown-menu a:hover{
  background: var(--header-pill);
  color: var(--header-text);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0f172a;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .site-header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    padding: 14px 16px;
    gap: 12px;
  }

  .site-header .logo {
    width: auto;
    flex: 0 0 auto;
  }

  .site-header .logo img {
    max-width: 170px;
    height: auto;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a,
  .main-nav .dropdown-toggle {
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    padding: 10px 12px;
    white-space: normal;
  }

  .nav-dropdown {
    width: 100%;
    display: block;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    min-width: 100%;
    margin-top: 6px;
    border-radius: 12px;
    box-shadow: none;
    border: 1px solid rgba(15, 23, 42, 0.08);
  }

  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    display: block;
  }
}

@media (max-width: 560px){
  .main-nav{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .main-nav::-webkit-scrollbar{
    display: none;
  }
}



.hero {
  position: relative;
  overflow: hidden;
  padding: 200px 0;
  color: #0f2a44;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/cihazlar.png") center bottom / cover no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.538);  /* koyuluk ayarı */
  z-index: 2;
}



/* Yazıların üstte kalması için */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
}


.hero h1 {
  font-size: 40px;
  margin-bottom: 12px;
  color: #ffffff;
}

.hero p {
  font-size: 18px;
  opacity: 0.9;
  color: #ffffff;
}

.hero h1 .highlight {
            background: linear-gradient(135deg, #1ea5af 0%, #2563eb 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

/* SLOGAN */
.slogan {
  padding: 30px 0;
  text-align: center;
}

.slogan h2 {
  font-size: 22px;
  color: #2563ebd6;
  margin-bottom: 14px;
}

.slogan p {
  max-width: 700px;
  margin: 0 auto;
  color: #374151;
}



/* SERVICES */
.services {
  background: #ffffff;
  padding: 40px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: #e4f1fd;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin-bottom: 10px;
  color: #1ea5af;
}

/* CONTACT */
.contact {
  background: #f1f5f9;
  padding: 80px 0;
  text-align: center;
}

/* FOOTER */
.site-footer {
    background: #000;
    color: #9ca3af;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

/* NAVBAR DROPDOWN */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .2s ease;
  z-index: 999;
}

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #1e40af;
}

/* Hover olunca aç */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.content-panel {
  display: none;
  margin-top: 40px;
  font-size: 18px;
  line-height: 1.7;
}

.content-panel.active {
  display: block;
}

.accordion-title {
  cursor: pointer;
}

/* ============================================
   ANNOUNCEMENTS SECTION - Modern & Professional
   ============================================ */

.announcements {
  padding: 30px 0;
  background: #0f2a44;
  opacity: 0.98;
  position: relative;
  overflow: hidden;
}

.announcements::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.announcements .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #004499);
  border-radius: 2px;
}

.section-header p {
  font-size: 15px;
  color: #aeb5ba;
  margin-top: 20px;
}

/* Announcements Wrapper */
.announcements-wrapper {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 0 60px;
}

/* Track Container */
.announcements-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* News Card */
.news-card {
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #004499);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
}

.news-card:hover::before {
  transform: scaleX(1);
}

/* News Image */
.news-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.news-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.news-card:hover .news-image::after {
  opacity: 1;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

/* News Content */
.news-content {
  padding: 24px;
}

.news-date {
  display: inline-block;
  font-size: 11px;
  color: #0066cc;
  background: rgba(0, 102, 204, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.news-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.news-card:hover .news-content h3 {
  color: #0066cc;
}

.news-content p {
  font-size: 13px;
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/* Navigation Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: #1a1a1a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.arrow:hover {
  background: #0066cc;
  border-color: #0066cc;
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.25);
}

.arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.arrow.left {
  left: 0;
}

.arrow.right {
  right: 0;
}

/* Arrow disabled state */
.arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
  .announcements {
    padding: 10px 0;
  }


  .news-card {
    flex: 0 0 calc(50% - 15px);
    min-width: calc(50% - 15px);
  }

  .announcements-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .announcements {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .news-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .announcements-track {
    gap: 20px;
  }

  .announcements-wrapper {
    padding: 0 45px;
  }

  .arrow {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .news-image {
    height: 200px;
  }

  .news-content {
    padding: 20px;
  }

  .news-content h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 28px;
  }

  .announcements-wrapper {
    padding: 0 40px;
  }

  .arrow {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .news-image {
    height: 180px;
  }
}
