/* ==========================================================================
   Magyar Férfi Vitalitás - Google Ads Kompatibilis Stíluslap
   Magyar Zászló Téma: Piros (#C8102E), Fehér (#FFFFFF), Zöld (#007A3D)
   ========================================================================== */

:root {
  --hu-red: #C8102E;
  --hu-red-hover: #A00B22;
  --hu-green: #007A3D;
  --hu-green-hover: #005D2E;
  --hu-white: #FFFFFF;
  --bg-light: #F8F9FA;
  --bg-card: #FFFFFF;
  --text-dark: #1E242B;
  --text-muted: #5A6578;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

a:hover {
  color: var(--hu-green-hover);
}

/* Hungarian Flag Top Ribbon */
.hu-flag-bar {
  height: 6px;
  width: 100%;
  background: linear-gradient(to right, 
    var(--hu-red) 0%, var(--hu-red) 33.3%, 
    #FFFFFF 33.3%, #FFFFFF 66.6%, 
    var(--hu-green) 66.6%, var(--hu-green) 100%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

/* Header & Navigation */
header {
  background-color: var(--hu-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 6px;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hu-red) 0%, var(--hu-green) 100%);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.logo span {
  color: var(--hu-red);
}

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

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

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

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

.btn-nav-order {
  background-color: var(--hu-red);
  color: #fff !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-nav-order:hover {
  background-color: var(--hu-red-hover);
  transform: translateY(-1px);
}

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

/* Layout Containers */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #FFFDFD 0%, #F4F8F5 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 1.5rem;
}

.hero-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 122, 61, 0.1);
  color: var(--hu-green);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(0, 122, 61, 0.2);
}

.hero-title {
  font-size: 2.3rem;
  line-height: 1.25;
  font-weight: 850;
  color: var(--text-dark);
  margin-bottom: 1.2rem;
}

.hero-title span {
  color: var(--hu-red);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: #fff;
  padding: 1.5rem 1rem 0.8rem 1rem;
  font-size: 0.9rem;
}

.hero-image-caption strong {
  color: #5ED993;
}

/* Call to Action Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--hu-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--hu-red-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 16, 46, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--hu-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 122, 61, 0.25);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--hu-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Story Card Section */
.story-section {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 1rem;
}

.story-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--hu-green);
}

.story-meta h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
}

.story-meta p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.story-content p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
  color: #2D3748;
}

.story-quote {
  background-color: #F4F8F5;
  border-left: 4px solid var(--hu-green);
  padding: 1.2rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-dark);
  font-weight: 500;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Feature Cards Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

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

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(200, 16, 46, 0.08);
  color: var(--hu-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 900;
}

.card-icon.green {
  background-color: rgba(0, 122, 61, 0.08);
  color: var(--hu-green);
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

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

/* Product Spotlight Card */
.product-spotlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #F9FBF9 100%);
  border: 2px solid var(--hu-green);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin: 3rem 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  text-align: center;
}

.product-img-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.product-info h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.product-tag {
  display: inline-block;
  background-color: var(--hu-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.product-list {
  list-style: none;
  margin: 1.2rem 0;
}

.product-list li {
  padding-left: 1.6rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
  color: #2D3748;
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--hu-green);
  font-weight: 900;
}

/* Certificates Bar / Badges */
.certificates-section {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.certificates-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 0.8rem;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hu-green) 0%, #005D2E 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  box-shadow: 0 3px 8px rgba(0, 122, 61, 0.2);
}

.cert-badge span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cert-badge small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Lead Form Section (Dedicated for rendeles.html) */
.order-form-container {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--hu-red);
  max-width: 540px;
  margin: 0 auto;
}

.order-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.order-form-header h2 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.order-form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #FAFAFA;
}

.form-control:focus {
  outline: none;
  border-color: var(--hu-green);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.15);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--hu-green);
  width: 16px;
  height: 16px;
}

.btn-block {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-container {
  margin: 3rem 0;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--hu-green);
  font-weight: 700;
}

.faq-item.active .faq-question::after {
  content: "−";
  color: var(--hu-red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #FAFDFC;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Legal Disclaimers & Google Ads Box */
.disclaimer-box {
  background-color: #FFF9E6;
  border-left: 4px solid #F59E0B;
  padding: 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #78350F;
  margin: 2rem 0;
  line-height: 1.5;
}

/* Modal Popup for Order Confirmation */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(0, 122, 61, 0.1);
  color: var(--hu-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem auto;
  font-weight: 900;
}

.modal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.modal-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Cookie Banner GDPR */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1E242B;
  color: #FFFFFF;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #CBD5E1;
}

.cookie-text a {
  color: #5ED993;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 0.8rem;
}

.btn-cookie-accept {
  background-color: var(--hu-green);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
}

/* Footer */
footer {
  background-color: #15191E;
  color: #A0AEC0;
  padding: 3.5rem 1.5rem 1.5rem 1.5rem;
  border-top: 4px solid var(--hu-green);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--hu-red);
}

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

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--hu-red);
}

.footer-disclaimer {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid #2D3748;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #718096;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #718096;
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

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

  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
