/* ==========================================================================
   FÉRFI EGYENSÚLY - Modern Hungarian Men's Health & Balance Theme
   Color Palette: Navy Blue (#0f2b48), Ocean Blue (#0284c7), Light Blue (#f0f9ff), White (#ffffff)
   ========================================================================== */

:root {
  --primary: #0f2b48;
  --primary-light: #1e40af;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --light-bg: #f0f9ff;
  --card-bg: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --border-color: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 4px rgba(15, 43, 72, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 43, 72, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 43, 72, 0.12);
  --font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: #f8fafc;
  color: var(--text-dark);
  line-height: 1.65;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent-hover);
}

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

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

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

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

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

nav.main-nav a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  background-color: var(--light-bg);
  color: var(--accent);
}

.nav-cta {
  background-color: var(--accent) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: 30px !important;
  box-shadow: 0 3px 8px rgba(2, 132, 199, 0.3);
}

.nav-cta:hover {
  background-color: var(--accent-hover) !important;
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0f2b48 0%, #1e40af 50%, #0284c7 100%);
  color: #ffffff;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: #f8fafc;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

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

.hero-title {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 19px;
  color: #e0f2fe;
  margin-bottom: 30px;
  max-width: 600px;
}

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

.hero-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 12px;
  color: #f0f9ff;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  color: #38bdf8;
  flex-shrink: 0;
}

.btn-primary {
  display: inline-block;
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 700;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--light-bg);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: #ffffff !important;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--primary));
  color: #ffffff !important;
}

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

.hero-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 4px solid rgba(255, 255, 255, 0.9);
  max-height: 440px;
  margin: 0 auto;
}

/* Sections General */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 45px;
}

/* Certificate Badges Grid */
.certificates-bar {
  background: #ffffff;
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

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

.cert-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 20px;
  background-color: var(--light-bg);
  border-radius: var(--radius-md);
  border: 1px solid #bae6fd;
}

.cert-badge {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}

.cert-info h4 {
  font-size: 15px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 3px;
}

.cert-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 35px;
}

.content-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background-color: var(--light-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 20px;
}

.content-card h3 {
  font-size: 20px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.content-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 15px;
}

.content-card ul {
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
}

.content-card ul li {
  margin-bottom: 8px;
}

/* Info Box / Text Block */
.text-block {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  border-left: 5px solid var(--accent);
}

.text-block h2 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 15px;
}

.text-block p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* Lead Form Page & Card */
.order-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border: 1px solid #e2e8f0;
}

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

.form-header h2 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: #f8fafc;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.form-privacy-note {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Thank You Box */
.thankyou-box {
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 50px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 25px;
}

.thankyou-box h1 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}

.thankyou-box p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 30px;
}

/* Footer */
footer.site-footer {
  background-color: var(--primary);
  color: #94a3b8;
  padding: 50px 0 25px;
  margin-top: auto;
}

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

.footer-brand h3 {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 15px;
}

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

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

.footer-links ul li a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links ul li a:hover {
  color: #38bdf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  font-size: 13px;
  text-align: center;
  color: #64748b;
}

.disclaimer-text {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #94a3b8;
}

/* Cookie Notice Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #0f172a;
  color: #ffffff;
  padding: 18px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-text {
  font-size: 14px;
  color: #cbd5e1;
}

.cookie-text a {
  color: #38bdf8;
  text-decoration: underline;
}

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

.btn-cookie-accept {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

.btn-cookie-decline {
  background-color: transparent;
  color: #94a3b8;
  border: 1px solid #475569;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features-list {
    display: inline-block;
    text-align: left;
  }

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

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

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

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

  nav.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  nav.main-nav a {
    display: block;
    padding: 12px;
  }

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