/* ===== TRADING ZDARMA - CUSTOM STYLES ===== */

:root {
  --primary-color: #1d539f;
  --primary-light: #4a7bc8;
  --primary-dark: #0f3a70;
  --secondary-bg: #f1f1f1;
  --white: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 25px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* Typography */
body {
  font-family: "Red Hat Display", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Bona Nova SC", serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Header */
.navbar {
  background: var(--white) !important;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: "Bona Nova SC", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero section */
.hero-section {
  background: linear-gradient(135deg, rgba(29, 83, 159, 0.9), rgba(74, 123, 200, 0.8)), url('./img/hero-background.webp');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 190px 0;
  margin-top: 76px; /* Account for fixed navbar */
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Secondary page headers */
.page-header {
  background: var(--secondary-bg);
  padding: 80px 0 60px 0;
  margin-top: 76px;
  text-align: center;
}

.page-header h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-header .lead {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Content sections */
.content-section {
  padding: 80px 0;
}

.content-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.content-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.content-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content-card img {
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  width: 100%;
  height: auto;
}

/* Statistics section */
.stats-section {
  background: var(--text-dark);
  color: white;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: "Bona Nova SC", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-light);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Advantages section */
.advantage-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--primary-color);

}

.advantage-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--secondary-bg);
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #e8e8e8;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

.faq-answer.show {
  display: block;
}

/* Form styles */
.form-section {
  background: var(--secondary-bg);
  padding: 60px 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem;
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(29, 83, 159, 0.25);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  z-index: 1050;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner .btn {
  margin: 0 0.25rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 40px 0 20px 0;
}

.footer h5 {
  color: var(--primary-light);
  font-family: "Bona Nova SC", serif;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section {
    padding: 160px 0;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Utility classes */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-bg) !important;
}

.border-primary-custom {
  border-color: var(--primary-color) !important;
}
