/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #ffffff;
  --header-color: #ff2329;
  --text-color: #373737;
  --light-gray: #f5f5f5;
  --border-color: #e3e3e3;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  background-color: var(--bg-color);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--header-color);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: var(--bg-color);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.logo h1 {
  color: var(--header-color);
  font-size: 1.8rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--header-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--header-color);
  margin-bottom: 30px;
  font-weight: 800;
}

.money-counter {
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

#stolenAmount {
  font-weight: bold;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.cta-button {
  display: inline-block;
  background-color: var(--header-color);
  color: white;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e01e24;
}

/* Statistics Section */
.statistics {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-item h2 {
  font-size: 3.5rem;
  color: var(--text-color);
  margin-bottom: 15px;
  position: relative;
}

.stat-item h2 sup {
  font-size: 1rem;
  position: absolute;
  top: 15px;
  color: var(--text-color);
}

.stat-item p {
  font-size: 1rem;
  max-width: 250px;
  margin: 0 auto;
}

.sources {
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

/* Képzések Section */
.kepzesek {
  padding: 60px 0;
}

.kepzesek h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 40px;
}

.kepzes-intro {
  margin-bottom: 50px;
}

.kepzes-intro h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.kepzes-intro p {
  line-height: 1.7;
}

.scam-types {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  margin-bottom: 60px;
}

.scam-type {
  flex: 1;
  text-align: center;
}

.icon {
  margin-bottom: 20px;
}

.icon img {
  width: 80px;
  height: 80px;
}

.scam-type h4 {
  font-size: 1.1rem;
  color: var(--text-color);
}

.kepzes-benefits {
  margin-top: 60px;
}

.kepzes-benefits h3 {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 20px;
}

.kepzes-benefits ul {
  list-style: none;
  margin-bottom: 30px;
}

.kepzes-benefits li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.kepzes-benefits li:before {
  content: "•";
  color: var(--header-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.newsletter-prompt {
  margin-top: 30px;
  font-size: 1.1rem;
}

.newsletter-prompt a {
  color: var(--header-color);
  font-weight: bold;
  text-decoration: underline;
}

/* Contact Section */
.kapcsolat {
  padding: 60px 0;
  border-top: 1px solid var(--border-color);
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
}

textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  margin-bottom: 20px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--header-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e01e24;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-color);
  font-size: 0.9rem;
}

.social-media {
  display: flex;
  gap: 20px;
}

.social-media a {
  color: var(--text-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: var(--header-color);
}

/* Newsletter Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-overlay.active {
  display: flex;
}

.popup-content {
  background: var(--bg-color);
  padding: 40px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

.popup-content h3 {
  color: var(--header-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.popup-content p {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  background-color: var(--header-color);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e01e24;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
  }

  .hero-content,
  .hero-image {
    flex: none;
    width: 100%;
  }

  .stat-container {
    flex-direction: column;
  }

  .scam-types {
    flex-wrap: wrap;
  }

  .scam-type {
    flex: 0 0 45%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: auto;
    flex-direction: column;
    background-color: var(--bg-color);
    padding: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    gap: 20px;
  }

  .scam-type {
    flex: 0 0 100%;
  }
}
