@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Jost:wght@300;400&display=swap');

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

body {
  font-family: 'Jost', sans-serif;
  line-height: 1.7;
  background-color: #1a0f0f;
  color: #d4c4b0;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color:rgba(26, 15, 15, 0.8);
  border-bottom: #A64833 solid 1px;
;
  box-shadow: none;
  z-index: 10;
  border-top: 1px solid #A64833;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f4e097;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #f4e097;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #666;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-bottom: 1px solid #A64833;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(89,52,52,0.5), rgba(0,0,0,0.5));
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.hero-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 900;
  color: #D9B95B;
  white-space: nowrap;
  z-index: 5;
}


/* Main content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
}


h1 {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #A64833;
  margin-bottom: 25px;
  padding: 0 40px;
  position: relative;
}

h1::after {
  content: '';
  display: block;
  width: 50%;
  height: 1px;
  background-color: #A64833;
}

p {
  max-width: 1200px;
  margin: 0 auto 15px;
  padding: 0 40px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 200;
  font-size: 18px;
  line-height: 1.9;
  color: #f4e097;
  margin-bottom: 1.5rem;
}
.presentations-grid {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.presentation-item {
  display: contents;
}

.presentation-year {
  font-weight: 600;
  color: #A64833;
  font-size: 16px;
}

.presentation-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 16px;
  color: #d4c4b0;
  line-height: 1.9;
}

h2 {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #A64833;
  margin-bottom: 0.75rem;
  margin-top: 2.5rem;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  color: #e8d8c0;
  border-left: 2px solid #593434;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
}

.pub-meta {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #8a6e5e;
  letter-spacing: 0.05em;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 200;
  font-size: 14px;
  color: #A64833;
  padding: 0 40px;
  margin-bottom: 40px;
  position: relative;
}

h4::after {
  content: '';
  display: block;
  width: 50%;
  height: 0.25px;
  background-color: #A64833;
}

.contact {
  margin-top: 4rem;
  border: 1px solid #A64833;
  padding: 2rem 2.5rem;
}

.contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: #D9B95B;
  margin-bottom: 0.75rem;
}

.contact-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 14px;
  color: #8a6e5e;
  margin-bottom: 1rem;
  padding: 0;
}

.contact-email {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: #D92929;
  text-decoration: none;
  letter-spacing: 0.05em;
}

footer {
  border-top: 1px solid #A64833;
  text-align: center;
  padding: 30px 40px;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: #593434;
}

.footer-name {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #d4c4b0;
  margin: 0;
  padding: 0;
  margin-bottom: 10px;
  position: relative;
}

.footer-name::after {
  content: '';
  display: block;
  width: 100%;
  height: 0.25px;
  background-color: rgba(166, 72, 51, 0.5);
  margin-top: 10px;
}

/* Responsive hero behavior for tablet and mobile */
.hero-overlay {
  position: relative;
  z-index: 5;
}

@media (max-width: 1024px) {
  .hero-section {
    height: 500px;
  }

  .hero-text {
    font-size: 52px;
    bottom: 40px;
  }

  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    padding: 14px 30px;
  }

  .nav-title {
    order: 1;
    flex: 1;
    text-align: left;
  }

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    order: 2;
    margin-left: auto;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    content: '';
    width: 22px;
    height: 2px;
    background: #f4e097;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    position: absolute;
  }

  .nav-toggle-label span::before {
    transform: translateY(-7px);
  }

  .nav-toggle-label span::after {
    transform: translateY(7px);
  }

  .nav-links {
    display: none !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    order: 3;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex !important;
  }

  .nav-links a {
    font-size: 14px;
    width: 100%;
    text-align: center;
    background: rgba(26, 15, 15, 0.65);
    padding: 8px 0;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
  }

  main {
    padding: 50px 30px;
  }

  h1,
  p,
  .presentation-grid,
  .contact,
  footer {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 767px) {
  .hero-image {
    display: none;
  }

  .hero-text {
    position: static;
    transform: none;
    margin-top: 18px;
    text-align: center;
    font-size: 48px;
    white-space: normal;
    line-height: 1.2;
  }

  .nav-title {
    font-size: clamp(5px, 1.5vw, 8px);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    flex: 1;
    order: 1;
    padding-top: 0;
    white-space: nowrap;
  }

  .nav-container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 14px 18px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-toggle-label {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    order: 2;
    margin-left: auto;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    content: '';
    width: 22px;
    height: 2px;
    background: #f4e097;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    position: absolute;
  }

  /* Force hidden nav-links on mobile unless hamburger is checked */
  .nav-links {
    display: none !important;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex !important;
  }

  .nav-toggle-label span::before {
    transform: translateY(-7px);
  }

  .nav-toggle-label span::after {
    transform: translateY(7px);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links a {
    font-size: 14px;
    width: 100%;
    text-align: center;
    background: rgba(26, 15, 15, 0.65);
    padding: 8px 0;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-label span {
    background: transparent;
  }

  .nav-toggle:checked + .nav-toggle-label span::before {
    transform: rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span::after {
    transform: rotate(-45deg);
  }

  .hero-section {
    height: auto;
    min-height: 260px;
    padding: 100px 20px 40px;
    border-bottom: 1px solid #A64833;
  }

  .hero-section::before {
    background: rgba(26, 15, 15, 0.95);
  }

  .hero-text {
    position: static;
    transform: none;
    margin-top: 8px;
    text-align: center;
    font-size: 40px;
    white-space: normal;
    line-height: 1.2;
  }

  .navbar {
    position: static;
    background-color: rgba(26, 15, 15, 0.95);
    border-top: none;
    border-bottom: none;
  }

  main {
    padding: 40px 18px;
  }

  h1 {
    padding: 0 12px;
    font-size: 14px;
  }

  p {
    padding: 0 12px;
    font-size: 16px;
  }
}

footer p {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
  padding: 20px;
  color: rgba(166, 72, 51, 0.5);
}

footer a {
  color: rgba(166, 72, 51, 0.5);
  text-decoration: none;
}

.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 400;
  color: #d4c4b0;
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}