
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  color: #1e293b;
  background: #f1f5f9;
  width: 100%;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.2s ease;
}

a:hover {
  color: #1d4ed8;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

h3, h4, h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #334155;
}

/* ======== ADMIN BAR ======== */

.admin-bar {
  background: #fbbf24;
  color: #1e293b;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
}

.admin-bar a {
  color: #1e293b;
  font-weight: 600;
}

.admin-bar a:hover {
  color: #0f172a;
  text-decoration: underline;
}

/* ======== HEADER ======== */

.site-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
  line-height: 1;
}

.logo-text {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* ======== NAVIGATION ======== */

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ======== BANNER ======== */

.topbanner_box {
  background: #ffffff;
  padding: 15px 0;
  border-bottom: 1px solid #e2e8f0;
}

.topbanner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.topbanner::before {
  content: 'hirdetés';
  display: block;
  font-size: 10px;
  text-align: center;
  color: #94a3b8;
  margin-bottom: 5px;
}

/* ======== MAIN CONTENT ======== */

.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 60vh;
}

.content {
  width: 100%;
  padding: 20px 0;
}

/* ======== HERO SECTION (kezdőlap) ======== */

.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0891b2 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section h1 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #94a3b8;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.hero-hint {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* ======== SEARCH FORM ======== */

.search-form-wrapper {
  max-width: 550px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.search-form {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-input {
  flex: 1;
  border: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #0f172a;
  outline: none;
}

.search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.search-button {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 32px;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-button:hover {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

/* ======== SECTION STYLES ======== */

.section-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 24px;
}

/* ======== PHONE NUMBERS GRID ======== */

.phone-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px 0;
}

.phone-grid a {
  display: inline-block;
  padding: 10px 18px;
  background: #f1f5f9;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-family: 'Inter', monospace;
}

.phone-grid a:hover {
  background: #0891b2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* ======== INFO SECTION ======== */

.info-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.info-section .section-title {
  color: #0f172a;
}

.info-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  max-width: 900px;
  margin: 0 auto;
}

/* ======== PHONE DETAIL PAGE ======== */

.phone-detail-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0891b2 100%);
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  color: #ffffff;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.phone-number-display {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.phone-stats {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

.stat-badge.positive {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-badge.negative {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.phone-formats {
  font-size: 1.1rem;
  color: #94a3b8;
  margin: 12px 0;
}

.phone-area-info {
  font-size: 1rem;
  color: #22d3ee;
  font-weight: 500;
}

.phone-description {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.7;
  max-width: 700px;
  margin: 16px auto 0;
}

/* ======== COMMENT FORM ======== */

.comment-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.rating-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.catvalaszto {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.catvalaszto input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.catvalaszto label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 30px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  font-size: 15px;
}

.catvalaszto label.green {
  background: #f0fdf4;
  color: #16a34a;
  border: 2px solid #bbf7d0;
  background-image: none;
}

.catvalaszto label.green:hover {
  background: #dcfce7;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.catvalaszto label.red {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #fecaca;
  background-image: none;
}

.catvalaszto label.red:hover {
  background: #fee2e2;
  border-color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.catvalaszto input[type="radio"]:checked + label.green {
  background: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
}

.catvalaszto input[type="radio"]:checked + label.red {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.textarea_velemeny {
  width: 100%;
  max-width: 600px;
  min-height: 120px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #1e293b;
  background: #f8fafc;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
  margin: 15px auto;
  display: block;
}

.textarea_velemeny:focus {
  border-color: #0891b2;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.button_reg {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 14px 40px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
  margin-top: 10px;
}

.button_reg:hover {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

/* ======== COMMENTS LIST ======== */

.comments-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  margin: 30px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.comment-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  background: #f8fafc;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.comment-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.comment-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.comment-icon.positive {
  background-color: #dcfce7;
}

.comment-icon.negative {
  background-color: #fee2e2;
}

.comment-icon.neutral {
  background-color: #f1f5f9;
}

.comment-body {
  flex: 1;
}

.comment-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.comment-label.positive { color: #16a34a; }
.comment-label.negative { color: #dc2626; }
.comment-label.neutral { color: #64748b; }

.comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.comment-date {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 6px;
}

/* ======== DISCLAIMER ======== */

.disclaimer-section {
  background: #f8fafc;
  padding: 50px 20px;
  border-top: 1px solid #e2e8f0;
}

.container-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-section .section-title {
  font-size: 1.5rem;
  color: #475569;
  margin-bottom: 16px;
}

.disclaimer-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #64748b;
}

/* ======== FOOTER ======== */

.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  color: #e2e8f0;
}

.footer-copy {
  font-size: 13px;
  color: #64748b;
}

.footer-right {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ======== UTILITY CLASSES ======== */

.tartalom_center_box {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.h_box {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 24px;
}

.bottom_leiras {
  font-size: 1rem;
  line-height: 1.8;
  color: #475569;
  max-width: 900px;
  margin: 0 auto;
}

.center_text {
  font-size: 1.1rem;
  color: #1e293b;
  text-align: center;
}

.info_text {
  font-size: 1rem;
  color: #0891b2;
  font-weight: 500;
  text-align: center;
  padding: 8px 0;
}

.centert_text_middle {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 10px;
}

.ajanlo_box {
  text-align: center;
}

.ertek_link, a.ertek_link:link, a.ertek_link:visited, a.ertek_link:active {
  display: inline-block;
  padding: 10px 18px;
  background: #f1f5f9;
  color: #334155;
  font-size: 15px;
  font-weight: 500;
  border-radius: 10px;
  transition: all 0.2s ease;
  margin: 4px;
  text-decoration: none;
}

a.ertek_link:hover {
  background: #0891b2;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.input_tel {
  flex: 1;
  border: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 24px;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  width: 300px;
}

.input_tel::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.szamol_gomb {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 18px 32px;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  height: auto;
  width: auto;
  margin-left: 8px;
}

.szamol_gomb:hover {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.form_box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 550px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 6px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.valuta_box {
  flex: 1;
}

.kalkulator_container {
  max-width: 700px;
  margin: 0 auto;
}

.kalkulator_box {
  background: transparent;
  min-height: auto;
  margin-top: 0;
}

.kalkulator_eredmeny {
  width: 100%;
  padding: 0;
  height: auto;
  min-height: auto;
  color: #1e293b;
}

/* ======== AD BOXES ======== */

.reklambox, .reklambox_jobb, .reklambox_tartalom,
.centerbanner_box, .bottombanner_box {
  padding: 10px 0;
  margin: 10px 0;
}

.reklambox::after, .reklambox_jobb::after, .reklambox_tartalom::after,
.centerbanner::after, .bottombanner::after,
.center_banner_box::after, .reklam_tartalom::after,
.newsbox_tovabb_reklam::after {
  content: 'hirdetés';
  display: block;
  font-size: 10px;
  text-align: center;
  color: #94a3b8;
}

/* ======== LINK STYLES (backward compat) ======== */

A.bottomlink:link, A.bottomlink:visited, A.bottomlink:active {
  color: #94a3b8;
  font-weight: 500;
  text-decoration: none;
  margin-right: 16px;
}

A.bottomlink:hover {
  color: #ffffff;
}

.n-error {
  background: #fef3c7;
  color: #92400e;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin: 10px 0;
  border: 1px solid #fde68a;
}

button:focus {
  outline: none;
}

/* ======== MISC LEGACY COMPAT ======== */

.tartalom {
  width: 100%;
}

.tartalom-full {
  width: 100%;
}

.headtop {
  width: 100%;
}

.beginning_box, .kezdolapbox {
  background: transparent;
}

.newsbox {
  width: 100%;
  margin-bottom: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

@media only screen and (max-width: 960px) {

  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-icon {
    font-size: 26px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 8px 0;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 20px;
    border-radius: 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-section {
    padding: 40px 20px;
    margin: 16px 0;
    border-radius: 16px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-form {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .search-input {
    font-size: 18px;
    padding: 16px 18px;
  }

  .search-button {
    padding: 16px 24px;
    font-size: 16px;
  }

  .input_tel {
    width: 100%;
    font-size: 18px;
    padding: 16px 18px;
  }

  .form_box {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .szamol_gomb {
    width: 100%;
    margin-left: 0;
  }

  .section-card, .info-section, .comments-section, .comment-form-card {
    padding: 24px 16px;
    margin: 16px 0;
    border-radius: 14px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .h_box {
    font-size: 1.4rem;
  }

  .phone-detail-hero {
    padding: 30px 20px;
    margin: 16px 0;
    border-radius: 16px;
  }

  .phone-number-display {
    font-size: 1.75rem;
  }

  .phone-stats {
    gap: 10px;
  }

  .stat-badge {
    padding: 8px 14px;
    font-size: 14px;
  }

  .comment-item {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .comment-icon {
    width: 40px;
    height: 40px;
  }

  .catvalaszto {
    flex-direction: row;
    gap: 10px;
  }

  .catvalaszto label {
    padding: 16px 20px;
    font-size: 14px;
  }

  .textarea_velemeny {
    width: 100%;
    max-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }

  .footer-right {
    gap: 16px;
  }

  .disclaimer-section {
    padding: 30px 16px;
  }

  .site-main {
    padding: 0 12px;
  }

  .topbanner {
    padding: 0 12px;
  }

  .tartalom_center_box {
    padding: 0 12px;
  }

  .bottom_leiras {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  .phone-grid a {
    padding: 8px 14px;
    font-size: 14px;
  }

  .ertek_link, a.ertek_link:link, a.ertek_link:visited {
    padding: 8px 14px;
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .center_text {
    font-size: 0.95rem;
  }

  .info_text {
    font-size: 0.9rem;
  }

  .centert_text_middle {
    font-size: 0.85rem;
    padding: 10px 8px 0;
  }
}

@media only screen and (max-width: 480px) {

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .hero-section {
    padding: 30px 16px;
  }

  .phone-number-display {
    font-size: 1.4rem;
  }

  .catvalaszto label {
    padding: 14px 16px;
  }

  .phone-stats {
    flex-direction: column;
    align-items: center;
  }
}
