/* Font Face */
@font-face {
  font-family: 'Micaelasfont-Regular';
  src: url('../fonts/Micaelasfont-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Reset and Base Styles */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden;
  background-image: url('../imgs/VertBGShort.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

/* keep box-sizing consistent */
*, *::before, *::after { box-sizing: inherit; }

/* ============================================
   CUSTOM SCROLLBAR - HOME PINK/MAGENTA THEME
   ============================================ */

/* Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #DC3691, #C02A7D);
  border-radius: 10px;
  border: 2px solid #ffffff;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #C02A7D, #A02366);
  box-shadow: 0 8px 20px rgba(220, 54, 145, 0.3);
}

::-webkit-scrollbar-corner {
  background: #ffffff;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #DC3691 #ffffff;
}

/* ensure body fills the viewport and lets the html background show */
body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  font-family: 'Micaelasfont-Regular', sans-serif;
  color: #000;
}

/* Use fixed attachment only on large screens to avoid rendering issues */
@media (min-width: 1200px) {
  html { background-attachment: fixed; }
}
/* --------------------------About Section --------------------------------*/
#AboutSection {
  position: relative;
  height: 100vh;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px;
  color: #000;
  z-index: 10;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Left column with images */
.left-column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.Nutshell {
  width: 100%;
  max-width: 280px;
  height: auto;
  order: -1;
}

.Nutshell img {
  width: 100%;
  height: auto;
  display: block;
}

.AboutImg {
  width: 100%;
  max-width: 450px;
  height: auto;
}

.AboutImg img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right column with text */
.right-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

h1 {
  margin: 0 0 16px 0;
  font-size: clamp(24px, 3vw, 32px);
  color: #000000;
  text-align: left;
  font-family: 'Micaelasfont-Regular', sans-serif;
} 

.About {
  margin: 0 0 24px 0;
  font-size: clamp(14px, 1.6vw, 16px);
  color: #000000;
  text-align: left;
  font-family: "Sora", sans-serif;
  line-height: 1.6;
}

.Skills {
  top: 75%;
  width: 35%;
}

.Skills img {
  width: 100%;
  height: auto;
  display: block;
}

.AMSN {
  position: absolute;
  right: 0;
  top: 75%;
  width: 75%;
  max-width: 250px;
}

.AMSN img {
  width: 100%;
  height: auto;
  display: block;
  scale: 0.75;
}

/* Responsive: stack columns on smaller screens */
@media (max-width: 900px) and (min-width: 701px) {
  .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .left-column,
  .right-column {
    align-items: center;
    text-align: center;
  }
  
  h1,
  .About {
    text-align: center;
  }
  
  .Skills,
  .AMSN {
    margin-left: auto;
    margin-right: auto;
  }
  
  .AMSN {
    position: static;
    margin-top: 20px;
  }
}

/* Mobile-specific About section */
@media (max-width: 700px) {
  #AboutSection {
    height: 100vh;
    min-height: 50vh;
    padding: 30px;
    scroll-snap-align: none;
  }
  
  .container {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 100%;
  }
  
  .left-column {
    order: 1;
    gap: 20px;
  }
  
  .right-column {
    order: 2;
    gap: 15px;
    text-align: center;
  }
  
  .Nutshell {
    max-width: 180px;
    order: 1;
  }
  
  .AboutImg {
    max-width: 280px;
    order: 2;
  }
  
  h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .About {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
  }
}
/* -------------------------------HOME------------------------------------*/
.Home {
  flex: 0 0 100vw;
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  padding: 40px;     
  box-sizing: border-box;
}

.logo {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25%;
}

.Squiggle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/* Play Showreel Button */
.play-showreel-btn {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(220, 54, 145, 0.543);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
}

.play-showreel-btn:hover {
  background: rgba(220, 54, 145, 0.543);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.play-showreel-btn:active {
  transform: translateX(-50%) translateY(-1px);
}

.play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #000;
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.play-showreel-btn:hover .play-icon {
  background: #333;
  transform: scale(1.1);
}

.btn-text {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Mobile Layout */
@media (max-width: 700px) {
  html {
    background-image: url('../imgs/VertBGShort.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: auto;
    min-height: 100vh;
  }
  
  body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
  }
  
  .Home {
    height: auto;
    min-height: 80vh;
    padding: 40px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  
  .logo {
    position: static;
    transform: none;
    width: 60%;
    max-width: 300px;
    margin: 60px auto 40px;
    order: 1;
  }
  
  .Squiggle {
    display: none;
  }
  
  .play-showreel-btn {
    position: static;
    transform: none;
    margin: 30px auto 40px;
    order: 2;
    background: #DC3691;
    border: none;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 54, 145, 0.3);
  }
  
  .play-showreel-btn:hover {
    background: #C02A7D;
    transform: none;
    box-shadow: 0 6px 20px rgba(220, 54, 145, 0.4);
  }
  
  .play-icon {
    background: white;
    color: #DC3691;
    width: 24px;
    height: 24px;
  }
  
  .play-showreel-btn:hover .play-icon {
    background: white;
    color: #C02A7D;
    transform: none;
  }

  .About {
    padding-bottom: 25%;
  }
}

/* Responsive Design for Showreel Button */
@media (max-width: 768px) and (min-width: 701px) {
  .play-showreel-btn {
    bottom: 10%;
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .play-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .Home {
    padding-bottom: 10%;
  }
  
  .logo {
    width: 70%;
    margin: 40px auto 30px;
  }
  
  .play-showreel-btn {
    margin: 20px auto 30px;
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .play-icon {
    width: 20px;
    height: 20px;
  }
}