/*
 * =============================================
 * PORTFOLIO FOR CREATIVES – MAIN STYLESHEET
 * =============================================
 * Author: James Neufeld
 * Version: 2.1 | Last Updated: April 13, 2025
 * License: GNU General Public License v3.0 (GPL-3.0)
 * https://www.gnu.org/licenses/gpl-3.0.en.html
 * 
 * CONTENTS:                    DESIGN SYSTEM:
 * 1. Base Styles               - Comprehensive color & font theming 🎨
 * 2. Typography                - Mobile-first responsive architecture 📱
 * 3. Layout Components
 * 4. Page Templates
 * 5. Responsive Breakpoints
 * =============================================
 */

/* 
███████  ██████  ███    ██ ████████ ███████ 
██      ██    ██ ████   ██    ██    ██      
█████   ██    ██ ██ ██  ██    ██    ███████ 
██      ██    ██ ██  ██ ██    ██         ██ 
██       ██████  ██   ████    ██    ███████ 
*/

/* ------------------------------- */
/* 🌐 Google Fonts - Customize Your Site's Typography */
/* You can add your own fonts here, but be mindful of performance */
/* ------------------------------- */

/* TODO: Replace these Google Fonts with the ones you want to use on your site. */
/* Remember, the more fonts you load, the longer it can take for your page to load. */

/* DM Sans Font (for headers or special text) */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

/* DM Mono (clean and modern for body text) */
@import url("https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

/* Inter Font (great for readability and minimal design) */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/*

/* 
██ ███    ███ ██████   ██████  ██████  ████████      ██████ ███████ ███████ 
██ ████  ████ ██   ██ ██    ██ ██   ██    ██        ██      ██      ██      
██ ██ ████ ██ ██████  ██    ██ ██████     ██        ██      ███████ ███████ 
██ ██  ██  ██ ██      ██    ██ ██   ██    ██        ██           ██      ██ 
██ ██      ██ ██       ██████  ██   ██    ██         ██████ ███████ ███████ 
*/

/* ------------------------------- */
/* 🔗 Imported Stylesheets */
/* These are external CSS files that add extra effects to your site. */
/* ------------------------------- */

/* TODO: Delete any stylesheets you don't plan to use on your site. */

/* File for animation effects that make elements move (e.g., flying) */
@import url("make-something-fly.css");

/* File for animation effects that make elements blink */
@import url("make-something-blink.css");

/* File for adding a smooth animated gradient background */
@import url("animated-gradient.css");

/* File for adding a glitch animation to your 404 error page */
@import url("error.css");

/* File for adding text stroke (outline) effect */
@import url("text-stroke.css");

/* File for adding stroke shadow effect around text */
@import url("stroke-shadow.css");

/* File with extra experimental styles (e.g., fun animations or effects) */
@import url("experiments.css");

/* File for adding a scroll-to-top button or effect */
@import url("scroll-to-top.css");

/* 
██    ██  █████  ██████  ██  █████  ██████  ██      ███████ ███████ 
██    ██ ██   ██ ██   ██ ██ ██   ██ ██   ██ ██      ██      ██      
██    ██ ███████ ██████  ██ ███████ ██████  ██      █████   ███████ 
 ██  ██  ██   ██ ██   ██ ██ ██   ██ ██   ██ ██      ██           ██ 
  ████   ██   ██ ██   ██ ██ ██   ██ ██████  ███████ ███████ ███████ 
*/

/* ------------------------------- */
/* 🎨 Theme Design Variables */
/* Use CSS variables to quickly change your site's color scheme and typography */
/* ------------------------------- */

/* These design variables store important elements like colours and fonts.
   You can easily change the look and feel of your site by adjusting these values. */

/* TODO: Customize these variables to fit your design. You can add new ones or delete ones you don’t need. */

:root {
  /* Typography */
  --font-family-body: "Dm Sans", sans-serif;
  --font-family-heading: "Dm Sans", sans-serif;
  --font-family-project-title: "Dm Sans", sans-serif;
  --font-family-project-accent: "DM Mono", sans-serif;
  /* Core Colours */
  --color-text-primary: #262626;
  --color-text-secondary: #262626;
  --color-accent-primary: #262626;
  --color-accent-secondary: #4bffba;
  --color-overlay-primary: rgb(38, 38, 38, 0.85);
  --color-highlight: lemonchiffon;
  --color-fallback: #eaebe9; /* Fallback color for glitch effect on 404 page */
  /* Backgrounds */
  --color-bg: #f5f6f5;
  --color-bg-about: #eaebe9;
  --color-bg-footer: #eaebe9;
  --color-bg-holding-page: #eaebe9;
  /* Headings */
  --h1-color: #262626;
  --h2-color: #262626;
  --h3-color: #262626;
  --h4-color: #262626;
  --h5-color: #262626;
  --h6-color: #262626;
  /* Special Text Colours */
  --color-text-holding-title: #f7faf4;
  --color-text-project-category: #f7faf4;
  --color-text-project-description: #262626;
  --color-text-project-sidebar: #222;
  --color-text-project-title: #262626;
  --color-text-work-grid-title: #f7faf4;
  /* Link States */
  --color-link: #262626;
  --color-link-hover: #4bffba;
  --color-link-visited: #262626;
  /* Navigation */
  --color-nav-link: #262626;
  --color-nav-link-hover: #4bffba;
  --color-nav-arrow: #262626;
  --color-nav-arrow-hover: #4bffba;
  --color-nav-arrow-stroke: #262626;
  --color-nav-arrow-stroke-hover: #4bffba;
  /* Components */
  --color-bg-full-width: #f7faf4;
  --color-bg-project-description: #f7faf4;
  --color-bg-sidebar-project: transparent;
  --color-bg-sidebar-work: lemonchiffon;
  --color-gradient-hero: linear-gradient(90deg, #ff00ff, #00ffff);
  --color-gradient-project-details: linear-gradient(-225deg, #ff057c 0%, #8d0b93 50%, #321575 100%);
  /* Special Elements */
  --color-icon-heart: darkred;
  --color-text-holding-footer: #fbfdf7;
  --color-bg-selection: #ff8bd0;
  --color-shadow-stroke: rgba(0, 0, 0, 0.4);
  /* Assets */
  --image-noise-texture: url(/assets/temp/noise.svg);
  /* Animation Durations */
  --duration-fast: 0.15s; /* Quick interactions (hover states) */
  --duration-normal: 0.3s; /* Standard transitions (button clicks) */
  --duration-slow: 0.75s; /* Prominent animations (page transitions) */
  /* Rounded Corners */
  --radius-sm: 0.4rem; /* Small interactive elements */
  --radius-md: 1rem; /* Cards/containers */
  --radius-lg: 2rem; /* Large decorative elements */
  --radius-full: 50%; /* Circles/pills */
  /* Padding Scale */
  --padding-tiny: 0.5rem; /* Micro-spacing: icon padding, toggle switches */
  --padding-small: 1rem; /* Compact spacing: mobile buttons, form tags */
  --padding-medium: 2rem; /* Standard spacing: desktop buttons, card content */
  --padding-large: 3rem; /* Section spacing: content blocks, banner padding */
  --padding-jumbo: 4rem; /* Hero elements: full-width containers, page headers */
  --padding-ultra: 8rem; /* Full-bleed spacing: edge-to-edge layouts, super-sized headers */
  /* Flex Gap Scale */
  --gap-tiny: 0.5rem; /* Micro-gap: icon spacing, small button groups */
  --gap-small: 1rem; /* Compact gap: card elements, form fields */
  --gap-medium: 2rem; /* Standard gap: desktop card grids, section items */
  --gap-large: 3rem; /* Section gap: major content blocks, banner spacing */
  --gap-jumbo: 4rem; /* Hero gap: full-width containers, large card spacing */
  --gap-ultra: 8rem; /* Edge-to-edge spacing: mega sections, spacious layouts */
}

/* ======================
   #BASE STYLES
   ====================== */

/* 
███    ███  ██████  ██████  ██ ██      ███████     ███████ ██ ██████  ███████ ████████ 
████  ████ ██    ██ ██   ██ ██ ██      ██          ██      ██ ██   ██ ██         ██    
██ ████ ██ ██    ██ ██████  ██ ██      █████       █████   ██ ██████  ███████    ██    
██  ██  ██ ██    ██ ██   ██ ██ ██      ██          ██      ██ ██   ██      ██    ██    
██      ██  ██████  ██████  ██ ███████ ███████     ██      ██ ██   ██ ███████    ██    
*/

/* ------------------------------- */
/* 📱 Responsive Design for Small Devices (Portrait Phones) */
/* No media query needed for small devices like phones under 576px. This is the default in Bootstrap. */
/* ------------------------------- */

/* Add border-box sizing to make layout easier and enable smooth scrolling behavior */
html,
body,
a,
button,
input,
textarea,
select,
label {
  box-sizing: border-box; /* Makes sure padding and borders don't add extra width to elements */
  scroll-behavior: smooth; /* Adds smooth scrolling between sections */
  cursor: none !important;

  /* TODO: Replace the URL above to add a custom cursor. 
     If you want to use the default browser cursor, just delete this line. */
}
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #262626;
  pointer-events: none;
  /* Center the element on its top/left anchor point */
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.3s;
}

.custom-cursor.expand {
  width: 30px;
  height: 15px;
  background-color: #4bffba;
  backdrop-filter: blur(2px);
}

.custom-cursor.expand .cursor-arrow {
  opacity: 1;
  transform: scale(1);
}

.cursor-arrow {
  color: rgb(255, 255, 255);
  font-size: 0.8rem;
  opacity: 0;
  transform: scale(0.5);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

body {
  font-family: var(--font-family-body);
  color: var(--color-text-primary);
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ------------------------------- */
/* 🖍️ Text Highlight Styles */
/* This changes the background color when you highlight text (like when you click and drag to select it) */
/* ------------------------------- */

::selection {
  background: var(--color-bg-selection); /* Uses your custom color for highlighted text */
}

/* ---------------------------------------- */
/* 🖼️ Responsive Image Styles */
/* These styles make your images and icons look good on any screen size */
/* ---------------------------------------- */
/* Make all images and SVGs scale nicely */
img,
svg {
  max-width: 100%; /* Keeps the image from getting too big */
  height: auto; /* Keeps the image’s original proportions */
  vertical-align: top; /* Removes little gaps under images (from line-height) */
  object-fit: contain; /* Optional: Makes sure the whole image fits inside its box */
  /* Try 'cover' if you want it to fill the space, or remove this line if not needed */
}

/* ---------------------------------------- */
/* 🎨 Utility Classes for Styling Elements  */
/* Use these helper classes to quickly apply 
   common styles across your portfolio site */
/* ---------------------------------------- */

/* ------------------------ */
/* 📐 Layout & Spacing Tools */
/* ------------------------ */

/* Horizontally centers a block element (must have a defined width) */
.centered-block {
  margin: 0 auto;
}

/* Vertical layout – stacks items in a column (mobile-first) */
.flex-row {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
}

/* Puts the box on its own line and adds space underneath */
.margin-bottom {
  display: block; /* Makes it a block so it stacks nicely */
  margin-bottom: 1rem; /* Adds space below – helps with layout breathing room */
}

.width-third,
.width-two-thirds {
  width: 100%;
}

/* Adds a dashed border to help you see the box while you're designing */
.border {
  border: 1px dashed var(--color-accent-primary); /* This uses your custom accent color */
  /* TODO: Delete this later – it’s just here to help you see the box while you work */
}

/* ---------------------- */
/* ✍️  Typography Helpers */
/* ---------------------- */

/* Optimal line length for readability (~60 characters) */
.max-text-width {
  max-width: 60ch;
}

/* Centers your text (great for headings or buttons) */
.centered-text {
  text-align: center;
}

/* ------------------------------ */
/* 🌀 Animation & Interaction Tools */
/* ------------------------------ */

/* Smooth transition when applying transformations – improves hover experience */
.rotate {
  transition: transform 0.3s ease;
}

/* Rotates the element slightly on hover – adds a playful effect */
.rotate:hover {
  transform: rotate(4deg);
}

/* ----------------------------- */
/* 📦 Padding Utilities (Mobile First) */
/* ----------------------------- */

.padding-tiny {
  padding: var(--padding-tiny);
}

.padding-small {
  padding: var(--padding-small);
}

.padding-medium {
  padding: var(--padding-medium); /* smaller, mobile-safe default */
}

.padding-large {
  padding: var(--padding-small); /* smaller, mobile-safe default */
}

.padding-jumbo {
  padding: var(--padding-small); /* smaller, mobile-safe default */
}

.padding-ultra {
  padding: var(--padding-small); /* smaller, mobile-safe default */
}

/* ----------------------------- */
/* 🧩 Flex Gap Utilities (Mobile First) */
/* ----------------------------- */
.gap-tiny {
  gap: var(--gap-tiny);
}
.gap-small {
  gap: var(--gap-small);
}
.gap-medium {
  gap: var(--gap-small); /* smaller, mobile-safe default */
}
.gap-large {
  gap: var(--gap-small); /* smaller, mobile-safe default */
}
.gap-jumbo {
  gap: var(--gap-small); /* smaller, mobile-safe default */
}
.gap-ultra {
  gap: var(--gap-small); /* smaller, mobile-safe default */
}

/* ------------------------------ */
/* 🧱 Border Radius Shortcuts */
/* ------------------------------ */

/* Small interactive elements (buttons, inputs) */
.rounded-small {
  border-radius: var(--radius-sm);
}

/* Default containers (cards, dropdowns) */
.rounded-medium {
  border-radius: var(--radius-md);
}

/* Large decorative elements (modals, banners) */
.rounded-large {
  border-radius: var(--radius-lg);
}

/* Perfect circles (avatars, icons) */
.rounded-full {
  border-radius: var(--radius-full);
}

/* ---------------------------------------- */
/* 🎥 Responsive Embedded Video Styles      */
/* These styles keep your videos looking sharp and correctly sized on any device */
/* ---------------------------------------- */

/* The container holds the video and maintains a 16:9 aspect ratio */
.project-video-container {
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}
/* The iframe is absolutely positioned to fill the container */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

/* ---------------------------------------- */
/* 🧭 Responsive Navigation (Coming Soon)   */
/* This section is in progress — you'll build a mobile-friendly nav bar here */
/* ---------------------------------------- */

.responsive-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background: lightblue;
  padding: var(--padding-small);
}

/* ------------------------------------------------------------------ */
/* 🔤 Global & Mobile Typography                                      */
/* Heading styles that scale nicely for mobile-first, responsive sites */
/* ------------------------------------------------------------------ */

/* 
████████ ██    ██ ██████   ██████   ██████  ██████   █████  ██████  ██   ██ ██    ██ 
   ██     ██  ██  ██   ██ ██    ██ ██       ██   ██ ██   ██ ██   ██ ██   ██  ██  ██  
   ██      ████   ██████  ██    ██ ██   ███ ██████  ███████ ██████  ███████   ████   
   ██       ██    ██      ██    ██ ██    ██ ██   ██ ██   ██ ██      ██   ██    ██    
   ██       ██    ██       ██████   ██████  ██   ██ ██   ██ ██      ██   ██    ██    
*/

/* Heading Styles (h1 - h6) */

h1 {
  font-size: 2rem;
  font-family: var(--font-family-heading);
  font-weight: 500;
  color: var(--h1-color);
  letter-spacing: 0.01em;
}

h2 {
  font-size: 1rem;
  font-family: var(--font-family-heading);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--h2-color);
}

h3 {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--h3-color);
  letter-spacing: 0.5px;
}

h4 {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: var(--h4-color);
  font-weight: 400;
}

h5 {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--h5-color);
}

h6 {
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: "DM Mono";
  color: var(--h6-color);
}

h1,
h2 {
  font-family: var(--font-family-heading);
  font-variation-settings: "opsz" 36;
}

/* ------------------------------------------------------------------ */
/* 📝 Paragraph and Text Styles                                       */
/* Base text styles for body copy, bold, italic, and fine print       */
/* ------------------------------------------------------------------ */

p {
  font-size: 0.8rem;
  line-height: 1.3;
  font-weight: 400;
}

.strong {
  font-weight: 400; /* Makes text bold */
}

em {
  font-style: italic; /* Adds emphasis with italic style */
}

.light {
  font-weight: 300;
}
sup {
  font-size: 0.6em; /* smaller than the surrounding text */
  vertical-align: super; /* ensures it sits above the baseline */
  font-weight: normal; /* optional: adjust weight */
}
.accent-text {
  font-family: var(--font-family-project-accent);
}
.italic {
  font-style: italic;
}
/* ------------------------------------------------------------------ */
/* 🎨 Custom Class Styles for Headlines, Projects, and Highlights     */
/* Use these utility classes to style key text elements across pages  */
/* ------------------------------------------------------------------ */

/* Main hero headline — usually sits in the intro section */
.hero-headline {
  max-width: 40ch; /* Optimal line length for readability (~40 characters) */
  text-wrap: balance; /* Prevents awkward line breaks (like elegant typography) */
  width: 100%;
}

/* Large project title — appears on individual project pages */
.project-title {
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
  font-family: "DM Mono";
  margin-bottom: 1rem;
}

/* Project description text — pairs with the project title */
.project-description {
  font-size: 1.225rem;
  line-height: 1.2;
  color: var(--color-text-project-description);
  margin-bottom: 1rem;
}

/* 🧱 Full-width headings — useful in layouts that span edge-to-edge */
.h1-full-width {
  width: 100%;
}
.h1-half width {
  width: 100%;
  padding-top: var(--padding-large);
}
.h2-full-width {
  width: 100%;
}

.h4-half-width {
  width: 70%;
}

/* ✨ Highlighted text — great for emphasis */
.highlight-primary {
  color: var(--color-accent-secondary);
}

.highlight-gradient {
  background: var(--color-gradient-hero);

  color: transparent;
  font-weight: bold;
}

/* 📂 Project grid title — used in grid view (like a portfolio gallery) */
.work-grid-project-title {
  font-size: 1.6rem;
  margin-top: 1rem;
  color: var(--color-accent-primary);
}

/* 🏷️ Project category label — displays the type or role of the project */
.work-grid-project-category {
  color: var(--color-accent-primary);
}
/* Makes text in all caps */
.all-caps {
  text-transform: uppercase;
}

/*

██   ██ ██    ██ ██████  ███████ ██████  ██      ██ ███    ██ ██   ██ ███████ 
██   ██  ██  ██  ██   ██ ██      ██   ██ ██      ██ ████   ██ ██  ██  ██      
███████   ████   ██████  █████   ██████  ██      ██ ██ ██  ██ █████   ███████ 
██   ██    ██    ██      ██      ██   ██ ██      ██ ██  ██ ██ ██  ██       ██ 
██   ██    ██    ██      ███████ ██   ██ ███████ ██ ██   ████ ██   ██ ███████ 

*/

/* -------------------------------------------------------------------------- */
/* 🔗 Hyperlink Styles — LVHFA                                                */
/* LVHFA = Link, Visited, Hover, Focus, Active                                */
/* These are the five main states a hyperlink can be in                       */
/* -------------------------------------------------------------------------- */

/* Unvisited link */
a:link {
  color: var(--color-link);
  text-decoration: none; /* Removes underline */
}

/* Visited link — after a user clicks and returns */
a:visited {
  color: var(--color-link-visited);
}

/* Hover — when a user hovers their mouse over the link */
a:hover {
  color: #4bffba;
}

/* hover sparkle animation */
.sparkle-button {
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  overflow: visible;
}

/* Hidden at rest */
.sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
}

/* Burst on hover */
.sparkle-button:hover .sparkle {
  animation-fill-mode: forwards;
}

/* ✦ */
.sparkle-button:hover .sparkle-1 {
  animation: burst-1 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ✤ */
.sparkle-button:hover .sparkle-2 {
  animation: burst-2 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ✽ */
.sparkle-button:hover .sparkle-3 {
  animation: burst-3 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ★ */
.sparkle-button:hover .sparkle-4 {
  animation: burst-4 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ○ */
.sparkle-button:hover .sparkle-5 {
  animation: burst-5 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ● */
.sparkle-button:hover .sparkle-6 {
  animation: burst-6 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* TOP LEFT */
@keyframes burst-1 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  45% {
    opacity: 1;
    transform: translate(-42px, -27px) scale(1.15) rotate(12deg);
  }

  100% {
    opacity: 1;
    transform: translate(-36px, -22px) scale(1) rotate(18deg);
  }
}

/* TOP RIGHT */
@keyframes burst-2 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  50% {
    opacity: 1;
    transform: translate(34px, -34px) scale(0.85) rotate(-15deg);
  }

  100% {
    opacity: 1;
    transform: translate(28px, -29px) scale(0.75) rotate(-25deg);
  }
}

/* BOTTOM LEFT */
@keyframes burst-3 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  45% {
    opacity: 1;
    transform: translate(-48px, 23px) scale(1.1) rotate(-8deg);
  }

  100% {
    opacity: 1;
    transform: translate(-42px, 18px) scale(0.9) rotate(-15deg);
  }
}

/* BOTTOM RIGHT */
@keyframes burst-4 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  45% {
    opacity: 1;
    transform: translate(47px, 28px) scale(1.2) rotate(10deg);
  }

  100% {
    opacity: 1;
    transform: translate(40px, 22px) scale(0.9) rotate(18deg);
  }
}

/* LITTLE CIRCLE LEFT */
@keyframes burst-5 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  50% {
    opacity: 1;
    transform: translate(-63px, 3px) scale(1.2);
  }

  100% {
    opacity: 1;
    transform: translate(-56px, -2px) scale(1);
  }
}

/* LITTLE DOT RIGHT */
@keyframes burst-6 {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }

  45% {
    opacity: 1;
    transform: translate(61px, -8px) scale(1.4);
  }

  100% {
    opacity: 1;
    transform: translate(54px, -4px) scale(1);
  }
}
/* Focus — when a link is focused (keyboard navigation) */
a:focus {
  outline: 1px solid var(--color-accent-primary);
}

/* Active — when the link is actively being clicked or tapped */
a:active {
  color: var(--color-link-hover);
  /* Useful for mobile tap interactions */
}

/* -------------------------------------------------------------------------- */
/* 🧭 Hyperlink Class Styles                                                  */
/* These are custom styles for specific types of navigation links             */
/* -------------------------------------------------------------------------- */

a.nav-link-primary {
  color: var(--color-nav-link);
  font-weight: 500;
  font-family: var(--font-family-heading);
}
a.nav-link-primary:hover {
  color: var(--color-nav-link-hover);
}

/* -------------------------------------------------------------------------- */
/* 🧭 Previous & Next Project Navigation Arrows                               */
/* These styles are for the left and right arrows used to move between       */
/* individual project pages in your portfolio. Includes stroke effect styles.*/
/* -------------------------------------------------------------------------- */

/* Default and visited state for navigation arrows */

.navigation-arrow:link,
.navigation-arrow:visited {
  color: var(--color-nav-arrow);
}

/* Hover and active (clicked) states — makes arrows feel interactive */
.navigation-arrow:active,
.navigation-arrow:hover {
  color: var(--color-nav-arrow-hover);
}

/* 🖋️ Optional stroke effect for a bold, outlined arrow look */

.stroke:link,
.stroke:visited {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--color-nav-arrow-stroke);
}

.stroke:active,
.stroke:hover {
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: var(--color-nav-arrow-stroke-hover);
}
/* arrow animation */
.awards-row .awards-arrow {
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 


██   ██ ███████ ██████   ██████  
██   ██ ██      ██   ██ ██    ██ 
███████ █████   ██████  ██    ██ 
██   ██ ██      ██   ██ ██    ██ 
██   ██ ███████ ██   ██  ██████  
                                 
*/

/* -------------------------------------------------------------------------- */
/* 🦸 Hero Section Layout                                                     */
/* Full-page intro area with logo, headline, icon, and footer nav            */
/* Great place for first impression and personal branding                    */
/* -------------------------------------------------------------------------- */

.hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.hero-header {
  min-height: 2rem; /* Space reserved for logo + nav */
  width: 100vw;
  background-color: #c6c6c6;
}
.hero-background {
  background: url(../assets/work-page/stars.gif);
  height: 40vh;
  background-repeat: no-repeat;
}

.nav-branding {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--padding-tiny);
  align-items: center;
  background-color: #c6c6c6;
}
.nav-branding-work {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--padding-tiny);
  align-items: center;
}

.nav-branding-group {
  display: flex;
  flex-direction: row;
}

.nav-branding-item {
  padding: var(--padding-tiny);
}

.nav-branding-logo {
  width: 3rem;
  /* TODO: Adjust the width of the logo on mobile devices here */
}

.nav-branding-contact {
  width: 8rem;
}

.hero-headline-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center; /* Keeps text centered */
}

.hero-icon {
  font-size: 4rem;
}

/*

 ██████  ██████  ███    ███ ██████   ██████  ███    ██ ███████ ███    ██ ████████ ███████ 
██      ██    ██ ████  ████ ██   ██ ██    ██ ████   ██ ██      ████   ██    ██    ██      
██      ██    ██ ██ ████ ██ ██████  ██    ██ ██ ██  ██ █████   ██ ██  ██    ██    ███████ 
██      ██    ██ ██  ██  ██ ██      ██    ██ ██  ██ ██ ██      ██  ██ ██    ██         ██ 
 ██████  ██████  ██      ██ ██       ██████  ██   ████ ███████ ██   ████    ██    ███████ 
                                                                                          
*/

/* -------------------------------------------------------------------------- */
/* 🔧 Full-Width Section Components                                             */
/* These components create flexible, full-screen sections for your portfolio   */
/* Perfect for highlighting key information and projects                      */
/* -------------------------------------------------------------------------- */

.full-width-section {
  width: 100%;
  min-height: 50vh; /* Takes up most of the screen height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-full-width); /* Background color for full-width sections */
  margin-bottom: 1rem;
}

.half-width-section {
  width: 100%;
  min-height: 20vh; /* Takes up most of the screen height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.full-width-headline-wrapper {
  width: 100%;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding-small);
  text-align: center;
}

.section-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding-small);
  margin-bottom: 1rem;
}
.section-item {
  padding: var(--padding-small);
  margin: 1rem;
}
.project-classification {
  gap: 0.5rem;
  line-height: 0.5rem;
}
.project-page-classification {
  grid-column: 1 / 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-classification p {
  padding: 0.5rem 1rem;
  border: 1px solid #262626;
  border-radius: 60px;
  font-size: 1rem;
}
.project-award p {
  padding: 0.5rem 1rem;
  border: 1px solid #262626;
  background-color: #262626;
  color: var(--color-bg);
  border-radius: 60px;
  font-size: 0.8rem;
  flex-shrink: 0;
  white-space: nowrap;
  width: fit-content;
}

.about-page {
  display: flex;
  width: 100%;
}

.about-extra {
  height: 15rem;
  background-color: #c6c6c6;
}

/* Footer marquee animation */

.marquee-top {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  white-space: nowrap;
  border-top: 0.5px solid #28100c;
  border-bottom: 0.5px solid #28100c;
  padding-top: var(--padding-tiny);
  padding-bottom: var(--padding-tiny);
}

.marquee-toptrack {
  display: flex;
  width: max-content;
  animation: marquee-top-scroll 15s linear infinite;
}

.marquee-topcontent {
  display: flex;
  flex-shrink: 0;
}

.marquee-toplist {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.marquee-topitem {
  display: inline-flex;
  align-items: center;
  padding: 0 1.5rem;
}

.marquee-topitem h3 {
  margin: 0;
  font-size: 1.1rem;
  white-space: nowrap;
}

.marquee-topitem:not(:last-child)::after {
  content: "/";
  margin-left: 1.5rem;
  opacity: 0.5;
}

@keyframes marquee-top-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-top__track {
    animation: none;
  }
}
/* Fade in text animation */
@keyframes textEntrance {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
    filter: blur(0px);
  }
}

.load-fade-text {
  opacity: 0;
  animation: textEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* button style */
.btn-primary {
  display: inline-block;
  background: var(--color-bg-about);
  color: black;
  text-decoration: none;
  padding: 0 1.5rem;
  border-radius: 1.5rem;
  font-family: "DM sans", sans-serif;
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease-in-out;
  font-size: 1rem;
  line-height: 2.5rem;
  min-height: 2.5rem;
}
.btn-secondary {
  display: inline-block;
  background: var(--color-bg-selection);
  color: black;
  text-decoration: none;
  padding: 0 1.5rem;
  border-radius: 1.5rem;
  font-family: "DM sans", sans-serif;
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease-in-out;
  font-size: 1rem;
  line-height: 2.5rem;
  min-height: 2.5rem;
}

/* 

██     ██  ██████  ██████  ██   ██     ██████   █████   ██████  ███████ 
██     ██ ██    ██ ██   ██ ██  ██      ██   ██ ██   ██ ██       ██      
██  █  ██ ██    ██ ██████  █████       ██████  ███████ ██   ███ █████   
██ ███ ██ ██    ██ ██   ██ ██  ██      ██      ██   ██ ██    ██ ██      
 ███ ███   ██████  ██   ██ ██   ██     ██      ██   ██  ██████  ███████ 

*/

/* -------------------------------------------------------------------------- */
/* 🔲 Work Page Layout Components                                               */
/* These styles create the layout for your work portfolio and project pages    */
/* The goal is to showcase your projects and provide a responsive, clean UI  */
/* -------------------------------------------------------------------------- */

.main-work-section {
  flex: 1;
}

/* Padding around work grid and project page */
.portfolio,
.project-wrapper,
.work-sidebar-wrapper {
  padding: var(--padding-small);
  padding-top: 0;
}

.video-container {
  object-fit: cover;
  border-radius: var(--radius-md); /* Adjust this value for more or less roundness */
  overflow: hidden;
}
/* Work Sidebar on Mobile */
.work-sidebar {
  width: 100%;
  background: var(--color-bg-sidebar-work); /* Background color for the sidebar */
}

/* Main Work Area with Sidebar on Mobile */
.work-details {
  width: 100%;
}

/* Defining the work page grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Creates a responsive grid */
  grid-gap: 2rem; /* Space between grid items */
  /* The auto-fit and minmax() function help ensure responsiveness across screen sizes */
}

/* Individual Work Grid Item */
.work-page-grid-item,
.overlay-container {
  width: 100%;
  height: auto;
  position: relative; /* Needed to position the overlay */
}
.work-page-feature-item {
  padding-bottom: var(--padding-small);
}
/* Masonry Overlay Text */
.overlay-container:hover .overlay {
  opacity: 1;
}
/* Project Scroll Animation */

.work-page-grid-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out;
}

.work-page-grid-item.is-visible {
  opacity: 1;
  transform: translateY(0px);
}

/* Masonry Hover */
.img-container:hover .img-hover {
  opacity: 1 !important;
}

.image-container:hover .img-default {
  opacity: 0 !important;
}
/* Project container for background and padding */
.project-container {
  background: var(--color-accent-primary); /* Set project background color */
  padding: var(--padding-medium);
}
.project-topics {
  flex-flow: row;
  flex: none;
  place-content: center;
  align-items: center;
  gap: 10px;
  width: min-content;
  height: min-content;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* Overlay (appears on hover) */
.overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* Initially invisible */
  transition: var(--duration-slow) ease;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: var(--padding-small);
  background-color: var(--color-overlay-primary); /* Background color of the overlay */
  transition:
    opacity var(--duration-normal),
    visibility var(--duration-normal);
}

/* Hover effect on work page grid items */
.work-page-grid-item:hover .overlay {
  visibility: visible; /* Make overlay visible on hover */
  opacity: 1; /* Set opacity on hover */
}

/* Optional container for future overlay customization */
.project-details-overlay {
  align-items: center;
  /* Placeholder: no custom styles yet */
}

.zoom-container {
  width: 100%;
  overflow: hidden; /* Hides the zoomed portion outside the container */
}

.zoom-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* Controls the speed and smoothness */
}

.zoom-container img:hover {
  transform: scale(1.1); /* Zooms the image by 20% on hover */
}

███████ ██ ██████  ███████ ██████   █████  ██████  
██      ██ ██   ██ ██      ██   ██ ██   ██ ██   ██ 
███████ ██ ██   ██ █████   ██████  ███████ ██████  
     ██ ██ ██   ██ ██      ██   ██ ██   ██ ██   ██ 
███████ ██ ██████  ███████ ██████  ██   ██ ██   ██ 
                                                   
                                                   
*/

/* -------------------------------------------------------------------------- */
/* 🗂️ Sidebar Navigation Styles                                                 */
/* This section contains styles for the sidebar navigation on the portfolio    */
/* website. The aim is to create a simple and clean sidebar for better access. */
/* -------------------------------------------------------------------------- */

/* Sidebar navigation list styles */
.sidebar-nav-list {
  padding: var(--padding-small); /* Adds padding around the navigation list */
}

/* Individual navigation item styles */
.sidebar-nav-item {
  margin-bottom: 1rem; /* Space between each navigation item */
}

/* 

 █████  ██████   ██████  ██    ██ ████████ 
██   ██ ██   ██ ██    ██ ██    ██    ██    
███████ ██████  ██    ██ ██    ██    ██    
██   ██ ██   ██ ██    ██ ██    ██    ██    
██   ██ ██████   ██████   ██████     ██    
                                           
*/

/* -------------------------------------------------------------------------- */
/* 📚 About Page Grid Styles                                                   */
/* These styles structure the layout of the "About" page using a grid system.  */
/* The grid has 3 main sections: an image, text, and footer.                   */
/* -------------------------------------------------------------------------- */

/* Grid container for the About section */
.about-grid {
  display: grid; /* Set to grid layout */
  grid-template-columns: 1fr; /* Single column layout for mobile and smaller screens */
  grid-gap: 3rem; /* Space between grid items */
  background: var(--color-bg-about); /* Background color for the section */
  padding: var(--padding-small); /* Padding around the grid */
  flex: 1; /* Flex-grow to take up available space */
}

/* Image section in the About page grid */
.about-grid-image {
  grid-column: 1 / 2; /* Image spans the first column */
  grid-row: 1 / 2; /* Image spans the first row */
}

/* Text section in the About page grid */
.about-grid-text {
  grid-column: 1 / 2; /* Text spans the first column */
  grid-row: 2 / 3; /* Text spans the second row */
}
.about-header {
  display: grid;
  grid-template-columns: 1fr;
  min-height: auto;
  width: 100%;
}
.about-sub-text {
  padding: var(--padding-tiny);
  font-size: 1rem;
}

.about-image {
  padding: var(--padding-sm);
}
/* award list styles */
.title {
  font-size: 1.9rem;
  line-height: 1;
  margin-top: 3px;
  padding-top: 10px;
}
.about-title {
  padding-bottom: 1rem;
}
.work-category-container {
  padding-bottom: 1%;
}
.about-category-header,
.work-category-header {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-family: var(--font-family-body);
  font-style: normal;
  margin: 0%;
}
.work-category-container {
  padding-bottom: 1%;
  padding-top: 1%;
}
.about-category-header,
.work-category-header {
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-family: var(--font-family-body);
}
.work-category-body {
  font-size: 0.9rem;
  font-weight: 200;
  font-family: var(--font-family-project-accent);
}
.about-text-1-second {
  width: 100%;
  padding-top: 0px;
  padding-bottom: 2rem;
}
.about-page {
  flex-direction: column;
  row-gap: 2rem;
}

.about-page > .col-2 {
  width: 100%;
}
/* Awards section */
.awards-section {
  padding-top: var(--padding-large);
  padding-bottom: var(--padding-large);
  position: relative;
  margin: 0px auto;
}
.awards-list {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
.awards-row {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: inherit;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid rgb(128, 128, 128);
  text-decoration: none;
  transition: opacity 0.3s;
}

.awards-row .awards-year {
  font-size: 0.85rem;
  color: rgb(122, 122, 118);
  font-family: var(--font-family-project-accent);
  width: 40px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.awards-row .awards-title {
  margin: 0;
  flex: 1;
  overflow: hidden;
}
.awards-row .awards-project {
  font-size: 0.85rem;
  font-family: var(--font-family-project-accent);
  color: rgb(122, 122, 118);
  max-width: 200px;
  text-align: right;
  flex-shrink: 0;
}

.awards-row .awards-arrow {
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.awards-title {
  font-family: var(--font-family-project-accent);
}
/* 

███████  ██████   ██████  ████████ ███████ ██████  
██      ██    ██ ██    ██    ██    ██      ██   ██ 
█████   ██    ██ ██    ██    ██    █████   ██████  
██      ██    ██ ██    ██    ██    ██      ██   ██ 
██       ██████   ██████     ██    ███████ ██   ██ 
                                                   
*/

/* -------------------------------------------------------------------------- */
/* 📱 MOBILE FOOTER LAYOUT                                                    */
/* Designed with mobile-first approach using CSS Grid                          */
/* -------------------------------------------------------------------------- */

.footer-global {
  display: grid;
  grid-template-columns: 1fr; /* Single column layout */
  min-height: auto; /* Allows footer to expand based on content, no fixed height */
  padding-top: 0rem;
  padding-left: var(--padding-medium); /* Internal spacing */
  width: 70%;

  /* Note: Using 'fr' units ensures proper scaling across devices */
}

/* -------------------------------------------------------------------------- */
/* 🧩 FOOTER SECTION PLACEMENT                                                */
/* Each component stacks vertically in mobile view                             */
/* -------------------------------------------------------------------------- */

.footer-tagline {
  grid-column: 1 / 2; /* Full width (single column) */
  grid-row: 1 / 2;
}
.footer-highlights {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.footer-contact-social {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}
/* -------------------------------------------------------------------------- */
/* 🌊 FULL-WIDTH BOTTOM SECTION                                               */
/* Typically used for copyright/legal information                             */
/* -------------------------------------------------------------------------- */
.footer-full-width {
  grid-column: 1 / 2;
  grid-row: 4 / 5;
  text-align: right; /* Center copyright text */
  align-self: end; /* Push to bottom */
}

/* ------------------------------- */
/* 📜 Reusable footer list styles */
/* ------------------------------- */
.footer-list {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.footer-awards-list {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.footer-works-list {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}
.footer-socials-list {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/* 📏 Footer Item Spacing                                                     */
/* -------------------------------------------------------------------------- */

/* Apply this class to ALL list items (awards, works, social, bullets) */
.footer-item {
  line-height: 1.2; /* Consistent line height for footer items to improve spacing */
  margin-bottom: 0.25rem;
}

/* ------------------------------- */
/* ▪️ Bullet List Style */
/* Square bullets with compact spacing */
/* ------------------------------- */

.footer-bullet-list {
  list-style-type: square;
  list-style-position: inside;
  margin-bottom: 1rem;
}

.footer-bullet-list .footer-item {
  margin-bottom: 0.25rem;
  padding-left: 0.5rem;
  text-indent: -0.5rem; /* Pulls text back toward bullet */
}
.footer-background {
  background: url(../assets/gif/loop\ falling\ Sticker\ by\ Simon\ Falk\ -\ Find\ &\ Share\ on\ GIPHY.gif);
  background-color: #c6c6c6;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-footer {
  text-align: left;
  padding: var(--padding-medium);
}

.hero-footer-navigation {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: var(--padding-small);
}

/* -------------------------------------------------------------------------- */
/* ✨ Footer Special Elements                                                 */
/* -------------------------------------------------------------------------- */

/* Heart icon for copyright/love notes */
.heart {
  color: var(--color-icon-heart); /* Color for heart icon */
}

.footer-fineprint {
  font-size: 0.875rem; /* Slightly smaller for disclaimers or captions */
  color: var(--color-text-secondary); /* Themed color */
}

/* New item badges */
.badge-new {
  background: var(--color-highlight);
  padding: 0.1rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------- */
/* 🌐 MINIMAL FOOTER (ALTERNATIVE VERSION)                                    */
/* A simpler alternative to the CSS Grid footer - ideal for beginners          */
/* -------------------------------------------------------------------------- */

.footer-global-wrapper {
  padding: var(--padding-small);
}

/* 

██████  ██████   ██████       ██ ███████  ██████ ████████     ██████   █████   ██████  ███████ 
██   ██ ██   ██ ██    ██      ██ ██      ██         ██        ██   ██ ██   ██ ██       ██      
██████  ██████  ██    ██      ██ █████   ██         ██        ██████  ███████ ██   ███ █████   
██      ██   ██ ██    ██ ██   ██ ██      ██         ██        ██      ██   ██ ██    ██ ██      
██      ██   ██  ██████   █████  ███████  ██████    ██        ██      ██   ██  ██████  ███████ 
                                                                                               
*/

/* ---------------------------------------------------------------------------------- */
/* Project Page Layout - This section contains the layout for project pages,         */
/* including the project image, description, sidebar, and navigation arrows.         */
/* ---------------------------------------------------------------------------------- */

/* Wrapper for the main project section and sidebar */
.project-wrapper,
.work-sidebar-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Full-width wrapper for the project section */
.project-wrapper-full-width {
  padding: var(--padding-small);
}

/* Container for the project content with full-width display */
.project-full-width {
  width: 100%;
  margin-bottom: 1rem;
}

/* Sidebar Styles */
.project-aside {
  width: 100%;
  display: flex;
  flex-direction: column;
  color: var(--color-text-project-sidebar);
  background: var(--color-bg-sidebar-project);
}

/* Container for project images with center alignment */
.project-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1rem; /* Space below the image */
}
/* Project page transition */
.project-page-grid-item {
  width: 100%;
  height: auto;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease-out;
}

.project-page-grid-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Container for project description */
.project-description-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;

  width: 100%;
  margin-bottom: 1rem; /* Space below the description */
}

/* Column styles for two-column and four-column layouts (mobile-first) */
.col-2 {
  width: 100%;
}
.col-5 {
  padding: var(--padding-small);
}
.row-2 {
  margin-top: 1rem;
}
.row-1 {
  margin-top: 0.5rem;
}

.row-3 {
  margin-top: 1.5rem;
}
.col-1 {
  width: 100%;
}
.col-3 {
  width: 85%;
}

.description-row {
  display: flex;
  flex-direction: row;
  padding-top: var(--padding-small);
  gap: 2rem;
}
.description-column {
  display: flex;
  flex-direction: column;
  padding-top: var(--padding-small);
  gap: 0.5rem;
}
.project-list {
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  padding: var(--padding-small);
  z-index: 2;
}
/* Indent for project details */
.indent {
  padding-left: 1rem;
}
/* Small header */
.play-header {
  padding-left: var(--padding-small);
}
/* To add space below section */
.space {
  padding-bottom: var(--padding-large);
}
.spacing-medium {
  padding-bottom: var(--padding-small);
}
.spacing-minimal {
  margin-bottom: 0.7rem;
}
.spacing-tiny {
  margin-bottom: 0.3rem;
}
.spacing-large {
  margin-bottom: 2rem;
}

/* Project image styling */
.project-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.image-container .img-hover {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.project-multi-image {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  margin-bottom: 1rem;
}
/* Project details section */
.project-details {
  width: 100%;
  padding: var(--padding-small);
}
/* Project hero categories */
.hero-text-columns {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  gap: 2rem;
  padding: var(--padding-small);
  color: #f5f5f5;
  z-index: 2;
}
.project-description-hero {
  font-size: 1rem;
  color: #f5f5f5;
  text-transform: uppercase;
}
/* Previous/Next Arrow Styles */

.project-navigation {
  display: flex;
  flex-direction: row;
  flex: 1;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

/* Styling for left and right arrows */
.arrow-left,
.arrow-right {
  width: 50%;
}
.arrow-right {
  text-align: right;
}

.arrow {
  padding: 0;
}

/* ------------------------------- */
/* 📜 Project info list styles */
/* ------------------------------- */

.project-info-list {
  margin-bottom: 1rem;
}
.project-item {
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 300;
  font-family: "DM Mono";
  margin-bottom: 0.5rem;
  color: var(--h6-color);
}
.list-section {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}
/* More Work */
.grid-more-work {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  grid-gap: 1rem;
}
.more-work-page-grid-item {
  width: 100%;
  height: auto;
  position: relative;
  justify-self: center;
}
/*

██████  ██       ██████   ██████      ██ ██████  ███████ ███████ ██    ██ ███    ███ ███████ 
██   ██ ██      ██    ██ ██          ██  ██   ██ ██      ██      ██    ██ ████  ████ ██      
██████  ██      ██    ██ ██   ███   ██   ██████  █████   ███████ ██    ██ ██ ████ ██ █████   
██   ██ ██      ██    ██ ██    ██  ██    ██   ██ ██           ██ ██    ██ ██  ██  ██ ██      
██████  ███████  ██████   ██████  ██     ██   ██ ███████ ███████  ██████  ██      ██ ███████ 
                                                                                             
*/

/* Blog and Resume page styles */

.text-section {
  width: 100%;
  background: var(--color-bg);
  padding: var(--padding-small);
}
.list-item {
  line-height: 1.3;
  list-style-type: disc;
  margin-left: 1.2rem;
}

/* 

██   ██  ██████  ██      ██████  ██ ███    ██  ██████  
██   ██ ██    ██ ██      ██   ██ ██ ████   ██ ██       
███████ ██    ██ ██      ██   ██ ██ ██ ██  ██ ██   ███ 
██   ██ ██    ██ ██      ██   ██ ██ ██  ██ ██ ██    ██ 
██   ██  ██████  ███████ ██████  ██ ██   ████  ██████  
                                                       
*/

/* ----------------------------------------------------------------
   Holding Page Styles
   ----------------------------------------------------------------
   Includes layout, typography, and visual effects for the demo
   landing page (index.html).

   Related files:
     • CSS: styles/interactive-blobs.css
     • JS:  js/interactive-blobs.js
---------------------------------------------------------------- */

.holding-page-animation {
  width: 10rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.holding-page-title {
  font-size: 1.5rem;
  color: var(--color-text-holding-title);
}

.holding-page-footer {
  display: grid;
  place-items: center;
  min-height: 10vh;
  width: 100%;
  padding: var(--padding-small);
}

.holding-page-copyright {
  font-size: 0.8rem; /* Smaller font size for copyright text */
  color: var(--color-text-holding-footer); /* Custom color for the footer text */
  margin-bottom: 0; /* Removes default margin from the bottom of the copyright text */
}

/*
███████ ██████  ██████   ██████  ██████  
██      ██   ██ ██   ██ ██    ██ ██   ██ 
█████   ██████  ██████  ██    ██ ██████  
██      ██   ██ ██   ██ ██    ██ ██   ██ 
███████ ██   ██ ██   ██  ██████  ██   ██ 
*/

/* TODO: Customize your 404 Error Page */

/* A great 404 page is a chance to leave a memorable impression when visitors land on a page that doesn't exist. Consider customizing this page to be more engaging, humorous, or on-brand with your site. Check out error.css for the gradient and glitch effect. */

.error-headline-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding-top: var(--padding-medium);
  padding-bottom: var(--padding-medium);
}

.error-page-animation {
  height: 30rem;
}
.error-button {
  font-size: 2rem;
}

/*

██████  ██       █████  ██    ██ 
██   ██ ██      ██   ██  ██  ██  
██████  ██      ███████   ████   
██      ██      ██   ██    ██    
██      ███████ ██   ██    ██    
*/

/* Play Page Styles
––––––––––––––––––––––––––––––––––––––––––––––––––
Custom styles specific to the "Play" page layout and content.

✅ Masonry layout is defined separately in masonry.css  
✅ Lightbox functionality is handled via Lightbox2 (in /lightbox2 folder)  
✅ Rotate and other utility classes are already included in the base styles (this file)

Use this section to style elements that are *unique to the Play page*.
For common layout or effects, continue using the base utility classes
to keep your styles reusable and consistent.
*/

.play-page {
  align-items: center; /* Add page-specific layout or container styles here */
}
.masonry-item,
.masonry-item a {
  position: relative;
  display: block; /* Ensures the link tag expands to wrap the image */
}

.image-container {
  position: relative;
  margin: 0; /* Removes default browser figure margins */
  padding: 0;
  display: block;
  overflow: hidden;
}
.play {
  padding: var(--padding-small);
}

/*

███████ ██   ██ ███████ ████████  ██████ ██   ██ ██████   ██████   ██████  ██   ██ 
██      ██  ██  ██         ██    ██      ██   ██ ██   ██ ██    ██ ██    ██ ██  ██  
███████ █████   █████      ██    ██      ███████ ██████  ██    ██ ██    ██ █████   
     ██ ██  ██  ██         ██    ██      ██   ██ ██   ██ ██    ██ ██    ██ ██  ██  
███████ ██   ██ ███████    ██     ██████ ██   ██ ██████   ██████   ██████  ██   ██ 

*/

/* Sketchbook Page Styles */

.sketchbook-page {
  display: grid;
  place-items: center;
}

/*

███    ███ ███████ ██████  ██  █████       ██████  ██    ██ ███████ ██████  ██ ███████ ███████ 
████  ████ ██      ██   ██ ██ ██   ██     ██    ██ ██    ██ ██      ██   ██ ██ ██      ██      
██ ████ ██ █████   ██   ██ ██ ███████     ██    ██ ██    ██ █████   ██████  ██ █████   ███████ 
██  ██  ██ ██      ██   ██ ██ ██   ██     ██ ▄▄ ██ ██    ██ ██      ██   ██ ██ ██           ██ 
██      ██ ███████ ██████  ██ ██   ██      ██████   ██████  ███████ ██   ██ ██ ███████ ███████ 

*/
@media (max-width: 700px) {
  .awards-row .awards-project {
    text-align: left;
    width: 100%;
    max-width: none;
    order: 3;
  }
  .awards-row {
    flex-wrap: wrap;
  }
}
/* Media Queries for Layout Adjustments */

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) {
  /* TODO: Adjust  layout for tablets */
}

/* Large devices (desktops, 992px and up) */

/* Switch from mobile to desktop navigation */

@media (min-width: 992px) {
  /* TODO: Add or adjust styles here for large devices. */
  .project-header {
    padding: 0 60px 60px 60px;
  }
  .flex-row {
    flex-direction: row; /* Changes to row layout on larger screens */
    column-gap: 2rem;
    align-items: flex-start;
    justify-content: flex-end;
  }
  .no-height {
    min-height: auto;
  }
  .width-third {
    width: 25%;
  }
  .width-two-thirds {
    width: 75%;
  }
  .holding-page-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 300;
  }

  .h4 {
    font-size: 1.2rem;
    line-height: 1.2;
    padding: var(--padding-small);
    color: var(--h4-color);
    font-weight: 500;
  }

  .h5 {
    font-size: 0.7rem;
    line-height: 1.2;

    color: var(--h4-color);
  }

  .h6 {
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 400;
    font-family: "DM Mono";
    color: var(--h6-color);
  }

  .h1-full-width {
    width: 80%;
  }
  .h2-full-width {
    width: 80%;
    padding-bottom: var(--padding-small);
    padding-top: var(--padding-small);
  }
  .h5-full-width {
    padding: var(--padding-small);
  }
  .hero-headline {
    max-width: 40ch; /* Optimal line length for readability (~40 characters) */
    text-wrap: balance; /* Prevents awkward line breaks (like elegant typography) */
    width: 80%;
  }
  .hero-headline {
    height: 50%;
  }

  /* ----------------------------- */
  /* 📦 Padding Utilities (Desktop) */
  /* ----------------------------- */
  .padding-large {
    padding: var(--padding-large);
  }
  .padding-jumbo {
    padding: var(--padding-jumbo);
  }
  .padding-ultra {
    padding: var(--padding-ultra);
  }

  /* ----------------------------- */
  /* 🧩 Flex Gap Utilities (Desktop) */
  /* ----------------------------- */

  .gap-medium {
    gap: var(--gap-medium);
  }
  .gap-large {
    gap: var(--gap-large);
  }
  .gap-jumbo {
    gap: var(--gap-jumbo);
  }
  .gap-ultra {
    gap: var(--gap-ultra);
  }

  .nav-branding {
    flex-direction: row;
  }
  .nav-branding-work {
    flex-direction: row;
  }

  .nav-branding-logo {
    width: 5rem;
    /* TODO: Adjust the width of the logo on large devices here. */
  }

  .hero-headline-wrapper {
    min-height: 10vh;
  }
  .hero-background {
    background: url(../assets/work-page/stars.gif);
    height: 60vh;
    background-repeat: no-repeat;
  }

  .full-width-headline-wrapper {
    width: 100%;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding-small);
    text-align: center;
  }

  .right-aligned {
    text-align: right;
  }

  .error-404 {
    font-size: 5rem;
  }
  /* project category */
  .project-list {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: var(--padding-large);
    z-index: 2;
  }

  /* Awards section */
  .awards-section {
    padding-top: var(--padding-large);
    padding-bottom: var(--padding-large);
    position: relative;
    margin: 0px auto;
  }
  .awards-list {
    list-style: none;
    margin: 0px;
    padding: 0px;
  }
  .awards-row {
    flex-wrap: wrap;
  }

  .awards-row .awards-year {
    font-size: 0.85rem;
    color: rgb(122, 122, 118);
    font-family: var(--font-family-project-accent);
    width: 40px;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
  }
  .awards-row .awards-title {
    margin: 0px;
    flex: 1 1 0%;
    overflow: hidden;
  }

  .awards-row .awards-arrow {
    flex-shrink: 0;
    transform: rotate(0deg);
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
  }
  .awards-title {
    font-family: var(--font-family-project-accent);
  }

  /* about list styles */
  .title {
    font-size: 1.9rem;
    line-height: 1;
    margin-top: 3px;
    padding-top: 10px;
  }
  .about-title {
    padding-bottom: 1rem;
  }
  .work-category-container {
    padding-bottom: 1%;
  }
  .about-category-header,
  .work-category-header {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    font-family: var(--font-family-body);
    font-style: normal;
    margin: 0%;
  }
  .work-category-container {
    padding-bottom: 1%;
    padding-top: 1%;
  }
  .about-category-header,
  .work-category-header {
    font-size: 1.1rem;
    line-height: 1.5rem;
    font-weight: 400;
    font-family: var(--font-family-body);
  }
  .work-category-body {
    font-size: 0.9rem;
    font-weight: 200;
    font-family: var(--font-family-project-accent);
  }
  .about-text-1-second {
    width: 100%;
    padding-top: 0px;
    padding-bottom: 4rem;
  }
  /* Work Page Grid for Large Devices */

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    grid-gap: 2rem;
  }
  /* More Work Grid for Large Devices */
  .grid-more-work {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Grayscale filter with full-colour on hover and tap */

  .work-page-grid-item a.grayscale img {
    filter: grayscale(100);
  }

  .work-page-grid-item > a.grayscale:active img,
  .work-page-grid-item > a.grayscale:hover img {
    filter: grayscale(0);
  }

  /* Padding around work grid and project page */

  .portfolio,
  .project-wrapper,
  .work-sidebar-wrapper {
    padding: var(--padding-small);
    padding-top: 0;
  }
  .play {
    padding: var(--padding-small);
  }
  /* To add space below section */
  .space {
    padding-bottom: var(--padding-large);
  }

  /* Project Page Flex Direction on Large Devices */

  .project-wrapper,
  .work-sidebar-wrapper {
    flex-direction: row;
  }

  /* Project Full Width Styles */

  .project-wrapper-full-width {
    padding: var(--padding-large);
  }
  /* Project image styling */
  .project-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .project-multi-image {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
    margin-bottom: 2rem;
  }

  /* Sidebar on Large Devices */

  .project-aside {
    width: 25%;
    height: 80vh;
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
    padding-right: 2rem;
  }

  /* Main Project Image Area on Large Devices */

  .project-details {
    width: 75%;
  }

  .project-image-container,
  .project-description-container {
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
  }
  .project-margin {
    padding: 0 180px;
  }
  .section-container {
    width: 80%; /* Adjust this width for larger screens if needed */
    flex-direction: row;
  }
  /* project category style */
  .project-award p {
    padding: 0.5rem 1rem;
    border: 1px solid #262626;
    background-color: #262626;
    color: var(--color-bg);
    border-radius: 60px;
    font-size: 1.2rem;
    flex-shrink: 0;
    white-space: nowrap;
    width: fit-content;
  }
  /* error styles */
  .error-headline-wrapper {
    height: 80vh;
  }

  /* Column styles for two-column and four-column layouts (desktop) */
  .col-2,
  .col-4 {
    padding: var(--padding-small);
  }
  .col-2 {
    width: 40%;
  }
  .col-4 {
    width: 35%;
  }
  .col-5 {
    width: 20%;
  }
  .col-5 {
    padding-top: var(--padding-large);
  }

  .project-navigation {
    justify-content: flex-start;
  }

  .arrow {
    padding-right: 1rem;
  }

  /* About Page Grid for Large Devices */

  .about-grid {
    padding: var(--padding-jumbo);
    grid-template-columns: 2fr 3fr;
  }

  .about-grid-image {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .about-grid-text {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }
  .about-page {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 2rem;
  }

  .col-2 {
    width: 40%;
  }

  /* ------------------------------- */
  /* 🖥️ FOOTER GRID - DESKTOP LAYOUT */
  /* ------------------------------- */

  .footer-global {
    padding-right: var(--padding-medium);
    padding-bottom: 0;
    padding-top: 0;
    padding-left: var(--padding-medium);
    grid-template-columns: 1fr 1fr 2fr; /* Three equal columns */
  }

  /* Column 1: Tagline/Message */
  .footer-tagline {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  /* Column 2: Awards & Works */
  .footer-highlights {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
  }

  /* Column 3: Contact & Social */
  .footer-contact-social {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
  }
  .hero-footer {
    text-align: left;
    padding-bottom: var(--padding-small);
    padding-right: var(--padding-small);
    padding: var(--padding-medium);
  }
  .footer-headline {
    font-size: 3rem;
  }

  /* ------------------------------- */
  /* 📏 FULL-WIDTH BOTTOM SECTION */
  /* ------------------------------- */
  .footer-full-width {
    grid-row: 2 / 3;
    grid-column: 1 / 4; /* Spans all three columns */
    text-align: right;
    align-self: end; /* Aligns content to bottom */
    padding-bottom: var(--padding-tiny);
  }

  /* Work Sidebar on Large Devices */

  .work-sidebar {
    width: 25%;
    height: 80vh;
    position: -webkit-sticky;
    position: sticky;
    top: 1rem;
  }

  /* Main Work Area on Large Devices */

  .work-details {
    width: 75%;
  }
}

/* X-Large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {
  /* TODO: Add styles here for X-large devices. */

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */

@media (min-width: 1400px) {
  /* TODO: Add styles here for XX-large devices. */

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }
}

/*

███████ ██ ███    ██
██      ██ ████   ██
█████   ██ ██ ██  ██
██      ██ ██  ██ ██
██      ██ ██   ████
                                              
That’s a wrap, class! 🧑‍🎓✨

*/

/* 🎉 You made it to the end! */
/* This is a great place to celebrate your progress, add Easter eggs, or leave notes for your future self. */
/* Happy coding, and don’t forget to take breaks, stay hydrated, and share your work proudly. 💻✨🎨 */
