/*
 * =============================================
 * 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. */

/* Cormorant Font (for headers or special text) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&display=swap");

/* Montserrat Font (great for readability and minimal design) */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,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 adding a glitch animation to your 404 error page */
@import url("error.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: "Montserrat", sans-serif;
  --font-family-heading: "Montserrat", sans-serif;
  --font-family-project-title: "Montserrat", sans-serif;
  --font-family-subheading: "Cormorant", serif;
  /* Core Colours */
  --color-text-primary: rgb(0, 0, 0);
  --color-text-secondary: rgb(0, 0, 0);
  --color-accent-primary: #a6c6ec;
  --color-accent-secondary: #ffe436;
  --color-overlay-primary: #000000;
  --color-highlight: rgb(255, 246, 85);

  /* Backgrounds */
  --color-bg: #ffffff;
  --color-bg-about: #ffffff;
  --color-bg-footer: #ffffff;
  --color-bg-holding-page: rgb(255, 255, 255);
  /* Headings */
  --h1-color: #000000;
  --h2-color: #000000;
  --h3-color: #000000;
  --h4-color: #000000;
  --h5-color: #000000;
  --h6-color: #000000;
  /* Special Text Colours */
  --color-text-holding-title: #000000;
  --color-text-project-category: #4a4a4ac1;
  --color-text-project-description: rgb(0, 0, 0);
  --color-text-project-sidebar: rgb(0, 0, 0);
  --color-text-project-title: #000000;
  --color-text-work-grid-title: #000000;
  /* Link States */
  --color-link: #000000;
  --color-link-hover: #000000;
  --color-link-visited: #000000;
  /* Navigation */
  --color-nav-link: #000000;
  --color-nav-link-hover: #000000;
  --color-nav-arrow-hover: #000000;
  --color-nav-arrow-stroke: #000000;
  --color-nav-arrow-stroke-hover: #000000;
  /* Components */
  --color-bg-full-width: #000000;
  --color-bg-project-description: #000000;
  --color-bg-sidebar-project: orangered;
  --color-bg-sidebar-work: lemonchiffon;
  --color-gradient-project-details: linear-gradient(
    -225deg,
    #ff057c 0%,
    #8d0b93 50%,
    #321575 100%
  );
  /* Special Elements */

  --color-text-holding-footer: #f8f8ff;
  --color-bg-selection: #d5d5d5;
  --color-shadow-stroke: rgba(0, 0, 0, 0.4);
  /* Assets */

  /* Animation Durations */

  /* Rounded Corners */
  --radius-sm: 0.5rem; /* Small interactive elements */
  --radius-md: 1rem; /* Cards/containers */
  --radius-lg: 1rem; /* Large decorative elements */
  --radius-full: 50%; /* Circles/pills */
  /* Padding Scale */
  --padding-tiny: 0.75rem; /* 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 */

  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: rgb(0, 0, 0);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, background-color 0.3s ease;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .custom-cursor.expand {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.385);
    border: 1.5px solid rgba(255, 255, 255, 0.728);
    box-sizing: border-box;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(6px);
  }

  .cursor-arrow {
    color: rgb(255, 255, 255);
    font-size: 0.8rem;
    opacity: 0; /* hidden by default */
    transform: scale(0.5); /* small + faded out */
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  /* Show and center arrow only in expand state */
  .custom-cursor.expand .cursor-arrow {
    opacity: 1;
    transform: scale(1);
  }

  .uppercase {
    text-transform: uppercase;
  }
}

/* ======================
   #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 {
  box-sizing: border-box; /* Makes sure padding and borders don't add extra width to elements */
  scroll-behavior: smooth; /* Adds smooth scrolling between sections */
  *:hover,
  *:hover::before,
  *:hover::after {
    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. */
}

/* Ensure all elements, including pseudo-elements, follow border-box sizing */
*,
*:before,
*:after {
  box-sizing: inherit; /* Inherits the border-box setting from the html tag */
}

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: column;
}

/* 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 */
/* ----------------------------- */

.padding-jumbo {
  padding: var(--padding-small); /* Adjusted for mobile use */
}

/* ------------------------------ */
/* 🧱 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;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (because 9 ÷ 16 = 0.5625) */
  margin-bottom: 1rem;
}
/* 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 */
/* ---------------------------------------- */

/* ------------------------------------------------------------------ */
/* 🔤 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);
  line-height: 5rem;
  margin-bottom: 0.25rem;
  color: var(--h1-color);
}

h2 {
  font-size: 2rem;
  font-family: var(--font-family-subheading);
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--h2-color);
}

h3 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--h3-color);
}

h4 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--h4-color);
}

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

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

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

p {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

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

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

/* ------------------------------------------------------------------ */
/* 🎨 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 {
  color: #000000; /* Uses your brand's dominant color */
  font-size: 1.5rem;
  line-height: 1.5rem;
  max-width: 40ch; /* Optimal line length for readability (~40 characters) */
  margin-inline: auto; /* Horizontally centers the text in its container */
  text-transform: uppercase;
}

.hero-subhead {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.hero-headline,
.hero-subhead {
  opacity: 0;
  transform: translateY(50px); /* start below */
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-headline.show,
.hero-subhead.show {
  opacity: 1;
  transform: translateY(0); /* slide up into place */
}

.hero-arrow {
  font-size: 2.5rem;
  animation: bounce 3s infinite ease-in-out;
}

/* Bouncing arrow animation */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(20px);
  }
}
/* Large project title — appears on individual project pages */
.project-title {
  font-size: 1rem;
  font-family: var(--font-family-project-title);
  color: var(--color-text-project-title);
  margin-bottom: 1rem;
}

.project-header {
  margin-bottom: 3rem;
  font-size: 3rem;
  line-height: 2.5 rem;
  display: inline-block;
}

/* Each word wrapper hides overflow */
.project-header .word-wrapper {
  display: inline-block;
  overflow: hidden; /* hides the word's starting position */
  vertical-align: bottom; /* aligns the text baseline nicely */
  margin-right: 0.1rem; /* optional spacing between words */
}

/* The actual word slides up */
.project-header .word-wrapper span {
  display: inline-block;
  transform: translateY(100%); /* start below the wrapper */
  transition: transform 0.6s ease-out;
}

.project-header .word-wrapper span.show {
  transform: translateY(0); /* slide into place */
}

/* 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,
.h2-full-width {
  width: 100%;
  padding: var(--padding-small);
}

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

.highlight-gradient {
  background: var(--color-gradient-hero);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: bold;
}

/* 📂 Project grid title — used in grid view (like a portfolio gallery) */
.work-grid-project-title {
  font-size: 1.6rem;
  line-height: 0.5rem;
  color: var(--color-text-work-grid-title);
  font-weight: 300;
}

/* 🏷️ Project category label — displays the type or role of the project */
.work-grid-project-category {
  color: var(--color-text-project-category);
  font-size: 1rem;
}

.work-grid-project-title,
.work-grid-project-category {
  margin-top: 1rem; /* spacing below image */
}

.project-detail {
  border-top: 1px solid #000;
  padding-top: 1rem;
  width: 40%;
}

/* -----------------------------------------------------
   Marquee Structure (Top)
----------------------------------------------------- */

/* The outer container — holds everything in place */
.marquee-top {
  position: relative;
  width: 100%;
  min-height: 20vh;
  overflow: hidden;
  background: #fff;

  display: flex;
  align-items: center;
}

/* The moving "track" that slides left to right */
.marquee-top__track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marquee-scroll 40s linear infinite;
}

/* Animation: moves the track smoothly across the screen */
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Each block of repeated content (we duplicate it in HTML) */
.marquee-top__content {
  display: inline-flex;
  flex-shrink: 0; /* Prevents shrinking */
}

/* The list and items inside the marquee */
.marquee-top__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Base style for all items */
.marquee-top__item {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image-specific item */
.marquee-top__item--image {
  width: 8rem;
}

/* Image-specific item */
.marquee-top__item--icon h3 {
  font-size: 1.75rem;
}

/* Image formatting */
.marquee-top__item--image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text item formatting */
.marquee-top__item--text h3 {
  font-size: 1.25rem;
  margin: 0;
  white-space: nowrap;
  border: 1px solid #000;
  padding: 10px 20px 10px 20px;
  border-radius: 60px;
}

/* -----------------------------------------------------
   Marquee Structure (Footer)
----------------------------------------------------- */

/* The outer container — holds everything in place */
.marquee {
  position: relative;
  width: 100%;
  min-height: 10vh;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  display: flex;
  align-items: center;
}

/* The moving "track" that slides left to right */
.marquee__track {
  display: flex;
  flex-shrink: 0;
  white-space: nowrap;
  animation: marquee-scroll 60s linear infinite;
}

/* Animation: moves the track smoothly across the screen */
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Each block of repeated content (we duplicate it in HTML) */
.marquee__content {
  display: inline-flex;
  flex-shrink: 0; /* Prevents shrinking */
}

/* The list and items inside the marquee */
.marquee__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Base style for all items */
.marquee__item {
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image-specific item */
.marquee__item--image {
  width: 8rem;
}

/* Image formatting */
.marquee__item--image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text item formatting */
.marquee__item--text h3 {
  font-size: 1.25rem;
  margin: 0;
  white-space: nowrap;
}

/*-----menu------*/
.menu {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 46px;
  width: 46px;
  padding-top: var(--padding-medium);
  padding-left: var(--padding-medium);
}

.menu-link {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1002;
}

.menu-icon {
  position: absolute;
  width: 20px;
  height: 14px;
  margin: auto;
  left: 0;
  top: 0;
  right: 0;
  bottom: 1px;
}

/* ------------- */
.menu-line {
  background-color: #000000;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.25s ease-in-out;
}
.menu-line-2 {
  top: 0;
  bottom: 0;
  margin: auto;
}
.menu-line-3 {
  bottom: 0;
}
.menu.open .menu-line-1 {
  transform: translateY(7px) translateY(-50%) rotate(-45deg);
}
.menu.open .menu-line-2 {
  opacity: 0;
  display: block;
}
.menu.open .menu-line-3 {
  transform: translateY(-7px) translateY(50%) rotate(45deg);
}

/* ------------- */
.menu-circle {
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  position: absolute;
  border-radius: 50%;
  transform: scale(1.2);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
}
.menu:hover .menu-circle {
  transform: scale(1.5);
}
.menu.open .menu-circle {
  transform: scale(60);
}

/* ------------- */
.menu-overlay {
  background-color: #ffffff;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  transition: opacity 0.2s ease-in-out;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ------------- */
.info {
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.overlay-info {
  text-align: center;
  color: #ffffff;
}
/*

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

*/

/* -------------------------------------------------------------------------- */
/* 🔗 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: var(--color-link-hover);
}

/* 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);
}
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);
}
/* footer item hover */
.footer-item {
  color: var(--color-link);
  text-decoration: none;
  position: relative;
}

.footer-item::before,
.footer-item::after {
  content: "";
  opacity: 0; /* hidden by default */
  transition: opacity 0.3s ease;
}

.footer-item::before {
  content: "["; /* left bracket */
  transform: translateX(-0.4rem); /* starts slightly to the left */
}

.footer-item::after {
  content: "]"; /* right bracket */
  transform: translateX(0.4rem); /* starts slightly to the right */
}

.footer-item:hover::before,
.footer-item:hover::after {
  opacity: 1; /* show on hover */
}

/* nav-branding-item hover */
.nav-branding-item h3 {
  position: relative;
  display: inline-block;
  color: #000000;
  font-size: 3rem;
  font-weight: 400;
  transition: font-weight 0.3s ease;
}

.nav-branding-item h3::before,
.nav-branding-item h3::after {
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease; /* add transform animation */
  font-size: 1em;
  color: inherit;
  display: inline-block;
}

.nav-branding-item h3::before {
  content: "[";
  margin-right: 0.2rem;
  transform: translateX(-0.4rem); /* starts slightly to the left */
}

.nav-branding-item h3::after {
  content: "]";
  margin-left: 0.2rem;
  transform: translateX(0.4rem); /* starts slightly to the right */
}

.nav-branding-item a:hover h3::before,
.nav-branding-item a:hover h3::after {
  opacity: 1;
  transform: translateX(0); /* slide into place */
}

/* 

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

/* -------------------------------------------------------------------------- */
/* 🦸 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%;
  min-height: 80vh; /* Takes up most of the screen height */
  display: flex;
  flex-direction: column;
}
.hero-header {
  min-height: 6rem; /* Space reserved for logo + nav */
  position: relative;
  z-index: 10;
}

/* Nav branding list */
.nav-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
}

.nav-branding {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-left: var(--padding-jumbo);
  padding-right: var(--padding-jumbo);
  margin-top: 2rem;
  align-items: center;
}

.nav-branding-group {
  display: flex;
  flex-direction: row;
}
.nav-branding-item {
  padding: 0.5rem;
}

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

.nav-branding-logo img {
  width: 2rem; /* Adjust size as needed */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove inline spacing issues */
}

.hero-headline-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
  text-align: center; /* Keeps text centered */
}

.hero-image-wrapper {
  perspective: 1000px;
  display: inline-block;
  position: relative;
  padding-bottom: var(--padding-tiny);
}

.hero-image {
  width: 100%;
  max-width: 1000px;
  transition: transform 0.25s ease-out, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  border-radius: 8px;
}

.hero-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.25),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.hero-image-wrapper:hover .hero-image::after {
  opacity: 0.5;
}

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

.hero-footer {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

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

/*

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

/* -------------------------------------------------------------------------- */
/* 🔧 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: 80vh; /* 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;
}

.full-width-headline-wrapper {
  width: 100%;
  min-height: 60vh; /* Ensures the headline takes up a good portion of the screen */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--padding-small);
  text-align: center; /* Keeps the text centered */
}

.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;
}

/* 

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

*/

/* -------------------------------------------------------------------------- */
/* 🔲 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  */
/* -------------------------------------------------------------------------- */

/* Initial state: hidden and below */
.work-page-grid-item {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Final state: visible and in place */
.work-page-grid-item.show {
  opacity: 1;
  transform: translateY(0);
}

.project-img {
  width: 100%; /* fills parent container */
  max-width: 660px; /* prevents it from getting too large on big screens */
  aspect-ratio: 16 / 9; /* keeps the same shape as 660x380 */
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  transform-origin: center center;
  border-radius: inherit;
}

.project-img:hover img {
  transform: scale(1.1);
}

/* Work wrapper (takes up available space) */
.main-work-section {
  flex: 1;
}

/* Padding around work grid and project page */
.portfolio,
.project-wrapper,
.work-sidebar-wrapper {
  padding: var(
    --padding-small
  ); /* Padding to keep content from touching edges */
}

/* 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 {
  width: 100%;
  height: auto;
  padding: 1rem;
  position: relative; /* Needed to position the overlay */
}

/* Project container for background and padding */
.project-container {
  background: var(--color-accent-primary); /* Set project background color */
  padding: var(--padding-medium);
}

.work-grid-project-title {
  display: inline-block; /* ensures box matches text width */
  position: relative;
  text-decoration: none;
  color: #000000; /* adjust as needed */
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* Hidden underline */
.work-grid-project-title a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -15px; /* adjust gap below text */
  width: 0; /* start invisible */
  height: 1.5px; /* underline thickness */
  background: #000000; /* underline color */
  transition: width 0.5s ease;
}

/* When the li is hovered, reveal underline on the title link */
.work-page-grid-item:hover .work-grid-project-title a::after {
  width: 100%; /* expands to match text length */
}

.content-drag-area {
  max-width: 100vw;
  min-height: 80vh;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  background: radial-gradient(
    circle,
    #d1ebfa,
    #e8f6ff,
    #ffffff,
    #ffffff,
    #ffffff,
    #ffffff
  );
  background-size: 100vw 80vh;
}

.img-drag {
  position: relative;
  display: block;
  width: 10vw;
  min-width: 120px;
  max-width: 200px;
  margin: 4rem;
}

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

/* -------------------------------------------------------------------------- */
/* 📚 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: 4rem; /* 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 .about-grid-info .about-grid .about-btns {
  overflow: visible;
}

.about-grid-info {
  grid-column: 1 / 2; /* Text spans the first column */
  grid-row: 2 / 3; /* Text spans the second row */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 2rem;
}

.about-awards {
  display: flex; /* Set to grid layout */
  flex-direction: column;
  background: var(--color-bg-about); /* Background color for the section */
  padding: var(--padding-jumbo); /* Padding around the grid */
  gap: 2rem;
}

.award-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;

  padding-top: 2rem;
  padding-bottom: 1rem;
}

.about-experience {
  display: flex; /* Set to grid layout */
  flex-direction: column;
  background: var(--color-bg-about); /* Background color for the section */
  padding: var(--padding-jumbo); /* Padding around the grid */
  gap: 2rem;
}

.experience-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;

  padding-top: 4rem;
  padding-bottom: 2rem;
}

.about-services {
  display: grid; /* Set to grid layout */
  grid-template-columns: 1fr; /* Single column layout for mobile and smaller screens */
  grid-gap: 2rem; /* Space between grid items */
  background: var(--color-bg-about); /* Background color for the section */
  padding: var(--padding-jumbo); /* Padding around the grid */
}

.about-services-title {
  grid-column: 1/2; /* Image spans the first column */
  grid-row: 1/2; /* Image spans the first row */
}

.services-list {
  grid-column: 1/2; /* Text spans the first column */
  grid-row: 2/3; /* Text spans the second row */
}

.service-item {
  margin-bottom: 1rem;
  display: flex;
  justify-content: start;
  gap: 3rem;
  padding-top: 2.5rem;
  padding-bottom: 1rem;
  /* Animation setup */
  opacity: 0;
  transform: translateX(-50px); /* slide in from left */
  transition: all 0.9s ease-out;
  position: relative;
}
/* Line animation using ::after */
.service-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #000;
  transition: width 0.9s ease-out;
}
/* When visible, slide in + expand line */
.service-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.service-item.visible::after {
  width: 100%; /* line expands across the full item */
}

.about-btns {
  padding: var(--padding-jumbo);
}

/* =========================
   AWARD & EXPERIENCE ITEMS (fade + slide up + animated top border)
   ========================= */
.award-item,
.experience-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
  background: var(--color-bg-about);
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.9s ease-out;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

/* Larger top padding for experience section */
.experience-item {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

/* Create an animated top border using ::before */
.award-item::before,
.experience-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  width: 0;
  background-color: #000;
  transition: width 0.9s ease-out;
}

/* Animate in: fade, slide, and draw border */
.award-item.visible,
.experience-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.award-item.visible::before,
.experience-item.visible::before {
  width: 100%;
}
/* 

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

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

.footer-global {
  display: grid;
  grid-template-columns: 1fr; /* three equal columns */
  gap: 2rem;
  padding: var(--padding-jumbo);
  background: #f8f8f8;
  overflow: visible;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: visible; /* important for position-aware button */
}

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

.footer-tagline {
  grid-column: 1 / 2; /* Full width (single column) */
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative; /* ensures child absolute elements inside button work */
  overflow: visible; /* allow button span to expand outside */
}
.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: center; /* Center copyright text */
  align-self: end; /* Push to bottom */
}

/* ------------------------------- */
/* 📜 Reusable footer list styles */
/* ------------------------------- */
.footer-list {
  margin-bottom: 2rem;
}
.footer-awards-list {
  margin-bottom: 2rem;
}

.footer-socials-list {
  margin-bottom: 2rem;
}

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

/* Apply this class to ALL list items (awards, works, social, bullets) */

.footer-contact {
  grid-column: 1/2;
  grid-row: 1/2;
  background: red;
}
.footer-item {
  line-height: 1.2; /* Consistent line height for footer items to improve spacing */
  margin-bottom: 0.25rem;
  grid-column: 1/2;
  grid-row: 2/3;
}

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

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

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

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

/* 

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

/* ---------------------------------------------------------------------------------- */
/* 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 {
  width: 100%;
  padding: var(--padding-small);
  margin-top: 2rem;
}

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

/* Container for project images with center alignment */
.project-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  margin-bottom: 1rem; /* Space below the image */
}

/* Container for project description */
.project-description-container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  width: 100%;
  margin-bottom: 1rem; /* Space below the description */
}

/* Column styles for two-column layouts */
.col-2 {
  width: 50%;
}

/* Project image styling */
.project-image {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

/* Project image pair layout */
.project-image-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two columns by default */
  gap: 2rem;
}

/* Each image keeps 4:5 ratio */
.project-image-pair .project-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.project-image-pair .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 1rem; /* keeps rounded-large */
}

.project-image-hero {
  width: calc(100vw - 0px);
  height: auto;
  display: block;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 3rem;
}
/* Project details section */
.project-details {
  width: 100%;
  padding: var(--padding-small);
  background: var(
    --color-gradient-project-details
  ); /* TODO: Remove gradient background if you prefer a simpler design */
}

/* 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;
}

.slide-up {
  opacity: 0;
  transform: translateY(100px) scale(0.98);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.slide-up.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/*

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

/* 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 */

.holding-page-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  place-items: center;
  text-align: center;
  width: 100%;
  min-height: 100vh;
}

.holding-page-animation {
  margin-bottom: 1rem;
}

.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%;
}

.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: 85%;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: var(--padding-small);
  text-align: center;
  margin: 0 auto;
}

.error-page-animation {
  width: 25rem;
}

.btn-primary {
  display: inline-block;
  background: transparent;
  border: 1px solid black;
  color: black;
  text-decoration: none;
  padding: 0 1.5rem;
  border-radius: 2rem;
  font-family: Montserrat, 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-primary > span {
  top: 50%;
  left: 50%;
  border-radius: 100%;
  background: black;
  position: absolute;
  display: block;
  width: 0%;
  transition: width 0.25s ease-in-out;
  transform: translate(-50%, -50%);
  aspect-ratio: 1;
  z-index: -1;
}
.btn-primary:hover {
  color: rgb(255, 255, 255);
}

.error-message {
  margin: 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 {
  /* Add page-specific layout or container styles here */
}

/*

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

*/

/* Sketchbook Page Styles */

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

/*

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

*/

/* Media Queries for Layout Adjustments */

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

/* 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. */

  .flex-row {
    flex-direction: row; /* Changes to row layout on larger screens */
  }

  .width-third {
    width: 33.333%;
  }
  .width-two-thirds {
    width: 66.666%;
  }
  .holding-page-title {
    font-size: 2rem;
  }

  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 1.7rem;
    font-weight: 400;
  }

  h3 {
    font-size: 3rem;
  }

  .h1-full-width,
  .h2-full-width {
    width: 70%;
    padding: var(--padding-small);
  }
  .padding-jumbo {
    padding: var(--padding-jumbo);
  }
  .nav-branding-logo {
    width: auto;
    /* TODO: Adjust the width of the logo on large devices here. */
  }

  .hero {
    min-height: 100vh;
  }

  .hero-headline-wrapper {
    padding-top: var(--padding-tiny);
    padding-bottom: var(--padding-medium);
    padding-left: var(--padding-ultra);
    padding-right: var(--padding-ultra);
  }
  .error-headline-wrapper {
    padding-top: var(--padding-small);
    padding-bottom: var(--padding-small);
    padding-left: var(--padding-ultra);
    padding-right: var(--padding-ultra);
  }

  .error-404 {
    font-size: 5rem;
  }

  /* Work Page Grid for Large Devices */

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

  /* Padding around work grid and project page */

  .portfolio,
  .project-wrapper,
  .work-sidebar-wrapper {
    padding: var(--padding-medium);
  }

  /* 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-small) var(--padding-jumbo);
  }

  .hero-headline {
    color: #000000; /* Uses your brand's dominant color */
    font-size: 2rem;
    line-height: 2rem;
    max-width: 40ch; /* Optimal line length for readability (~40 characters) */
    margin-inline: auto; /* Horizontally centers the text in its container */
    text-transform: uppercase;
  }

  /* Main Project Image Area on Large Devices */

  .project-details {
    width: 65%;
  }

  .project-header {
    font-size: 4rem;
  }

  .project-image-container,
  .project-description-container {
    flex-direction: row;
  }

  .section-container {
    width: 80%; /* Adjust this width for larger screens if needed */
    flex-direction: row;
  }
  .col-2 {
    width: 100%;
    margin-top: 1rem;
  }

  .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;
    overflow: visible;
  }

  .about-grid-image {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .about-grid-text {
    overflow: visible;
  }

  .about-grid-info {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    overflow: visible;
  }
  .about-header {
    margin-bottom: 2rem;
  }

  .divider {
    margin-top: var(--padding-jumbo);
    margin-bottom: var(--padding-jumbo);
  }

  .about-services {
    display: grid; /* Set to grid layout */
    grid-template-columns: 1fr 1fr; /* Single column layout for mobile and smaller screens */
    grid-gap: 2rem; /* Space between grid items */
    background: var(--color-bg-about); /* Background color for the section */
    padding: var(--padding-jumbo); /* Padding around the grid */
  }

  .about-services-title {
    grid-column: 1/2; /* Image spans the first column */
    grid-row: 1/2; /* Image spans the first row */
  }

  .services-list {
    grid-column: 2/3; /* Text spans the first column */
    grid-row: 1/2; /* Text spans the second row */
  }

  /*---draggable---*/

  .sandbox {
    max-height: 800vh;
    display: flex;
    margin-top: 3rem;
  }

  /*---play---*/

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

  .footer-global {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: var(--padding-jumbo);
    gap: 2rem;
    overflow: visible; /* allow children to expand */
  }

  .footer-contact {
    grid-column: 1/2;
    grid-row: 1/2;
    background: hotpink;
  }
  .footer-item {
    grid-column: 2/3;
    grid-row: 1/2;
  }

  /* Column 1: Tagline/Message */
  .footer-tagline {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* 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;
  }

  .footer-tagline.footer-highlights.footer-contact-social.footer-contact {
    overflow: visible;
  }

  /* ------------------------------- */
  /* 📏 FULL-WIDTH BOTTOM SECTION */
  /* ------------------------------- */
  .footer-full-width {
    grid-row: 2 / 3;
    grid-column: 1 / 4; /* Spans all three columns */
    text-align: center;
    align-self: end; /* Aligns content to bottom */
    border-top: 1px solid #000;
    padding-top: 2rem;
  }

  /*---play on large devices---*/
  .sandbox-header {
    display: flex;
    align-content: center;
    justify-content: center;
  }
  .sandbox-header h2 {
    display: flex;
    font-size: 2.5rem;
    font-style: italic;
  }

  /* 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(600px, 1fr));
    }
  }
}

/*

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