/* ============ elektro-servis.eu — stylesheet ============ */

:root {
  --dark: #14181D;
  --dark-2: #1e242b;
  --accent: #F5B400;
  --accent-dark: #d99e00;
  --foreground: #1c1f24;
  --muted-foreground: #5b6470;
  --background: #ffffff;
  --muted: #f4f5f7;
  --border: #e4e6ea;
  --card: #ffffff;

  --radius: 0.9rem;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 45px rgba(0,0,0,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Outfit', 'Inter', sans-serif; margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; }
button { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
.icon { flex-shrink: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 600; border-radius: 0.6rem; border: none; cursor: pointer;
  transition: all 0.2s ease; white-space: nowrap; font-size: 1rem; padding: 0.75rem 1.5rem;
}
.btn-lg { font-size: 1.1rem; padding: 0.9rem 2rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: var(--dark); box-shadow: 0 10px 25px -6px rgba(245,180,0,0.5); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; border: 2px solid var(--border); color: var(--foreground); }
.btn-outline-dark:hover { background: var(--muted); }

/* ============ Navbar ============ */
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(20,24,29,0.96); backdrop-filter: blur(8px); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; }
.logo { display: flex; align-items: center; gap: 0.65rem; }
.logo img { width: 2.5rem; height: 2.5rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { color: #fff; font-weight: 700; font-size: 1.05rem; }
.logo-text span { color: var(--accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75); }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
.mobile-menu-btn { background: none; border: none; padding: 0.5rem; cursor: pointer; color: #fff; }
.mobile-menu { display: none; border-top: 1px solid rgba(255,255,255,0.1); }
.mobile-menu.open { display: block; }
.mobile-menu .container { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-menu a { color: rgba(255,255,255,0.85); font-size: 1rem; font-weight: 500; padding: 0.4rem 0; }
@media (min-width: 900px) { .nav-links, .nav-cta { display: flex; } .mobile-menu-btn { display: none; } }

/* ============ Hero ============ */
.hero { background: linear-gradient(150deg, var(--dark), var(--dark-2) 60%, #262c34); color: #fff; padding: 5rem 0 6rem; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(245,180,0,0.12), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.hero-logo { width: 7rem; height: 7rem; filter: drop-shadow(0 10px 25px rgba(245,180,0,0.25)); }
.hero-eyebrow { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; }
h1 { font-size: 2.25rem; line-height: 1.15; letter-spacing: -0.01em; }
@media (min-width: 640px) { h1 { font-size: 3rem; } }
@media (min-width: 1024px) { h1 { font-size: 3.4rem; } }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 38rem; line-height: 1.6; }
.hero-cta { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 640px) { .hero-cta { flex-direction: row; } }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin-top: 1rem; }
.hero-meta-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.hero-meta-item svg { color: var(--accent); }

/* ============ Sections ============ */
.section { padding: 5rem 0; }
.section-alt { background: var(--muted); }
.section-header { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
@media (min-width: 640px) { h2 { font-size: 2.4rem; } }
.section-header p { font-size: 1.1rem; color: var(--muted-foreground); }

/* ============ Services ============ */
.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid var(--border); transition: all 0.25s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: rgba(245,180,0,0.35); transform: translateY(-3px); }
.service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 0.65rem;
  background: rgba(245,180,0,0.12); color: var(--accent-dark); margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.05rem; line-height: 1.4; }

/* ============ About / contact person ============ */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-card {
  background: var(--dark); color: #fff; border-radius: 1.25rem; padding: 2.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem;
  box-shadow: var(--shadow-lg);
}
.about-card img { width: 5rem; height: 5rem; }
.about-card h3 { font-size: 1.4rem; }
.about-card .role { color: var(--accent); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.about-card .ico { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.about-text p { font-size: 1.05rem; color: var(--muted-foreground); line-height: 1.7; margin-bottom: 1.1rem; }
.about-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.about-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.about-list svg { color: var(--accent-dark); flex-shrink: 0; }

/* ============ Contact ============ */
.contact-cards { display: grid; gap: 1.25rem; margin-bottom: 3.5rem; }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem;
}
.contact-card .icon-circle {
  width: 3.25rem; height: 3.25rem; border-radius: 999px; background: rgba(245,180,0,0.12);
  color: var(--accent-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem;
}
.contact-card h3 { font-size: 1.05rem; }
.contact-card .value { color: var(--accent-dark); font-weight: 600; font-size: 1.05rem; }
.contact-card p.sub { color: var(--muted-foreground); font-size: 0.85rem; }

.contact-form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; max-width: 42rem; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 1.5rem; text-align: center; }
.form-row { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field textarea {
  width: 100%; padding: 0.65rem 0.85rem; border-radius: 0.55rem; border: 1px solid var(--border);
  background: var(--muted); font-family: inherit; font-size: 1rem; color: var(--foreground);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(245,180,0,0.18); }
.field textarea { min-height: 130px; resize: vertical; }

/* ============ Footer ============ */
.footer { background: var(--dark); color: rgba(255,255,255,0.8); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.9rem; }
.footer-brand img { width: 2.25rem; height: 2.25rem; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer p.desc { font-size: 0.9rem; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer a { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer-contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 0.15rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ============ Toast ============ */
.toast {
  position: fixed; bottom: 1.5rem; right: 1.5rem; background: var(--dark); color: #fff;
  padding: 1rem 1.5rem; border-radius: 0.6rem; box-shadow: var(--shadow-lg); z-index: 100;
  max-width: 22rem; opacity: 0; transform: translateY(1rem); transition: all 0.25s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast strong { display: block; margin-bottom: 0.25rem; }
.toast span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ============ Utility ============ */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.hidden { display: none; }
.text-center { text-align: center; }
