/* Reset & font */
html, body {
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f8fafc;
  color: #121212;
}


header {
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 4px 24px 0 rgba(40, 80, 160, 0.10);
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
	margin-bottom: 16px;
	backdrop-filter: blur(8px);
	
	/* --- DOTS PATTERN --- */
	background-color: #000000;
	background-image:
		radial-gradient(rgba(255,255,255,0.20) 1.7px, transparent 5.7px),
		radial-gradient(rgba(255,255,255,0.11) 1.7px, transparent 5.7px);
	background-size: 38px 38px, 38px 38px;
	background-position: 0 0, 19px 19px;
}


/* HEADER CONTAINER */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
  padding: 0 32px;
  justify-content: flex-start;
  width: 100%;
  min-height: 90px;
  box-sizing: border-box;
  background: transparent;
}

/* LOGO */
.logo-img img {
  height: 105px;
  width: auto;
  display: block;
  margin: 0;
  vertical-align: middle;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(80,80,80,0.07);
  background: #fff;
}

/* MENU MODERN GLASS */
nav.horizontal-menu {
  flex: 1;
  display: flex;
  align-items: center;
}
nav.horizontal-menu > ul {
  list-style: none;
  margin: 0;
  padding: 0 55px;
  display: flex;
  gap: 35px;
  background: rgba(255,255,255,0.49);
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(40,80,160,0.04);
  align-items: center;
  backdrop-filter: blur(6px);
  border: 1.5px solid rgba(200,200,255,0.10);
  min-height: 56px;
}

nav.horizontal-menu ul li {
  position: relative;
}

nav.horizontal-menu ul li a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.015em;
  padding: 11px 18px;
  border-radius: 6px;
  transition: background-color 0.25s cubic-bezier(.17,.67,.83,.67), color 0.2s, transform 0.16s;
  white-space: nowrap;
  outline: none;
  border: none;
}
nav.horizontal-menu ul li a:hover, nav.horizontal-menu ul li a:focus {
  background-color: #f0c75e;
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 2px 8px 0 rgba(40,80,160,0.10);
}

/* Dropdown */
nav.horizontal-menu ul li ul {
  position: absolute;
  top: 105%;
  left: 0;
  background: rgba(255,255,255,0.99);
  border-radius: 12px;
  display: none;
  padding: 10px 0;
  list-style: none;
  min-width: 190px;
  z-index: 1000;
  box-shadow: 0 4px 22px rgba(0,0,0,0.15);
  backdrop-filter: blur(7px);
}

nav.horizontal-menu ul li:hover > ul {
  display: block;
}

nav.horizontal-menu ul li ul li a {
  display: block;
  padding: 10px 22px;
  color: #1a1a1a;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 6px;
}
nav.horizontal-menu ul li ul li a:hover {
  background-color: #f0c75e;
  color: #fff;
}


/* HERO SECTION */
.hero {
  width: 100vw;
  min-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 32px;
  padding: 36px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  border-radius: 0 !important;
  background: linear-gradient(90deg, #4FC3F7 60%, #f0c75e 110%);
  box-shadow: 0 7px 32px 0 rgba(40, 80, 160, 0.11);
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-radius: 24px;
  background: none;
}

.hero-bg {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: url('data/image/hero_electric.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 320px;
  padding: 36px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.05;
  text-shadow: 0 1px 10px #275f8d44;
}
.hero-highlight {
  color: #f0c75e;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 0 10px;
  font-weight: 900;
  text-shadow: 0 2px 10px #dbbc4a22;
}
.hero-subtitle {
  font-size: 1.17rem;
  color: #fff;
  font-weight: 500;
  opacity: 0.93;
  margin-bottom: 22px;
}
.hero-btn {
  display: inline-block;
  background: #f0c75e;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 38px;
  text-decoration: none;
  font-size: 1.13rem;
  letter-spacing: 0.04em;
  margin-top: 10px;
  transition: background 0.2s, color 0.17s, transform 0.13s;
  box-shadow: 0 2px 18px 0 #f0c75e30;
}
.hero-btn:hover, .hero-btn:focus {
  background: #f7d46f;
  color: #121212;
  transform: translateY(-2px) scale(1.05);
}

/* Hero image on right */
.hero-image {
  position: relative;
  z-index: 2;
  flex: 1 1 320px;
  text-align: right;
  min-width: 320px;
  padding-right: 36px;
}
.hero-image img {
  width: 80%;
  max-width: 380px;
  border-radius: 16px;
  box-shadow: 0 10px 32px 0 rgba(40,80,160,0.13);
  margin-left: auto;
  display: block;
  background: #fff;
}

/* 												SERVICES 									*/
.services-section {
  margin: 60px auto 40px auto;
  padding: 0 0 28px 0;
  max-width: 1200px;
  text-align: center;
}
.services-title {
  color: #4FC3F7;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 38px;
  text-align: center; /* asigură centrare pe orice device */
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  justify-items: center;
  align-items: stretch;
  margin: 0 auto;
  max-width: 1100px;
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }
}
.service-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #8fd18a13;
  padding: 18px 16px 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s;
  width: 97%;
  max-width: 350px;
}
.service-card:hover {
  box-shadow: 0 8px 36px #8fd18a27;
}
.service-img img {
  max-width: 100px;
  max-height: 90px;
  border-radius: 9px;
  object-fit: cover;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px #00000011;
}
.service-name {
  color: #4FC3F7;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 0;
}
.service-desc {
  color: #222;
  font-size: 1.01rem;
  min-height: 46px;
  margin-bottom: 18px;
  text-align: center;
}
.service-btn {
  display: inline-block;
  background: #4FC3F7;
  color: #fff;
  font-weight: 700;
  border-radius: 7px;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 1.08rem;
  margin-top: auto;
  transition: background 0.18s;
}
.service-btn:hover {
  background: #388e3c;
}

.read-more-link {
  color: #4FC3F7;
  font-weight: 600;
  margin-left: 7px;
  font-size: 1.01em;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s;
}
.read-more-link:hover {
  color: #17641a;
  text-decoration: underline;
}

/* 												SERVICES		END							*/

/* 												FAQ											*/

.faq-section {
  margin: 48px auto 36px auto;
  max-width: 900px;
  padding: 0 8px;
}
.faq-title {
  color: #4FC3F7;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 34px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 20px #c6ecc72a;
  padding: 0 0 0 0;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #4FC3F7;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 18px 24px;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
}
.faq-q:hover {
  background: #4FC3F7;
}
.faq-a {
  font-size: 1.06rem;
  color: #1b1c1e;
  padding: 0 24px 18px 24px;
  line-height: 1.52;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.32s cubic-bezier(.59,.01,.54,1.04), opacity 0.22s;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: #4FC3F7;
  font-weight: 700;
  font-size: 1.18rem;
  padding: 18px 24px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
  gap: 8px;
}
.faq-arrow {
  transition: transform 0.27s cubic-bezier(.6,.03,.42,.93);
}
.faq-q.active .faq-arrow,
.faq-q[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

/* 												FAQ			END							*/



/* MAIN CONTENT */
.container.main-content {
  flex: 1;
  padding: 36px 32px 36px 32px;
  background: #fff;
  color: #121212;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 6px 24px 0 rgba(40,80,160,0.06);
}

/* FOOTER MODERN */
footer {
  background: linear-gradient(90deg, #4FC3F7 80%, #f0c75e 120%);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -6px 24px 0 rgba(40,80,160,0.08);
  margin-top: 36px;
  padding: 28px 0 18px 0;
  text-align: center;
  color: #121212;
  font-weight: 600;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
  display: flex;
  flex-direction: row;
  gap: 24px;
}
.footer-menu ul li a {
  color: #121212;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.23s;
}
.footer-menu ul li a:hover {
  color: #f0c75e;
}
.footer-credits {
  font-size: 0.99rem;
  font-weight: 400;
  opacity: 0.82;
}

/* RESPONSIVE */
@media (max-width: 1080px) {
  .header-container {
    max-width: 98vw;
    padding: 0 12px;
    gap: 14px;
    min-height: 70px;
  }
  .logo-img img { height: 54px; }
  .hero-content { padding: 18px 18px 18px 18px;}
  .container.main-content {padding: 28px 10px;}
}
@media (max-width: 860px) {
  .hero { flex-direction: column; padding: 18px 0 0 0; min-height: 300px;}
  .hero-content, .hero-image {padding: 18px 8px;}
  .hero-image img { width: 96%; max-width: 290px; }
}
@media (max-width: 700px) {
  .header-container {
    justify-content: center;
    gap: 0;
    padding: 0 3vw;
  }
  .logo-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
  }
  .logo-img img {
    height: 62px !important;   /* mai mare decât default pe mobil */
    margin: 0 auto !important;
    display: block;
    /* Poți mări dacă vrei și mai mare: height: 72px */
  }
  nav.horizontal-menu > ul {
    flex-direction: column;
    display: none;
    width: 94vw;
    max-width: 320px;
    background-color: rgba(79,195,247,0.98);
    border-radius: 8px;
    padding: 12px 0;
    position: absolute;
    top: 54px;
    left: 0;
    z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.09);
    min-height: unset;
    border: 1px solid #e2e2e2;
  }
  nav.horizontal-menu > ul.active { display: flex;}
  nav.horizontal-menu ul li {text-align: left;}
  nav.horizontal-menu ul li ul {position: static; background: transparent; padding: 0; box-shadow: none;}
  nav.horizontal-menu ul li ul li a { padding-left: 24px; }
  .menu-toggle { display: flex;}
  .hero { flex-direction: column; padding: 8px 0 0 0;}
  .hero-content, .hero-image {padding: 8px 8px;}
  .container.main-content {padding: 16px 2vw;}
  .footer-menu ul {gap: 10px;}
}
@media (max-width: 480px) {
  .container.main-content {padding: 7px 1vw;}
  .hero-title {font-size: 1.4rem;}
  .hero-content {padding: 6px;}
}


/* HAMBURGER BUTTON UPGRADE */
.menu-toggle {
  display: none;  /* ASCUNS PE DESKTOP!!! */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 12px #0001;
  position: relative;
  z-index: 2201;
  padding: 0;
  cursor: pointer;
  transition: background 0.18s;
}
.menu-toggle .bar {
  display: block;
  width: 26px;
  height: 4px;
  background: #4FC3F7;
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.33s cubic-bezier(.4,0,.2,1);
}
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MENIU MOBIL CU SLIDE ȘI TRANSPARENȚĂ */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  nav.horizontal-menu > ul {
    flex-direction: column;
    display: flex;
    width: 98vw;
    max-width: 370px;
    background: rgba(79, 195, 247, 0.90);
    border-radius: 12px;
    padding: 18px 0 18px 0;
    position: absolute;
    top: 67px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px) scaleY(0.96);
    z-index: 2200;
    box-shadow: 0 4px 18px rgba(0,0,0,0.17);
    min-height: unset;
    border: 1px solid #d0f1ff;
    opacity: 0;
    pointer-events: none;
    transition: all 0.33s cubic-bezier(.68,-0.55,.27,1.55);
    backdrop-filter: blur(6px);
  }
  nav.horizontal-menu > ul.active {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0) scaleY(1);
    display: flex !important;
  }
  nav.horizontal-menu > ul:not(.active) {
    display: flex !important; /* ascuns vizual, dar păstrează spațierea pt. animatie */
  }
}
@media (min-width: 900px) {
  .menu-toggle { display: none !important; }
  nav.horizontal-menu > ul {
    display: flex !important;
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all !important;
    width: auto;
    max-width: unset;
    background: rgba(255,255,255,0.49);
    padding: 0 55px;
  }
}

/* SUBMENIU - APARE LA HOVER DOAR PE DESKTOP */
@media (min-width: 901px) {
  nav.horizontal-menu ul li:hover > ul.submenu,
  nav.horizontal-menu ul li:focus-within > ul.submenu {
    display: block !important;
    opacity: 1;
    max-height: 1000px;
    pointer-events: auto;
    transition: opacity 0.2s, max-height 0.3s;
  }
  nav.horizontal-menu ul li ul.submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 105%;
    background: rgba(255,255,255,0.99);
    min-width: 190px;
    z-index: 1000;
    border-radius: 12px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.15);
    max-height: 0;
    opacity: 0;
    transition: opacity 0.2s, max-height 0.3s;
    overflow: hidden;
  }
}

/* CALL ME CSS */

/* CALL BUTTON -- DOAR PE MOBIL */
@media (max-width: 900px) {
  .callme-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4FC3F7;
    border: none;
    outline: none;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    margin: 0 8px 0 0;
    box-shadow: 0 2px 14px #4FC3F744;
    cursor: pointer;
    z-index: 2021;
    transition: background 0.18s, box-shadow 0.16s, transform 0.14s;
    position: relative;
  }
  .callme-btn svg {
    display: block;
    margin: 0 auto;
    width: 25px;
    height: 25px;
  }
  .callme-btn:active,
  .callme-btn:focus {
    background: #388e3c;
    box-shadow: 0 2px 16px #388e3c44;
    transform: scale(0.96);
  }
  /* Poziționare header: flex + gap */
  .header-container {
    gap: 8px !important;
  }
  .logo-img { margin-right: 2px; }
}

.callme-popup {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(38,51,62,0.23);
  z-index: 3300;
  justify-content: center;
  align-items: center;
}
.callme-popup.active { display: flex; }
.callme-popup-inner {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 34px #23232318;
  padding: 36px 24px 26px 24px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  position: relative;
  text-align: center;
}
.callme-popup-btn {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 1.17rem;
  font-weight: 700;
  color: #232323;
  background: #4FC3F7;
  border-radius: 8px;
  padding: 12px 32px;
  text-decoration: none;
  transition: background 0.18s, color 0.16s;
  box-shadow: 0 2px 8px #4FC3F717;
}
.callme-popup-btn.call { background: #4FC3F7; }
.callme-popup-btn.whatsapp { background: #4FC3F7; }
.callme-popup-btn:hover, .callme-popup-btn:focus { background: #f0c75e; color: #fff;}
.callme-popup-close {
  position: absolute;
  top: 12px; right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #b1b1b1;
  cursor: pointer;
}

