/* AX Power Solutions - Shared CSS stylesheet */

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

a, button, [role="button"], input, select, textarea {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700;1,800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #121121;
  --bg-card: #1c1a2e;
  --primary-yellow: #FFFF29;
  --primary-blue: #2b93ff;
  --accent-cyan: #61c5ff;
  --text-white: #ffffff;
  --text-muted: #a0a0b8;
  --border-glow: rgba(90, 100, 170, 0.35);
  --yellow-glow: rgba(255, 255, 41, 0.35);
  --blue-glow: rgba(43, 147, 255, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
background-image: url('images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

/* Half-fade black darkening overlay across the whole background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the overlay */
.header-wrapper,
.container,
.site-footer,
main,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  margin: 0 auto;
}

/* HEADER / NAV */
.header-wrapper {
  width: 100%;
  max-width: 1280px;
  padding: 20px 20px 0;
  margin-bottom: 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-pill {
  background: rgba(18, 17, 33, 0.17);
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  box-shadow: 0 0 30px var(--border-glow);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Right side group for nav links + CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
  border: none;
}

.brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 1.15rem;
  color: #ffffff;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-yellow);
}

.phone-btn {
  background-color: var(--primary-yellow);
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 28px;
  border-radius: 100px;
  box-shadow: 0 0 20px var(--yellow-glow);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.phone-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 255, 41, 0.5);
}

/* Mobile Nav Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: rgba(18, 17, 33, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  display: flex;
}

/* HERO SECTION */
.hero-section {
  text-align: center;
  padding: 100px 20px 70px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.hero-title {
  font-family: 'Days One', sans-serif; 
  font-size: 100px;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1.3em;
  margin-bottom: 28px;
  text-transform: none;
  letter-spacing: -0.5px;
  display: block;
  text-align: center;
}

.hero-line-1 {
  white-space: nowrap;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 48px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-yellow {
  background-color: var(--primary-yellow);
  color: #000000;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  padding: 18px 104px;
  border-radius: 100px;
  box-shadow: 0 0 20px var(--yellow-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 340px;
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 41, 0.6);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  padding: 18px 104px;
  border-radius: 100px;
  box-shadow: 0 0 20px var(--blue-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 340px;
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(43, 147, 255, 0.6);
}

/* Yellow divider line under hero buttons */
.hero-divider {
  width: 900px;
  max-width: 90%;
  height: 3px;
  background-color: var(--primary-yellow);
  border-radius: 100px;
  margin: 120px auto 0;
  opacity: 0.5;
}

.btn-outline {
  background: transparent;
  border: 1px solid #FFE500;
  color: #FFE500;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  background: #FFE500;
  color: #000000;
}

/* CARDS / SECTIONS */
.card-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 80px auto;
  background: rgba(30, 32, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

/* TABS SYSTEM FOR HOMEPAGE */
.tabs-nav {
  display: flex;
  background: rgba(20, 21, 35, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 26px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tab-btn.active, .tab-btn:hover {
  color: var(--primary-yellow);
  background: rgba(255, 255, 41, 0.05);
  border-bottom: 2px solid var(--primary-yellow);
}

.tab-content {
  display: none;
  padding: 64px 56px;
  /* Darker background for tab content areas */
  background: rgba(8, 8, 18, 0.6);
}

.tab-content.active {
  display: flex;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .tab-content.active {
    flex-direction: column;
    text-align: center;
  }
  
  .hirek-right {
    padding-left: 0 !important;
    margin-top: 28px;
  }
  
  .minositett-card {
    max-width: 100%;
  }
}

/* All clickable images in tabs - cursor pointer + subtle glow on hover */
.profile-img,
.tanusitvany-img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover,
.tanusitvany-img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 255, 41, 0.2);
}

.profile-img {
  width: 320px;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Tanúsítványok section image - cropped preview, full size only in lightbox */
.tanusitvany-img {
  width: 360px;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* LIGHTBOX - Full size image viewer with elegant border shine */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  /* Elegant border shine effect */
  box-shadow:
    0 0 2px rgba(255, 229, 0, 0.6),
    0 0 8px rgba(255, 229, 0, 0.35),
    0 0 20px rgba(255, 229, 0, 0.18),
    0 0 40px rgba(97, 197, 255, 0.12),
    0 25px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 229, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 2.8rem;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  line-height: 1;
  font-family: sans-serif;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--primary-yellow);
  color: var(--primary-yellow);
}

.tab-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  color: var(--primary-yellow);
  margin-bottom: 28px;
  font-weight: 700;
}

.tab-text p {
  color: #e0e0e0;
  font-size: 1.35rem;
  line-height: 1.85;
}

/* Full width text for tabs without images */
.tab-text-full {
  width: 100%;
  text-align: center;
}

/* MINŐSÍTŐ IRAT - White Card Style (Tanúsítványok tab) */
.minositett-card {
  background: #ffffff;
  color: #111111;
  border-radius: 16px;
  padding: 40px 44px;
  min-width: 420px;
  max-width: 520px;
  flex-shrink: 0;
}

.minositett-intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #333333;
}

.minositett-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.25rem;
  color: #000000;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  font-weight: 900;
}

.minositett-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #222222;
}

.minositvelt-divider {
  border-top: 1px dotted #999999;
  margin: 24px 0;
}

.minositvelt-signature-box {
  font-size: 1rem;
  line-height: 1.6;
  color: #111111;
}

.minositvelt-signature-box strong {
  font-weight: 800;
  font-size: 1.05rem;
}

.minositvelt-footer-note {
  margin-top: 24px !important;
  font-size: 0.88rem;
  color: #666666;
}

/* PRICE CARD - Solid dark background matching reference image */
.price-card-solid {
  background: #1a1a1e !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px !important;
}

/* Extra spacing on arazasok page between hero and price content */
.arazasok-hero-gap {
  margin-bottom: 100px !important;
  padding-bottom: 40px;
}
.table-footer-note {
  font-style: italic !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  font-size: 0.9rem !important;
  color: #444444 !important;
}

/* HÍREK TAB STYLES */
.hirek-left {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
}

.hirek-left iframe {
  width: 100%;
  min-height: 500px;
  border-radius: 12px;
}

.hirek-right {
  flex: 1;
  min-width: 360px;
  padding-left: 56px;
}

.hirek-badge {
  display: inline-block;
  background: #e53e3e;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.hirek-right h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.8rem;
  color: var(--primary-yellow);
  margin-bottom: 10px;
}

.hirek-right > p {
  color: #c0c0d0;
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.social-btn:hover {
  background: rgba(255,255,255,0.08);
  transform: translateX(4px);
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  flex-shrink: 0;
}

.social-fb .social-icon { background: #1877f2; }
.social-ig .social-icon { 
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); 
}
.social-tt .social-icon { background: #000000; }

.social-info {
  display: flex;
  flex-direction: column;
}

.social-info strong {
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
}

.social-info span {
  font-size: 0.88rem;
  color: #9090a8;
}

.hirek-cta-box {
  background: rgba(255, 229, 0, 0.06);
  border: 1px solid rgba(255, 229, 0, 0.15);
  border-radius: 14px;
  padding: 24px 28px;
}

.hirek-cta-box h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.hirek-cta-box p {
  color: #a0a0b8;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.btn-outline-yellow {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--primary-yellow);
  color: var(--primary-yellow);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-yellow:hover {
  background: var(--primary-yellow);
  color: #000000;
}

/* INFO BOX (Price page) */
.info-box {
  background: rgba(25, 28, 42, 0.9);
  border: 1px solid rgba(97, 197, 255, 0.2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
}

.info-title {
  color: var(--accent-cyan);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.info-text {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* PRICE TABLE */
.price-table-container {
  width: 100%;
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th {
  background: var(--primary-yellow);
  color: #000000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.price-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.price-table .price-val {
  color: var(--primary-yellow);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-table .section-header td {
  background: rgba(97, 197, 255, 0.1);
  color: var(--accent-cyan);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 16px 20px;
  border-top: 1px solid rgba(97, 197, 255, 0.2);
  border-bottom: 1px solid rgba(97, 197, 255, 0.2);
}

.table-footer-note {
  text-align: center;
  padding: 16px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-style: italic;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* CONTACT FORM CARD */
.form-card {
  background: #ffffff;
  color: #111111;
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
  max-width: 650px;
  margin: 30px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .form-card {
    padding: 24px 20px;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: #222222;
  margin-bottom: 6px;
}

.form-label span.req {
  color: #e53e3e;
  margin-left: 2px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #333333;
  background: #ffffff;
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #22a55e;
  box-shadow: 0 0 0 3px rgba(34, 165, 94, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.file-upload-box {
  border: 1px dashed #bbbbbb;
  border-radius: 6px;
  padding: 16px;
  text-align: center;
  background: #f9f9f9;
  cursor: pointer;
}

.file-upload-box:hover {
  background: #f0f0f0;
}

.file-hint {
  font-size: 0.78rem;
  color: #666666;
  margin-top: 4px;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .address-grid {
    grid-template-columns: 1fr;
  }
}

.btn-submit {
  width: 100%;
  background-color: #22a55e;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: #1b8a4c;
}

.form-disclaimer {
  font-size: 0.82rem;
  color: #666666;
  text-align: center;
  margin-top: 14px;
  line-height: 1.4;
}

.form-disclaimer a {
  color: #22a55e;
  text-decoration: underline;
}

/* PRIVACY / ADATKEZELESI CARD */
.privacy-card {
  background: rgba(24, 26, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .privacy-card {
    padding: 24px 20px;
  }
}

.privacy-section {
  margin-bottom: 24px;
}

.privacy-title {
  color: var(--primary-blue);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.privacy-card p, .privacy-card li {
  color: #dddddd;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.privacy-card strong {
  color: #ffffff;
}

/* GALLERY / REFERENCE CARDS */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
}

.ref-card {
  background: rgba(28, 26, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ref-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ref-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ref-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-yellow);
  margin-bottom: 8px;
}

.ref-desc {
  font-size: 0.9rem;
  color: #cccccc;
  line-height: 1.5;
}

/* REFERENCE IMAGE GRID - 3 columns x 2 rows */
.ref-image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1500px;
  margin: 50px auto;
  padding: 0 20px;
}

.ref-grid-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ref-grid-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(255, 255, 41, 0.2);
}

@media (max-width: 900px) {
  .ref-image-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    gap: 20px;
  }
  .ref-grid-img {
    height: 400px;
  }
}

@media (max-width: 550px) {
  .ref-image-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }
  .ref-grid-img {
    height: 420px;
  }
}

.site-footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 20px 24px;
  margin-top: auto;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: #aaaacc;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: #cccccc;
  font-weight: 600;
}

@media (max-width: 600px) {
  .footer-item {
    justify-content: center;
  }
}

.footer-item a:hover {
  color: var(--primary-yellow);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #999999;
  font-weight: 600;
}

.footer-bottom a {
  color: #888888;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ===== MOBILE OPTIMIZATION (max-width: 700px) ===== */
@media (max-width: 700px) {
  /* NAV */
  .nav-center, .phone-btn { display: none; }
  .mobile-toggle { display: block; }
  .nav-pill { padding: 12px 16px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 1rem; }
  .header-wrapper { padding: 12px 12px 0; margin-bottom: 20px; }
  .mobile-menu { padding: 16px; gap: 12px; }
  .mobile-menu .nav-link { font-size: 1.1rem; }
  .mobile-menu .phone-btn { font-size: 1rem; padding: 12px 20px; }

  /* HERO */
  .hero-section { padding: 40px 16px 30px; }
  .hero-title { font-size: 40px !important; line-height: 1.25em !important;font-family: 'Days One', sans-serif !important; }
  .hero-line-1 { white-space: normal !important; }
  .hero-subtitle { font-size: 1.1rem; margin-bottom: 28px; }
  .hero-buttons { flex-direction: column; gap: 14px; width: calc(100% - 48px); margin: 0 auto; }
  .btn-yellow, .btn-blue {
    font-size: 1.05rem;
    padding: 14px 24px;
    min-width: unset;
    width: 100%;
  }
  .hero-divider { margin: 50px auto 0; height: 2px; }

  /* CARD / TABS - Horizontal scroll instead of wrapping */
  .card-wrapper { margin: 30px auto; border-radius: 14px; }
  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn {
    font-size: 0.85rem;
    padding: 14px 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .tab-content { padding: 24px 18px; }
  .tab-content.active { flex-direction: column; gap: 20px; text-align: center; }
  .tab-text h3 { font-size: 1.4rem; margin-bottom: 14px; }
  .tab-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    /* Truncate long text on mobile */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* TAB IMAGES */
  .profile-img { width: 100%; max-width: 280px; height: 260px; }
  .tanusitvany-img { width: 100%; max-width: 280px; height: 300px; }

  /* HÍREK */
  .hirek-right { padding-left: 0 !important; margin-top: 24px; min-width: unset; }
  .hirek-left iframe { min-height: 400px; }
  .hirek-right h3 { font-size: 1.4rem; }
  .hirek-right > p { font-size: 0.9rem; margin-bottom: 18px; }
  .social-btn { padding: 12px 14px; gap: 12px; }
  .social-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .social-info strong { font-size: 0.95rem; }
  .social-info span { font-size: 0.78rem; }
  .hirek-cta-box { padding: 18px 16px; }
  .hirek-cta-box h4 { font-size: 1.05rem; }

  /* PRICE TABLE */
  .price-card-solid { padding: 20px !important; }
  .arazasok-hero-gap { margin-bottom: 50px !important; padding-bottom: 20px; }
  .price-table th { font-size: 0.78rem; padding: 10px 8px; }
  .price-table td { font-size: 0.82rem; padding: 10px 8px; }
  .price-table .section-header td { font-size: 0.85rem; padding: 12px 8px; }
  .info-box { padding: 16px; }
  .info-title { font-size: 0.95rem; }
  .info-text { font-size: 0.85rem; }
  .table-footer-note { font-size: 0.78rem; padding: 12px; }

  /* FORM */
  .form-card { padding: 20px 16px; }
  .form-label { font-size: 0.85rem; }
  .form-input, .form-select, .form-textarea { font-size: 0.9rem; padding: 10px 12px; }
  .btn-submit { font-size: 1rem; padding: 14px 16px; }
  .form-disclaimer { font-size: 0.75rem; }

  /* PRIVACY */
  .privacy-card { padding: 20px 16px; }
  .privacy-title { font-size: 0.95rem; }
  .privacy-card p, .privacy-card li { font-size: 0.85rem; line-height: 1.5; }

  /* REFERENCE GRID */
  .ref-image-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 14px;
    margin: 24px auto;
    padding: 0 12px;
  }
  .ref-grid-img { height: 280px; }

  /* FOOTER */
  .site-footer { padding: 28px 16px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-item { justify-content: center; font-size: 0.85rem; }
  .footer-brand { font-size: 0.82rem; margin-bottom: 16px; }
  .footer-bottom { font-size: 0.76rem; padding-top: 16px; }
}
