/* ==========================================================================
   Triplem.rs - Prémium Gipszkarton & Szárazépítészet
   Arculat: Matt fekete (#0E0E10), Antracit (#18181B), Tiszta fehér (#FAFAFA), Arany (#C9A253)
   ========================================================================== */

:root {
  --bg-primary: #0E0E10;
  --bg-secondary: #16161A;
  --bg-card: #1C1C21;
  --bg-card-hover: #232329;
  --text-primary: #FAFAFA;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;
  --gold-primary: #C9A253;
  --gold-light: #E6C27A;
  --gold-dark: #9E7B32;
  --border-subtle: rgba(201, 162, 83, 0.18);
  --border-strong: rgba(201, 162, 83, 0.45);
  --shadow-gold: 0 10px 35px -10px rgba(201, 162, 83, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Gold text & badges */
.text-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 55%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(201, 162, 83, 0.1);
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(14, 14, 16, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link img {
  height: 48px;
  width: auto;
  display: block;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #0E0E10;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #0E0E10;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  background: rgba(201, 162, 83, 0.12);
  border-color: var(--gold-light);
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 5.5rem 0 5rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 162, 83, 0.14), transparent 45%),
    url('../img/blueprint-bg.svg') center/cover no-repeat;
  border-bottom: 1px solid var(--border-subtle);
}

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

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.45rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 610px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-item span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Hero Architectural Spec Card */
.hero-card {
  background: linear-gradient(160deg, #1E1E24 0%, #131316 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-gold);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-card-header h3 {
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.spec-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201, 162, 83, 0.16);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* 6 Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 1.15rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tags span {
  font-size: 0.74rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

/* Q1 - Q4 Surface Quality System */
.quality-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.q-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}

.q-tab:hover {
  border-color: var(--border-strong);
}

.q-tab.active {
  background: linear-gradient(160deg, rgba(201, 162, 83, 0.18), rgba(28, 28, 33, 0.95));
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.q-level {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.q-subtitle {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.q-detail-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
}

.q-detail-box h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
  color: var(--gold-light);
}

.q-detail-box p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.q-checklist {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.q-checklist li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
}

.q-checklist li::before {
  content: '✓';
  color: var(--gold-light);
  font-weight: 800;
}

.q-usecase-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.q-usecase-card span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.q-usecase-card strong {
  font-size: 1.02rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Interactive Price Calculator */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-gold);
}

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

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.94rem;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.96rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-light);
}

.range-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

input[type="range"] {
  flex: 1;
  accent-color: var(--gold-primary);
  height: 6px;
  cursor: pointer;
}

.area-number-input {
  width: 96px;
  text-align: center;
  font-weight: 700;
  color: var(--gold-light);
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  transition: var(--transition);
}

.check-pill:hover {
  border-color: var(--border-strong);
}

.check-pill input {
  accent-color: var(--gold-primary);
  width: 16px;
  height: 16px;
}

/* Calculator Output Panel */
.calc-summary {
  background: linear-gradient(170deg, #131316 0%, #0B0B0D 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-display {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.price-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.price-range {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-light);
}

.price-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.summary-breakdown {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.summary-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.summary-breakdown strong {
  color: var(--text-primary);
  text-align: right;
}

.direct-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-viber {
  background: #7360F2;
  color: #FFFFFF;
}

.btn-viber:hover {
  background: #624EE6;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #0B0B0D;
}

.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
}

.btn-call {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--gold-light);
}

.btn-call:hover {
  background: rgba(201, 162, 83, 0.12);
}

/* Contact & Footer */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.contact-card h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.contact-card p, .contact-card a {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid,
  .q-detail-box,
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-strong);
    gap: 1.15rem;
  }

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

  .mobile-menu-btn {
    display: inline-flex;
  }

  .services-grid,
  .contact-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .quality-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .calc-wrapper {
    padding: 1.5rem;
  }
}
