/* ============================
   GLOBAL VARIABLES & BASE
   ============================ */
:root {
  --bg: #FAF8F5;        /* warm off-white */
  --text: #222222;      /* charcoal */
  --accent: #6B7280;    /* muted gray */
  --link: #1E2A38;      /* slate navy */
  --border: #E5E7EB;    /* soft border */
  --primary: #1E2A38;   /* main button/nav accent */
  --secondary: #3B82F6; /* hover accent */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}


/* ============================
   NAVBAR
   ============================ */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.navbar-brand {
  text-decoration: none;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: bold;
}

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

.nav-item {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav-item:hover {
  color: var(--secondary);
}


/* ============================
   PAGE CONTAINER
   ============================ */
.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}


/* ============================
   HERO SECTION
   ============================ */
.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.hero img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}

.hero-subtitle {
  margin: 0 0 8px;
  color: var(--accent);
}

.hero p {
  margin: 0 0 16px;
  color: var(--accent);
}


/* ============================
   BUTTONS
   ============================ */
.btn-primary,
.btn-outline {
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}


/* ============================
   SECTIONS
   ============================ */
.section {
  margin-top: 48px;
}

.section h2 {
  margin-bottom: 12px;
}

.section-item {
  margin-bottom: 16px;
}

.section-item a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.section-item a:hover {
  text-decoration: underline;
}


/* ============================
   FOOTER
   ============================ */
footer {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.9rem;
}


/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 600px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero img {
    margin: 0 auto;
  }

  .nav-links {
    gap: 12px;
  }
}
/* ============================
   PORTFOLIO PAGE
   ============================ */

/* Portfolio hero */
.portfolio-hero {
  max-width: 960px;
  margin: 40px auto 20px;
  padding: 0 16px;
  text-align: left;
}

.portfolio-hero h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.portfolio-hero img {
  width: 90px;
  height: 90px;
  border-radius: 999px;
  object-fit: cover;
  margin-left: 16px;
}

.tagline {
  color: var(--accent);
  margin-top: 8px;
  font-size: 1rem;
}

/* Section cards */
.section-card {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 16px;
}

.section-card h2 {
  margin-bottom: 16px;
  font-size: 1.4rem;
}

/* Individual project cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.card p {
  margin-bottom: 12px;
  color: var(--accent);
}

.project-link {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.project-link:hover {
  text-decoration: underline;
}

/* Photography grid */
.gallery-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

/* Footer */
.footer {
  max-width: 960px;
  margin: 40px auto;
  padding: 16px;
  text-align: center;
  color: var(--accent);
  border-top: 1px solid var(--border);
}
/* ============================
   PORTFOLIO PHOTO GRID
   ============================ */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.photo-grid img:hover {
  transform: scale(1.02);
}
/* ============================
   LIGHTBOX ARROWS
   ============================ */

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  padding: 12px;
  transition: opacity 0.2s ease;
}

#lightbox-prev {
  left: 40px;
}

#lightbox-next {
  right: 40px;
}

.lightbox-arrow:hover {
  opacity: 0.7;
}
/* ============================
   ABOUT PAGE
   ============================ */

.about-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

.about-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.about-hero img {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  object-fit: cover;
}

.about-hero h1 {
  margin: 0;
  font-size: 2rem;
}

.about-tagline {
  margin-top: 8px;
  color: var(--accent);
  font-size: 1rem;
}

.about-body p {
  line-height: 1.7;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-size: 1.05rem;
}
/* ============================
   CONTACT PAGE
   ============================ */

.contact-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 16px;
}

.contact-header h1 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-intro {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-box {
  background: #ffffff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.contact-box p {
  margin-bottom: 12px;
  color: var(--text);
}

.contact-box a {
  color: var(--link);
  text-decoration: none;
  font-weight: 500;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-footer {
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1.7;
}
.visual-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.visual-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.visual-card h3 {
  margin: 0 0 6px;
}

.visual-card p {
  margin: 0 0 10px;
  color: var(--accent);
}
.now-section {
  background: #fff;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
}

.now-section h2 {
  margin-bottom: 8px;
  color: var(--primary);
}

.now-section ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

/* ============================
   PORTFOLIO CARDS — BLUE PALETTE
   ============================ */

.section-card h2 {
  color: var(--primary); /* slate navy */
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 20px;
}

/* Base card */
.card,
.visual-card,
.audio-card,
.app-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.card:hover,
.visual-card:hover,
.audio-card:hover,
.app-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.12); /* subtle navy shadow */
}

/* Titles */
.card h3,
.visual-card h3,
.audio-card h3,
.app-card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 8px;
}

/* Descriptions */
.card p,
.visual-card p,
.audio-card p,
.app-card p {
  color: var(--accent);
  margin-bottom: 12px;
}

/* Links */
.project-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.project-link:hover {
  color: var(--secondary); /* cool blue hover */
  text-decoration: underline;
}

/* Visual card layout */
.visual-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
}

.visual-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--primary); /* blue frame */
}

/* Audio card */
.audio-card audio {
  width: 100%;
  margin: 12px 0;
  border-radius: 6px;
}

/* App preview card */
.app-card img {
  width: 100%;
  border-radius: 6px;
  border: 2px solid var(--primary);
  margin-bottom: 12px;
}

/* ============================
   NOW WATCHING / NOW READING SIDEBAR
   ============================ */

.now-sidebar {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary); /* slate navy accent */
  padding: 20px;
  border-radius: 8px;
  max-width: 300px;
  margin-top: 40px;
}

.now-sidebar h2 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.1rem;
}

.now-sidebar ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.now-sidebar li {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.95rem;
}
/* ============================
   GLOBAL LINK STYLING — BLUE
   ============================ */

a {
  color: var(--secondary); /* cool blue */
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary); /* slate navy */
  text-decoration: underline;
}

.project-link {
  color: var(--secondary); /* blue */
  font-weight: 500;
}

.project-link:hover {
  color: var(--primary);
  text-decoration: underline;
}
/* ============================
   GLOBAL LINK STYLING — BLUE
   ============================ */

a {
  color: var(--secondary); /* cool blue */
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary); /* slate navy */
  text-decoration: underline;
}

/* ============================
   VIDEO CARDS — BLUE PALETTE
   ============================ */

.video-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.12);
}

.video-card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 12px;
}

.video-card p {
  color: var(--accent);
  margin-bottom: 16px;
}

/* Responsive video embed */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  margin-bottom: 16px;
}

.video-embed video,
.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Transcript toggle */
.transcript summary {
  cursor: pointer;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 8px;
}

.transcript summary:hover {
  color: var(--primary);
}

.transcript p {
  margin-bottom: 12px;
  color: var(--accent);
  line-height: 1.6;
}

/* BLUE ACCENT VIDEO CARD BORDER */
.video-card {
  background: #fff;
  border: 2px solid var(--primary); /* blue border */
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  border-color: var(--secondary); /* lighter blue on hover */
  box-shadow: 0 4px 14px rgba(30, 42, 56, 0.18);
}

.video-card h3 {
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 12px;
}

/* FEATURED MULTIMEDIA HEADER */
.featured-multimedia-header {
  margin-bottom: 24px;
}

.featured-multimedia-header h2 {
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.header-divider {
  height: 3px;
  width: 100%;
  background: var(--primary); /* navy divider */
  border-radius: 2px;
}

.cover-banner {
  position: relative;
  height: 60vh;
  background: url('/images/cover-banner.jpg') center/cover no-repeat;
  border-radius: 12px;
  margin-bottom: 40px;
}

.cover-overlay {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background: rgba(30, 42, 56, 0.7);
  padding: 20px 28px;
  border-radius: 8px;
  color: white;
}

.cover-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.cover-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 12px;
  margin-bottom: 40px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.2rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: white;
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent);
  color: white;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
}

.warm-hero {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  text-align: center;
}

.warm-hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.warm-tagline {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 32px;
}

.section-divider {
  height: 2px;
  width: 100%;
  background: var(--primary);
  opacity: 0.2;
  margin: 40px 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.header-divider {
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* IMAGE BANNER */
.image-banner {
  height: 45vh;
  background: url('/images/home-banner.jpg') center/cover no-repeat;
  border-radius: 12px;
  margin-bottom: 40px;
}

a {
  color: var(--secondary); /* your blue */
  text-decoration: none;
}

a:hover {
  color: var(--primary); /* your darker blue */
  text-decoration: underline;
}

/* HOMEPAGE TEXT LINKS — MATCH PORTFOLIO BLUE */
.page a:not(.btn-primary):not(.btn-outline):not(.project-link) {
  color: var(--secondary);
  text-decoration: none;
}

.page a:not(.btn-primary):not(.btn-outline):not(.project-link):hover {
  color: var(--primary);
  text-decoration: underline;
}

/* =========================
   INTRO ANIMATION OVERLAY
   ========================= */

#intro-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #0a1a2f, #02060a);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  animation: fadeOut 1.2s ease forwards;
  animation-delay: 3.8s; /* stays long enough */
}

/* Wrapper centers everything */
.intro-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Name appears instantly + glow */
.intro-name {
  font-size: 3.4rem;
  color: #ffffff;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: nameFade 1.2s ease forwards;
  animation-delay: 0.4s;
}

@keyframes nameFade {
  to {
    opacity: 1;
    text-shadow: 0 0 22px rgba(185, 217, 255, 0.8);
  }
}

/* Horizontal line ABOVE name */
.intro-line-horizontal {
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #c9a87c, #b9d9ff);
  margin-bottom: 18px;
  animation: lineHorizontal 1.2s ease forwards;
  animation-delay: 1.6s;
}

@keyframes lineHorizontal {
  to { width: 420px; }
}

/* Vertical line BELOW name */
.intro-line-vertical {
  width: 3px;
  height: 0;
  background: linear-gradient(to bottom, #c9a87c, #b9d9ff);
  margin-top: 18px;
  animation: lineVertical 1.2s ease forwards;
  animation-delay: 2.4s;
}

@keyframes lineVertical {
  to { height: 140px; }
}

/* Fade out overlay */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* =========================
   MOBILE RESPONSIVE DESIGN
   ========================= */

@media (max-width: 768px) {

  /* Page padding */
  .page {
    padding: 20px 16px;
  }

  /* Hero section */
  .warm-hero h1,
  .hero h1 {
    font-size: 2rem;
    text-align: center;
  }

  .warm-tagline,
  .hero p {
    font-size: 1rem;
    text-align: center;
  }

  /* Buttons stack vertically */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  /* Section headers */
  .section h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  /* Multimedia grid collapses */
  .multimedia-grid,
  .portfolio-grid,
  .photo-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Cards get full width */
  .card,
  .video-card,
  .portfolio-item {
    width: 100%;
    margin: 0 auto;
  }

  /* Video embeds scale properly */
  .video-embed video {
    width: 100%;
    height: auto;
  }

  /* Footer centers */
  footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
