/* 
  Egészséges Férfi - Main Stylesheet
  Theme: Yellow & White (#F5B800, #FFFDF0, #FFFFFF, #1E293B)
  Clean, modern, energetic, and highly readable.
*/

:root {
  --primary-yellow: #F5B800;
  --primary-yellow-hover: #E0A800;
  --yellow-light: #FFF9E6;
  --yellow-gradient: linear-gradient(135deg, #FFD54F 0%, #F5B800 100%);
  --bg-warm-white: #FAF9F5;
  --card-bg: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --border-accent: #FDE68A;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(245, 184, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(0,0,0,0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-warm-white);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Navigation */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--yellow-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(245, 184, 0, 0.3);
}

.logo span {
  color: var(--primary-yellow-hover);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  background-color: var(--yellow-light);
  color: var(--text-dark);
}

.btn-header {
  background: var(--yellow-gradient);
  color: #1E293B;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(245, 184, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 184, 0, 0.5);
  color: #1E293B;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-dark);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--yellow-light);
  color: #92400E;
  border: 1px solid var(--border-accent);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-title span {
  background: linear-gradient(120deg, #D97706, #F5B800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.author-mini {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
}

.author-mini-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-yellow);
}

.author-mini-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.author-mini-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-img-wrap {
  position: relative;
}

.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  max-height: 480px;
  border: 4px solid #FFFFFF;
}

.hero-badge-float {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: #FFFFFF;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 5px solid var(--primary-yellow);
}

.hero-badge-float strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-dark);
}

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

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

.section-bg-white {
  background-color: #FFFFFF;
}

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Feature Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-accent);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: var(--yellow-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  color: #D97706;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Article Cards */
.article-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-meta {
  font-size: 0.82rem;
  color: #D97706;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.read-more:hover {
  color: var(--primary-yellow-hover);
}

/* Interactive Quiz Widget */
.quiz-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-accent);
  box-shadow: var(--shadow-md);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}

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

.quiz-step-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-step-dot {
  width: 30px;
  height: 6px;
  background-color: var(--border-color);
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.quiz-step-dot.active {
  background-color: var(--primary-yellow);
}

.quiz-question-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.quiz-option-btn {
  background: var(--bg-warm-white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-dark);
}

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

.quiz-option-btn.selected {
  border-color: var(--primary-yellow-hover);
  background-color: var(--yellow-light);
  box-shadow: 0 0 0 2px rgba(245, 184, 0, 0.3);
}

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

.btn-primary {
  background: var(--yellow-gradient);
  color: #1E293B;
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 184, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 184, 0, 0.5);
  color: #1E293B;
}

.btn-secondary {
  background: var(--bg-warm-white);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

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

.quiz-result-score {
  display: inline-block;
  background: var(--yellow-light);
  border: 2px dashed var(--primary-yellow);
  padding: 20px 40px;
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.quiz-result-score h3 {
  font-size: 2.2rem;
  color: #D97706;
}

/* Certificate Badges & Section */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cert-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cert-card:hover {
  border-color: var(--primary-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #D97706;
}

.cert-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

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

.modal-content {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-warm-white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Product Spotlight Section */
.product-spotlight {
  background: linear-gradient(135deg, #FFFDF0 0%, #FAF5DF 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 50px;
  margin: 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.product-img-wrap {
  text-align: center;
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-img-wrap img {
  max-height: 380px;
  margin: 0 auto;
}

.product-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 1.1rem;
  color: #D97706;
  font-weight: 700;
  margin-bottom: 20px;
}

.product-list {
  list-style: none;
  margin-bottom: 30px;
}

.product-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-dark);
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #D97706;
  font-weight: 900;
  font-size: 1.1rem;
}

/* Consultation Lead Form Page */
.form-card {
  background: #FFFFFF;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  max-width: 560px;
  margin: 0 auto;
}

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

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

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

.form-control:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.2);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}

/* Article Detail Layout */
.article-detail-wrap {
  max-width: 840px;
  margin: 0 auto;
  background: #FFFFFF;
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.article-detail-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-author-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-content p {
  margin-bottom: 22px;
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-dark);
}

.article-content blockquote {
  background: var(--yellow-light);
  border-left: 4px solid var(--primary-yellow);
  padding: 20px 24px;
  font-style: italic;
  font-size: 1.05rem;
  margin: 30px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 800px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 2px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.cookie-text {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 60px 0 30px;
  font-size: 0.9rem;
  margin-top: 80px;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

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

.footer-links a {
  color: #94A3B8;
}

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

.footer-disclaimer {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  
  .quiz-options {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-btns {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .article-detail-wrap {
    padding: 24px;
  }

  .hero-title {
    font-size: 2rem;
  }
}
