/* ============================================
   ARHITECTURA — stil unificat pentru tot site-ul
   Plasează acest fișier în ACELAȘI folder ca paginile .html
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Montserrat:wght@200;300;400&display=swap');

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

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  background: #0a0a0a;
  color: white;
  overflow-x: hidden;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  padding: 25px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: 0.3s;
  background: transparent;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: white;
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: white;
  position: relative;
}

/* underline elegant */
nav a::after {
  content: "";
  width: 0%;
  height: 1px;
  background: white;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

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

/* HERO */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1494526585095-c41746248156') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-left: 100px;
  position: relative;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  font-weight: 400;
}

.hero-content h2 {
  font-size: 60px;
  font-weight: 200;
}

.hero-content p {
  margin-top: 15px;
  color: #bbb;
  line-height: 1.6;
}

/* BUTTONS */
.buttons {
  margin-top: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  background: white;
  color: black;
  text-decoration: none;
  margin-right: 10px;
  display: inline-block;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-outline {
  padding: 12px 30px;
  border-radius: 30px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-outline:hover {
  background: white;
  color: black;
}

/* INTRO */
.intro {
  padding: 100px 80px;
  text-align: center;
}

.intro h2 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 20px;
}

.intro p {
  max-width: 800px;
  margin: 10px auto;
  color: #aaa;
}

/* STILURI / SECTIUNI cu grila */
.styles,
.gallery,
.about {
  padding: 120px 80px 80px;
}

.styles h2,
.gallery h2,
.about h2 {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Playfair Display', serif;
}

/* GRID — se adaptează automat, indiferent de câte carduri sunt */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  overflow: hidden;
  border-radius: 10px;
  background: #111;
  transition: 0.3s;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}

.card:hover img {
  transform: scale(1.1);
}

.card h3 {
  padding: 15px 15px 5px;
}

.card p {
  padding: 0 15px 18px;
  color: #aaa;
  font-weight: 300;
  line-height: 1.5;
}

/* GALERIE — imagini simple, fără card wrapper */
.gallery .grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.5s;
}

.gallery .grid img:hover {
  transform: scale(1.05);
}

/* DESPRE */
.about {
  max-width: 900px;
  margin: 0 auto;
}

.about p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
  text-align: justify;
}

.about p strong {
  color: #fff;
  font-weight: 400;
}

/* REVEAL la scroll (folosit de script.js) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  background: black;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  header {
    padding: 20px 25px;
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    gap: 22px;
  }
  .hero {
    padding-left: 25px;
  }
  .hero-content h1 {
    font-size: 56px;
  }
  .hero-content h2 {
    font-size: 34px;
  }
  .styles,
  .gallery,
  .about {
    padding: 110px 25px 60px;
  }
}
