 /* GLOBAL */
 @font-face {
  font-family: 'TimelessNeon';
  src: url('fonts/Timeless\ Neon\ Demo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
      margin: 0;
      font-family: "Quicksand", sans-serif;
      font-optical-sizing: auto;
      font-weight: 400;
      font-style: normal;
      background: url('img/city-toronto.jpeg') no-repeat center center;
      background-size: cover;
      background-attachment: scroll;
      background-position: center 0;
      color: #e8d8c4;
    } 
    body::before {
      content: "";
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.50);
      z-index: 0;
    }

    nav, .hero, .projects, footer {
      position: relative;
      z-index: 1;
    }

    a {
      color: #eae0d3;
      text-decoration: none;
      transition: all 0.3s ease;
      position: relative;
    }

    /* NAV */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 3rem;
      position: sticky;
      top: 0;
      z-index: 1000; 
    }

    .logo img {
      height: 70px;
      width: auto;
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 2rem;
      margin: 0;
      padding: 0;
    }

    nav ul li a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -4px;
      width: 0%;
      height: 2px;
      background: #84a5b8;
      transition: width 0.3s ease;
    }


    nav ul li a:hover::after {
      width: 100%;
    }
    /* ===== HERO REVEALS ===== */

/* Hide letters initially */
.hero h1 .flicker-letter {
  opacity: 0;
  display: inline-block;
  color: #8b2e3d;
  text-shadow:
    0 0 5px #8b2e3d,
    0 0 10px #8b2e3d,
    0 0 20px #8b2e3d;
}

/* Flicker animation applied when show-hero is added */
.hero.show-hero .flicker-letter {
  animation: flickerLetter 1.5s infinite alternate;
}

/* Flicker keyframes */
@keyframes flickerLetter {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.2; }
}




/* Only play animations once intro is done */
.hero.show-hero .reveal-text h1,
.hero.show-hero .reveal-text p {
  animation-play-state: running;
}

/* Start paused by default */
.reveal-text h1,
.reveal-text p {
  animation-play-state: paused;
}

/* Fade-up text paragraphs */
.hero p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero p.reveal {
  opacity: 1;
  transform: translateY(0);
}

    /*  HERO  */
    .hero {
      height: 180vh;
      display: flex;
      flex-direction: column;
      background: rgba(0,0,0,0.65);
    }
    .hero-title {
      text-align: right; /* aligns the block to the right */
      line-height: 5; 
      padding: 10rem 5rem;
    }
    
    .hero-title h1 {
      font-size: 5rem;
      color: #8b2e3d;
      text-align: right;
      margin: 0;
      font-family: "Iceberg", sans-serif;
      font-weight: 400;
      font-style: normal;
    }
    
    .hero-title .flicker-letter {
      display: block; /* makes each name on its own line */
      color: #8b2e3d;
      animation: flickerLetter 1s ease-in-out forwards;
    }
    
    .hero-title .last-name {
      text-align: center; /* centers "Alaksa" under "Samantha" */
    }
    

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

    .hero-text p {
      font-size: 1.4rem;
      max-width: 600px;
      color: #e8d8c4;
      margin: 1rem 0;
    }

    .skills-section {
      position: relative;
      background: rgba(0, 0, 0, 0.6); /* dark transparent background */
      padding: 0px 10% 80px;
      border-radius: 25px;
      text-align: center;
      color: #e8d8c4;
      box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
      overflow: hidden;
      margin-bottom: 80px;
    }
    
    .skills-section::before {
      content: "";
      position: absolute;
      top: 0; 
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      height: 100%;
      background: rgba(40, 40, 40, 0.85);
      border-radius: 20px;
      z-index: 0;
    }
    
    

    /* Make sure content stays above rectangle */
    .skills-section > * {
      position: relative;
      z-index: 1;
    }
    
    .skills-title {
      transform: translateX(-480px);
    }

    /* Heading with fancy first letter (matching hero title) */
    .skills-section h1 {
      font-size: 4rem;
      color: #772734;
      font-family: "Times New Roman", serif;
      font-weight: 400;
      margin-bottom: -20px;
      opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.skills-section h1.reveal {
  opacity: 1;
  transform: translateY(0);
}
    
    
    .skills-section .fancy-letter {
      font-size: 6rem;
      font-family: "MonteCarlo", cursive;
      color: #772734;
      display: inline-block;
      margin-right: 0.1em;
    }
    
    
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
      justify-items: center;
      margin-top: 20px;
    }
    
    .skill-card {
      background: rgba(255, 255, 255, 0.08);
      border: 2px solid rgba(232, 216, 196, 0.6);
      border-radius: 16px;
      padding: 20px 30px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 15px;
      transition: all 0.3s ease;
      backdrop-filter: blur(8px);
      width: 320px;
      height: 100px;
      box-sizing: border-box;
    }

    .skill-card {
      opacity: 0;
      transform: translateY(40px);
    }

    .skill-card.reveal {
      opacity: 1;
      transform: translateY(0);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .skill-card img {
      width: 50px;
      height: 50px;
      border-radius: 10px; /* Rounded corners for icons */
      object-fit: cover;
    }
    
    .skill-card span {
      font-size: 1.2em;
      font-weight: 500;
      color: #e8d8c4;
    }
    
    .skill-card:hover {
      transform: translateY(-5px);
      border-color: #84a5b8;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
    }
    
    

    /* ===== FOOTER ===== */
    footer {
      text-align: center;
      color: #555;
      background-color: #000;
    }

/* ABOUT */
.about {
  background: rgba(0,0,0,0.85);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1000px;
  align-items: center;
  z-index: 1;
}

.about-image img {
  width: 300px;
  height: auto;
  border-radius: 12px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h1 {
  font-size: 3rem;
  color: #8b2e3d;
  margin-bottom: 1.5rem;
  font-family: "Orbitron", sans-serif;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #e8d8c4;
}

/* WORK SECTION */

body.work-page {
  background: #000;
}

.video-section {
  position: relative;
  height: 100vh; /* full viewport height */
  overflow: hidden;
  z-index: 1;
}
.scroll-text {
  font-weight: 400;
  font-style: normal;
  position: fixed;
  left: 2%;            
  transform: translateY(-50%);
  z-index: 5;
  text-align: left;
  display: flex;
  gap: 2vw;
  letter-spacing: 0.05em;
  font-family: "Neonderthaw", cursive;
  color: #c76b7b;
  text-shadow:
    0 0 5px #8b2e3d,
    0 0 10px #8b2e3d,
    0 0 20px #8b2e3d,
    0 0 40px #8b2e3d,
    0 0 60px #8b2e3d;
  
  /* Optional: makes it look more crisp on dark backgrounds */
  -webkit-text-stroke: 1px rgba(145, 27, 58, 0.3);
}
  

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    opacity: 1;
  }
  20%, 24%, 55% {
    opacity: 0.4;
  }
}

.scroll-word {
  font-size: 18em;
  margin: 0;
  line-height: 1;
  position: relative; /* needed for pseudo-elements */
}

.video-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 0;
}

.video-background {
  width: 100%;
  height: auto;
  object-fit: cover;
}


#video-blank {
  height: 300vh;
}

.main-work {
  position: relative;
  z-index: 6;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  background-color: black;
  color: white;
}

.project {
  border-bottom: 1px solid #555;
  padding-bottom: 40px;
}
.project-images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  justify-content: flex-end;
}

.project-images img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.main-project-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.project-description {
  margin-top: 10px;
  font-size: 1rem;
  color: #e8d8c4;
  max-width: 600px;
}

.category {
  font-size: 1rem;
  color: #a43d50;
  text-transform: uppercase;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 30px;
}

.project-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.project {
  margin: 5vh 10vw;
  color: #e8d8c4;
  border-bottom: 1px solid #333;
  padding-bottom: 60px;
  margin-bottom: 60px;
}

.project:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.project-header {
  margin-bottom: 1.5em;
}

.project-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 4em;
  margin: 0;
  letter-spacing: 1px;

}

.subtitle {
  font-size: 1.2em;
  opacity: 0.8;
  margin-top: 0.2em;
  text-transform: uppercase;
}

.project-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3em;
  align-items: start;
}

.ads {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.ads img {
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}
.website {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.website img {
  width: 118%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}
.websiteWire {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.websiteWire img {
  width: 90%;
  height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
}

.description {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1em;
}

.description p {
  font-size: 1.1em;
  line-height: 1.5;
  opacity: 0.9;
}

.year {
  font-size: 1em;
  color: #a43d50;
  font-weight: bold;
  letter-spacing: 1px;
}

/* GALLERY OF PHOTOS */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 equal columns */
  gap: 20px;
  padding: 50px 5%;
}

.photo-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.photo-gallery img:hover {
  transform: scale(1.05);
  z-index: 10;
}

/* Optional: reduce spacing between gallery rows */
.photo-gallery {
  row-gap: 20px; /* controls vertical space */
}




/* Responsive for tablet/mobile */
@media (max-width: 768px) {
  .project-content {
      grid-template-columns: 1fr;
      gap: 20px;
  }
  .year {
      justify-self: start;
  }
  .project-content img {
      max-width: 100%;
  }
}



/* CONTACT PAGE */
.contact h1 {
 color: #a43d50;
}
.contact h2,
.contact p {
  color: #f6e9da;
}
.contact h3 {
 color: #e8d8c4;
}

.contact {
  padding:  2rem;
  font-family: 'Orbitron', sans-serif;
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.85);
  flex: 1;
}

.contact-title {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text {
  line-height: 1.8;
  font-size: 1rem;
  text-transform: uppercase;
  font: bold;
  letter-spacing: 2px;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns: left and right */
  gap: 2rem;
}

/* Left column: Experience + Location */
.contact-info .left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Right column: Socials + Phone + Email */
.contact-info .right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact .copyright {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.contact-footer {
  background: rgba(0, 0, 0, 0.9);
  color: #e8d8c4;
  text-align: center;
  padding: 4rem 0;
  font-size: 0.9rem;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 2;
}


.info-group h3 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #8b2e3d;
  margin-bottom: 0.5rem;
}

.info-group a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px dotted #8b2e3d;
  transition: color 0.3s ease;
}

.info-group a:hover {
  color: #a43d50;
}

.info-group p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #e8d8c4;
}


@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-title {
    font-size: 2.5rem;
  }
}


/* ===== INTRO SPLASH ===== */
.intro {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000; /* above everything */
  overflow: hidden;
}

.intro h2 {
  font-family: "Iceberg", sans-serif;
      font-weight: 400;
      font-style: normal;
  font-size: 5rem;
  display: flex;
  gap: 0.2rem;
}

.intro h2 span {
  color: #8b2e3d;           /* bright red LED */
  text-shadow:
    0 0 5px #8b2e3d,
    0 0 10px #8b2e3d,
    0 0 20px #8b2e3d,
    0 0 40px #8b2e3d;
  opacity: 0;               /* start hidden */
  animation: introFlicker 0.2s infinite alternate;
}

/* Fade in letters one by one */
.intro h2 span:nth-child(1) { animation-delay: 0.3s; }
.intro h2 span:nth-child(2) { animation-delay: 0.6s; }
.intro h2 span:nth-child(3) { animation-delay: 0.9s; }
.intro h2 span:nth-child(4) { animation-delay: 1.2s; }
.intro h2 span:nth-child(5) { animation-delay: 1.5s; }
.intro h2 span:nth-child(6) { animation-delay: 1.8s; }
.intro h2 span:nth-child(7) { animation-delay: 2.1s; }

/* Flicker effect */
@keyframes introFlicker {
  0%   { opacity: 0; filter: blur(2px); }
  50%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(1px); }
} 

/* Slide away intro after animation (keep your previous slide-away) */
.intro.slide-away {
  animation: slideAway 2s ease forwards;
}

@keyframes slideAway {
  0% { opacity: 1; transform: translateY(0%); }
  100% { opacity: 0; transform: translateY(-100%); }
}
