/* ==========================================================================
   FÉRFIERŐ - Main Stylesheet
   Theme: Natural Premium Green Palette (Eye-friendly, Modern, Elegant)
   GEO: Hungary
   ========================================================================== */

:root {
  --primary-dark: #1b4332;
  --primary-medium: #2d6a4f;
  --primary-brand: #40916c;
  --primary-light: #52b788;
  --accent-mint: #d8f3dc;
  --accent-gold: #d4af37;
  --accent-gold-hover: #b89628;
  --text-dark: #1d2d25;
  --text-muted: #526359;
  --text-light: #f8f9fa;
  --bg-light: #f4f7f5;
  --bg-white: #ffffff;
  --border-color: #d1e3d7;
  --shadow-sm: 0 2px 8px rgba(27, 67, 50, 0.06);
  --shadow-md: 0 4px 20px rgba(27, 67, 50, 0.1);
  --shadow-lg: 0 10px 30px rgba(27, 67, 50, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary-medium);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-brand);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(64, 145, 108, 0.3);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-brand);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-brand);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(27, 67, 50, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-brand) 0%, var(--primary-medium) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 67, 50, 0.35);
  color: var(--bg-white);
}

.btn-accent {
  background: linear-gradient(135deg, #e5c158 0%, var(--accent-gold) 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #f3cf65 0%, var(--accent-gold-hover) 100%);
  transform: translateY(-2px);
  color: #1a1a1a;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-medium);
  color: var(--primary-medium);
}

.btn-outline:hover {
  background-color: var(--accent-mint);
  color: var(--primary-dark);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 60px 0 80px 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-mint);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  color: var(--primary-dark);
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-features {
  list-style: none;
  margin-bottom: 35px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-features li::before {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background-color: var(--primary-light);
  color: var(--bg-white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  transition: var(--transition);
}

.hero-image-wrapper img:hover {
  transform: scale(1.02);
}

.floating-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background-color: var(--bg-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent-gold);
}

.floating-badge strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-dark);
}

.floating-badge span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 70px 0;
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.section-header p {
  font-size: 1.1rem;
}

/* Features Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent-mint);
  color: var(--primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

/* Certificates & Trust Bar */
.certificates-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
  color: var(--bg-white);
  padding: 50px 0;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  text-align: center;
}

.cert-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.cert-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.cert-item h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cert-item p {
  color: var(--accent-mint);
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* Article / Long Text Content */
.content-box {
  background-color: var(--bg-white);
  padding: 45px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.content-box h2 {
  border-bottom: 2px solid var(--accent-mint);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.content-box p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.content-box ul {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.content-box li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.highlight-box {
  background-color: var(--accent-mint);
  border-left: 5px solid var(--primary-medium);
  padding: 20px 25px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 25px 0;
}

.highlight-box p {
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 0;
}

/* Interactive Quiz Container */
.quiz-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-light);
  max-width: 800px;
  margin: 0 auto;
}

.quiz-progress-bar {
  width: 100%;
  height: 10px;
  background-color: #e2ece9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary-medium));
  width: 20%;
  transition: width 0.4s ease;
}

.quiz-question-title {
  font-size: 1.35rem;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--bg-light);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  text-align: left;
}

.quiz-option-btn:hover {
  background-color: var(--accent-mint);
  border-color: var(--primary-light);
}

.quiz-option-btn.selected {
  background-color: var(--accent-mint);
  border-color: var(--primary-medium);
  color: var(--primary-dark);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-result-box {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.score-badge {
  display: inline-block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-medium);
  background-color: var(--accent-mint);
  padding: 15px 35px;
  border-radius: 50px;
  margin: 20px 0;
}

/* Dedicated Order / Lead Form Page */
.order-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 580px;
  margin: 0 auto;
}

.order-header {
  text-align: center;
  margin-bottom: 30px;
}

.order-header h2 {
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-medium);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(64, 145, 108, 0.15);
}

.phone-input-wrapper {
  display: flex;
  gap: 10px;
}

.phone-prefix {
  padding: 14px 16px;
  background-color: #e8f0eb;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.15rem;
  margin-top: 10px;
}

.form-privacy-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 18px;
}

.trust-badges-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* Thank You Page */
.thankyou-box {
  background-color: var(--bg-white);
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 650px;
  margin: 40px auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background-color: var(--accent-mint);
  color: var(--primary-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 24px auto;
}

/* Cookie Banner (GDPR) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 20px 0;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text p {
  color: #e2ece9;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.btn-cookie-accept {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-cookie-accept:hover {
  background-color: var(--accent-mint);
}

.btn-cookie-decline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--bg-white);
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: #c9d8d0;
  padding: 60px 0 30px 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #c9d8d0;
}

.footer-links a:hover {
  color: var(--accent-mint);
}

/* Mandatory Supplement Disclaimer Box for Google Ads */
.disclaimer-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: var(--radius-sm);
  margin-top: 30px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #a3b8ac;
}

.disclaimer-box strong {
  color: #e2ece9;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-features li {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position.absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .content-box {
    padding: 25px;
  }
  .order-card {
    padding: 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
