/* Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
}

.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.istok-web-regular {
  font-family: "Istok Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html, body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background-color: #f4f4f4;
  color: #333;
  width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center; 
  justify-content: center; 
  background-color: black;
  overflow: hidden;
  padding: 2rem;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center; 
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem;
  max-width: 1200px;
  align-items: center;
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(5px); 
  border: 0.5px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  border-radius: 2px; 
  padding: 1rem 1rem; 
  font-weight: 700;
}

.hero-image {
  position: absolute;
  top: 45%; 
  left: 53%; 
  width: 40px; 
  height: auto; 
  z-index: 9999;
  transform: translate(-50%, -50%) rotate(-110deg);
}

.headshot {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.intro-text h1 {
  font-family: "Bebas Neue", sans-serif;
  margin: 0;
  font-size: 18rem;
  color: #fff;
  text-align: center;
}

.intro-text p {
  font-family: "Istok Web", sans-serif;
  font-size: 3rem;
  margin-top: 10px;
  color: #fff;
  animation: text-fade 30s infinite ease-in-out;
  text-align: center;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* YouTube Video Background */
.video-background {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw; 
  min-width: 500px;
  height: 100vh; 
  transform: translate(-50%,-50%)scale(2);
  pointer-events: none;
  object-fit: cover;
  overflow: visible;
  margin-top:-55px;
}

/* Frosted Glass Overlay */
.frosted-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  backdrop-filter: blur(50px) contrast(1.2);
  background: rgba(255, 255, 255, 0.7);
  z-index: 2;
}

/* Skills Section Styles */
.skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 20px;
  background-color: #fff;
  gap: 10px;
}

.skill-item {
  text-align: center;
  flex: 1 1 calc(33.33% - 40px);
  width: calc(33.333% - 40px); 
  min-width: 250px;
  max-width: calc(33.33% - 40px);
  margin: 10px;
  box-sizing: border-box;
  background-color: light-gray;
  padding: 10px;
  border-radius: 10px;
}

.skill-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.skill-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 10px 0;
}

.skill-item p {
  font-size: 0.75rem;
  color: #555;
  margin: 0;
}

/* CTA Buttons Styles */
.cta-buttons {
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 10px; 
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  margin-right: 10px;
  height: auto;
  box-sizing: border-box;

  /* Frosted Glass Effect */
  background: rgba(255, 255, 255, 0.2); 
  backdrop-filter: blur(10px); 
  border: 1px solid rgba(255, 255, 255, 0.3); 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}

/* Primary Button */
.primary-btn {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3); 
}

.primary-btn:hover {
  background-color: rgba(255, 255, 255, 0.4); 
  color: white;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); 
}

/* Secondary Button */
.secondary-btn {
  background-color: transparent;
  color: #D3D3D3;
  border: 2px solid rgba(255, 255, 255, 0.3); 
  padding: 8px 18px;
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.4); 
  color: white;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); 
}

/* Animations */
@keyframes text-fade {
  0%, 100% {
    opacity: 1;
    color: white;
  }
  90% {
    opacity: 0.9;
    color: violet;
  }
  80% {
    opacity: 0.9;
    color: indigo;
  }
  70% {
    opacity: 0.8;
    color: cyan;
  }
  60% {
    opacity: 0.7;
    color: blue;
  }
  50% {
    opacity: 0.7;
    color: teal;
  }
  40% {
    opacity: 0.8;
    color: pink;
  }
  30% {
    opacity: 0.9;
    color: coral;
  }
  20% {
    opacity: 0.95;
    color: yellow;
  }
  10% {
    opacity: 0.95;
    color: red;
  }
}


@keyframes parallax {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20px);
  }
}

/* Media Queries for Responsiveness */

/* Tablets and Small Desktops */
@media (max-width: 1024px) {

  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .skills {
    padding: 20px 20px;
  }

  .skill-item {
    flex: 1 1 calc(50% - 40px); 
    max-width: calc(50% - 40px); 
  }
}
  .hero {
    min-height: 60vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 1rem;
  }

  .headshot {
    width: 150px;
    height: 150px;
  }

  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .skill-item {
    width: calc(100% - 40px); 
  }

  .btn {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .video-background iframe {
    transform: translate(-50%, -50%) scale(6); 
    object-fit: cover; 
    width: 133.33vw; 
    height: 100vw;   
  }
  
  .hero-image {
  position: absolute;
  top: 77%; 
  left: 600%; 
  width: 90px; 
  height: auto; 
  z-index: 9999;
  transform: translate(-50%, -50%) rotate(-110deg);
}
  
  .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .skill-item {
    flex: 1 1 100%; 
    max-width: 100%; 
  }
  
  .hero {
    min-height: 60vh;
  }

  .hero-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
 
  .intro-text h1 {
    font-size: 2rem;
  }

  .intro-text p {
    font-size: 1rem;
  }
}