/* ==========================================================================
   Font Face Declarations
   ========================================================================== */

@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/forum-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Forum';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/forum-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3 {
  font-family: 'Forum', serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

h1 {
  font-size: 3rem;
  color: #c4a07c;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.1rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section--pink {
  background: #d4a9a9;
  color: #fff;
}

.section--cream {
  background: #f5f0eb;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
  border-bottom: 1px solid #eee;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.nav__brand {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-variant: small-caps;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav__linkedin {
  display: flex;
  align-items: center;
}

.nav__linkedin svg {
  width: 18px;
  height: 18px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: transform 0.3s, opacity 0.3s;
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  align-items: center;
}

.hero__content {
  padding: 4rem;
}

.hero__title {
  font-size: 3.5rem;
  color: #c4a07c;
}

.hero__subtitle {
  font-family: 'Forum', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #666;
}

.hero__quote {
  font-style: italic;
  color: #888;
  font-size: 0.9rem;
}

.hero__text {
  color: #555;
  font-size: 0.9rem;
}

.hero__image {
  height: 100%;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   About Split (Homepage)
   ========================================================================== */

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-split__image {
  overflow: hidden;
}

.about-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split__content {
  background: #d4a9a9;
  color: #fff;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==========================================================================
   Experience Section
   ========================================================================== */

.experience {
  text-align: center;
  padding: 4rem 2rem;
}

.experience__item {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: left;
}

.experience__item h3 {
  text-align: center;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.5rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.6rem 2rem;
  border: 1px solid #333;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  background: transparent;
  color: #333;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.btn:hover {
  background: #333;
  color: #fff;
}

.btn--white {
  border-color: #fff;
  color: #fff;
}

.btn--white:hover {
  background: #fff;
  color: #333;
}

/* ==========================================================================
   Quote Section
   ========================================================================== */

.quote-section {
  text-align: center;
  padding: 4rem 2rem;
}

.quote-section blockquote {
  font-family: 'Forum', serif;
  font-style: italic;
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 700px;
}

.quote-section .quote-author {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.quote-section .quote-portrait {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Education Section
   ========================================================================== */

.education {
  text-align: center;
  padding: 4rem 2rem;
}

.education__subtitle {
  font-family: 'Forum', serif;
  font-style: italic;
  color: #888;
}

.education__item {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.education__item h3 {
  font-style: italic;
  text-align: center;
}

.education__dates {
  text-align: center;
  color: #888;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */

.skills__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 0 2rem;
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.skills__grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.skill-card {
  background: #d4a9a9;
  text-align: center;
  overflow: hidden;
}

.skill-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.skill-card h3,
.skill-card p {
  color: #fff;
  padding: 0 1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
  text-align: center;
  padding: 4rem 2rem;
}

.contact__info a {
  border-bottom: 1px solid #ccc;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #f5f0eb;
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #888;
}

/* ==========================================================================
   Subpage Styles
   ========================================================================== */

.page-header {
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.page-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.page-content h1 {
  text-align: center;
  font-size: 2rem;
  color: #333;
}

.page-content ul {
  list-style: none;
  padding-left: 1rem;
}

.page-content ul li::before {
  content: "\2013\00a0";
}

.about-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.event-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

/* ==========================================================================
   Responsive (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
  }

  .nav__links.open {
    display: flex;
  }

  .nav .container {
    position: relative;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: 1;
  }

  .hero__content {
    order: 2;
    padding: 2rem;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .skills__grid,
  .skills__grid--four {
    grid-template-columns: 1fr;
  }

  .about-page {
    grid-template-columns: 1fr;
  }

  .event-split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }
}
