/* ============================================================
   EniVie Interiors — Globális stílusok
   ============================================================ */

/* ── Változók ─────────────────────────────────────────────── */
:root {
  /* Színek */
  --c-bg:        #f5ece6;
  --c-bg-alt:    #fdf9f6;
  --c-text:      #2a1e1a;
  --c-muted:     #8a7570;
  --c-accent:    #b08a82;
  --c-border:    #e2cfc7;
  --c-white:     #ffffff;
  --c-error:     #c0392b;
  --c-error-dark: #8b1a1a;

  /* Háttérszín opacity változatok */
  --c-bg-70:     rgba(245, 236, 230, 0.7);
  --c-bg-82:     rgba(245, 236, 230, 0.82);
  --c-bg-85:     rgba(245, 236, 230, 0.85);
  --c-bg-95:     rgba(245, 236, 230, 0.95);

  /* Tipográfia */
  --f-serif:     'Playfair Display', Georgia, serif;
  --f-sans:      'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:   1240px;
  --nav-h:       80px;
  --section-py:  100px;

  /* Animáció */
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur:         0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--f-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ── Konténer ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Tipográfia ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 400;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 46px);
  color: var(--c-text);
  margin-bottom: 24px;
}

.section-text {
  font-size: 17px;
  line-height: 1.78;
  color: var(--c-muted);
  max-width: 580px;
}

/* ── Gombok ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--c-text);
  color: var(--c-bg);
  border: 1.5px solid var(--c-text);
}

.btn--primary:hover {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}

.btn--outline:hover {
  border-color: var(--c-text);
}

.btn--full {
  width: 100%;
  text-align: center;
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Segédosztályok ───────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Reszponzív töréspontok ───────────────────────────────── */
/* < 480px   — kis telefon  */
/* 480–768px — telefon      */
/* 768–1024px — tablet      */
/* > 1024px  — desktop      */

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }
  .container {
    padding: 0 20px;
  }
}
