/* ==========================================================================
   Ülkücü İşçiler Derneği (ulkucuisciler.org.tr) - Resmi Portal Stilleri
   Simo Bilişim Yazılım Teknolojileri Ltd. Şti.
   ========================================================================== */

:root {
  --primary-red: #c01823;
  --primary-darkred: #8f0d16;
  --primary-navy: #0f172a;
  --secondary-navy: #1e293b;
  --accent-gold: #d97706;
  --accent-lightgold: #f59e0b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f1f5f9;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.07), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 20px 30px -10px rgba(192, 24, 35, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= Top Bar ================= */
.top-bar {
  background: var(--primary-navy);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar-info {
  display: flex;
  gap: 20px;
  align-items: center;
}
.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar-info i {
  color: var(--accent-lightgold);
}
.top-bar-links {
  display: flex;
  gap: 15px;
  align-items: center;
}
.social-links a {
  color: #cbd5e1;
  transition: var(--transition);
  margin-left: 10px;
}
.social-links a:hover {
  color: var(--accent-lightgold);
}

/* ================= Header & Navbar ================= */
header.main-header {
  background: var(--bg-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--primary-red);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-darkred));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 6px 12px rgba(192, 24, 35, 0.3);
}
.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.brand-text span {
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-navy);
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-sm);
  min-width: 210px;
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown li a {
  padding: 8px 18px;
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}
.nav-dropdown li a:hover {
  background: #fef2f2;
  color: var(--primary-red);
  padding-left: 22px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.btn-red {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-darkred));
  color: #fff;
  box-shadow: 0 4px 12px rgba(192, 24, 35, 0.25);
}
.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(192, 24, 35, 0.35);
  color: #fff;
}
.btn-navy {
  background: var(--primary-navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--secondary-navy);
  color: #fff;
}
.btn-outline-red {
  background: transparent;
  border: 1.5px solid var(--primary-red);
  color: var(--primary-red);
}
.btn-outline-red:hover {
  background: var(--primary-red);
  color: #fff;
}
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-lightgold));
  color: #fff;
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
  color: #fff;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ================= Ticker (Son Dakika Şeridi) ================= */
.news-ticker {
  background: #fff5f5;
  border-bottom: 1px solid #fee2e2;
  padding: 8px 0;
  font-size: 0.85rem;
}
.ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ticker-badge {
  background: var(--primary-red);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.ticker-content {
  color: var(--text-main);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= Hero Slider Section ================= */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #090e1a 0%, #1a202c 100%);
  color: #fff;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(192, 24, 35, 0.25) 0%, rgba(192, 24, 35, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 24, 35, 0.2);
  border: 1px solid rgba(192, 24, 35, 0.4);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}
.hero-title span {
  color: #ef4444;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 35px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.hero-president-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.president-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #f1f5f9;
  overflow: hidden;
}
.president-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}
.president-info p {
  font-size: 0.85rem;
  color: var(--accent-lightgold);
  font-weight: 600;
}
.president-quote {
  font-style: italic;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary-red);
}

/* ================= Quick Action Cards ================= */
.quick-services {
  margin-top: -45px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: #fca5a5;
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.icon-red { background: #fee2e2; color: var(--primary-red); }
.icon-navy { background: #e2e8f0; color: var(--primary-navy); }
.icon-gold { background: #fef3c7; color: var(--accent-gold); }
.icon-blue { background: #dbeafe; color: #2563eb; }

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
}

/* ================= Section Header ================= */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 45px;
}
.section-badge {
  display: inline-block;
  background: #fee2e2;
  color: var(--primary-red);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ================= News Grid ================= */
.news-section {
  padding: 60px 0;
  background: #ffffff;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow);
  border-color: #fca5a5;
}
.news-img {
  height: 200px;
  background: #cbd5e1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 40px;
}
.news-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-red);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}
.news-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.news-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

/* ================= Turkey Map Section ================= */
.map-section {
  padding: 70px 0;
  background: var(--bg-light);
}
.map-container-box {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}
.map-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}
.map-svg-wrap {
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}
.map-info-panel {
  background: var(--primary-navy);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-info-panel h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-lightgold);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.map-branch-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}
.map-branch-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-red);
}
.map-branch-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}
.map-branch-item span {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ================= Stats Counter ================= */
.stats-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #1e1b4b 100%);
  color: #fff;
  padding: 60px 0;
  border-top: 4px solid var(--primary-red);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  text-align: center;
}
.stat-card {
  padding: 20px;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: #f87171;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* ================= Footer ================= */
footer.main-footer {
  background: #0b1120;
  color: #94a3b8;
  padding: 70px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--primary-red);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 15px;
}
.simo-signature {
  color: var(--accent-lightgold);
  font-weight: 600;
}

/* ================= Form & Input Elements ================= */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
}
.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(192, 24, 35, 0.1);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* ================= Breadcrumb ================= */
.page-header {
  background: linear-gradient(135deg, var(--primary-navy), #1e293b);
  color: #fff;
  padding: 50px 0;
  text-align: center;
  position: relative;
  border-bottom: 3px solid var(--primary-red);
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.breadcrumb a {
  color: #e2e8f0;
}
.breadcrumb a:hover {
  color: var(--accent-lightgold);
}

/* ================= Responsive Queries ================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    align-items: flex-start;
  }
  .nav-menu.active {
    left: 0;
  }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .top-bar { display: none; }
}

/* ================= Ülkücü Ruhuna Özel Bölüm Stilleri ================= */
.doctrine-section {
  background: radial-gradient(circle at center, #1e1b4b 0%, #090e1a 100%);
  color: #fff;
  padding: 80px 0;
  border-top: 4px solid var(--primary-red);
  border-bottom: 4px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}
.doctrine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.doctrine-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 26px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
}
.doctrine-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-lightgold);
  box-shadow: 0 15px 30px rgba(217, 119, 6, 0.2);
  background: rgba(30, 41, 59, 0.9);
}
.doctrine-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.25);
}
.doctrine-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fef08a;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.doctrine-card p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Leaders Quote Section */
.leaders-section {
  background: #ffffff;
  padding: 70px 0;
}
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.leader-box {
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 2px solid #e2e8f0;
  position: relative;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.leader-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 15px;
}
.leader-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-darkred));
  border: 3px solid var(--accent-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 15px rgba(192, 24, 35, 0.25);
}
.leader-title h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-navy);
}
.leader-title span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-red);
  text-transform: uppercase;
}
.leader-quote {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #334155;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--primary-red);
}

/* Worker Oath (Yemin) Banner */
.oath-banner {
  background: linear-gradient(135deg, #7f1d1d 0%, #1e1b4b 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 50px 0 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 2px solid rgba(245, 158, 11, 0.4);
}
.oath-banner h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fef08a;
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.oath-banner p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #f1f5f9;
  max-width: 820px;
  margin: 0 auto;
  font-weight: 500;
}
