/* Stil general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  width: 100%;
  background: #2E7D32; /* Verde pădure */
  color: #fff;
  height: 100%;
  overflow-y: auto; /* Asigură derularea */
}

/* Header */
header {
  background: #F4511E; /* Portocaliu */
  padding: 20px;
  text-align: center;
}

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin: 0;
}

/* Meniu navigare */
.navbar {
  background: #455A64; /* Gri stâncos */
  padding: 10px;
  position: relative;
}

.hamburger {
  font-size: 1.5em;
  cursor: pointer;
  padding: 10px;
  color: #fff;
  display: none; /* Ascuns pe desktop */
}

.hamburger.open {
  transform: rotate(90deg); /* Indicatori vizuali la deschidere */
  transition: transform 0.3s;
}

.nav-menu {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
}

.nav-menu a:hover {
  color: #F4511E; /* Culoare la hover */
}

/* Hero section general (pentru Acasă) */
.hero {
  background: url('rulota.jpg') center/cover;
  height: 400px;
  text-align: center;
  padding: 20px 0;
  position: relative;
}

.hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin: 0 0 20px 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  display: inline-block;
}

.hero p {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1em;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  margin: 0 auto;
  max-width: 700px;
  display: block;
  color: #fff;
}

/* Hero section specific pentru Trasee */
.trasee-hero {
  background: url('rulota-mare-caini.jpg') center/cover;
  height: 400px;
  text-align: center;
  padding: 20px 0;
  position: relative;
}

.trasee-hero h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5em;
  margin: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  display: inline-block;
  color: #fff;
}

/* Conținut principal */
.content {
  max-width: 900px;
  margin: 20px auto;
  padding: 0 5px;
}

.content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8em;
}

.content p {
  font-size: 1.1em;
  line-height: 1.6;
}

.content ul {
  list-style-type: none;
  padding: 0;
}

.content ul li {
  margin: 10px 0;
}

.content ul li::before {
  content: "🐾 ";
}

/* Stiluri specifice pentru Trasee */
.trasee-theme {
  background: #26A69A; /* Turcoaz deschis */
  color: #fff;
}

.trasee-theme header {
  background: #FFCA28; /* Galben însorit */
}

.trasee-theme nav {
  background: #EFEBE9; /* Bej nisip */
}

.trasee-theme nav a {
  color: #26A69A; /* Text turcoaz */
}

.trasee-theme nav a:hover {
  color: #FFCA28; /* Hover galben */
}

.trasee-theme .content {
  background: #26A69A; /* Menține fundalul turcoaz */
  padding-bottom: 100px; /* Spațiu suplimentar la sfârșit */
}

/* Container pentru meniu și conținut */
.container {
  display: flex;
  width: 100%;
}

.story-nav {
  width: 200px;
  background: #006064; /* Albastru marin */
  padding: 20px;
  position: fixed;
  height: 100%;
  overflow-y: auto;
}

.story-nav h4 {
  color: #FF5722; /* Portocaliu cald */
  margin-top: 0;
  font-size: 1.2em;
}

.story-nav ul {
  list-style-type: none;
  padding: 0;
}

.story-nav li {
  margin: 10px 0;
}

.story-nav a {
  color: #B0BEC5; /* Gri marin */
  text-decoration: none;
}

.story-nav a:hover {
  color: #FF5722; /* Portocaliu la hover */
}

.content {
  margin-left: 220px; /* Spațiu pentru meniu */
  padding: 20px;
  flex: 1;
}

/* Listă de povești */
.story-list {
  padding: 0;
}

.story-list section {
  margin-bottom: 30px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1); /* Fond semi-transparent */
  border-left: 4px solid #FF5722; /* Linie portocalie */
  border-radius: 4px;
}

.story-list h4 {
  margin-top: 0;
  color: #FF5722; /* Titluri portocalii */
}

/* Grilă pentru sfaturi */
.advice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.advice-card {
  background: #006064; /* Albastru marin ca fundal */
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #FF5722; /* Bordură portocalie */
  color: #fff; /* Text alb pentru contrast */
  text-decoration: none; /* Elimină sublinierile link-urilor */
  display: block; /* Asigură că întregul card e clickable */
  transition: transform 0.2s; /* Efect de hover */
}

.advice-card:hover {
  transform: scale(1.05); /* Mică mărire la hover */
}

.advice-card h4 {
  margin-top: 0;
  color: #FF5722; /* Titluri portocalii */
}

.advice-card p {
  margin: 10px 0 0;
  color: #B0BEC5; /* Gri marin pentru text */
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 10px 0;
}

.gallery img {
  width: 100%;
  height: auto;
  border: 4px solid #FF5722; /* Bordură portocalie */
  border-radius: 8px;
}

/* Formular de contact */
.contact-form {
  max-width: 500px;
  margin: 0px 0;
}

.contact-form label {
  font-weight: bold;
  color: #FF5722; /* Portocaliu cald pentru etichete */
  margin-top: 10px;
  display: block;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #B0BEC5; /* Gri marin pentru bordură */
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form input[type="submit"] {
  background-color: #FF5722; /* Portocaliu cald pentru buton */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

.contact-form input[type="submit"]:hover {
  background-color: #E64A19; /* Portocaliu mai închis la hover */
}

/* Footer */
footer {
  background: #455A64; /* Gri stâncos */
  text-align: center;
  padding: 10px;
  width: 100%;
  margin-top: 20px;
  position: static;
}

/* Buton "Ce mai e nou" */
.new-button {
  background-color: #FF5722; /* Portocaliu cald */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  margin: 20px auto;
  display: block; /* Centrat pe pagină */
}

.new-button:hover {
  background-color: #E64A19; /* Portocaliu mai închis la hover */
}

/* Secțiunea de actualizări */
.updates {
  display: none; /* Ascuns implicit */
  max-width: 900px;
  margin: 20px auto;
  padding: 0 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
}

.updates h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5em;
  color: #FF5722;
}

.updates p {
  font-size: 1.1em;
  color: #fff;
}

.updates a {
  color: #FFCA28; /* Galben pentru link */
  text-decoration: none;
}

.updates a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    width: 100%;
  }

  header h1 {
    font-size: 1.8em;
  }

  .navbar {
    padding: 10px 0;
  }

  .hamburger {
    display: block; /* Afișează butonul hamburger pe mobil */
  }

  .nav-menu {
    display: none; /* Ascunde meniul implicit pe mobil */
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #455A64; /* Același fundal ca nav */
    padding: 10px 0;
  }

  .nav-menu.active {
    display: flex; /* Afișează meniul când e activ */
  }

  .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    font-size: 1.2em;
    padding: 10px;
    display: block;
  }

  .hero,
  .trasee-hero {
    height: 300px;
    padding: 10px 0;
    width: 100%;
  }

  .hero h2,
  .trasee-hero h2 {
    font-size: 1.5em;
    padding: 5px 10px;
    text-align: center;
    width: 100%;
  }

  .hero p {
    font-size: 0.9em;
    max-width: 100%;
    padding: 5px 10px;
    text-align: center;
    margin: 0 auto;
  }

  .container {
    flex-direction: column;
    width: 100%;
  }

  .story-nav {
    display: none; /* Ascunde meniul lateral pe mobil */
    position: static;
    width: 100%;
  }

  .content {
    margin-left: 0;
    padding: 0 10px;
    width: 100%;
    max-width: 100%;
  }

  .content h3 {
    font-size: 1.5em;
  }

  .content p {
    text-align: left;
    margin: 0 auto;
    width: 95%;
  }

  .new-button {
    margin: 15px auto;
    padding: 8px 15px;
    font-size: 1em;
  }

  .updates {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .hero,
  .trasee-hero {
    height: 200px;
  }

  .hero h2,
  .trasee-hero h2 {
    font-size: 1.2em;
  }

  .content p {
    font-size: 0.95em;
    width: 95%;
  }
}

/* Ajustări specifice */
.advice-grid {
  grid-template-columns: 1fr; /* Un singur rând pe mobil mic */
}

@media (max-width: 600px) {
  .advice-grid {
    grid-template-columns: 1fr;
  }
}
/* Stiluri specifice pentru pagina Galerie */
.gallery-page {
  background: #FFFFFF; /* Fundal alb */
  color: #000000; /* Text negru */
}

.gallery-page nav {
  background: #B0BEC5; /* Gri marin */
}

.gallery-page nav a {
  color: #006064; /* Albastru marin */
}

.gallery-page nav a:hover {
  color: #FF5722; /* Portocaliu cald */
}

.gallery-page footer {
  background: #B0BEC5; /* Gri marin */
  color: #000000;
}

.gallery img {
  max-width: 100%; /* Asigură scalarea corectă */
  height: auto;
  object-fit: cover; /* Menține proporțiile */
}
/* Stiluri specifice pentru pagina Galerie */
.gallery-page {
  background: #FFFFFF; /* Fundal alb */
  color: #000000; /* Text negru */
}

.gallery-page nav {
  background: #B0BEC5; /* Gri marin */
}

.gallery-page nav a {
  color: #006064; /* Albastru marin */
}

.gallery-page nav a:hover {
  color: #FF5722; /* Portocaliu cald */
}

.gallery-page footer {
  background: #B0BEC5; /* Gri marin */
  color: #000000;
}

.gallery img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer; /* Indicatori că imaginea e clickable */
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05); /* Mică mărire la hover */
}

/* Lightbox styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.close:hover {
  color: #FF5722; /* Portocaliu la hover */
}
/* Stiluri specifice pentru pagina Galerie */
.gallery-page {
  background: #FFFFFF; /* Fundal alb */
  color: #000000; /* Text negru */
}

.gallery-page nav {
  background: #B0BEC5; /* Gri marin */
}

.gallery-page nav a {
  color: #006064; /* Albastru marin */
}

.gallery-page nav a:hover {
  color: #FF5722; /* Portocaliu cald */
}

.gallery-page footer {
  background: #B0BEC5; /* Gri marin */
  color: #000000;
}

.gallery img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer; /* Indicatori că imaginea e clickable */
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05); /* Mică mărire la hover */
}

/* Lightbox styles with navigation */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Folosește lățimea viewport-ului */
  height: 100vh; /* Folosește înălțimea viewport-ului */
  background: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: flex; /* Asigură alinierea corectă */
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  display: block; /* Asigură centrarea corectă */
  margin: 0 auto; /* Centrare orizontală */
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  z-index: 1001; /* Asigură vizibilitatea peste imagine */
}

.close:hover {
  color: #FF5722; /* Portocaliu la hover */
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 1001; /* Asigură vizibilitatea peste imagine */
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  background: rgba(255, 87, 34, 0.5); /* Portocaliu semi-transparent */
}
/* Stiluri specifice pentru pagina Contact */
.contact-page {
  /* Poți adăuga stiluri specifice dacă dorești, ex. fundal diferit */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Spațiere între câmpuri */
}

.contact-form label {
  font-weight: bold;
  color: #006064; /* Albastru marin */
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  padding: 10px;
  border: 2px solid #B0BEC5; /* Gri marin */
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form input[type="submit"] {
  background-color: #FF5722; /* Portocaliu cald */
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  width: fit-content; /* Lățime adaptivă */
}

.contact-form input[type="submit"]:hover {
  background-color: #E64A19; /* Portocaliu mai închis */
}

.contact-form ul {
  list-style-type: none;
  padding: 0;
}

.contact-form ul li {
  margin: 5px 0;
}
/* Stiluri specifice pentru pagina Mulțumim */
.thank-you-page {
  background: #E8F5E9; /* Verde deschis pentru o notă pozitivă */
  color: #2E7D32; /* Verde pădure pentru text */
}

.thank-you-page .content {
  text-align: center; /* Centrare pentru un efect de mulțumire */
  padding: 40px 20px;
}

.thank-you-page h3 {
  font-size: 2em;
  color: #FF5722; /* Portocaliu cald pentru titlu */
}

.thank-you-page p {
  font-size: 1.2em;
  line-height: 1.6;
}

.thank-you-page a {
  color: #006064; /* Albastru marin pentru link */
  text-decoration: none;
  font-weight: bold;
}

.thank-you-page a:hover {
  color: #FF5722; /* Portocaliu la hover */
}

.thank-you-page nav {
  background: #B0BEC5; /* Gri marin */
}

.thank-you-page nav a {
  color: #006064; /* Albastru marin */
}

.thank-you-page nav a:hover {
  color: #FF5722; /* Portocaliu cald */
}

.thank-you-page footer {
  background: #B0BEC5; /* Gri marin */
  color: #2E7D32; /* Verde pădure */
}