﻿/* ═══════════════════════════════════════════
   ALL FACADES — Shared Stylesheet
   ═══════════════════════════════════════════ */

:root {
  --primary: #af101a;
  --primary-dark: #8a0d15;
  --secondary: #006879;
  --on-surface: #271816;
  --on-surface-variant: #5b403d;
  --outline: #8f6f6c;
  --outline-variant: #e4beba;
  --surface: #fff8f7;
  --surface-container: #ffe9e7;
  --surface-container-low: #fff0ef;
  --background: #fff8f7;
  --nav-h: 88px;
}

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

::selection { background: #ffdad6; color: #410003; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #fff8f7; }
::-webkit-scrollbar-thumb { background: #e4beba; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Hero Background ─────────────────────── */
.hero-section {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
@media (min-width: 1024px) {
  .hero-section { background-attachment: fixed; }
}

/* ── Lang Switcher ────────────────────────── */
.lang-btn {
  cursor: pointer; background: none; border: none;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #8f6f6c;
  padding: 5px 8px;
  transition: color 0.2s, background 0.2s;
}
.lang-btn.active { color: #af101a; background: #fff0ef; }
.lang-btn:hover:not(.active) { color: #af101a; }

/* ── Scroll Progress ──────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Navigation ───────────────────────────── */
.nav-link {
  font-family: 'Work Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5b403d;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

nav.scrolled {
  box-shadow: 0 4px 32px rgba(39,24,22,0.08);
  border-bottom-color: rgba(228,190,186,0.6);
}

/* ── Hamburger ────────────────────────────── */
.hamburger {
  width: 26px; height: 18px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  cursor: pointer; background: none; border: none; padding: 0;
}
.hamburger span {
  display: block; height: 2px;
  background: #271816;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Mobile Menu ──────────────────────────── */
#mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: white;
  z-index: 45;
  padding: 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
#mobile-menu.open { transform: translateX(0); }

/* Desktop: mobile menu never shows, këto stile nuk e prekin PC */
.mobile-nav-link {
  font-family: 'Work Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  color: #271816;
  border-bottom: 1px solid #e4beba;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: block;
  /* Phone size */
  font-size: 13px;
  padding: 10px 0;
}
.mobile-nav-link:hover { color: var(--primary); padding-left: 4px; }
.mobile-nav-link.active { color: var(--primary); }

/* ── Section Label ────────────────────────── */
.section-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--primary); flex-shrink: 0;
}

/* ── Scroll Reveal ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1),
              transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: none; }

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* ── Buttons ──────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: white;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--primary);
  padding: 13px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border: 1.5px solid var(--primary); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  padding: 13px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,0.6); cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-white:hover { background: white; color: var(--primary); border-color: white; }

/* ── Service Cards ────────────────────────── */
.service-card {
  background: white;
  border: 1px solid #f1d3d0;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(175,16,26,0.08);
}
.service-img { overflow: hidden; }
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover .service-img img { transform: scale(1.05); }

/* ── Spec Row ─────────────────────────────── */
.spec-row {
  border-bottom: 1.5px solid rgba(39,24,22,0.12);
  padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center;
}

/* ── Gallery Items ────────────────────────── */
.gallery-item {
  overflow: hidden; cursor: pointer; position: relative; display: block;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(39,24,22,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.4s;
}
.gallery-overlay .icon {
  color: white; opacity: 0; font-size: 44px;
  transform: scale(0.6);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item:hover .gallery-overlay { background: rgba(39,24,22,0.5); }
.gallery-item:hover .gallery-overlay .icon { opacity: 1; transform: scale(1); }

/* ── Lightbox ─────────────────────────────── */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.93); z-index: 2000;
  align-items: center; justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 88vw; max-height: 88vh;
  object-fit: contain;
  animation: fadeScaleIn 0.35s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
#lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,0.7); cursor: pointer;
  font-size: 44px; line-height: 1;
  background: none; border: none; font-family: sans-serif;
  transition: color 0.2s;
}
#lightbox-close:hover { color: white; }
#lightbox-prev, #lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: rgba(255,255,255,0.7); cursor: pointer;
  background: rgba(255,255,255,0.08); border: none; border-radius: 50%;
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
#lightbox-prev:hover, #lightbox-next:hover { background: var(--primary); color: white; }
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }

/* ── Video Cards ──────────────────────────── */
.video-card {
  position: relative; overflow: hidden; cursor: pointer; background: #0a0a0a;
}
.video-card video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0.6; transition: opacity 0.4s, transform 0.6s;
}
.video-card:hover video { opacity: 0.4; transform: scale(1.04); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.play-circle {
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(175,16,26,0.8);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), background 0.3s;
  box-shadow: 0 8px 24px rgba(175,16,26,0.4);
}
.video-card:hover .play-circle { transform: scale(1.15); background: var(--primary); }
.play-circle .material-symbols-outlined {
  color: white; font-size: 28px;
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Video Modal ──────────────────────────── */
#video-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 2000;
  align-items: center; justify-content: center;
}
#video-modal.open { display: flex; }
#modal-video {
  max-width: 90vw; max-height: 85vh; outline: none;
  animation: fadeScaleIn 0.35s cubic-bezier(0.16,1,0.3,1);
}
#video-modal-close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,0.7); cursor: pointer;
  font-size: 44px; line-height: 1;
  background: none; border: none; font-family: sans-serif;
  transition: color 0.2s;
}
#video-modal-close:hover { color: white; }

/* ── Testimonial Cards ────────────────────── */
.testimonial-card {
  background: white; border: 1px solid #e4beba; padding: 40px;
  position: relative;
  transition: box-shadow 0.4s, border-color 0.4s;
}
.testimonial-card:hover {
  box-shadow: 0 12px 48px rgba(175,16,26,0.08);
  border-color: var(--primary);
}

/* ── Feature Cards ────────────────────────── */
.feature-card {
  padding: 32px;
  border: 1px solid #f1d3d0;
  background: white;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(175,16,26,0.07);
  border-color: var(--primary);
}
.feature-card.dark {
  background: #271816; border-color: #271816; color: white;
}

/* ── WhatsApp Float ───────────────────────── */
.whatsapp-btn {
  position: fixed; bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 100; transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: white; }

/* ── Social Buttons ───────────────────────── */
.social-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--primary); color: white; background: var(--primary); }

/* ── Footer Links ─────────────────────────── */
.footer-link {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-decoration: none; transition: color 0.2s;
}
.footer-link:hover { color: rgba(255,255,255,0.85); }

/* ── Gallery Filter ───────────────────────── */
.filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 20px; cursor: pointer;
  background: white; color: #5b403d;
  border: 1.5px solid #e4beba;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary); color: white; border-color: var(--primary);
}
.gallery-item.hidden { display: none; }

/* ── Project Cards (Gallery page) ─────────── */
.project-card {
  position: relative; overflow: hidden; cursor: pointer;
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(39,24,22,0.85));
  padding: 32px 24px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-card-overlay { transform: translateY(0); }

/* ── Contact Form ─────────────────────────── */
.form-field {
  width: 100%;
  border: 1.5px solid #e4beba;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  background: #fff8f7; color: #271816;
  outline: none;
  transition: border-color 0.2s;
}
.form-field:focus { border-color: var(--primary); }
.form-field::placeholder { color: #8f6f6c; }
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #8f6f6c; display: block; margin-bottom: 6px;
}

/* ── Info Card ────────────────────────────── */
.info-row {
  display: flex; justify-content: space-between;
  border-bottom: 1px solid #e4beba; padding: 12px 0;
  font-family: 'Inter', sans-serif; font-size: 14px;
}
.info-row:last-child { border-bottom: none; }

/* ── Map Placeholder ──────────────────────── */
.map-placeholder {
  background: #f0ece8;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; position: relative; overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #e4d0cc 25%, transparent 25%) -10px 0,
              linear-gradient(225deg, #e4d0cc 25%, transparent 25%) -10px 0,
              linear-gradient(315deg, #e4d0cc 25%, transparent 25%),
              linear-gradient(45deg, #e4d0cc 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: #f0ece8;
  opacity: 0.5;
}

/* ── Animations ───────────────────────────── */
@keyframes fadeScaleIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 768px) {
  #lightbox-prev { left: 8px; }
  #lightbox-next { right: 8px; }
  .testimonial-card { padding: 28px; }
}

/* ── Mobile specific (max 639px — phone only) ─ */
@media (max-width: 639px) {
  /* Hero darker overlay on mobile */
  #hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 0;
    pointer-events: none;
  }
  /* Hero h1 smaller on phone */
  #hero h1 { font-size: clamp(32px, 8vw, 48px) !important; }

  /* Buttons: full-width only inside flex-col containers */
  .flex-col > .btn-primary,
  .flex-col > .btn-outline,
  .flex-col > .btn-outline-white {
    width: 100%;
    justify-content: center;
  }

  /* Stats labels: smaller to avoid wrapping */
  .counter + span {
    font-size: 9px;
  }

  /* Stats counter smaller */
  .counter { font-size: 2rem !important; }

  /* Stats section spacing */
  #stats-section .md\:px-10 { padding-left: 0; padding-right: 0; }

  /* Nav height & logo on phone */
  nav .h-\[88px\] { height: 70px !important; }
  nav .w-\[68px\] { width: 48px !important; height: 48px !important; }
  nav .h-\[68px\] { height: 48px !important; }
  nav .text-\[23px\] { font-size: 17px !important; }

  /* SCROLL indicator: hide on mobile */
  #hero .animate-bounce { display: none; }

  /* Testimonial cards */
  .testimonial-card { padding: 20px; }
}
