/* Variables */
:root {
  --green-dark: #006A5C;
  --green: #479083;
  --beige: #fdf5ec;
  --light-beige: rgb(255, 248, 240);
}

h2 {
  line-height: 2.5rem;
  font-family: 'ivyora-display', serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 4rem;
  text-transform: uppercase;
  text-align: left;
}

h3 {
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-align: left;
}

em {
  font-family: 'ivyora-displaY', serif;
  font-style: italic;
}

p {
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--green-dark);
  margin: 0;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--green-dark);
  z-index: 1000;
}

.site-header .container {
  max-width: 1100px;
  margin: auto;
  padding: 0.5em 0.5em;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.site-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 10rem;
}

.site-nav a {
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--beige);
  text-decoration: none;
}

/* Logo */
.site-nav .logo img {
  height: 53px;
  display: block;
}

/* Hero Background & Clipping */
.hero {
  background-color: var(--green-dark);
  overflow: hidden;
}

/* Hero Inner Container */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1rem;
  position: relative;
}

/* Hero Text */

/* Intro Text */
.hero-intro {
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 20px;
  letter-spacing: normal;
  color: var(--beige);
  margin-bottom: 0.5rem;
}

/* Main Title */
.hero-title {
  font-family: 'ivyora-displaY', serif;
  font-weight: 300;
  font-size: 55px;
  line-height: 70px;
  letter-spacing: 0.02em;
  color: var(--beige);
  margin: 0 0 1rem;
}

.hero-title em {
  font-style: italic;
  letter-spacing: 0.15em;
}

/* Hero Button */
.btn-hero {
  display: inline-block;
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2em;
  background: var(--beige);
  color: var(--green-dark);
  padding: 0.90rem 1.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 2rem;
  margin-bottom: 1rem;
  transition: background 0.2s ease;
}

.btn-hero:hover {
  background: var(--green);
}

/* Hero Image */
.hero-figure {
  margin: 0;
  position: relative;
}

.hero-img {
  margin-top: -2rem;
  margin-bottom: -1rem;
  display: block;
  width: 550px;
  max-width: none;
  height: auto;
  object-fit: cover;
}

/* Designs Sectie */
.section-designs {
  background-color: var(--beige);
  padding: 5rem 2rem;
}

.designs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 5rem;
}

.design-item {
  width: 291px;
  margin-bottom: 2rem;
}

.design-item img {
  display: block;
  width: 291px;
  height: 291px;
  object-fit: cover;
}

/* Designs overlay */
.design-item .thumb {
  position: relative;
  overflow: hidden;
  width: 291px;
  height: 291px;
}

.design-item .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.design-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 106, 92, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.design-item .overlay-title,
.design-item .overlay-subtitle {
  color: var(--beige);
  margin: 0;
  text-align: center;
}

.design-item .overlay-title {
  font-family: 'ivyora-display', serif;
  font-size: 25px;
  letter-spacing: 0.05em;
  line-height: 1.25em;
}

.design-item .thumb:hover .overlay {
  opacity: 1;
}

.overlay-title a {
  color: var(--beige);
  text-decoration: none;
}

.overlay-title a:hover {
  text-decoration: none;
}


/* Skills section */
.section-skills {
  background-color: var(--green-dark);
  padding: 5rem 2rem;
}

.section-skills .section-title {
  font-family: 'ivyora-display', serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--beige);
  text-align: left;
  margin-bottom: 4rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc((100% - 3 * 3rem) / 4);
  max-width: 120px;
}

.skill-icon {
  width: 64px;
  height: 64px;
  background: var(--beige);
  color: var(--green-dark);
  font-family: 'lato', sans-serif;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.progress {
  width: 64px;
  height: 6px;
  background: var(--green);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--beige);
  transition: width 0.4s ease;
}

/* About Sectie */
.section-about {
  background-color: var(--beige);
  padding: 5rem 2rem;
}

.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 450px;
  height: 450px;
  height: auto;
  object-fit: cover;
}

.about-content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-content .section-title {
  font-family: 'ivyora-display', serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  text-transform: uppercase;
  margin: 0;
}

.btn-cv {
  align-self: flex-start;
  background: var(--green-dark);
  color: var(--beige);
  padding: 0.90rem 1.5rem;
  text-decoration: none;
  font-family: 'lato', sans-serif;
  font-weight: 300;
  letter-spacing: 0.2em;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 2rem;
}

.btn-cv:hover {
  background: var(--green);
}

/* Contact Section */
.section-contact {
  background-color: var(--beige);
  padding: 5rem 2rem;
}

.section-contact .section-title {
  font-family: 'ivyora-display', serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 3rem;
  text-align: left;
  line-height: 1.25em;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.contact-item {
  flex: 0 1 calc((100% - 2 * 3rem) / 3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 300px;
}


.contact-item a {
  color: var(--green-dark);
  text-decoration: none;
  padding-bottom: 2px;
}

.socials {
  display: flex;
  gap: 0.5rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green-dark);
  color: var(--beige);
  font-family: 'lato', sans-serif;
  font-weight: 600;
  font-size: 13px;
}

/* Sticky Header */

footer {
  background-color: var(--green-dark);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem 3rem;
}

.footer-nav-left ul,
.footer-nav-right ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.footer-nav-left a,
.footer-nav-right a {
  font-family: 'lato', sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--beige);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-nav-left a:hover,
.footer-nav-right a:hover {
  color: var(--light-beige);
}

.footer-logo img {
  height: 53px;
  display: block;
}



/* Project Pages */

.section-about-project p {
  color: var(--beige);
}

.project-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-about-project {
  background-color: var(--green-dark);
  padding: 4rem 2rem;
  color: var(--beige);
}

.section-about-project .section-title {
  font-family: 'ivyora-display', serif;
  font-weight: 300;
  font-size: 32px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--beige);
}

.section-about-project .about-content {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.section-about-project .about-image-bottom-left {
  margin-top: 8.38rem;
}

.section-about-project .about-image-bottom-left img {
  width: 99%;
  display: block;
}

.section-about-project .about-images-right {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-about-project .about-image-top-right img {
  width: 100%;
  display: block;
}

.section-about-project .about-image-bottom-right img {
  width: 100%;
  display: block;
}
.section-other-designs {
  background-color: var(--beige);
  padding: 4rem 2rem;
}

.other-designs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
}

.other-design-item img {
  display: block;
  width: 514px;
  height: 514px;
}

/* Responsiveness */
@media (max-width: 768px) {

  .site-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .site-nav .nav-left,
  .site-nav .nav-right {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav .nav-left li,
  .site-nav .nav-right li {
    margin: 0;
  }

  .site-nav .logo {
    order: 0;
  }

  .site-nav .nav-left {
    order: 1;
  }

  .site-nav .nav-right {
    order: 2;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-img {
    width: 100%;
  }

  .designs-grid {
    justify-content: center;
  }

  .design-item {
    width: 100%;
    max-width: 291px;
    margin: 0 auto 2rem;
  }

  .skills-grid {
    justify-content: center;
  }

  .skill-item {
    width: calc((100% - 1 * 2rem) / 2);
    margin-bottom: 2rem;
  }

  .skill-item {
    width: 100%;
    max-width: 120px;
    margin: 0 auto 2rem;
  }

  .about-inner {
    flex-direction: column;
    text-align: left;
  }

  .contact-grid {
    justify-content: center;
  }

  .contact-item {
    flex: 0 1 100%;
    max-width: none;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    align-items: center;
  }

  .footer-nav-left ul,
  .footer-nav-right ul {
    gap: 0.5rem;
  }

  .section-about-project .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-about-project .about-content,
  .section-about-project .about-images-right {
    flex: 1 1 100%;
  }

  .section-about-project .about-image-bottom-left,
  .section-about-project .about-image-top-right {
    margin-top: 2rem;
  }

  .section-about-project .about-inner {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .other-designs-grid {
    gap: 1rem;
    justify-content: center;
  }
}