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

html, body {
  scroll-behavior: smooth;
  font-family: "Cinzel", serif;
  background-color: #0b0b0b;
  color: #f5f5f5;
}


.site-header {
  background: #111;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 2px solid #333;
}

.site-header h1 {
  font-size: 2rem;
  color: #e3e3e3;
  text-shadow: 0 0 10px #990000;
}

.main-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.main-nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 5px #900;
}


.parallax {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}


.parallax img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%) translateY(var(--offset-y, 0px));
  will-change: transform;
  transition: transform 0.15s linear;
}


.parallax__bg {
  width: 120%;
  opacity: 0.85;
  z-index: 0;
  filter: blur(1px);
}


.logo-layer {
  width: 90%;
  z-index: 1;
  --offset-y: 150px;
  --parallax-speed: 0.3;
  opacity: 0.9;
}


.family {
  width: 30%;
  z-index: 3;
 
}


.extra-layer {
  width: 70%;
 
  opacity: 0.95;
}


main {
  background-color: #111;
  padding: 4rem 2rem;
}

.content {
  max-width: 900px;
  margin: 0 auto 6rem;
  text-align: center;
}

.content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px #700;
}


.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

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


.gallery img {
  width: 400px;      
  max-width: 90%;     
  border: 2px solid #333;
  border-radius: 8px;
  transition: transform 0.3s, filter 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}


.site-footer {
  background: #000;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 2px solid #222;
  color: #888;
}

.site-footer p {
  font-size: 0.9rem;
}


@media (max-width: 1024px) {
  .cards {
    gap: 1.5rem;
  }

  .gallery img {
    width: 350px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .cards {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .gallery img {
    width: 90%;
  }

  .parallax img {
    width: 120%;
  }

  .site-header h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 1.5rem 1rem;
  }

  .site-header h1 {
    font-size: 1.2rem;
  }

  .cards {
    gap: 1rem;
  }

  .card {
    width: 90%;
  }

  .gallery img {
    width: 100%;
  }

  main {
    padding: 2rem 1rem;
  }

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

