/* ═══════════════════════════════════════════
   szeged-asztalos.com — Main Stylesheet
   Fonts: Playfair Display + Manrope (Google)
   ═══════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --oak: #3D2B1F;
  --oak-light: #5C4033;
  --walnut: #4E3629;
  --cream: #FAF6F1;
  --cream-dark: #F0E8DE;
  --amber: #C8842D;
  --amber-light: #E5A84B;
  --amber-glow: #F5C97A;
  --sage: #7A8B6F;
  --sage-light: #9BAE8F;
  --charcoal: #2C2C2C;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --campaign-bg: #1B3A2D;
  --campaign-accent: #E5A84B;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 4px 24px rgba(61,43,31,0.08);
  --shadow-card: 0 2px 16px rgba(61,43,31,0.06), 0 8px 40px rgba(61,43,31,0.04);
  --shadow-hover: 0 8px 32px rgba(61,43,31,0.12), 0 16px 48px rgba(61,43,31,0.06);
  --max-width: 1200px;
  --nav-height: 80px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ─── Utility ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--oak);
  font-weight: 600;
  margin-bottom: 48px;
}

/* ═══════════ CAMPAIGN BANNER ═══════════ */
.campaign-banner {
  background: var(--campaign-bg);
  color: var(--white);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              padding 0.6s ease;
  padding: 0 24px;
}
.campaign-banner.visible {
  max-height: 200px;
  opacity: 1;
  padding: 16px 24px;
}
.campaign-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  flex-wrap: wrap;
}
.campaign-badge {
  background: var(--campaign-accent);
  color: var(--campaign-bg);
  padding: 4px 14px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}
.campaign-text { font-weight: 400; }
.campaign-text strong { font-weight: 700; color: var(--amber-glow); }
.campaign-cta {
  background: var(--white);
  color: var(--campaign-bg);
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13px;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.campaign-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--oak);
  line-height: 1.1;
}
.nav-logo-text small {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  color: var(--text);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--oak);
  background: var(--cream);
}
.nav-links a.active { font-weight: 700; }
.nav-cta {
  background: var(--amber) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: 100px !important;
  padding: 10px 24px !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--amber-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200,132,45,0.3);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--oak);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  background: var(--amber);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(200,132,45,0.25);
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,132,45,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--oak);
  padding: 16px 32px;
  border: 2px solid var(--oak-light);
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
}
.btn-secondary:hover {
  background: var(--oak);
  color: var(--white);
  border-color: var(--oak);
}

/* ═══════════ HERO ═══════════ */
.hero {
  padding: 80px 0 60px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 50px;
  line-height: 1.12;
  color: var(--oak);
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-content h1 em {
  color: var(--amber);
  font-style: italic;
}
.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--amber);
  color: var(--white);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 20px rgba(200,132,45,0.4);
  font-family: 'Playfair Display', serif;
}
.hero-badge small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-family: 'Manrope', sans-serif;
}

/* ═══════════ SERVICES ═══════════ */
.services {
  padding: 80px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(61,43,31,0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.service-card:nth-child(1)::before { background: var(--amber); }
.service-card:nth-child(2)::before { background: var(--sage); }
.service-card:nth-child(3)::before { background: var(--oak-light); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card:nth-child(1) .service-icon { background: rgba(200,132,45,0.1); color: var(--amber); }
.service-card:nth-child(2) .service-icon { background: rgba(122,139,111,0.12); color: var(--sage); }
.service-card:nth-child(3) .service-icon { background: rgba(78,54,41,0.08); color: var(--oak-light); }

.service-icon svg { width: 24px; height: 24px; }

.free-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.service-card:nth-child(1) .free-tag { background: rgba(200,132,45,0.1); color: var(--amber); }
.service-card:nth-child(2) .free-tag { background: rgba(122,139,111,0.12); color: var(--sage); }
.service-card:nth-child(3) .free-tag { background: rgba(78,54,41,0.08); color: var(--oak-light); }

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--oak);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 24px;
}
.service-link {
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-card:nth-child(1) .service-link { color: var(--amber); }
.service-card:nth-child(2) .service-link { color: var(--sage); }
.service-card:nth-child(3) .service-link { color: var(--oak-light); }
.service-link:hover { gap: 10px; }

/* ═══════════ PROCESS ═══════════ */
.process {
  background: var(--white);
  padding: 80px 0;
}
.process .section-label,
.process .section-title { text-align: center; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--sage), var(--oak-light));
  opacity: 0.25;
}
.step { text-align: center; position: relative; }
.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.step:nth-child(1) .step-number { background: rgba(200,132,45,0.1); color: var(--amber); }
.step:nth-child(2) .step-number { background: rgba(122,139,111,0.12); color: var(--sage); }
.step:nth-child(3) .step-number { background: rgba(78,54,41,0.08); color: var(--oak-light); }
.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--oak);
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  max-width: 260px;
  margin: 0 auto;
}

/* ═══════════ GALLERY ═══════════ */
.gallery {
  padding: 80px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61,43,31,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.1); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ═══════════ ABOUT ═══════════ */
.about-section {
  padding: 80px 0;
}
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--oak);
  margin-bottom: 24px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}
.about-text strong { color: var(--oak); }
.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
}
.highlight-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(200,132,45,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}
.highlight-item h4 { font-size: 14px; color: var(--oak); }
.highlight-item p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ═══════════ CONTACT FORM ═══════════ */
.contact-section {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--oak);
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(200,132,45,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}
.contact-detail-text strong {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 2px;
}
.contact-detail-text a,
.contact-detail-text span {
  font-size: 16px;
  font-weight: 600;
  color: var(--oak);
}
.contact-detail-text a:hover { color: var(--amber); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--oak);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
/* Honeypot */
.form-hp { position: absolute; left: -9999px; }
.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(122,139,111,0.12);
  color: var(--sage);
}
.form-status.error {
  display: block;
  background: rgba(200,50,50,0.08);
  color: #c03;
}

/* ═══════════ CTA SECTION ═══════════ */
.cta-section { padding: 80px 0; }
.cta-box {
  background: linear-gradient(135deg, var(--oak) 0%, var(--walnut) 100%);
  border-radius: 20px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,132,45,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-box h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
}
.cta-box p {
  font-size: 15px;
  opacity: 0.8;
  position: relative;
}
.cta-box .btn-primary {
  flex-shrink: 0;
  position: relative;
  background: var(--amber-glow);
  color: var(--oak);
}
.cta-box .btn-primary:hover { background: var(--white); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.6);
  padding: 48px 0;
}
.footer .container { text-align: center; }
.footer p { font-size: 13px; }
.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
}
.footer-links a {
  color: var(--amber-glow);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-social {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--white);
}
.footer-social svg { width: 18px; height: 18px; }

/* ═══════════ PAGE HEADER (sub-pages) ═══════════ */
.page-header {
  background: var(--white);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--cream-dark);
}
.page-header .section-label { margin-bottom: 8px; }
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  color: var(--oak);
  font-weight: 600;
}
.page-header p {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 12px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 320px; }
  .hero-content h1 { font-size: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; text-align: center; padding: 48px 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: var(--shadow-hover);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; padding: 14px; }
  .nav-toggle { display: block; }

  .hero { padding: 48px 0 40px; }
  .hero-content h1 { font-size: 34px; }
  .hero-visual { height: 260px; }

  .services-grid,
  .process-steps,
  .gallery-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .process-steps::before { display: none; }

  .section-title { font-size: 28px; }

  .services, .process, .gallery, .about-section,
  .contact-section, .cta-section { padding: 48px 0; }

  .contact-form { padding: 24px; }
  .cta-box { padding: 32px 20px; }
  .cta-box h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 28px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .campaign-inner { font-size: 13px; }
}
