/* TES ELEKTRO — Full CSS matching Tailwind output */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: #374151; background: #fff; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
address { font-style: normal; }

/* ---- Variables ---- */
:root {
  --primary: #029BDA;
  --dark: #121314;
  --sec: #1D1D1D;
  --card: #CCA126;
}

/* ---- Container ---- */
.max-w-\[73rem\] { max-width: 73rem; margin-left: auto; margin-right: auto; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-16 { padding-top: 5.5rem; padding-bottom: 5.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* ---- Flex & Grid ---- */
.flex { display: flex; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-1\.5 { gap: 0.375rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* ---- Position ---- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-24 { bottom: 6rem; }
.right-6 { right: 1.5rem; }
.z-0 { z-index: 0; }
.z-\[1\] { z-index: 1; }
.z-\[11\] { z-index: 11; }
.z-\[12\] { z-index: 12; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ---- Sizing ---- */
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.h-0\.5 { height: 0.125rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-full { height: 100%; }
.h-\[50px\] { height: 50px; }
.h-\[200px\] { height: 200px; }
.h-\[380px\] { height: 380px; }
.h-\[400px\] { height: 400px; }
.h-\[450px\] { height: 450px; }
.min-h-\[80vh\] { min-height: 80vh; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-xl { max-width: 36rem; }
.max-w-4xl { max-width: 56rem; }

/* ---- Margin ---- */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }

/* ---- Typography ---- */
.font-primary { font-family: 'Roboto', sans-serif; }
.font-sec { font-family: 'Inter', sans-serif; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-md { font-size: 1rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-\[50px\] { font-size: 50px; }
.leading-\[1\.2em\] { line-height: 1.2em; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.uppercase { text-transform: uppercase; }
.text-center { text-align: center; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[2px\] { letter-spacing: 2px; }
.not-italic { font-style: normal; }

/* ---- Colors ---- */
.text-white { color: #fff; }
.text-white\/40 { color: rgba(255,255,255,0.4); }
.text-white\/50 { color: rgba(255,255,255,0.5); }
.text-white\/55 { color: rgba(255,255,255,0.55); }
.text-white\/60 { color: rgba(255,255,255,0.6); }
.text-white\/70 { color: rgba(255,255,255,0.7); }
.text-white\/80 { color: rgba(255,255,255,0.8); }
.text-dark { color: var(--dark); }
.text-primary { color: var(--primary); }
.text-gray-400 { color: #9CA3AF; }
.text-gray-500 { color: #6B7280; }
.text-gray-600 { color: #4B5563; }
.text-gray-700 { color: #374151; }
.text-yellow-400 { color: #FACC15; }
.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: #F9FAFB; }
.bg-dark { background-color: var(--dark); }
.bg-sec { background-color: var(--sec); }
.bg-primary { background-color: var(--primary); }
.bg-primary\/15 { background-color: rgba(2,155,218,0.15); }
.bg-primary\/90 { background-color: rgba(2,155,218,0.9); }
.bg-card { background-color: var(--card); }
.bg-black\/50 { background-color: rgba(0,0,0,0.5); }
.bg-white\/10 { background-color: rgba(255,255,255,0.1); }
.bg-white\/5 { background-color: rgba(255,255,255,0.05); }
.bg-\[\#25D366\] { background-color: #25D366; }
.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-0 { border: 0; }
.border-transparent { border-color: transparent; }
.border-gray-200 { border-color: #E5E7EB; }
.border-gray-300 { border-color: #D1D5DB; }
.border-white\/5 { border-color: rgba(255,255,255,0.05); }
.border-white\/8 { border-color: rgba(255,255,255,0.08); }
.border-primary { border-color: var(--primary); }

/* ---- Rounded ---- */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ---- Object ---- */
.object-cover { object-fit: cover; }
.overflow-hidden { overflow: hidden; }
.resize-y { resize: vertical; }
.outline-none { outline: none; }
.cursor-pointer { cursor: pointer; }

/* ---- Opacity / Visibility ---- */
.opacity-0 { opacity: 0; }
.invisible { visibility: hidden; }
.translate-y-2 { transform: translateY(0.5rem); }

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid figure { overflow: hidden; border-radius: 0.5rem; }
.gallery-grid img { transition: transform 0.3s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---- Cookie banner ---- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  background: #ece9e9;
  color: #333;
  padding: 8px 12px 8px 16px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  white-space: nowrap;
}
.cookie-accept {
  background: #000;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---- Scroll animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Shadow ---- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }

/* ---- Transition ---- */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.duration-300 { transition-duration: 300ms; }

/* ---- Hover ---- */
.hover\:text-primary:hover { color: var(--primary); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:bg-primary\/90:hover { background-color: rgba(2,155,218,0.9); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-\[\#1ebe57\]:hover { background-color: #1ebe57; }
.hover\:bg-white\/5:hover { background-color: rgba(255,255,255,0.05); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.1\]:hover { transform: scale(1.1); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:underline:hover { text-decoration: underline; }

/* ---- Focus ---- */
.focus\:border-primary:focus { border-color: var(--primary); }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(2,155,218,0.2); }
.focus\:ring-primary\/20:focus { box-shadow: 0 0 0 3px rgba(2,155,218,0.2); }
.accent-primary { accent-color: var(--primary); }

/* ---- Nav container ---- */
.nav-container {
  width: 100%;
  max-width: 73rem;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

/* ---- Navbar ---- */
#navbar { background: transparent; transition: background 0.3s ease; }
#navbar.scrolled {
  background: rgba(18, 19, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta {
  display: flex;
}
.hamburger {
  display: none;
}
.mobile-menu {
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  border-radius: 0.5rem;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); }
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1024px) {
  .hamburger { display: none; }
}

/* Hamburger */
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background: #1ebe57;
  transform: translateY(-2px);
}

/* Scroll top */
#scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Hero entrance */
.hero-animate > * { opacity: 0; transform: translateY(24px); animation: heroIn 0.7s ease forwards; }
.hero-animate > *:nth-child(1) { animation-delay: 0.1s; }
.hero-animate > *:nth-child(2) { animation-delay: 0.2s; }
.hero-animate > *:nth-child(3) { animation-delay: 0.35s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---- Responsive: sm (640px) ---- */
@media (min-width: 640px) {
  .sm\:text-\[64px\] { font-size: 64px; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Responsive: md (768px) ---- */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-1 { grid-column: span 1; }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
}

/* ---- Responsive: lg (1024px) ---- */
@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:w-\[73rem\] { width: 73rem; }
}

/* ---- Max responsive (mobile/tablet) ---- */
@media (max-width: 1023px) {
  .lg\:flex { display: none !important; }
  .lg\:hidden { display: flex; }
}
@media (max-width: 400px) {
  .max-\[400px\]\:text-\[30px\] { font-size: 30px; }
}

/* ---- Mobile fixes ---- */
@media (max-width: 767px) {
  .md\:grid-cols-2,
  .md\:grid-cols-3,
  .md\:grid-cols-4 { grid-template-columns: 1fr; }
  .grid-cols-2 { grid-template-columns: 1fr; }
  .md\:order-1, .md\:order-2 { order: unset; }
  .h-\[380px\] { height: 260px; }
  .h-\[450px\] { height: 300px; }
}
