/* Resetting margin and padding */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fullscreen background */
html,
body {
  height: 100%;
  font-family: "Roboto", sans-serif;
  background-image: url("images/home/background.png"); /* Set to your background image */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  text-align: center;
  transition: background-color 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav li {
  font-size: 1.5rem; /* Increased button size */
  transition: transform 0.3s ease-in-out;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem; /* Padding for buttons */
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

nav a:hover {
  color: #00bcd4; /* Light Blue hover */
  transform: scale(1.1);
}

nav a.active {
  color: #00bcd4; /* Active page indication */
}

/* Main content styling */
.main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70vh;
  padding: 3rem;
  text-align: left;
  color: #fff;
  padding-top: 6rem; /* Space for fixed nav */
}

.bio-section {
  flex: 1;
  max-width: 500px;
  padding-right: 2rem;
}

.bio-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.bio-section h1 span {
  text-decoration: underline;
  color: yellow;
}

.bio-section p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-section {
  flex: 1;
  max-width: 360px;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
}

.skills-section:hover {
  transform: scale(1.05);
}

.skills-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #00bcd4;
  text-align: center;
  font-weight: 600;
}

.skills {
  list-style: none;
  padding-left: 0;
  font-size: 1.2rem;
  line-height: 1.28;
}

.skills li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
}

.skills li i {
  margin-right: 0.8rem;
  color: #00bcd4; /* Light Blue color */
}

.skills li span {
  font-weight: bold;
}

/* Quick Look Section */
.quick-look {
  background: rgba(0, 0, 0, 0.5);
  padding: 4rem 2rem;
  margin-top: 4rem;
  backdrop-filter: blur(0px);
  border-radius: 10px;
  color: #fff;
  transition: backdrop-filter 0.3s ease;
}

.quick-look h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.quick-look .projects {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.quick-look .project-card {
  width: 30%;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.quick-look .project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.quick-look .project-card:hover img {
  transform: scale(1.1);
}

.quick-look .project-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quick-look .project-card:hover .overlay {
  opacity: 1;
}

.quick-look .project-card .overlay a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background-color: #00bcd4;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.quick-look .project-card .overlay a:hover {
  background-color: #008c9e;
}

.quick-look .socials {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
}

.quick-look .socials a {
  font-size: 2rem;
  color: #fff;
  transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out;
}

.quick-look .socials a:hover {
  font-size: 2.5rem;
  color: #00bcd4;
}

/* Radial colored social container (faint red, mostly black) */
.socials-container {
  margin-top: 50px; /* Give some space above the social links */
  background: radial-gradient(
    circle,
    rgba(255, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  border-radius: 50px;
  padding: 20px;
  text-align: center;
  position: relative;
}

/* Add the Socials text */
.socials-container h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px; /* Space between the text and social links */
}

/* Social buttons */
.socials {
  display: flex;
  justify-content: center; /* Center the social buttons */
  gap: 1.5rem;
  margin-top: 3rem;
}

.socials a {
  font-size: 2rem;
  color: #fff;
  transition: font-size 0.3s ease-in-out, color 0.3s ease-in-out;
}

.socials a:hover {
  font-size: 2.5rem;
  color: #00bcd4; /* Color change on hover */
}

/* Sticky background with fade effect */
.sticky-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 191, 212, 0.3)
    ),
    url("image/home/background.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  filter: blur(12px);
  transition: filter 0.3s ease;
}

/* Media Queries for responsiveness */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    padding-top: 15rem; /* Adds more space for small screens */
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav li {
    font-size: 1rem;
  }

  .bio-section,
  .skills-section {
    max-width: 100%;
    padding-right: 0;
  }

  .bio-section h1 {
    font-size: 2rem;
  }

  .skills-section h3 {
    font-size: 1.5rem;
  }

  .quick-look {
    padding: 3rem 1rem;
  }

  .quick-look .projects {
    flex-direction: column;
  }

  .quick-look .project-card {
    width: 100%;
  }
}



/* Sticky Background */
.sticky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.7),
        rgba(0, 191, 212, 0.3)
      ),
      url("image/home/background.png");
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(12px);
    transition: filter 0.3s ease;
  }
  
  /* Bio and Skills Section */
  .bio-section, .skills-section {
    padding: 2rem;
    color: #fff;
  }
  
  /* Quick Look Section */
  .quick-look {
    padding: 4rem 2rem;
    margin-top: 4rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  /* Scroll Down Arrow */
  .scroll-down-arrow {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #00bcd4;
    animation: bounce 1.5s infinite;
  }
  
  .scroll-down-arrow a {
    text-decoration: none;
    color: #00bcd4;
  }
  
  .scroll-down-arrow a:hover {
    color: #008c9e;
  }
  
  /* Smooth Scrolling */
  html {
    scroll-behavior: smooth;
  }
  
  /* Arrow bounce effect */
  @keyframes bounce {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  


 

.demo-reel {
  display: block;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  text-align: center; 
  padding: 50px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  
}


.demo-reel h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

.demo-reel p {
  margin-top: 20px;
  font-size: 1.2em;
}

.commissions-link {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
}

.commissions-link:hover {
  text-decoration: underline;
}

/* Scroll Down Arrow */
.scroll-down-arrow {
  text-align: center;
  margin-top: 20px;
}

.scroll-down-arrow a {
  display: inline-block;
  font-size: 2em;
  color: white;
  transition: transform 0.3s ease-in-out;
}

.scroll-down-arrow a:hover {
  transform: translateY(5px);
}




.link {
  display: inline-block;
  padding: 5px 10px;
  background-color: #4a90e2;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover state: lighten the background and slightly raise the button */
.link:hover {
  background-color: #5aa2f3;
  transform: translateY(-2px);
}

/* Focus state: add an outline for accessibility */
.link:focus {
  outline: 2px solid #ffbf47;
  outline-offset: 2px;
}

/* Active state: simulate a pressed effect */
.link:active {
  background-color: #3a78c2;
  transform: translateY(0);
}

  .project-card {
    position: relative;
    width: 300px;
    margin: 1em;
    text-align: center;
    cursor: pointer;
    border: 1px solid #00bcd4;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
  }

  .project-card:hover {
    transform: scale(1.03);
  }

  .project-card img {
    width: 100%;
    display: block;
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 188, 212, 0.7), transparent);
    opacity: 0;
    transition: 0.3s ease-in-out;
  }

  .project-card:hover .overlay {
    opacity: 1;
  }

  .project-card h3 {
    margin: 0.5em 0 0.2em;
    font-size: 1.2em;
  }

  .click-tip {
    font-size: 0.9em;
    color: #00bcd4;
    margin-bottom: 0.7em;
  }

  .video-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
    font-family: sans-serif;
  }

  .video-controls button {
    background: #00bcd4;
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    cursor: pointer;
    font-weight: bold;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    transition: background 0.2s ease;
  }

  .video-controls button:hover {
    background: #0097a7;
  }

  .video-controls .video-title {
    flex-grow: 1;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: #00bcd4;
  }




  #cards-display {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  justify-content: center;  /* Already used — good! */
  padding: 2em;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .project-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .video-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
    text-align: center;
  }

  .video-title {
    order: -1; /* move title to top */
    margin-bottom: 0.3em;
  }
}
.video-controls {
  flex-wrap: wrap;
  gap: 0.5em;
}

.video-controls button {
  font-size: 0.85rem;
  min-width: 80px;
  white-space: nowrap;
}
/* Reset and Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
}

nav a:hover,
nav a.active {
  color: #00bcd4;
}

/* Section Wrappers */
.section {
  padding: 5rem 1rem 2rem;
  text-align: center;
}

/* Demo Reel */
.demo-reel h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.video-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 10px;
}

/* Quick Look Section */
.quick-look {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: 2rem 1rem;
  margin: 2rem auto;
  max-width: 100%;
}

.quick-look h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

#cards-display {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.project-card {
  width: 100%;
  max-width: 360px;
  background: #111;
  border: 1px solid #00bcd4;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 0.8rem 0 0.3rem;
}

.click-tip {
  font-size: 0.85rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.video-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
}

.video-controls .video-title {
  font-size: 1rem;
  font-weight: bold;
  color: #00bcd4;
}

.video-controls button {
  background: #00bcd4;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s ease;
  width: 100%;
}

.video-controls button:hover {
  background: #0097a7;
}

video {
  width: 100%;
  border-radius: 10px 10px 0 0;
  background: black;
}

/* Socials */
.socials-container {
  background: radial-gradient(circle, rgba(255, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
  border-radius: 30px;
  padding: 2rem 1rem;
  text-align: center;
  margin: 2rem auto;
}

.socials-container h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.socials a {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.3s, color 0.3s;
}

.socials a:hover {
  color: #00bcd4;
  transform: scale(1.2);
}

/* Arrow Bounce */
.scroll-down-arrow {
  font-size: 2rem;
  color: #00bcd4;
  animation: bounce 1.5s infinite;
  margin: 2rem 0;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@media (min-width: 768px) {
  nav ul {
    flex-direction: row;
  }

  .video-controls {
    flex-direction: row;
    justify-content: space-between;
  }

  .video-controls button {
    width: auto;
  }

  #cards-display {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.hamburger {
  display: none;
  color: white;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  z-index: 9999;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 2rem;
    text-align: center;
  }

  nav ul.show {
    display: flex;
  }

  nav li {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
}

.sticky-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px);
}

@media (max-width: 768px) {
  .sticky-background {
    background-attachment: scroll; /* prevents bad scaling */
    background-size: 100% auto; /* or cover depending on image shape */
  }
}
.skills-section {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: left;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.skills li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.skills li span {
  margin-left: 0.5rem;
}
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.15);
}
.skills-section {
  margin-top: 12rem; /* add space below bio */
  margin-bottom: 12rem; /* add space before demo reel */
}



















html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.sticky-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;

  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7),
      rgba(0, 191, 212, 0.3)
    ),
    url("images/home/background.png"); /* make sure this path is correct */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .sticky-background {
    background-attachment: scroll; /* fix jittery behavior on mobile */
    background-size: cover;
    background-position: center;
  }
}
.skills li {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.skills li span {
  margin-left: 0.5rem;
  font-weight: bold;
}

.skills-section {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: rgba(0,0,0,0.7);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: left;
}
