@charset "UTF-8";

/* ==========================
   GLOBAL STYLES
   ========================== */
body {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  color: #000000;
  background-color: #FFFFFF;
}

.container {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 32px;
}

strong {
  font-weight: 800 !important;
}

.underline-title {
  display: inline-block;
  border-bottom: 2px solid #ffcc33;
  padding-bottom: 0.25rem;
}

a {
  color: black;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:active,
a:focus {
  color: #666666;
}

.job-dates {
  font-size: 16px;
}

.resume-experience li {
  line-height: 1.5;
}

.resume-content {
  max-width: 800px;
}

.education-entry h3 {
  font-size: 20px;
}

.education-entry p {
  font-size: 16px;
  color: #333;
}

.education-dates {
  font-size: 16px;
}

/* ==========================
   HOMEPAGE HEADER / PROFILE
   ========================== */
.header {
  padding: 3rem;
  background-color: #ffffff;
}

.profile {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.profile-left {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  width: 360px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.profile-img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 50%;
}


.profile-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.profile-info p {
  margin: 0.25rem 0;
  font-size: 16px;
}

.profile-info a {
  color: #000;
  font-weight: 600;
}

.profile-right {
  flex: 1;
  padding: 1rem;
  text-align: left;
}

.profile-right h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 1rem;
}

.profile-right p {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

/* Buttons under intro */
.button-container {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
  flex-wrap: wrap;
}

/* Button base */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

/* Portfolio button */
.portfolio-button {
  background-color: #000;
  color: #fff;
}

.portfolio-button:hover {
  background-color: #ffcc33;
  color: #000;
}

/* Resume button */
.resume-button {
  background-color: #000;
  color: #fff;
}

.resume-button:hover {
  background-color: #333;
}

/* Mobile stacking for header */
@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }

  .profile-right {
    padding: 0;
    text-align: center;
  }

  .button-container .button {
    margin-bottom: 1rem;
  }
}

/* ==========================
   SECTION DEFAULTS
   ========================== */
section {
  margin: 1rem 0;
  padding: 0 3rem;
}

section h2 {
  font-size: 32px;
  color: #000;
  text-align: left;
}

section p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* About Section */
.about a {
  color: #ffcc33;
}

.about a:hover {
  color: #ff6600;
}

/* Contact Section */
.contact {
  text-align: left;
}

.contact a {
  color: #000;
  font-weight: bold;
}

.contact a:hover {
  color: #ffcc33;
}

/* ==========================
   NAVBAR
   ========================== */
.navbar {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
  color: #FFF;
}

.nav-left {
  font-weight: bold;
}

.nav-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-right {
  display: flex;
}

.nav-right a {
  margin-left: 1rem;
  color: #FFF;
}

.nav-right a:hover {
  color: #ffcc33;
}

/* Hamburger Styles */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #ffffff;
}

.hamburger:hover {
  color: #ffcc33;
}

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav-right a {
    color: #000;
    padding: 0.75rem 1rem;
  }

  .nav-right a:hover {
    color: #ffcc33;
  }

  .nav-right.show {
    display: flex;
  }
}

/* ==========================
   PROJECT DETAIL PAGES
   ========================== */
.project-detail {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: left;
}

.project-description {
  margin-bottom: 2rem;
}

.yellow-divider {
  height: 2px;
  background-color: #ffcc33;
  margin: 20px 0;
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.gallery-video {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wide-image {
  grid-column: 1 / -1;
  height: auto;
}

/* Video Block */
.video-block {
  margin-bottom: 2rem;
}

/* Back to Portfolio */
.back-to-portfolio {
  margin-top: 2rem;
  text-align: center;
}

.back-button {
  display: inline-block;
  background-color: #666666;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
}

.back-button:hover {
  background-color: #333333;
}

/* ==========================
   SKILLS / FOOTER
   ========================== */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #f2f2f2;
}

/* ==========================
   HOMEPAGE PROJECT GRID
   ========================== */
#project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  width: 100%;
  margin: 2rem auto;
}

.project-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  padding: 0.75rem;
  border-radius: 8px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f5f5f5;
}

.project-card h4 {
  font-family: 'Raleway', sans-serif;
  color: #000;
}

.project-card p {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #666;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
  cursor: pointer;
}

/* ==========================
   FILTER BUTTONS (HOMEPAGE)
   ========================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 2rem;
  padding: 0;
  justify-content: flex-start;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 18px;
  background-color: #eeeeee;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  background-color: #ffcc33;
  color: #000;
}

.filter-btn.active {
  background-color: #000;
  color: #fff;
}

/* ==========================
   CAROUSEL (GO STUDIO)
   ========================== */
.carousel-wrapper {
  max-width: 500px;
  margin: 2rem 0;
  text-align: left;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-track img {
  user-select: none;
  pointer-events: none; /* so clicks don’t trigger modal */
  max-width: 100%;
  height: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  background: rgba(255,255,255,0.8);
  border-radius: 4px;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: .5rem 1rem;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* ==========================
   UNIVERSAL IMAGE MODAL
   ========================== */
.img-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.clickable {
  cursor: zoom-in;
}

/* ==========================
   STORYBOARD COMPARISON
   ========================== */
.storyboard-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.storyboard-col {
  flex: 1 1 0;
  max-width: 600px;
}

.storyboard-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #000;
}

.storyboard-col img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* Mobile stacking storyboard */
@media (max-width: 768px) {
  .storyboard-row {
    flex-direction: column;
  }

  .storyboard-col {
    max-width: 100%;
  }
}

/* ==========================
   EMAIL INFOGRAPHIC (GO STUDIO)
   ========================== */
.email-graphic-section {
  text-align: left;
  margin: 2rem 0;
}

.email-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}
