/* FinAsis Modern Tema */
/* Renk değişkenleri ve ana stiller theme.css'e taşındı */

/* ===== Responsive Typography ===== */
:root {
  --font-size-base: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --font-size-sm: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-xl: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --font-size-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-3xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --font-size-4xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.25rem);
  --font-size-5xl: clamp(2.25rem, 1.8rem + 2.25vw, 3rem);
  --font-size-6xl: clamp(2.5rem, 2rem + 2.5vw, 3.75rem);
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
}

/* Responsive Headings */
h1, .h1 {
  font-size: var(--font-size-4xl);
  line-height: 1.2;
  font-weight: 700;
}

h2, .h2 {
  font-size: var(--font-size-3xl);
  line-height: 1.3;
  font-weight: 600;
}

h3, .h3 {
  font-size: var(--font-size-2xl);
  line-height: 1.4;
  font-weight: 600;
}

h4, .h4 {
  font-size: var(--font-size-xl);
  line-height: 1.4;
  font-weight: 600;
}

h5, .h5 {
  font-size: var(--font-size-lg);
  line-weight: 1.5;
  font-weight: 500;
}

h6, .h6 {
  font-size: var(--font-size-base);
  line-height: 1.5;
  font-weight: 500;
}

.display-1 { font-size: var(--font-size-6xl); }
.display-2 { font-size: var(--font-size-5xl); }
.display-3 { font-size: var(--font-size-4xl); }
.display-4 { font-size: var(--font-size-3xl); }
.display-5 { font-size: var(--font-size-2xl); }
.display-6 { font-size: var(--font-size-xl); }

.lead {
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

small, .small {
  font-size: var(--font-size-sm);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

img.responsive {
  width: 100%;
  height: auto;
}

/* Responsive Containers */
.main-content, main.container {
  min-height: 60vh;
  padding: clamp(1rem, 2vw, 2rem);
}

.card {
  border-radius: clamp(0.5rem, 1vw, 1rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

footer.footer {
  font-size: var(--font-size-sm);
}

.navbar {
  border-radius: 0 0 clamp(0.5rem, 1vw, 1rem) clamp(0.5rem, 1vw, 1rem);
}

.navbar-brand img {
  max-height: clamp(32px, 4vw, 40px);
  width: auto;
  object-fit: contain;
}
/* ===== Responsive Breakpoints ===== */
/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .navbar-brand img {
    max-height: 32px;
  }
  .navbar-brand span {
    font-size: var(--font-size-base);
  }
  .main-content, main.container {
    padding: 0.75rem;
  }
  .card {
    padding: 1rem;
  }
  .btn {
    font-size: var(--font-size-sm);
    padding: 0.5rem 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .main-content, main.container {
    padding: 1rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .main-content, main.container {
    padding: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .main-content, main.container {
    padding: 2rem;
  }
}

/* Tablet and below */
@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 0 !important;
    align-items: flex-start !important;
  }
  .navbar-collapse {
    background: #222;
    padding: 1rem;
    border-radius: 0 0 clamp(0.5rem, 1vw, 1rem) clamp(0.5rem, 1vw, 1rem);
  }
  .navbar-brand span {
    font-size: var(--font-size-lg);
  }
  
  /* Stack columns on mobile */
  .row > [class*="col-"] {
    margin-bottom: 1rem;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
/* Koyu Tema eski renkleri kaldırıldı, theme.css kullanılacak */ 

/* ===== Modern Header ===== */
.site-header__announcement {
  background: linear-gradient(120deg, color-mix(in srgb, var(--brand-ink, #0D3B66) 90%, black), var(--brand-primary-900, #066A5C));
  color: #fff;
  padding: clamp(0.5rem, 1vw, 0.65rem) 0;
  font-size: var(--font-size-sm);
}
.site-header__pill {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.25rem, 0.5vw, 0.35rem);
  font-size: clamp(0.7rem, 0.5vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: clamp(0.15rem, 0.3vw, 0.2rem) clamp(0.7rem, 1vw, 0.9rem);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.site-header__pill[data-status="beta"] {
  background: rgba(255, 179, 0, 0.2);
  color: #fff4d2;
  border-color: rgba(255, 179, 0, 0.65);
}
.site-header__nav {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(13, 59, 102, 0.08);
}
.site-header__brand {
  gap: 0.8rem;
}
.site-header__logo {
  width: clamp(36px, 4vw, 46px);
  height: clamp(36px, 4vw, 46px);
  border-radius: clamp(12px, 1.5vw, 16px);
  background: linear-gradient(135deg, var(--brand-primary, #0AAE94), var(--brand-accent, #FFB300));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(13, 59, 102, 0.15);
}
.site-header__logo img {
  width: clamp(20px, 2.5vw, 28px);
  height: clamp(20px, 2.5vw, 28px);
  object-fit: contain;
}
.site-header__badge-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-ink, #0D3B66);
  background: rgba(10, 174, 148, 0.1);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  text-decoration: none;
}
.site-header__badge-link:hover,
.site-header__badge-link:focus {
  background: rgba(10, 174, 148, 0.2);
  color: var(--brand-ink, #0D3B66);
}
.site-header__actions .btn {
  border-radius: 999px;
  font-weight: 600;
}
.site-header__cta {
  min-width: 150px;
}
.site-header__theme-btn {
  border-radius: 999px;
  border: 1px solid rgba(13, 59, 102, 0.2);
  color: var(--brand-ink, #0D3B66);
}
.site-header__quick-links {
  border-top: 1px solid rgba(13, 59, 102, 0.05);
  background: rgba(4, 24, 32, 0.02);
  padding: 0.5rem 0;
}
.site-header__quick-link {
  font-size: 0.85rem;
  color: var(--brand-ink, #0D3B66);
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(13, 59, 102, 0.08);
}
.site-header__quick-link--muted {
  background: rgba(13, 59, 102, 0.06);
}
.site-header__quick-link:hover {
  border-color: rgba(13, 59, 102, 0.3);
}
@media (max-width: 991.98px) {
  .site-header__actions {
    padding-top: 1rem;
    border-top: 1px solid rgba(13, 59, 102, 0.08);
  }
}

/* ===== Modern Footer ===== */
.site-footer {
  margin-top: clamp(2rem, 4vw, 4rem);
  border-top-left-radius: clamp(16px, 2vw, 24px);
  border-top-right-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  font-size: var(--font-size-sm);
}
.site-footer__cta {
  background: rgba(255, 255, 255, 0.05);
  border-radius: clamp(16px, 2vw, 24px);
  padding: clamp(1.5rem, 3vw, 2rem);
}
.site-footer__cta-btn {
  border-radius: 999px;
  font-weight: 600;
}
.site-footer__logo {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: clamp(12px, 1.5vw, 16px);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer__logo img {
  width: clamp(22px, 2.5vw, 26px);
  height: clamp(22px, 2.5vw, 26px);
  object-fit: contain;
}
.site-footer__list li + li {
  margin-top: 0.35rem;
}
.site-footer__list a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.site-footer__list a:hover {
  color: #fff;
}
.site-footer__social {
  width: clamp(32px, 4vw, 38px);
  height: clamp(32px, 4vw, 38px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-size: clamp(14px, 1.5vw, 18px);
}
.site-footer__social:hover {
  background: rgba(255, 255, 255, 0.18);
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.15);
}