/* =========================================================
   GLOBAL RESET & BASE TYPOGRAPHY
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #0b132b;
}


/* =========================================================
   BACKGROUND: OCEAN / WATER MOTION
   ========================================================= */
body {
  background: linear-gradient(-45deg,
      #0b132b,
      #1c2541,
      #3a86ff,
      #5bc0be);
  background-size: 400% 400%;
  animation: oceanFlow 10s ease infinite;
}

@keyframes oceanFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.06), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.04), transparent 45%);
  animation: caustics 22s ease-in-out infinite alternate;
}

@keyframes caustics {
  from {
    transform: translate(-2%, -1%) scale(1);
  }

  to {
    transform: translate(2%, 1%) scale(1.05);
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: drift 60s linear infinite;
}

@keyframes drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 -1000px;
  }
}


/* =========================================================
   PAGE WRAPPER (RESTORED — CRITICAL)
   ========================================================= */
.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
}


/* =========================================================
   NAVIGATION BAR
   ========================================================= */
.navbar {
  background: rgba(248, 250, 252, 0.95);
  border-bottom: 1px solid rgba(11, 19, 43, 0.1);
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0.2rem 12rem;
  /* was 2rem */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-home img.home-icon {
  height: 50px;
  /* or whatever you already liked */
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  /* 👈 THIS is huge for “organic” feel */
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: #1c2541;
  transition: color 0.2s ease;
}

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


/* HERO IMAGE GROUP */
.hero-group {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Main hero (unchanged, but scoped nicely) */
.hero-image {
  width: 100%;
  max-width: 420px;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.25);
}

/* Side images */
.hero-side {
  width: 80px;
  /* small + decorative */
  opacity: 0.85;
}

.hero-side-left {
  transform: rotate(-4deg);
}

.hero-side-right {
  transform: rotate(4deg);
}


/* =========================================================
   GENERIC CONTENT SECTIONS
   ========================================================= */
.section {
  padding: 1rem 2rem;
  margin: 3rem auto;
  background: rgba(248, 250, 252, 0.94);
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.15);
}

.section+.section {
  margin-top: 4rem;
}

.section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-align: center;
  color: #0b132b;
}



.section-alt {
  background: rgba(248, 250, 252, 0.9);
}


/* =========================================================
   PROJECT GRIDS
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 2rem;
  justify-content: center;
}



/* =========================================================
   PROJECT CARDS
   ========================================================= */

/* This centers the text inside projects - the project bio */
.section p {
  text-align: center;
}

.project-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(11, 19, 43, 0.1);
  transition: transform 0.25s ease;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem;
}

.project-card:hover {
  transform: translateY(-6px);
}

/* =========================================================
   NARROW SECTION (PROJECT CARD CONTAINERS)
   ========================================================= */
.section-narrow {
  max-width: 900px;
  height: 500px;
}

.section-bio {
  max-width: 900px;
  height: 320px;
}

.section-personal {
  max-width: 900px;
  height: 800px;
}

.section-personal2 {
  max-width: 900px;
  height: 2650px;
}

/* =========================================================
   PROJECT VISUALS
   ========================================================= */
.project-visual {
  text-align: center;
}

.project-image {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  box-shadow: 0 14px 28px rgba(11, 19, 43, 0.18);
}

.project-visual h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #0b132b;
}


/* =========================================================
   PROJECT DETAIL PAGES
   ========================================================= */
.project-detail {
  max-width: 900px;
  margin: 0 auto;
}

.project-detail h1 {
  font-size: 2.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.project-tagline {
  text-align: center;
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 2.5rem;
}



/* =========================================================
   PROJECT big photo 
   ========================================================= */
.project-hero {
  width: 100%;
  max-width: 400px;
  /* 👈 control size here */
  margin: 0 auto 3rem;
  display: block;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.2);
}

/*Container*/
.project-hero-container {
  max-width: 400px;
  height: 400px;
  margin: 0 auto 3rem;
  padding: 1.25rem;
  background: rgba(248, 250, 252, 0.95);
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.18);
}

.bassmaster-hero-container {
  max-width: 400px;
  height: 300px;
  margin: 0 auto 3rem;
  padding: 1.25rem;
  background: rgba(248, 250, 252, 0.95);
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.18);
}

.parkingpest-hero-container {
  max-width: 400px;
  height: 300px;
  margin: 0 auto 3rem;
  padding: 1.25rem;
  background: rgba(248, 250, 252, 0.95);
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(11, 19, 43, 0.18);
}



/* ============================================
   PROJECT DETAIL — HORIZONTAL IMAGE GALLERY
   ============================================ */

.project-detail .gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 3rem auto;
}

.project-detail .gallery-grid img {
  height: 170px;
  object-fit: contain;
  background: white;
  padding: 0.75rem;
}

/* =========================================================
   BIO TEXT
   ========================================================= */
.bio {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.bio-text {
  font-size: 1.5rem;
  color: #1c2541;
  margin-bottom: 1rem;
  margin-top: 1rem;
}


/* =========================================================
   IMAGE / VIDEO GALLERY
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(11, 19, 43, 0.15);
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.02);
}


/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: 4rem;
  background: rgba(248, 250, 252, 0.95);
  color: #e5e7eb;
  text-align: center;
  padding: 1.5rem;
}

.footer p {
  color: #8b95a1;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* =========================================================
   BIO PAGE
   ========================================================= */

   .section-bio-page {
    max-width: 900px;
    height: 2350px;
    margin: 0 auto 3rem;
    padding: 1.25rem;
    background: rgba(248, 250, 252, 0.95);
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px rgba(11, 19, 43, 0.18);
   }

   .bio-image-row {
  display: grid;
  gap: 1.5rem;
  max-width: 900px;      /* 👈 REQUIRED */
  margin: 2.5rem auto;  /* 👈 centers it */
}

.bio-image-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.bio-image-row-2 img {
  height: 320px;          /* taller for portrait photos */
  object-fit: cover;     /* keeps them strong + editorial */
}

.bio-image-row img {
  width: 100%;
  height: 220px;          /* same height for all */
  object-fit: cover;     /* crops without distortion */
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(11, 19, 43, 0.15);
}

.bio-image-row-single {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto;
}

.bio-image-row-single img {
  width: 100%;
  max-width: 420px;     /* controls size */
  height: 600px;        /* portrait-friendly */
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(11, 19, 43, 0.15);
}

/* =========================================================
  Hobby Page
   ========================================================= */

.hobby-section {
  margin-top: 3.5rem;
}

.hobby-section h4 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.hobby-image-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 2rem auto 0;
}

.hobby-image-row img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 24px rgba(11, 19, 43, 0.15);
}
