* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Garamond, Georgia, serif;
  background: #000;
  color: white;
  text-align: center;
}

h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: 3px;
}

/* HEADER from first design */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 70px;
  background-color: #f3f3f3;
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo__box {
  background-color: #181d24;
  color: white;
  padding: 14px 20px;
  font-weight: bold;
}

.logo__text {
  margin: 0;
  font-size: 38px;
  color: #222;
  letter-spacing: 0;
}

.nav {
  min-width: 400px;
  display: flex;
  gap: 35px;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #222;
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 5px;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #2f80ff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav a:hover {
  color: #000;
  transform: scale(1.08);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 34px;
  cursor: pointer;
  color: #222;
}

/* Second design */
.hero {
  min-height: calc(100vh - 106px);
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.45)),
    url("images/flower.JPG") no-repeat center center / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  padding: 80px 6%;
}

.hero__content {
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  margin: 20px 0;
}

.hero h2 {
  font-size: 16px;
  margin-bottom: 30px;
}

.hero p {
  line-height: 1.8;
  font-size: 14px;
}

.buttons {
  margin-top: 35px;
}

.buttons a,
.about a {
  display: inline-block;
  padding: 14px 35px;
  background: #111;
  color: white;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  margin: 5px;
}

.buttons .outline {
  background: transparent;
  border: 1px solid white;
}

.projects,
.services {
  padding: 80px 6%;
}

.section-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
}

.project-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.project-card {
  background: white;
  color: black;
  text-align: left;
}

.project-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.project-card h3,
.project-card p {
  padding: 0 20px;
}

.project-card h3 {
  margin-top: 20px;
  font-family: Georgia, serif;
}

.project-card p {
  padding-bottom: 25px;
  font-size: 12px;
  letter-spacing: 1px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: #fffaf4;
  color: black;
  text-align: left;
}

.about div {
  padding: 80px 12%;
}

.about p {
  margin: 25px 0;
  line-height: 1.8;
}

.about img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.services {
  text-align: center;
}

.services h2 {
  margin-bottom: 50px;
}

.service-grid div {
  padding: 35px;
}

.service-grid h3 {
  margin-bottom: 15px;
  font-size: 13px;
  letter-spacing: 2px;
}

.service-grid p {
  line-height: 1.7;
}

.quote {
  background: #1d1a16;
  color: white;
  text-align: center;
  padding: 90px 20%;
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.6;
}

.footer {
  padding: 60px 6%;
  background: #f6f1ea;
  color: black;
}

.footer h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

/* MOBILE */
@media screen and (max-width: 800px) {
  .header {
    padding: 20px;
  }

  .logo__text {
    font-size: 26px;
  }

  .hamburger {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 0;
    background-color: #f3f3f3;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    z-index: 999;
  }

  .menu-toggle:checked ~ .nav {
    display: flex;
  }

  .nav a {
    font-size: 20px;
  }

  .hero {
    min-height: calc(100vh - 82px);
  }

  .hero h1 {
    font-size: 42px;
  }

  .section-title {
    flex-direction: column;
    gap: 15px;
  }

  .project-grid,
  .service-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .quote {
    padding: 60px 8%;
    font-size: 22px;
  }
}
/* ABOUT PAGE */

.about-hero {

  min-height: 100vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  background: #111;

  color: white;

}

.about-hero__content {

  padding: 10%;

  text-align: left;

}

.small-title {

  font-size: 14px;

  letter-spacing: 3px;

  margin-bottom: 20px;

}

.about-hero__content h1 {

  font-size: 72px;

  margin-bottom: 10px;

}

.about-hero__content h2 {

  font-size: 24px;

  margin-bottom: 30px;

  font-weight: 400;

}

.about-hero__content p {

  line-height: 1.9;

  margin-bottom: 20px;

  max-width: 500px;

}

.about-hero__image img {

  width: 100%;

  height: 100vh;

  object-fit: cover;

}

/* MOBILE */

@media (max-width: 800px) {

  .about-hero {

    grid-template-columns: 1fr;

  }

  .about-hero__content {

    text-align: center;

    padding: 80px 10%;

  }

  .about-hero__content h1 {

    font-size: 48px;

  }

  .about-hero__image img {

    height: 500px;

  }

}
/* KONTAKT SIDE */

.contact {
  min-height: 100vh;
  padding: 160px 8% 80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;

  background: #111;
  color: white;
}

.contact-text {
  text-align: left;
}

.contact-text p:first-child {
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-text h1 {
  font-size: 60px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.contact-text p {
  line-height: 1.8;
  max-width: 450px;
}

.contact-form {
  background: #fffaf4;
  color: #111;

  padding: 45px;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;

  font-size: 12px;
  letter-spacing: 2px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;

  margin-bottom: 22px;

  border: 1px solid #ccc;
  background: white;

  font-family: Garamond, serif;
  font-size: 16px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  padding: 15px 35px;

  background: #111;
  color: white;

  border: none;
  cursor: pointer;

  letter-spacing: 2px;
  font-size: 12px;
}

.contact-form button:hover {
  background: #333;
}

/* MOBILE */

@media (max-width: 800px) {

  .contact {
    grid-template-columns: 1fr;
    padding: 140px 8% 60px;
  }

  .contact-text {
    text-align: center;
  }

  .contact-text h1 {
    font-size: 42px;
  }

  .contact-text p {
    margin: 0 auto;
  }

  .contact-form {
    padding: 30px;
  }
}
.project-hero {
  position: relative;
  height: 100vh;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-overlay {
  position: absolute;
  bottom: 10%;
  left: 8%;
  color: white;
  max-width: 550px;
  text-align: left;
}

.project-overlay h1 {
  font-size: 72px;
  margin: 15px 0;
}

.hero-description {
  line-height: 1.8;
}

.project-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 120px 8%;
  background: #fffaf4;
  color: #111;
  text-align: left;
}

.process {
  padding: 100px 8%;
  background: #f8f4ee;
  color: #111;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.gallery {
  display: flex;
  grid-template-columns: 1fr 1fr;
}
.gallery video {
  width: 100%;
  height: 650px;
  object-fit: cover;

}

.gallery img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.learning {
  padding: 120px 20%;
  background: #111;
  color: white;
}

.next-project {
  padding: 80px;
  text-align: center;
  background: #fffaf4;
  color: #111;
}

.next-project a {
  font-size: 38px;
  color: #111;
  text-decoration: none;
}

.card__button {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #111;
}

@media (max-width: 800px) {
  .project-overlay h1 {
    font-size: 42px;
  }

  .project-info,
  .process-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .learning {
    padding: 80px 8%;
  } 
}

   /* FLEX CONTAINER */
    .container {
      display: flex;
      flex-wrap: wrap;
      justify-content:space-around;
      gap: 20px;
      padding: 80px;
      row-gap: 100px;
    }

    /* CARD */
    .card {
      width: 400px;
      height: 480px;
      background-color: white;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }
     
    .card:hover {
      transform: scale(1.10); 
      transition: 0.3s ease;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    /* IMAGE */
    .card__img {
      width: 100%;
      aspect-ratio: 1/1;
      height: 300px;
      object-fit: cover;
      display:block;
    }

    /* CONTENT */
    .card__content {
      padding: 20px;
    }

    .card__title {
      margin: 0 0 10px;
      font-size: 28px;
      color: #555;
    }

    .card__text {
      font-size: 18px;
      line-height: 1.5;
      color: #777;
    }

    /* BUTTON */
    .card__button {
      width: 100%;
      padding: 12px;
      margin-top: 15px;
      font-size: 18px;
      border: 1px solid #ccc;
      background-color: white;
      cursor: pointer;
      border-radius: 5px;
      transition: background-color 0.3s ease;
    }

    .card__button:hover {
      background-color: #f1f1f1;
    }

