/* Genel ayarlar: Sade, temiz ve akıcı olsun */
body {
  margin: 0;
  padding-top: 0px;
  font-family: 'Poppins', 'Segoe UI', 'Arial', sans-serif;
  overflow-x: hidden;
  background-color: var(--background-color, #ffffff);
  color: var(--text-color, #333);
  transition: background-color 0.3s, color 0.3s;
  min-height: 100%;
}

main {
  position: relative;
  z-index: 1;
}

.header {
  background-color: transparent;
  transition: background-color 0.5s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.desktop-menu a {
  transition: transform 0.3s ease;
}

.desktop-menu a:hover {
  transform: scale(1.10);
  background-color: transparent;
  border-bottom-color: transparent;
  color: white;
}

.scrolled-header {
  background-color: var(--primary-color-transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  border-bottom: var(--glass-border);
}

/* HERO BÖLÜMÜ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: url('/assets/otokonbannerwebready.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4% 0 5%;
  box-sizing: border-box;
  overflow: hidden;
  gap: 20px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
  animation: zoomIn 15s ease-out infinite alternate;
}

@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  flex-shrink: 1;
  color: #fff;
}

/* ─── HERO CARDS WRAPPER ─────────────────────────────────────────────────────
 *  Sits on the right side of the hero, holds both event cards side by side.
 * ─────────────────────────────────────────────────────────────────────────── */
.hero-cards {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}

.hero-content h1 {
  font-size: 4rem;
  margin: 0 0 20px 0;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { opacity: 0; }
  50%       { opacity: 1; }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1s;
}

.hero-content .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: rgba(124, 151, 255, 0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(124, 151, 255, 0.4);
  border-left: 3px solid #7c97ff;
  transition: background 0.2s ease, border-color 0.2s ease;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 1.5s;
}

.hero-content .btn:hover {
  background: rgba(124, 151, 255, 0.3);
  border-color: rgba(124, 151, 255, 0.7);
  border-left-color: #9bb0ff;
}

.hero-content .btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.hero-content .btn:hover i {
  transform: translateX(4px);
}

/* ─── SHARED CARD BASE ───────────────────────────────────────────────────────
 *  Both cards sit inside .hero-cards (flex row) on the right of the hero.
 * ─────────────────────────────────────────────────────────────────────────── */

.ituro-container,
.event-container {
  width: 255px;
  padding: 0;
  background: linear-gradient(145deg, rgba(20, 20, 30, 0.85), rgba(30, 30, 45, 0.9));
  border: 1px solid rgba(213, 104, 40, 0.3);
  border-radius: 0;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
  0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 2;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

/* Logo wrapper — fixed height keeps both cards aligned */
.ituro-logo-wrapper {
  width: 100%;
  height: 150px;
  background: linear-gradient(180deg, rgba(213, 104, 40, 0.15) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.ituro-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(213, 104, 40, 0.3));
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 10px 30px rgba(213, 104, 40, 0.3));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 15px 40px rgba(213, 104, 40, 0.5));
  }
}

/* Content area — flex column so CTA pins to bottom */
.ituro-content {
  padding: 20px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ituro-container h2,
.event-container h2 {
  margin: 0 0 12px 0;
  font-size: 1.6rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
}

.ituro-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(213, 104, 40, 0.2);
  padding: 6px 16px;
  margin-bottom: 15px;
  align-self: center;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.ituro-status span:last-child {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ituro-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

/* Pin CTA(s) to the bottom of the card */
.ituro-content > .ituro-cta,
.ituro-content > .event-btn-row {
  margin-top: auto;
}

/* Single CTA button */
.ituro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #D56828;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid #D56828;
}

.ituro-cta:hover {
  background: transparent;
  color: #D56828;
}

.ituro-cta i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.ituro-cta:hover i {
  transform: translateX(4px);
}

/* Two-button row for event-container */
.event-btn-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.event-btn-row .ituro-cta {
  flex: 1;
  padding: 12px 0;
}

/* Outline variant (secondary button) */
.ituro-cta--outline {
  background: transparent;
  color: #D56828;
  border: 2px solid rgba(213, 104, 40, 0.5);
}

.ituro-cta--outline:hover {
  background: rgba(213, 104, 40, 0.1);
  border-color: #D56828;
  color: #D56828;
}

/* ─── TABLET / MOBILE (≤900px) ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 100vh;
    height: auto;
    padding: 80px 5% 40px;
    gap: 28px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero-cards {
    width: 100%;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .ituro-container,
  .event-container {
    width: 100%;
    opacity: 1;
    animation: none;
  }

  .ituro-logo-wrapper {
    height: 130px;
  }

  .ituro-logo {
    width: 80px;
    height: 80px;
  }

  .ituro-content {
    padding: 16px 20px 20px;
  }

  .ituro-container h2,
  .event-container h2 {
    font-size: 1.4rem;
  }

  .ituro-status {
    padding: 5px 12px;
  }

  .ituro-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .ituro-logo {
    width: 70px;
    height: 70px;
  }

  .ituro-container h2,
  .event-container h2 {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .ituro-content {
    padding: 14px 16px 18px;
  }

  .ituro-cta {
    padding: 10px 16px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SPONSOR SLİDER ────────────────────────────────────────────────────────── */
.sponsor-section {
  width: 100%;
  background: #141420;
  padding: 50px 0 40px;
  overflow: hidden;
  position: relative;
}

.sponsor-header {
  text-align: center;
  margin-bottom: 30px;
}

.sponsor-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #777;
  position: relative;
}

.sponsor-label::before,
.sponsor-label::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: #333;
}

.sponsor-label::before { right: calc(100% + 20px); }
.sponsor-label::after  { left:  calc(100% + 20px); }

.sponsor-track {
  position: relative;
  overflow: hidden;
}

.sponsor-track::before,
.sponsor-track::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.sponsor-track::before {
  left: 0;
  background: linear-gradient(to right, #141420 0%, transparent 100%);
}

.sponsor-track::after {
  right: 0;
  background: linear-gradient(to left, #141420 0%, transparent 100%);
}

.sponsor-slider {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

.sponsor-slider:hover {
  animation-play-state: paused;
}

.sponsor-item {
  flex: 0 0 auto;
  width: 180px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 30px;
}

.sponsor-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(2) contrast(0.9);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.sponsor-item:hover img {
  filter: grayscale(0%) brightness(1.2);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .sponsor-section    { padding: 35px 0 30px; }
  .sponsor-header     { margin-bottom: 20px; }

  .sponsor-label::before,
  .sponsor-label::after { width: 30px; }

  .sponsor-item       { width: 140px; margin: 0 20px; }
  .sponsor-item img   { max-width: 110px; max-height: 50px; }

  .sponsor-track::before,
  .sponsor-track::after { width: 80px; }
}

/* ─── DUYURULAR ─────────────────────────────────────────────────────────────── */
.announcements-section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--text-color);
  margin: 0;
}

.view-all-link {
  color: var(--accent-color, #D56828);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.view-all-link:hover { opacity: 0.8; }

.otokon-announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.otokon-announcement-card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color, rgba(128, 128, 128, 0.15));
  overflow: hidden;
  transition: transform 0.2s ease;
}

.otokon-announcement-card:hover { transform: translateY(-4px); }

.otokon-announcement-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.otokon-announcement-content { padding: 20px; }

.otokon-announcement-date {
  font-size: 0.8rem;
  color: var(--accent-color, #D56828);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.otokon-announcement-content h3 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 10px 0;
}

.otokon-announcement-content p {
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
}

.otokon-announcement-link { text-decoration: none; }

@media (max-width: 768px) {
  .announcements-section { padding: 40px 16px; }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .section-header h2      { font-size: 1.6rem; }
  .otokon-announcements-grid { grid-template-columns: 1fr; }
}

/* ─── BİZ KİMİZ ─────────────────────────────────────────────────────────────── */
.about-section {
  padding: 60px 5%;
  background: transparent;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInSection 1s ease-out forwards;
  animation-delay: 0.3s;
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  opacity: 0;
  animation: slideInDown 1s forwards;
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #ddd;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.5s;
}

.about-section .more-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--secondary-color, #D56828);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s forwards;
  animation-delay: 0.8s;
  position: relative;
  overflow: hidden;
}

.about-section .more-btn:hover {
  background: #c45c1e;
  transform: scale(1.05);
}

.about-section .more-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.about-section .more-btn:hover::after {
  width: 200%;
  height: 200%;
}

@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── BASE DARK MODE ────────────────────────────────────────────────────────── */
body {
  background-color: var(--background-color, #1b1b1f);
  color: var(--text-color, #eef0f6);
}

.hero::after       { background: rgba(0, 0, 0, 0.6); }
.about-section     { background: transparent; }

.hero-content h1,
.hero-content p,
.hero-content .btn { color: #fff; }

/* ─── MOBILE HERO TEXT (≤768px) ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-content      { text-align: left; }
  .hero-content h1   { font-size: 2.5rem; }
  .hero-content p    { font-size: 1rem; }
  .hero-content .btn { padding: 12px 24px; font-size: 0.9rem; }
  .sponsor-item      { width: 150px; }
  .about-section h2  { font-size: 2rem; }
  .about-section p   { font-size: 0.9rem; }
}
