/* RESET MODERN */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
  color: #fff;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.9);
  z-index: 999;
  padding: 1em 0;
}

.navbar ul {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;  /* Centrare meniului */
  flex-wrap: wrap;          /* Împachetare dacă e nevoie */
  gap: 1.5em;
  list-style: none;
}

.navbar li {
  flex: 0 1 auto;  /* Flexibil fără forțare */
}

.navbar a {
  font-size: 1em;
  display: block;
  padding: 0.5em 1em;
  color: #0ff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap; /* Nu sparge textul */
  transition: color 0.3s;
}

.navbar a:hover {
  color: #f0f;
}

/* HEADER CU IMAGINE */
header {
  height: 100vh;
  background: url('../images/hero.jpg?v=2.1') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px; /* spațiu pentru navbar fix */
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 3em;
  text-align: center;
  max-width: 800px;
}

.overlay h1 {
  font-size: 3.5em;
  animation: glow 2s infinite alternate;
}

.overlay p {
  font-size: 1.5em;
  color: #ccc;
  margin-top: 1em;
}

@keyframes glow {
  0% { text-shadow: 0 0 10px #0ff; }
  100% { text-shadow: 0 0 20px #f0f; }
}

/* SECTIUNI GENERALE */
section {
  padding: 100px 20px 60px;
}

section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}

/* GALERIE RESPONSIVĂ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #0ff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 20px;
  background: #111;
}

/* PRELOADER */
.preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.loader {
  border: 6px solid #222;
  border-top: 6px solid #0ff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* RESPONSIVE TEXT */
@media (max-width: 600px) {
  .navbar a {
    font-size: 0.9em;
    padding: 0.4em 0.8em;
  }

  .overlay h1 {
    font-size: 2.5em;
  }

  .overlay p {
    font-size: 1.2em;
  }
}
.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.contact-btn {
  background-color: #0ff;
  color: #000;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-btn:hover {
  background-color: #0cf;
}
