/* ==========================================================================
   Elektricist Tiranë — stylesheet
   Palette: Albanian red/black + electric amber accent
   ========================================================================== */

:root {
  --red: #E41E20;
  --red-dark: #b81618;
  --black: #121214;
  --ink: #1c1c1f;
  --amber: #FFC22E;
  --amber-dark: #e6a800;
  --white: #ffffff;
  --gray-50: #f7f7f8;
  --gray-100: #eef0f2;
  --gray-300: #cfd3d8;
  --gray-600: #5b616b;
  --gray-700: #3c4048;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(18, 18, 20, 0.12);
  --container: 1120px;
  font-size: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--gray-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gray-700); }

a { color: var(--red-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { max-width: 100%; display: block; }

ul { padding-left: 1.2em; color: var(--gray-700); }
li { margin-bottom: .4em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 64px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--black); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--gray-300); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6em;
}

.text-center { text-align: center; }
.max-w-prose { max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--amber);
  color: var(--black);
  box-shadow: 0 8px 20px rgba(255, 194, 46, .35);
}
.btn-primary:hover { background: var(--amber-dark); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: #000; }

.btn-whatsapp {
  background: var(--black);
  color: var(--white);
}
.btn-whatsapp:hover { background: #25D366; }

.btn-block { width: 100%; justify-content: center; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

/* ---- Top utility bar ---- */
.topbar {
  background: var(--black);
  color: var(--gray-300);
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--amber) 100%);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.brand:hover { text-decoration: none; }
.brand small {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--gray-300);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.main-nav a {
  color: var(--gray-300);
  font-weight: 600;
  font-size: .95rem;
}
.main-nav a.active { color: var(--amber); }
.main-nav a:hover { color: var(--amber); text-decoration: none; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.24);
  color: var(--white);
  font-weight: 700;
  font-size: .8rem;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.lang-toggle:hover { background: rgba(255,255,255,.18); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--black) 0%, #26181a 55%, var(--red-dark) 130%);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 76px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.hero-emblem {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: 480px;
  opacity: .08;
  z-index: 1;
  pointer-events: none;
}
.hero h1 { color: var(--white); }
.hero .lead { color: var(--gray-300); font-size: 1.12rem; max-width: 46ch; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8em;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  color: var(--white);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(4px);
}
.hero-panel h3 { color: var(--white); margin-bottom: .3em; }
.hero-panel .price-note { color: var(--gray-300); font-size: .9rem; margin-bottom: 1.2em; }
.hero-panel ul { list-style: none; padding: 0; margin: 0 0 1.4em; }
.hero-panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--gray-300);
  font-size: .95rem;
}
.hero-panel li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
}

/* ---- Trust strip ---- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: .92rem;
}
.trust-item .ic { color: var(--red); flex-shrink: 0; }

/* ---- Cards / grids ---- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); }
.card .ic-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fdecec;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .4em; }
.card p { margin-bottom: .8em; }
.card a.more { font-weight: 700; font-size: .9rem; }

.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4em;
}
.service-card-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-700);
}
.service-card-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--red);
  border-radius: 2px;
}

/* ---- Photo placeholder ---- */
.photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(45deg, #f0f1f3, #f0f1f3 10px, #e7e9ec 10px, #e7e9ec 20px);
  border: 2px dashed var(--gray-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: .85rem;
  text-align: center;
  padding: 16px;
}
.photo-placeholder .ic { color: var(--gray-600); opacity: .6; }
.photo-placeholder.small { aspect-ratio: 1 / 1; }

.photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Photo marquee (auto-scrolling work showcase) ---- */
.photo-marquee {
  overflow: hidden;
  margin-top: 40px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.photo-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.marquee-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 760px) {
  .marquee-item { width: 200px; }
  .trust-strip .container { justify-content: center; text-align: center; }
  .trust-item { justify-content: center; }
}

/* ---- Coverage map ---- */
.coverage-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.coverage-map img { width: 100%; height: auto; display: block; }

/* ---- Areas served ---- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-list li {
  color: var(--red);
  font-weight: 700;
  font-size: 1.05rem;
}
.area-list li:not(:last-child)::after {
  content: "•";
  color: var(--gray-600);
  font-weight: 400;
  margin-left: 14px;
}

/* ---- FAQ ---- */
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--black);
  padding: 0;
}
.faq-q .plus {
  font-size: 1.4rem;
  color: var(--red);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding-top: 12px; margin-bottom: 0; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2, .cta-band p { color: var(--white); margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.9); margin-bottom: 0; }

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
}
.contact-card .row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-card .ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fdecec;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card .row strong { display: block; color: var(--black); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .9rem;
  color: var(--ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
.form-note { font-size: .82rem; color: var(--gray-600); margin-top: 10px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 {
  color: var(--white);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--gray-300); }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--white); margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: var(--gray-600);
}

/* ---- Sticky mobile CTA bar ---- */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}
.mobile-cta-bar .row { display: flex; }
.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-weight: 700;
  font-size: .9rem;
}
.mobile-cta-bar .call { background: var(--red); color: var(--white); }
.mobile-cta-bar .whatsapp { background: #25D366; color: var(--white); }

/* ---- Breadcrumb ---- */
.breadcrumb {
  font-size: .85rem;
  color: var(--gray-600);
  padding: 16px 0 0;
}
.breadcrumb a { color: var(--gray-600); }
.breadcrumb .sep { margin: 0 6px; }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  background: var(--gray-50);
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--gray-100);
}
.page-hero .eyebrow { margin-bottom: .4em; }
.page-hero p.lead { font-size: 1.05rem; max-width: 60ch; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-emblem { display: none; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn span.label-full { display: none; }
  body.nav-open .main-nav {
    display: block;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--white);
    padding: 20px;
    z-index: 55;
    overflow-y: auto;
  }
  body.nav-open .main-nav ul { flex-direction: column; gap: 4px; }
  body.nav-open .main-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--gray-100); color: var(--ink); }
  body.nav-open .main-nav a.active { color: var(--red); }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 58px; }
  .topbar .container { justify-content: center; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}
