/* En üstte sağa kayan Wallion yazısı */
.top-marquee {
  width: 100vw;
  overflow: hidden;
  background: #fffbe7;
  border-bottom: 1px solid #f7c873;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 36px;
  display: flex;
  align-items: center;
}

.top-marquee span {
  display: inline-block;
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--accent);
  white-space: nowrap;
  animation: topMarqueeSlow 40s linear infinite;
}

@keyframes topMarqueeSlow {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-300vw);
  }
}

body {
  padding-top: 120px;
}

/* En üstte büyük logo1 görseli */
.top-logo1 {
  width: 100vw;
  background: #fffbe7;
  border-bottom: 1px solid #f7c873;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0 12px 0;
  position: relative;
  z-index: 101;
}

.top-logo1 img {
  max-width: 420px;
  width: 90vw;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.07);
}

body {
  padding-top: 36px;
}

/* Wallion basic styles */
:root {
  /* Modern Color Palette */
  --primary: #0f172a;
  /* Dark Slate / Navy */
  --primary-light: #334155;
  --accent: #f97316;
  /* Vibrant Orange */
  --accent-hover: #ea580c;
  --bg: #f8fafc;
  /* Very Light Blue-Grey */
  --surface: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;

  /* Spacing & Layout */
  --max-width: 1200px;
  --header-height: 80px;

  /* UI Tokens */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  margin: 0;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header & Nav --- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.brand .wordmark {
  color: var(--primary);
  font-weight: 800;
}

.brand-logo {
  height: 40px;
  width: auto;
  margin-right: 12px;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.main-nav a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn.primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn:not(.primary) {
  background: white;
  border: 1px solid var(--border);
  color: var(--primary);
}

.btn:not(.primary):hover {
  border-color: var(--primary);
  background: var(--bg);
}

.btn.small {
  font-size: 0.85rem;
  padding: 6px 14px;
}

/* --- Hero Section --- */
.hero {
  padding: 80px 0;
  background: white;
  /* Clean background for better readability */
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin: 0 0 24px;
  color: var(--primary);
  letter-spacing: -1px;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 540px;
}

.hero-actions .btn {
  margin-right: 12px;
}

.hero-illustration img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.hero-illustration img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text {
  animation: fadeInUp 0.8s ease-out;
}

.hero-illustration {
  animation: fadeInUp 1s ease-out;
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section.alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 2rem;
  margin: 0 0 32px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* --- Filters --- */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filters button {
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filters button:hover,
.filters button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* --- Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--primary);
}

.card .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.card>p {
  flex-grow: 1;
  color: var(--text-main);
  margin-bottom: 20px;
}

/* --- Profile Cards --- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.profile-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.profile-card:hover {
  box-shadow: var(--shadow-md);
}

.profile-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 16px;
  border: 4px solid var(--bg);
}

.profile-card h4 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 1.1rem;
}

.profile-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* --- How it works --- */
.how-grid {
  display: flex;
  gap: 32px;
}

.how-step {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  flex: 1;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.how-step h3 {
  background: var(--accent);
  color: white;
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-size: 1.25rem;
}

/* --- Forms --- */
.contact-form {
  display: grid;
  gap: 20px;
  max-width: 600px;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* --- Footer --- */
.site-footer {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 32px;
  opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 2.25rem;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .how-grid {
    flex-direction: column;
  }

  .header-inner {
    position: relative;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border);
    gap: 16px;
  }

  .main-nav.active {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
  }

  .nav-toggle {
    display: block;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  width: 90%;
  max-width: 400px;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-hover);
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--accent);
}

.modal-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg);
  margin-bottom: 16px;
}

.modal-title {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 1.5rem;
}

.modal-role {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.modal-desc {
  margin-bottom: 24px;
  line-height: 1.6;
  color: var(--text-main);
}

.btn.full-width {
  width: 100%;
}