/* Spalatorie covoare - stilul temei existente (culori, fonturi, sectiuni), rescris usor, fara Bootstrap/jQuery */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: #444; font-family: "Open Sans", sans-serif; font-size: 16px; line-height: 1.5; }
h1, h2, h3, h4, h5, h6 { font-family: "Montserrat", sans-serif; font-weight: 400; margin: 0 0 20px 0; padding: 0; }
a { color: #FF5722; text-decoration: none; transition: 0.5s; }
a:hover, a:focus { color: #0073d6; }
img { max-width: 100%; height: auto; }
ul { margin: 0; padding: 0; list-style: none; }
section { scroll-margin-top: 70px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Header */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 997; background: transparent; padding: 15px 0; transition: all 0.4s; }
#header.header-fixed { background: #fff; padding: 8px 0; box-shadow: 0 0 30px rgba(127, 137, 161, 0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#logo a { display: inline-block; line-height: 1; }
#logo img { display: block; max-height: 60px; width: auto; padding: 0; margin: 0; }
.nav-menu { display: flex; align-items: center; }
.nav-menu li { margin-left: 10px; }
.nav-menu a { padding: 10px 8px; display: inline-block; color: #555; font-family: "Raleway", sans-serif; font-weight: 700; font-size: 14px; outline: none; }
.nav-menu li:hover > a, .nav-menu > .menu-active > a { color: #0073d6; }
#nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
#nav-toggle span { display: block; height: 3px; margin: 4px 0; border-radius: 2px; background: #0073d6; transition: 0.3s; }

/* Intro */
#intro { position: relative; display: flex; align-items: center; min-height: 100vh; padding: 120px 0 70px; background: #eaf4fd url(../img/intro-carousel/banner-bg4.png) center center / cover no-repeat; }
#intro .intro-content { max-width: 620px; }
#intro h1 { margin: 0 0 30px; color: #5b5b5b; font-size: 54px; font-weight: 400; line-height: 1.15; }
#intro h1 span { display: block; color: #2e2e2e; font-weight: 700; }
.btn-get-started { display: inline-block; padding: 12px 34px; border: 2px solid #0073d6; border-radius: 50px; background: #0073d6; color: #fff; font-family: "Raleway", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.btn-get-started:hover, .btn-get-started:focus { background: #fff; color: #0073d6; }

/* Titluri sectiuni */
.section-header { margin-bottom: 50px; }
.section-header h2 { position: relative; padding-bottom: 20px; color: #393939; font-size: 32px; font-weight: 700; text-align: center; text-transform: uppercase; }
.section-header h2::before { content: ''; position: absolute; display: block; width: 62px; height: 3px; bottom: 0; left: 0; right: 0; margin: 0 auto; border-top: #b0b0b0 dashed 2px; }
.section-header p { max-width: 860px; margin: 0 auto; padding: 0; text-align: center; }

/* Despre noi */
#about { padding: 120px 0 90px 0; background: #148ceb; color: #fff; }
#about h2 { color: #fff; }
#about .section-header h2::before { border-top-color: rgba(255, 255, 255, 0.7); }
.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
#about .about-img { overflow: hidden; text-align: center; }
#about .about-img img { max-width: 78%; }
#about .content h2 { margin-bottom: 24px; font-size: 26px; font-weight: 700; }
#about .content li { display: flex; align-items: flex-start; gap: 10px; padding: 0 0 12px; font-size: 16px; }
#about .content li svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 3px; stroke-width: 2.6; }

/* Etape */
#services { padding: 90px 0 60px 0; }
#services .grid { gap: 0 30px; }
#services .box { padding: 40px; margin-bottom: 40px; background: #fff; border: 1px solid #dedede; transition: 0.4s; }
#services .box:hover { box-shadow: 0 0 30px rgba(73, 78, 92, 0.15); transform: translateY(-10px); }
#services .box .icon { display: block; width: 100%; padding: 15px; text-align: center; color: #444; }
#services .box .icon svg { width: 46px; height: 46px; stroke-width: 1.4; transition: 0.5s; }
#services .box:hover .icon { color: #0073d6; }
#services .box .title { margin: 0; color: #444; font-size: 22px; font-weight: 700; text-align: center; }
#services .box .description { margin: 0; padding-top: 15px; font-size: 14px; line-height: 24px; text-align: center; }

/* Galerie */
#gallery { padding: 90px 0; background: #f7f7f7; }
.gallery-grid { gap: 0; }
.portfolio-item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e9e9; }
.portfolio-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: all ease-in-out 0.4s; }
.portfolio-item:hover img { transform: scale(1.1); }

/* Pareri */
#testimonials { padding: 90px 0; }
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-item { text-align: center; }
.testimonial-item p { width: 100%; margin: 0 auto 15px auto; padding: 22px 15px; background: #fff; border: 1px solid #0073d6; border-radius: 15px 15px 0 15px; color: #686868; font-size: 15px; font-style: italic; }
.testimonial-item h3 { margin: 0; color: #111; font-size: 18px; font-weight: 700; }

/* Preturi */
#preturi { padding: 90px 0; background: #fff; }
.grid-prices { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto; }
.prc-single { position: relative; overflow: hidden; padding: 50px 0; background: #f9f9f9; border-radius: 3px; text-align: center; }
.prc-single h2 { margin-bottom: 50px; padding: 0 16px; color: #0073d6; font-size: 29px; font-weight: 600; }
.prc-single strong { display: block; margin-bottom: 50px; padding-bottom: 50px; border-bottom: 1px solid #f3f0f0; color: #303030; font-family: "Montserrat", sans-serif; font-size: 37px; font-weight: 700; }
.prc-single li { padding: 6px 16px; font-size: 16px; }
.prc-single a { display: inline-block; margin-top: 38px; padding: 10px 31px; border: 1px solid #0073d6; border-radius: 10px; color: #0073d6; font-size: 17px; font-weight: 600; text-transform: capitalize; }
.prc-single a:hover, .prc-single a:focus { background: #0073d6; color: #fff; }

/* Contact */
#contact { padding: 90px 0; background: #f7f7f7; }
.contact-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-item { display: flex; gap: 14px; margin-bottom: 26px; }
.contact-item > svg { flex: 0 0 26px; width: 26px; height: 26px; margin-top: 2px; color: #0073d6; }
.contact-item h3 { margin: 0 0 4px; color: #999; font-size: 14px; font-weight: 700; text-transform: uppercase; }
.contact-item address, .contact-item p { margin: 0; color: #000; font-size: 16px; font-style: normal; }
.contact-item a { color: #000; }
.contact-item a:hover { color: #0073d6; }
#google-map { height: 290px; }
#google-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Footer */
#footer { padding: 0 0 30px 0; background: #0073d6; color: #fff; font-size: 14px; }
#footer .copyright { padding-top: 30px; color: #ffffffad; text-align: center; }
#footer .credits { margin-top: 8px; color: #ffffff85; font-size: 13px; text-align: center; }
#footer .credits a { color: #fff; }

.back-to-top { position: fixed; right: 15px; bottom: 15px; z-index: 99; display: none; padding: 6px 12px 9px 12px; border-radius: 2px; background: #0073d6; color: #fff; font-size: 16px; }
.back-to-top.show { display: block; }
.back-to-top:hover, .back-to-top:focus { background: #0073d6; color: #fff; }

/* Poza marita din galerie */
#lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(0, 0, 0, 0.88); }
#lightbox[hidden] { display: none; }
#lightbox img { max-width: 100%; max-height: 100%; }
#lightbox button { position: absolute; top: 8px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }

/* Tableta */
@media (max-width: 991px) {
  .grid-3, .testimonials-track { grid-template-columns: repeat(2, 1fr); }
  #intro h1 { font-size: 44px; }
}

/* Telefon */
@media (max-width: 767px) {
  #header { background: #fff; padding: 8px 0; box-shadow: 0 0 20px rgba(127, 137, 161, 0.25); }
  #logo img { max-height: 46px; }
  #nav-toggle { display: block; }
  #nav-menu-container { position: fixed; top: 0; bottom: 0; left: -260px; z-index: 998; width: 260px; padding-top: 18px; overflow-y: auto; background: #2196F3; transition: 0.4s; }
  body.nav-open #nav-menu-container { left: 0; box-shadow: 0 0 40px rgba(0, 0, 0, 0.35); }
  .nav-menu { display: block; }
  .nav-menu li { margin: 0; }
  .nav-menu a { display: block; padding: 13px 22px; color: #fff; font-size: 15px; }
  .nav-menu li:hover > a, .nav-menu > .menu-active > a { color: #fff; background: rgba(255, 255, 255, 0.14); }
  body.nav-open #nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open #nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open #nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  #intro { min-height: 78vh; padding: 110px 0 60px; text-align: center; }
  #intro .intro-content { margin: 0 auto; }
  #intro h1 { font-size: 34px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 26px; }
  #about { padding: 70px 0 50px; }
  #services, #gallery, #testimonials, #preturi, #contact { padding: 60px 0; }
  .grid-3, .testimonials-track, .about-row, .contact-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  #services .box { padding: 28px 22px; margin-bottom: 20px; }
  #about .about-img img { max-width: 52%; }
  .prc-single h2 { font-size: 24px; margin-bottom: 30px; }
  .prc-single strong { font-size: 32px; margin-bottom: 30px; padding-bottom: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
