/* ==============================
   GLOBAL COLOR VARIABLES
============================== */
:root {
  --oxford-blue: #0A2C47;
  --indigo: #194260;
  --bone: #E6DAC7;
  --rose-ebony: #64493D;
  --text-dark: #1A1A1A;
  --text-light: #444;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==============================
   BASE STYLES
============================== */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background-color: white;
  color: var(--text-dark);
  line-height: 1.6;
}

/* ==============================
   NAVBAR
============================== */
.navbar {
  background: var(--oxford-blue);
  color: white;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #fff;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 0.6rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--bone);
}

/* ==============================
   LANDING PAGE
============================== */
.landing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 4rem auto;
  padding: 1rem 2rem;
}

.landing-content {
  flex: 1;
  min-width: 300px;
  padding-right: 2rem;
}

.landing h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--oxford-blue);
}

.landing .first {
  color: var(--rose-ebony);
}

.subtitle {
  font-size: 1.3rem;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 500px;
}

.landing-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
}

.landing-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(10, 44, 71, 0.2);
  border: 6px solid var(--bone);
}

/* ==============================
   PAGE HEADERS
============================== */
.page-header {
  background: var(--bone);
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.page-title {
  font-family: 'Playfair Display', serif;
  color: var(--oxford-blue);
  font-size: 2.6rem;
  margin: 0;
}

.page-title.accent {
  color: var(--rose-ebony);
}

/* ==============================
   GENERIC CARD LAYOUT
============================== */
.content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.card {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--oxford-blue);
}

.center {
  text-align: center;
}

.button {
  display: inline-block;
  background: var(--rose-ebony);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.button:hover {
  background: var(--indigo);
}

/* ==============================
   PROFILE PHOTO (ABOUT PAGE)
============================== */
.profile-photo {
  width: 250px;
  float: right;
  margin: 0 0 1rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 5px solid var(--bone);
}

/* ==============================
   PDF VIEWER (Centered + Responsive)
============================== */
.pdf-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 3rem auto;
}

.pdf-frame,
.pdf-viewer {
  width: 80vw;              /* 80% of viewport width */
  max-width: 900px;         /* never exceed this width */
  height: 85vh;             /* fills most of the screen height */
  border: 2px solid var(--bone);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  background: white;
  display: block;
  margin: 0 auto;
}

/* ==============================
   FOOTER
============================== */
footer {
  background: var(--oxford-blue);
  color: #f2f2f2;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}

footer a {
  color: var(--bone);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ==============================
   RESPONSIVE DESIGN
============================== */
@media (max-width: 768px) {
  .landing {
    flex-direction: column-reverse;
    text-align: center;
  }

  .landing-content {
    padding: 0;
  }

  .landing-photo img {
    max-width: 300px;
    margin-bottom: 1.5rem;
  }

  .pdf-frame,
  .pdf-viewer {
    width: 95vw;
    height: 75vh;
  }
}
