/* Fonturi și reset */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  scroll-behavior: smooth;
  background-color: #ff8800;
}

/* Header */
header {
  text-align: center;
  font-size: 2.5rem;
  padding: 50px 20px;
  background: linear-gradient(90deg, #ff0000, #ff8800);
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Container proiecte */
.projects-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  padding: 50px 20px;
}

/* Card proiect */
.project-card {
  width: 100%;
  max-width: 1200px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  background: rgba(255,255,255,0.1);
}

.project-card h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff8800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Video responsive */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 1.2rem;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsivitate */
@media (max-width: 900px) {
  header {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .project-card h2 {
    font-size: 1.5rem;
  }
}

.btn-back {
  display: inline-block;
  margin: 40px auto;
  padding: 12px 25px;
  background-color: #ff0000;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: #ff8800;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}


body > .btn-back {
  display: block;
  text-align: center;
}
.project-card {
  background: #ff9100; 
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
  text-align: center;
  margin: 40px auto;
  max-width: 800px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(255, 150, 0, 0.8);
}

.project-card h2 {
  color: #ffb84d;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  margin-bottom: 15px;
  font-weight: 600;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 900px; 
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.project-card {
  max-width: 900px; /* was 800px */
  padding: 30px;    /* slightly more spacing around video */
}

