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

body{
  padding-top: 15vh;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  min-height: 50px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 15px;
  box-sizing: border-box;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 50px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 4vh;
}

.nav-links a {
  text-decoration: none;
  color: #2D3748;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 8px 15px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
}

/* Subtle underline animation */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #000000;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: #000000;
  transform: translateY(-1px);
  background-color: transparent;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: #000000;
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background-color: #000000;
}


.hero {
  min-height: calc(100vh - 15vh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10% 10%;
  background: linear-gradient(rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9)),
              url('../img/banner.webp');
  background-size: cover;
  background-position: top;
  color: #fff;
}

.hero-content {
  max-width: 50%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffcc00;
}

.hero-content p {
  font-size: 1.5rem;
  color:#f9f9f9;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffcc00;
  padding: 15px 20px;
  border-radius: 8px;
  width: fit-content;
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
}

.phone-box img {
  height: 2rem;
}

.phone-box a {
  color: #222;
  text-decoration: none;
}

.hero-map {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.hero-map h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  margin: 0;
}

.hero-map iframe {
  width: 100%;
  height: 35vh;
  border-radius: 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-map iframe {
  border: none;
}

#masini{
  padding: 80px 5%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.cars-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4vh;
  justify-content: center;
  align-items: center;
  margin-top: 4vh;
}

.car-card {
  background: white;
  border-radius: 2vh;
  box-shadow: 0px 1vh 2vh rgba(0, 0, 0, 0.3);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 2vh;
}

.car-card:hover {
  transform: translateY(-1vh);
  box-shadow: 0px 1.5vh 2.5vh rgba(0, 0, 0, 0.4);
}

.car-card img {
  width: 100%;
  object-fit: cover;
  border-bottom: 0.5vh solid #ffcc00;
}

.car-info {
  padding: 2vh;
}

.car-info h3 {
  font-size: 2.5vh;
  color: #333;
  margin-bottom: 1vh;
}

.car-info p {
  font-size: 1.8vh;
  color: #666;
  margin: 0.5vh 0;
}

#tarife{
  padding: 80px 5%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.price-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 4vh;
}

.price-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

.price-table th {
  background-color: #ffcc00;
  color: #333;
  padding: 20px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-table td {
  padding: 25px;
  font-size: 1.2rem;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover td {
  background-color: #f8f8f8;
}

.price-notes {
  margin-top: 30px;
  font-size: 0.9rem;
  color: #777;
  line-height: 1.6;
}

#acte{
  padding: 80px 5%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 4vh;
}

.doc-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0px 1vh 2vh rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
}

.doc-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.doc-card h3 {
  color: #2d3748;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.doc-card ul {
  list-style: none;
  padding-left: 1rem;
}

.doc-card li {
  text-align: left;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.doc-card li::before {
  content: "•";
  color: #000000;
  position: absolute;
  left: 0;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.important-notes {
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  border-left: 4px solid #ff0000;
  text-align: left;
}

.important-notes h4 {
  color: #ff0000;
  margin-bottom: 1rem;
}

#chestionare{
  padding: 80px 5%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  min-height: 50vh !important;
}

.chestionare-container {
  max-width: 800px;
  margin: 0 auto;
}

.exam-button {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2.5rem;
  background: #ffcc00;
  color: #222;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
}

.exam-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
  background: #ffd633;
}

.arrow {
  margin-left: 10px;
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.exam-button:hover .arrow {
  transform: translateX(5px);
}

section {
  min-height: 85vh;
}

section:nth-of-type(even) {
  background: #f9f9f9;
}

section h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}
footer {
  background: #2d3748;
  color: #fff;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-section h4 {
  color: #ffcc00;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section p {
  margin: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #ffcc00;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 1rem;
}

.social-icons img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #4a5568;
  color: #cbd5e0;
  font-size: 0.9rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    padding-top: 15vh;
  }

  nav {
    height: 15vh;
    min-height: 60px;
    justify-content: space-between;
    padding: 15px 5%;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 15vh;
    right: -100%;
    width: 100%;
    height: calc(85vh-15vh);
    flex-direction: column;
    background: white;
    padding: 20px 5%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    padding: 15px;
    border-radius: 8px;
  }

  .hero {
    flex-direction: column;
    height: auto;
    padding: 50px 5%;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }


  .hero-content p {
    font-size: 1.2rem;
  }

  .hero-map {
    width: 100%;
    align-items: center;
  }

  .hero-map h3 {
    text-align: center;
  }

  .car-card {
    max-width: 90%; 
    margin: 0 auto;
  }

  .price-table th,
  .price-table td {
    padding: 15px;
    font-size: 1rem;
  }

  .documents-grid {
    grid-template-columns: 1fr;
  }
  
  .doc-card {
    padding: 1.5rem;
  }
  
  .price-notes {
    font-size: 0.85rem;
  }

  section {
    padding: 60px 5%;
  }

  .phone-box {
    font-size: 1.2rem;
    padding: 12px 18px;
  }

  .phone-box img {
    height: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-section p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.75rem;
  }

  .phone-box {
    font-size: 1rem;
  }
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 3rem 2rem 2rem 2rem;
  margin-top: 7vh;
  margin-bottom: 7vh;
}

.legal-page h1 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 2rem;
  text-align: center;
}

.legal-page h2 {
  color: #2d3748;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.legal-page p, .legal-page ul {
  color: #444;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.legal-page ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 1rem;
    margin-top: 4vh;
    margin-bottom: 4vh;
  }
  .legal-page h1 {
    font-size: 1.5rem;
  }
}


.footer-section p strong {
  color: #fff;
}

.legal-footer {
  background: #2d3748;
  padding: 1.5rem 1rem 1rem 1rem;
  margin-top: 0.1rem;
  text-align: center;
  color: #cbd5e0;
  font-size: 1rem;
}

.legal-footer p {
  margin: 0.5rem 0 1rem;
  color: #cbd5e0;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.legal-footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-footer-links a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: 500;
  margin: 0 0.3rem;
  transition: color 0.2s;
  border-bottom: 1px dotted #ffcc00;
  display: inline-block;
  padding: 2px 0;
}

.legal-footer-links a:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

/* ANPC logo section */
.anpc-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.anpc-images img {
  height: 50px;
  transition: transform 0.3s ease;
}

.anpc-images img:hover {
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .legal-footer-links {
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
  }

  .legal-footer-links a {
    margin: 0.2rem 0;
    font-size: 1.05rem;
  }

  .anpc-images {
    flex-direction: column;
    gap: 1rem;
  }

  .anpc-images img {
    height: 45px;
  }
}

#oferta{
  padding: 80px 5%;
  width: 100%;
  text-align: center;
}

.oferta-list-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

.oferta-list-modern li {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(255, 204, 0, 0.10), 0 1.5px 6px rgba(0,0,0,0.06);
  display: flex;
  align-items: center; /* schimbat din flex-start în center pentru aliniere verticală */
  gap: 1.2rem;
  padding: 2rem 1.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  border-left: 5px solid #ffcc00;
  transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
  position: relative;
}

.oferta-list-modern li:hover {
  box-shadow: 0 8px 32px rgba(255, 204, 0, 0.18), 0 2px 10px rgba(0,0,0,0.10);
  background: #fffbe6;
  transform: translateY(-4px) scale(1.025);
}

.oferta-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  color: #ffcc00;
  filter: drop-shadow(0 1px 0 #fff2b2);
}

.oferta-icon img {
  width: 2.2rem;
  height: 2.2rem;
  object-fit: contain;
  display: block;
  margin: 0;
  filter: drop-shadow(0 1px 0 #fff2b2);
}

.oferta-text {
  color: #333;
  font-size: 1.15rem;
  font-weight: bold;
}

@media (max-width: 660px) {
  .oferta-list-modern {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 98vw;
  }
  .oferta-list-modern li {
    padding: 1.2rem 1rem;
    font-size: 1rem;
  }
  .oferta-icon {
    font-size: 1.6rem;
  }
}
