/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: #555d50;
  color: #222;
}

h1, h5 {
  font-family: 'Playfair Display', serif;
}

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

.navbar {
  background-color: #fff;
  padding: 1.2rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: center; /* Center nav links */
  align-items: center;
  gap: 2rem;
  height: 80px;
}

.container {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.logo {
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

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


/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  padding: 5rem 2rem 2rem;
  background: #fff8f0; /* Placeholder background */
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  padding-top: 80px; /* matches navbar height to avoid overlap */
}

.hero-content {
  max-width: 700px;
}


.subheading {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: #8c6e63;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}


.highlight {
  color: #9a6b53;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #9a6b53;
  color: #9a6b53;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #9a6b53;
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Blog Page */
.blog {
  padding: 6rem 2rem 4rem;
  background-color: #f8f5f2;
  min-height: 100vh;
}

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

.search-box {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.article-card {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
  align-items: flex-start;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-card img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.article-content {
  flex: 1;
}

.article-card h2 {
  margin: 0 0 4px 0;
  font-size: 1.25rem;
  color: #756d64;
}

.article-card h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.article-card h2 a:hover {
  color: #5a5048;
  text-decoration: underline;
}


.article-card .meta {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.page-link {
  padding: 0.5rem 1rem;
  border: 1px solid #9a6b53;
  border-radius: 6px;
  color: #9a6b53;
  transition: background-color 0.3s;
}

.page-link:hover {
  background-color: #9a6b53;
  color: #fff;
}

.article-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.pagination .page-link {
  padding: 10px 16px;
  background-color: #f9f9f9;
  color: #444;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 600;
  border: 1px solid #ddd;
  min-width: 36px;
  text-align: center;
  display: inline-block;
}

.pagination .page-link:hover:not([style*="pointer-events: none"]) {
  background-color: #e2e2e2;
  color: #222;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pagination .page-link[style*="font-weight: bold"] {
  background-color: #333;
  color: white;
  cursor: default;
  box-shadow: none;
  border-color: #222;
}

.pagination .page-link[style*="pointer-events: none"] {
  opacity: 0.4;
  cursor: default;
  box-shadow: none;
}

/* About Page */
.about {
  padding: 6rem 2rem 4rem;
  background-color: #f8f5f2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1000px;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-text {
  max-width: 600px;
}

.about-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #444;
}

/* Skills & Interests Section */
.skills {
  background-color: #fff;
  padding: 4rem 2rem;
  border-top: 1px solid #ddd;
}

.skills-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.skills-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  color: #333;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.skill-card {
  padding: 1rem 1.25rem;
  background-color: #f8f5f2;
  border: 1px solid #e4ddd7;
  border-radius: 8px;
  font-weight: 500;
  color: #5a5048;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Career Timeline Section */
.timeline {
  background-color: #f8f5f2;
  padding: 4rem 2rem;
  position: relative;
}

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

.timeline-container h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  color: #333;
  position: relative;
}

.timeline-items {
  position: relative;
  margin-left: 1rem;
}

.timeline-items::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #cbb69d;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background-color: #9a6b53;
  border-radius: 50%;
  position: absolute;
  left: 12px;
  top: 6px;
}

.timeline-content {
  background-color: #fff;
  padding: 1rem 1.25rem;
  margin-left: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-left: 4px solid #9a6b53;
  width: 100%;
}

.timeline-content h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #5a5048;
  font-family: 'Playfair Display', serif;
}

.timeline-date {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

/* Media Page */
.media-gallery {
  padding: 6rem 2rem 4rem;
  background-color: #fff8f0;
  min-height: 100vh;
}

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

.media-gallery h2 {
  font-size: 2rem;
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin-bottom: 2rem;
  color: #333;
}

.media-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.media-filters button {
  padding: 0.5rem 1rem;
  border: 1px solid #9a6b53;
  background-color: #fff;
  color: #9a6b53;
  cursor: pointer;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.media-filters button:hover,
.media-filters .active {
  background-color: #9a6b53;
  color: #fff;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.media-item {
  background: #f8f5f2;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.media-item:hover {
  transform: translateY(-5px);
}

.media-item iframe {
  width: 100%;
  height: 160px;
  border: none;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.media-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.media-item p {
  font-size: 1rem;
  color: #5a5048;
  margin: 0;
}

/* Modal Styles */
.media-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 2rem;
}

.media-modal.hidden {
  display: none;
}

.media-modal-content {
  background-color: #fff;
  max-width: 800px;
  width: 100%;
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.media-modal-content iframe {
  width: 100%;
  height: 70vh;
  border: none;
}

.media-modal-content h3 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

.media-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #444;
  cursor: pointer;
}

#media-viewer img,
#media-viewer iframe {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  border: none;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-controls button {
  background: none;
  border: none;
  font-size: 2rem;
  color: #9a6b53;
  cursor: pointer;
  transition: color 0.2s ease;
}

.carousel-controls button:hover {
  color: #5a5048;
}

@media (max-width: 768px) {
  .carousel-controls {
    flex-direction: column;
  }

  .carousel-controls button {
    font-size: 1.5rem;
  }
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.media-item {
  cursor: pointer;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.media-item:hover {
  transform: scale(1.02);
}

.media-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.media-item p {
  margin: 0;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #3b3b3b;
  background-color: #f8f8f8;
}

/* Modal video and PDF sizing */
.media-modal-content iframe,
.media-modal-content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
}

/* Title spacing inside modal */
#media-title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}
/* Aspect ratio container for iframe videos */
.aspect-ratio-16-9 {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 9/16 * 100% = 56.25% */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.aspect-ratio-16-9 iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain;
}
.quick-overview {
  background: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
}

.overview-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.overview-item {
  background: white;
  padding: 1.5rem 1.25rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-width: 200px;
  transition: transform 0.2s ease;
}

.overview-item:hover {
  transform: translateY(-5px);
}

.overview-item h3 {
  font-size: 2rem;
  color: #222;
  margin-bottom: 0.25rem;
}

.overview-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #222;
  z-index: 101; /* above nav */
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #222;
    z-index: 101;
    margin-left: auto; /* pushes to the right inside nav */
  }

  nav {
    display: flex;
    align-items: center;
    position: right; /* so the menu anchors here */
    gap: 1rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 100%; /* directly under nav */
    right: 0;
    padding: 1rem;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    border-radius: 8px;
    z-index: 100;
    min-width: 160px;
  }

  nav.nav-open .nav-links {
    display: flex;
  }

  .nav-links li a {
    font-weight: 500;
    text-transform: none;
    white-space: nowrap;
  }
}


