/*-----------------------------------------------------WORKS PAGE------------------------------------*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #080808;
  color: #f0e9e4;
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* NAVIGATION */

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 5%;
  background: #ffffff;
  box-shadow: 0 7px 0 #a00000;
}

.logo {
  width: 115px;
  height: 75px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 40px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links a {
  color: #111;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #a00000;
}

/* PAGE TITLE */

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 6%;
}

.page-title {
  font-family: "UnifrakturCook", serif;
  font-size: clamp(48px, 7vw, 90px);
  text-align: center;
  margin: 0 0 110px;
  font-weight: 700;
  text-shadow: 5px 5px 0 #a00000;
}

/* PROJECT SECTIONS */

.project {
  display: flex;
  align-items: center;
  gap: 8%;
  margin-bottom: 150px;
}

/* Automatically alternate image placement */

.project:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* PROJECT IMAGES */

.project-image {
  display: block;
  flex: 1.2;
  min-width: 0;
  box-shadow: 10px 10px 0 #a00000;
  transition: transform 0.25s ease;
}

.project-image:hover {
  transform: translate(-3px, -3px);
}

.project-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* PROJECT TEXT */

.project-info {
  flex: 1;
  min-width: 0;
}

.project-number {
  color: #df5555;
  font-size: 17px;
  letter-spacing: 2px;
  font-weight: 700;
}

.project-info h2 {
  font-family: "UnifrakturCook", serif;
  font-size: clamp(38px, 4.5vw, 66px);
  line-height: 1.15;
  margin: 20px 0;
  text-shadow: 4px 4px 0 #8b0000;
}

.project-info p {
  font-size: 25px;
  line-height: 1.45;
  max-width: 480px;
  margin-bottom: 35px;
}

/* PROJECT BUTTON */

.project-button {
  display: inline-block;
  padding: 12px 30px;
  background: #f0e9e4;
  color: #080808;
  font-size: 21px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 6px 6px 0 #a00000;
  transition: transform 0.2s ease;
}

.project-button:hover {
  transform: translate(-3px, -3px);
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: white;
  border-bottom: 4px solid #C9A44C;
  box-shadow: 5px 5px 0 #A78332;
  z-index: 101;
}
.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: block;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  display: block;
}.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #111;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
  color: #a00000;
}
/* FOOTER */

footer {
  text-align: center;
  padding: 30px;
  border-top: 2px solid #a00000;
  font-size: 18px;
}
