* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

html,
body {
  -ms-overflow-style: none; /* IE și Edge */
  scrollbar-width: none; /* Firefox */
}

html {
  scroll-behavior: smooth;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  /* Mobile: reduce huge top padding and rely on container padding + flex centering */
  .home-content {
    padding: 120px 20px; /* smaller vertical padding for mobile */
    min-height: 60vh;
  }

  .home-content h1 {
    display: none;
  }

  .home-content p {
    padding-top: 0;
    margin-bottom: 1rem;
  }

  /* Ensure the main button follows normal flow and keeps consistent spacing */
  .home-content .btn,
  .home-content a.btn {
    margin-top: 1.5rem;
    position: static; /* avoid top:20px offset on small screens */
  }
}

body {
  background-color: #fff;
}

:root {
  --primary-color: #ff3c5c;
  --secondary-color: #7e1f2f;
}

@import url("https://fonts.cdnfonts.com/css/pacifico");

.logo h3 {
  font-family: "Pacifico", cursive;
  color: var(--primary-color);
  margin: 0;
  margin-top: 10px;
  margin-left: 2rem;
}

nav {
  display: flex;
  align-items: center; /* aliniere verticală centru */
  justify-content: space-between; /* logo în stânga, link-uri în dreapta */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* background-color: #1f2937; */
  color: white;
  padding-bottom: 20px;
  z-index: 50;

  backdrop-filter: blur(18px) saturate(1.4);
  background: #1f2937e3;
  border-bottom: 1px solid rgba(180, 241, 241, 0.07);
  backdrop-filter: blur(8px); /* echivalent cu backdrop-blur-md */
  -webkit-backdrop-filter: blur(8px); /* pentru Safari */
  padding-bottom: 20px;
  box-shadow: 0 8px 15px #1f2937e3;
}
.nav-links ul,
li {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 3rem;
  margin-top: 10px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 11pt;
}

/* Liniile sub link */
nav a::before,
nav a::after {
  content: "";
  position: absolute;
  bottom: -11px; /* puțin sub text */
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 50px;
  transition: width 0.4s ease;
}

/* Linia din centru */
nav a::before {
  left: 50%;
  transform: translateX(-50%);
  width: 0;
}

/* Linia din stânga */
nav a::after {
  left: 0;
  width: 0;
}

/* Hover efect */
nav a:hover::before {
  width: 100%;
}

nav a:hover::after {
  width: 100%;
}

/* Stare activă pentru link */
nav a.active {
  color: var(--primary-color); /* evidențiere */
}

nav a:hover {
  color: #fff;
}

nav a.active::before,
nav a.active::after {
  width: 100%; /* menținem liniile active */
}

.home-content {
  text-align: center;
  padding: 300px 20px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("./images/bg/WhatsApp\ Image\ 2025-10-29\ at\ 21.23.08_01b7e2b4\(1\).png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  max-width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .home-content {
    background-position: left;
  }
}

.home-content p {
  color: #fff;
  font-size: 18px;
  margin-bottom: 30px;
}

.social-links a {
  color: #fff;
  font-size: 16pt;
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
  padding: 5px;
  border-radius: 50px;
  display: inline-block;
  margin-right: 1rem;
  filter: drop-shadow(0 0 5px #ffffff)
    drop-shadow(0 0 10px var(--primary-color)) drop-shadow(0 0 15px #ffffff);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transition: 0.3s;
  border: 1px solid var(--secondary-color);
}

.btn {
  position: relative;
  top: 20px;
  text-decoration: none;
  color: #fff;
  background-color: var(--primary-color);
  padding: 10px;
  border-radius: 10px;
}

.home-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px var(--primary-color),
    0 0 20px #ffffff,
    0 0 40px #ffffff;
  font-family: "Luckiest Guy", sans-serif;
  letter-spacing: 2px;
}

.btn:hover {
  background-color: var(--secondary-color);
}

.gallery {
  scroll-margin-top: 3rem;
  /* background-color:  #111827; */
  background-color: #1f2937;
}

.gallery h2 {
  text-align: center;
  color: var(--primary-color);
  padding: 40px 0 20px 0;
}

@media screen and (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}
.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

.services h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.services {
  scroll-margin-top: 3rem;
  color: #fff;
  padding: 60px 20px;
  padding-bottom: 20rem;
  text-align: center;
  background-color: #111827;
  border-bottom: 1px solid #374151;
}

dotlottie-wc {
  width: 100px;
  height: 100px;
}

.service dotlottie-wc {
  margin-left: 10rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  width: 100%;
}

.service {
  background-color: #1f2937;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  transition: all ease 0.3s;
  border: 1px solid #374151;
  /* make the card a vertical flex container so content and button align */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  /* ensure cards are a consistent height so buttons sit uniformly */
  min-height: 320px;
}

.service:hover {
  transform: translateY(-5px);
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

.service:nth-of-type(2) {
  border: 2px solid var(--primary-color);
}

.service a {
  /* consistent button sizing and centering */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px; /* fixed height for all service buttons */
  min-width: 140px;
  margin: 15px auto 0; /* center horizontally and keep spacing from content */
  padding: 0 20px; /* horizontal padding only; vertical handled by height */
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.service a:hover {
  background-color: var(--secondary-color);
}

.about-me {
  padding: 90px 70px;
  background-color: #1f2937;
  color: #fff;
  text-align: center;
  padding-bottom: 30rem;
}

.about-me h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-me p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  font-size: 1.1rem;
}

.contact-section {
  padding: 90px 20px;
  background-color: #111827;
  color: #fff;
  text-align: center;
}

.contact-section h2 {
  margin-bottom: 50px;
  color: var(--primary-color);
}

.contact-section form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
}

input {
  background-color: #536177;
}

form {
  background-color: #374151;
  padding: 40px;
  border-radius: 10px;
}

#name,
#email,
#lastname {
  padding: 10px 14px;
  margin-bottom: 15px;
  border: 1px solid #6b7d99;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  color: #fff;
}

#name:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 6px rgba(0, 119, 255, 0.3);
  box-shadow: 0 0 10px var(--primary-color);
}

#email:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 6px --secondary-color;
  box-shadow: 0 0 10px var(--primary-color);
}

#lastname:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 6px --secondary-color;
  box-shadow: 0 0 10px var(--primary-color);
}

label {
  font-size: 1rem;
  color: #fff;
  display: block;
  margin-bottom: 8px;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  /* max-width: 400px; */
  margin: 2rem auto;
  font-family: "Inter", sans-serif;
  position: relative;
}

.input-label {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.styled-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #fff;
  border: 1px solid #6b7d99;
  border-radius: 10px;
  background-color: #6b7d99;
  transition: all 0.25s ease;
  cursor: pointer;
  outline: none;
}

.styled-input::placeholder {
  color: #fff;
}

.styled-input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px var(--primary-color);
}

.options-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #6b7d99;
  border: 1px solid #6b7d99;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
  overflow: hidden;
}

.options-list li {
  padding: 2px 2px;
  font-size: 0.95rem;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.options-list li:hover {
  background-color: var(--primary-color);
  color: white;
}

.hidden {
  display: none;
}

textarea {
  background-color: #536177;
  color: #fff;
  border: 1px solid #6b7d99;
  border-radius: 10px;
  outline: none;
  resize: none;
  transition: all 0.25s ease;
}

textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 10px var(--primary-color);
}

.btn {
  margin-top: 2rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--secondary-color);
}

textarea::placeholder {
  color: #fff;
}

/* Footer styles */
.site-footer {
  background-color: #0b1220;
  color: #fff;
  padding: 28px 20px;
  border-top: 1px solid #1f2937;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.copyright {
  color: #9ca3af;
  font-size: 0.95rem;
}

.created-by {
  color: #9ca3af;
  font-size: 0.95rem;
  margin-top: 4px;
}

.created-by a {
  color: var(--primary-color);
  text-decoration: none;
}

.created-by a:hover {
  text-decoration: underline;
}

.footer-nav {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: var(--primary-color);
}
.footer-right {
  display: flex;
  align-items: center;
}
.footer-social a {
  color: #fff;
  background: var(--primary-color);
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  width: 36px;
  height: 36px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.12s ease;
}
.footer-social a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

@media screen and (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-right {
    margin-top: 12px;
  }
  .footer-nav {
    justify-content: center;
  }
}
