/* ==========================================================================
   Variables (Centralized Website Styling)
   ========================================================================== */
:root {
  /* Background Colors */
  --bg-primary: #121212;
  --bg-primary-rgb: 18, 18, 18;
  --bg-secondary: #1e1e1e;

  /* Accent Colors */
  --accent-primary: #E0F11F;
  --accent-primary-rgb: 224, 241, 31;
  --accent-hover: #d7e214;

  /* Text Colors */
  --text-primary: #F0F0F0;
  --text-muted: #808080;

  /* Border Colors */
  --border-color: #282828;
  --border-light: #444;
  --border-focus: #777;

  /* Typography */
  --font-primary: 'DM Sans', sans-serif;
  --font-heading: 'Big Shoulders Display', sans-serif;
}

/* =========================================
   Base / General Styles
   ========================================= */
body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-primary);
  scroll-behavior: smooth;
  padding-top: 80px;
}

html,
body {
  min-height: 100vh;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Edge */
}




/* =========================================
   Header & Navigation
   ========================================= */
/* New Header Layout */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(var(--bg-primary-rgb), 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  padding: 20px 40px;
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(var(--accent-primary-rgb), 0.1);
}

/* Hamburger Icon */
.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 25px;
  justify-content: center;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  background: var(--accent-primary);
  width: 100%;
  border-radius: 3px;
  transition: 0.3s ease;
}

/* Cross Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Mobile Nav Panel – Fully Hidden When Closed */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100vh;
  background-color: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 100px 30px;
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
  transition: left 0.4s ease;
  z-index: 1050;
}


.mobile-nav a {
  font-family: var(--font-heading);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 0.5;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}


.mobile-nav a:hover {
  color: var(--accent-primary);
  text-decoration: underline;

}

.mobile-nav.open {
  left: 0;
}


p {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
}

.tagline {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 1.2px;
  position: relative;
  z-index: 1;
}

.tagline {
  font-size: 0.6rem;
}

.introline {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.introline {
  font-size: .70rem;
}


/* Animated Name */
.name {
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent-primary);
  text-align: center;
  margin-top: 30px;
  line-height: 1.2;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

/* Base size for smallest screens */
.name {
  font-size: 3rem;
}

.subtitle {
  font-size: 1.2rem;
}

.section-header {
  font-size: 1.4rem;
  line-height: 1.6;
}

/* 400px and up */
@media (min-width: 400px) {
  .name {
    font-size: 5rem;
  }

  .section-header {
    font-size: 1.8rem;
    line-height: 1.6;
  }

  p {
    font-size: 1rem;
    line-height: 1;
  }
}

/* 500px and up */
@media (min-width: 500px) {
  .name {
    font-size: 6rem;
  }
}

/* 600px and up */
@media (min-width: 600px) {
  .name {
    font-size: 7rem;
  }

  .tagline {
    font-size: 0.8rem;
  }

  .introline {
    font-size: .85rem;
  }


  .section-header {
    font-size: 2.1rem;
  }

  p {
    font-size: 1.1rem;
  }
}

/* 700px and up */
@media (min-width: 700px) {
  .name {
    font-size: 8rem;
  }
}

/* 800px and up */
@media (min-width: 800px) {
  .name {
    font-size: 10rem;
  }

  .section-header {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.8rem;
  }

  p {
    font-size: 1.2rem;
  }
}

/* 1000px and up */
@media (min-width: 1000px) {
  .name {
    font-size: 12rem;
  }

  .section-header {
    font-size: 2.8rem;
  }

  .introline {
    font-size: 1rem;
  }

  p {
    font-size: 1.3rem;
  }
}

/* 1200px and up */
@media (min-width: 1200px) {
  .name {
    font-size: 14rem;
  }

  .tagline {
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* 1400px and up */
@media (min-width: 1400px) {
  .name {
    font-size: 16rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .introline {
    font-size: 1.25rem;
  }

  .subtitle {
    font-size: 2.5rem;
  }

  .section-header {
    font-size: 3rem;
  }

  p {
    font-size: 1.4rem;
  }
}

/* 2000px and up */
@media (min-width: 2000px) {
  .name {
    font-size: 18rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .introline {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 3rem;
  }

  .section-header {
    font-size: 3.2rem;
  }

  p {
    font-size: 1.5rem;
  }
}



.name .line1 span,
.name .line2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 0.8s ease forwards;
}

.name .line1 span {
  animation-delay: calc(0.05s * var(--i));
}

.name .line2 span {
  animation-delay: calc(0.05s * (var(--i) + 8));
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Sections & Layout
   ========================================= */
section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 40px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Highlight heading + arrow line */
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-primary);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.section-header .line {
  flex-grow: 1;
  height: 4px;
  background: var(--border-color);
  position: relative;
  transition: background 0.3s ease;
}


@keyframes lineShift {
  5% {
    background: linear-gradient(to right, var(--border-color) 99.88%, var(--accent-primary) 100%);
  }

  10% {
    background: linear-gradient(to right, var(--border-color) 99.51%, var(--accent-primary) 100%);
  }

  15% {
    background: linear-gradient(to right, var(--border-color) 98.91%, var(--accent-primary) 100%);
  }

  20% {
    background: linear-gradient(to right, var(--border-color) 98.09%, var(--accent-primary) 100%);
  }

  25% {
    background: linear-gradient(to right, var(--border-color) 97.07%, var(--accent-primary) 100%);
  }

  30% {
    background: linear-gradient(to right, var(--border-color) 95.88%, var(--accent-primary) 100%);
  }

  35% {
    background: linear-gradient(to right, var(--border-color) 94.54%, var(--accent-primary) 100%);
  }

  40% {
    background: linear-gradient(to right, var(--border-color) 93.09%, var(--accent-primary) 100%);
  }

  45% {
    background: linear-gradient(to right, var(--border-color) 91.56%, var(--accent-primary) 100%);
  }

  50% {
    background: linear-gradient(to right, var(--border-color) 90.00%, var(--accent-primary) 100%);
  }

  55% {
    background: linear-gradient(to right, var(--border-color) 88.44%, var(--accent-primary) 100%);
  }

  60% {
    background: linear-gradient(to right, var(--border-color) 86.91%, var(--accent-primary) 100%);
  }

  65% {
    background: linear-gradient(to right, var(--border-color) 85.46%, var(--accent-primary) 100%);
  }

  70% {
    background: linear-gradient(to right, var(--border-color) 84.12%, var(--accent-primary) 100%);
  }

  75% {
    background: linear-gradient(to right, var(--border-color) 82.93%, var(--accent-primary) 100%);
  }

  80% {
    background: linear-gradient(to right, var(--border-color) 81.91%, var(--accent-primary) 100%);
  }

  85% {
    background: linear-gradient(to right, var(--border-color) 81.09%, var(--accent-primary) 100%);
  }

  90% {
    background: linear-gradient(to right, var(--border-color) 80.49%, var(--accent-primary) 100%);
  }

  95% {
    background: linear-gradient(to right, var(--border-color) 80.12%, var(--accent-primary) 100%);
  }

  100% {
    background: linear-gradient(to right, var(--border-color) 80.00%, var(--accent-primary) 100%);
  }

}

.section-header:hover .line {
  animation: lineShift 0.2s forwards;
}



/* Subtitle */
.subtitle {
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* =========================================
   Gallery / Portfolio Items
   ========================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.25);
  transition: all 0.6s ease;
  transform: scale(1);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

}



.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  border: 4px solid var(--accent-primary);
  transition: transform 0.6s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover {
  transform: scale(1.05);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.25);
  transition: filter 0.6s ease;
  border-radius: 4px;
  /* slight internal rounding */
}

.gallery-item:hover img {
  filter: none;
}

/* Overlay Text */
.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  color: #0F0F0F;
  background-color: rgba(var(--accent-primary-rgb), 0.85);
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 1rem;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover .overlay-text {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}




.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  /* Centers horizontally */
  align-items: center;
  /* Optional: aligns vertically in a container */
  padding: 10px 0;
}


.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  border-radius: 0.5rem;
  color: var(--accent-primary);
  transition: all 0.3s ease;
  font-size: 1.75rem;
  text-decoration: none;
}

.social-icons a {
  text-decoration: none;
}


/* Hover Effects */
.social-btn:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.social-icons a:hover {
  text-decoration: none;
}


/* Platform-specific hover backgrounds */
.social-btn.twitter:hover {
  background-color: #000000;
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn.threads:hover {
  background-color: black;
}

.social-btn.bluesky:hover {
  background-color: #0073ff;
}

.social-btn.reddit:hover {
  background-color: #FF4500;
}

.social-btn.linkedin:hover {
  background-color: #0A66C2;
}

.social-btn.github:hover {
  background-color: #333;
}

.social-btn.youtube:hover i {
  color: #FF0000 !important;
  /* YouTube red */
}

.social-btn.youtube:hover {
  background-color: #FFFFFF;
  /* white background */
}

.social-btn.facebook:hover {
  background-color: #1877F2;
}

.social-icons a.bluesky {
  background-color: var(--bg-primary);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  vertical-align: middle;
  padding: 0;
  box-sizing: border-box;
}

.social-icons a.bluesky:hover {
  background-color: #1DA1F2;
  /* use Twitter-like blue or customize */
  transform: scale(1.1);
}

.social-icons a.bluesky:hover .bsky-icon {
  fill: var(--text-primary);
}

.bsky-icon {
  width: 1.75rem;
  height: 1.75rem;
  transition: fill 0.3s ease;
  display: block;
}

.contact-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}

/* Input and textarea field styles */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-secondary);
  /* uniform background */
  border: 1px solid var(--border-light);
  /* subtle border, not in accent color */
  color: #f0f0f0;
  border-radius: 0.45rem;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--border-focus);
  /* light highlight on focus */
}

.contact-form textarea {
  resize: none;
}

/* Submit button */
.submit-btn {
  width: fit-content;
  align-self: center;
  padding: 1rem 2rem;
  background-color: var(--accent-primary);
  border: none;
  border-radius: 0.65rem;
  color: var(--bg-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(var(--accent-primary-rgb), 0.4);
  transition: all 0.3s ease;
  transform: scale(1);
}

.submit-btn:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 6px 14px rgba(var(--accent-primary-rgb), 0.6);
  transform: scale(1.05);
}

.submit-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(var(--accent-primary-rgb), 0.4);
}

/* Highlight all links inside sections */
section a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

section a:hover {
  text-decoration: underline;
}


.image-collection {
  max-width: 80%;
  margin: 5rem auto;
  column-count: 4;
  column-gap: 1rem;
}

@media (max-width: 1024px) {
  .image-collection {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .image-collection {
    column-count: 1;
  }
}

.image-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
  transition: transform 0.3s;
}


.image-card:hover img {
  transform: scale(1.05);
}

.pr-image-collection {
  max-width: 80%;
  margin: 5rem auto;
  column-count: 3;
  column-gap: 1rem;
}

@media (max-width: 1024px) {
  .pr-image-collection {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .pr-image-collection {
    column-count: 1;
  }
}

.pr-image-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.pr-image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.75rem;
  object-fit: cover;
  transition: transform 0.3s;
}


.pr-image-card:hover img {
  transform: scale(1.05);
}

/* Preview overlay */
.preview-layer {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem;
  z-index: 1001;
  animation: fadeIn 0.3s ease forwards;
}

.hidden {
  display: none;
}

.preview-box {
  padding-top: 3rem;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
  animation: scaleUp 0.3s ease;
}

.preview-box img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.75rem;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.preview-img.zoomed {
  transform: scale(1.25);
  cursor: zoom-out;
  transition: transform 0.3s ease;
}


.caption-text {
  margin-top: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-primary);
  font-size: 1rem;
}

/* Close button */
.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  top: 0;
  right: 0;
  float: right;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================================
   Footer Styles
   ========================================= */
.footerText {
  opacity: 0.6;
  /*pointer-events: none;*/
}

.footerPTag {
  font-size: 0.9rem;
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 0.9rem;
  opacity: 1;
}