/* ==========================================================================
   FÉRFIAK VITALITÁSA & EGYENSÚLYA - MAGYAR ZÁSZLÓ DESIGN TÉMA
   Colors: Red (#C8102E), White (#FFFFFF), Green (#008751), Dark Gray (#1E293B)
   ========================================================================== */

:root {
  --hu-red: #C8102E;
  --hu-red-dark: #A00C22;
  --hu-green: #008751;
  --hu-green-dark: #00663C;
  --hu-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Hungarian Flag Top Stripe */
.flag-bar {
  height: 6px;
  width: 100%;
  background: linear-gradient(to right, var(--hu-red) 33.33%, var(--hu-white) 33.33%, var(--hu-white) 66.66%, var(--hu-green) 66.66%);
}

/* Top Disclaimer Banner (Google Ads Compliance) */
.top-disclaimer {
  background-color: #0F172A;
  color: #CBD5E1;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

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

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

.brand-logo .flag-badge {
  display: inline-flex;
  flex-direction: column;
  width: 24px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #CBD5E1;
}

.flag-badge span {
  flex: 1;
}
.flag-badge .red { background-color: var(--hu-red); }
.flag-badge .white { background-color: var(--hu-white); }
.flag-badge .green { background-color: var(--hu-green); }

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.btn-nav-order {
  background-color: var(--hu-green);
  color: white !important;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.2s ease, transform 0.1s ease !important;
  box-shadow: 0 2px 6px rgba(0, 135, 81, 0.3);
}

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

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

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

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(200, 16, 46, 0.08);
  color: var(--hu-red);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.25;
  color: #0F172A;
  margin-bottom: 20px;
}

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

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

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hu-red);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--hu-red-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.hero-img-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.trainer-meta-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0F172A;
}

.trainer-meta-title {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature Grid / Cards */
.section {
  padding: 70px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-subtitle {
  color: var(--hu-green);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  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: 12px;
  background-color: rgba(0, 135, 81, 0.1);
  color: var(--hu-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 900;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0F172A;
}

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

/* Story Section Special Layout */
.story-block {
  background: var(--hu-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--hu-red);
  margin-bottom: 40px;
}

.story-lead {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--hu-red-dark);
  margin-bottom: 24px;
  line-height: 1.7;
}

.story-p {
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.8;
}

.quote-box {
  background-color: #F8FAFC;
  border-left: 4px solid var(--hu-green);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.05rem;
  color: #334155;
}

/* Product Section Details */
.product-showcase {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.product-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: #F1F5F9;
  max-height: 420px;
  object-fit: contain;
}

.ingredient-list {
  list-style: none;
  margin: 20px 0;
}

.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
}

.ingredient-item:last-child {
  border-bottom: none;
}

.ingredient-icon {
  color: var(--hu-green);
  font-weight: bold;
}

/* Certificates Badges Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.cert-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.cert-badge-img {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 135, 81, 0.08);
  color: var(--hu-green);
  font-weight: 900;
  font-size: 1.1rem;
  border: 2px dashed var(--hu-green);
}

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

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

/* Lead Form Order Page */
.order-container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--hu-green);
}

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

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #0F172A;
}

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

.form-input:focus {
  outline: none;
  border-color: var(--hu-green);
}

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

.form-checkbox-group input {
  margin-top: 3px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--hu-green);
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(0, 135, 81, 0.3);
}

.btn-submit:hover {
  background-color: var(--hu-green-dark);
  transform: translateY(-1px);
}

.guarantee-box {
  margin-top: 24px;
  padding: 16px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Legal Documents */
.legal-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0F172A;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 24px 0 12px 0;
  color: var(--hu-red);
}

.legal-content p, .legal-content ul {
  margin-bottom: 16px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 24px;
}

/* Footer */
footer {
  background-color: #0F172A;
  color: #94A3B8;
  padding: 60px 24px 20px 24px;
  margin-top: auto;
  border-top: 4px solid var(--hu-red);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-title {
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1rem;
}

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

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

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

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

.footer-disclaimer-box {
  background-color: rgba(255,255,255,0.05);
  border-left: 3px solid var(--hu-red);
  padding: 16px;
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 30px;
  border-radius: 4px;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0F172A;
  color: white;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 3px solid var(--hu-green);
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 800px;
}

.cookie-text a {
  color: var(--hu-green);
  text-decoration: underline;
}

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

.btn-cookie-accept {
  background-color: var(--hu-green);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #94A3B8;
  border: 1px solid #475569;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Success Modal / Notification */
.success-message {
  display: none;
  background-color: rgba(0, 135, 81, 0.1);
  border: 2px solid var(--hu-green);
  color: var(--hu-green-dark);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  margin-top: 20px;
}

/* Responsive Rules */
@media (max-width: 992px) {
  .hero-container, .product-showcase, .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btns {
    width: 100%;
    justify-content: flex-end;
  }
}
