/* Include */
@font-face {
  font-family: "monument_extendedregular";
  src: url("https://www.yudiz.com/codepen/photography-banner/monumentextended-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Extenda Trial 20 Micro";
  src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-20Micro.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Extenda Trial 30 Deca";
  src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-30Deca.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Common CSS */
body,
html {
  overflow-x: hidden !important;
}

body {
  margin: 0;
  background-color: #212121;
  background-image: url("https://www.yudiz.com/codepen/photography-banner/frame.png");
}

/* Fix for fixed header overlap */
main {
  padding-top: 30px;
}

@media screen and (max-width: 768px) {
  main {
    padding-top: 70px;
  }
}

::selection {
  background-color: rgba(241, 231, 40, 0.2);
  color: #ffffff;
}

/* ========================================
     NAVIGATION MENU STYLES
     ======================================== */

/* Header Container */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(33, 33, 33, 0.3);
  /* Transparente al inicio */
  backdrop-filter: blur(5px);
  /* Desenfoque ligero */
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(85, 85, 85, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header.scrolled {
  background: rgba(33, 33, 33, 0.7);
  /* Más oscuro al dar scroll */
  backdrop-filter: blur(15px);
  /* Más desenfoque al dar scroll */
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.navbar {
  width: 100%;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f1e728;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo img {
  height: 45px;
  width: auto;
  filter: brightness(1.1);
}

.nav-logo span {
  color: #ffffff;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  text-decoration: none;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #f1e728;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #f1e728;
}

.nav-link:hover::after {
  width: 100%;
}

/* Submenu Arrow */
.submenu-arrow {
  fill: #ffffff;
  transition: transform 0.3s ease, fill 0.3s ease;
}

.nav-link:hover .submenu-arrow {
  fill: #f1e728;
}

.has-submenu:hover .submenu-arrow {
  transform: rotate(180deg);
}

/* Submenu Dropdown */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(33, 33, 33, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(85, 85, 85, 0.5);
  border-radius: 8px;
  list-style: none;
  margin: 10px 0 0 0;
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li {
  margin: 0;
}

.submenu-link {
  display: block;
  color: #ffffff;
  text-decoration: none;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 20px;
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.submenu-link:hover {
  background-color: rgba(241, 231, 40, 0.1);
  color: #f1e728;
  padding-left: 28px;
}

/* Hamburger Button (Hidden on Desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #f1e728;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger Animation when Active */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ========================================
     MOBILE RESPONSIVE STYLES
     ======================================== */

@media screen and (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
    height: 70px;
  }

  .nav-logo {
    font-size: 16px;
    gap: 10px;
  }

  .nav-logo img {
    height: 38px;
  }

  /* Show Hamburger on Mobile */
  .hamburger {
    display: flex;
  }

  /* Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: rgba(33, 33, 33, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 100px 0 40px 0;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(85, 85, 85, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(85, 85, 85, 0.2);
  }

  .nav-link {
    width: 100%;
    padding: 18px 30px;
    font-size: 16px;
    justify-content: space-between;
  }

  .nav-link::after {
    display: none;
  }

  /* Mobile Submenu */
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    box-shadow: none;
  }

  .has-submenu.active .submenu {
    max-height: 600px;
    padding: 10px 0;
  }

  .submenu-link {
    padding: 12px 30px 12px 50px;
    font-size: 13px;
  }

  .submenu-link:hover {
    padding-left: 58px;
  }

  /* Rotate arrow on mobile when submenu is active */
  .has-submenu.active .submenu-arrow {
    transform: rotate(180deg);
  }

  /* Mobile Menu Overlay */
  .nav-menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
  }

  .nav-menu.active::before {
    opacity: 1;
    visibility: visible;
  }
}

/* Tablet Adjustments */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .nav-container {
    padding: 0 25px;
  }

  .nav-menu {
    gap: 25px;
  }

  .nav-link {
    font-size: 13px;
  }
}

/* ======================================== */


/* Demo css -start */
.info-section {
  height: 100svh;
  min-height: 780px;
  padding: 0 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  user-select: none;
}

.info-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: var(--yellow, #f1e728);
  filter: blur(162px);
  height: 35%;
  width: 55%;
  position: absolute;
  top: -40%;
  left: -66%;
  transform: translate(50%, 50%);
  z-index: -1;
}

/* left part */
.left-part {
  padding: 20px 0 0;
  overflow: hidden;
}

.left-part h1 {
  margin: 0;
  color: #fff;
  font-family: "Extenda Trial 30 Deca";
  font-size: clamp(100px, 18.5vw, 202px);
  line-height: 0.75;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
}

.left-part h1 .text {
  color: #f1e728;
  display: block;
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  25%,
  75% {
    opacity: 0;
  }
}

.left-part h1 .d-flex {
  display: flex;
  align-items: center;
}

.left-part h1 .char {
  transform: translateY(-515px);
  transition: transform 0.5s;
}

.typed-cursor {
  display: none !important;
}

.left-part p {
  width: 72%;
  margin: 20px 0 0;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  line-height: 2;
  font-family: "monument_extendedregular";
  opacity: 0.8;
}

/* button */
.book-link {
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  font-size: 20px;
  line-height: 1;
  color: #f1f1f1;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-family: "monument_extendedregular";
  font-weight: 300;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  position: relative;
  text-decoration: none;
}

.book-link .linktext {
  position: relative;
  overflow: hidden;
  display: inline-block;
}


.book-link:hover .linktext:before {
  transform: scaleX(0);
  transform-origin: 100% 100%;
}

.book-link .arrow {
  height: 36px;
  width: 36px;
  top: -5px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.book-link .arrow::before,
.book-link .arrow::after {
  position: absolute;
  content: "";
  background-color: #f1e728;
  transition: all ease-in-out 0.35s;
  transform-origin: 0 0;
  border-radius: 30px;
}

.book-link .arrow::before {
  height: 2px;
  width: 100%;
  top: 0;
  right: 0;
}

.book-link .arrow::after {
  width: 2px;
  height: 100%;
  top: 0;
  right: 0;
}

.book-link:hover .arrow::before {
  width: 65%;
}

.book-link:hover .arrow::after {
  height: 65%;
}

.book-link .arrow span {
  background-color: #f1e728;
  height: 2px;
  width: 100%;
  display: inline-block;
  transform: rotate(-45deg) translate(-3px, -1px);
  transform-origin: right top;
  border-radius: 30px;
  position: relative;
  transition: all ease-in-out 0.35s;
  position: absolute;
  top: 0;
  left: 0;
}

.book-link .arrow span::before {
  background-color: #f1e728;
  content: "";
  height: 100%;
  width: 15px;
  left: -15px;
  top: 0;
  position: absolute;
}

/* right part */
.right-part {
  background-color: transparent;
  height: 588px;
  width: 588px;
  margin: 0 0 0 auto;
  margin-right: -14px;
  display: block;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.right-part::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #f1e728;
  filter: blur(112px);
  height: 35%;
  width: 55%;
  position: absolute;
  top: 50%;
  right: 33%;
  transform: translate(50%, -50%);
  z-index: -1;
}

.right-part .d-flex {
  height: 100%;
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  position: relative;
}

.main-grid {
  position: relative;
}

.box {
  width: calc((100% / 3) - 16px);
  height: calc((100% / 3) - 16px);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555555;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  color: #ffffff;
  font-family: "monument_extendedregular";
  border-radius: 120px;
  position: absolute;
  animation: 30s infinite;
}

/* Box nth-child */
.box:nth-child(1) {
  left: 0;
  top: 0;
  animation-name: box-1;
}

.box:nth-child(2) {
  left: calc(100% / 3);
  top: 0;
  animation-name: box-2;
}

.box:nth-child(3) {
  left: calc((100% / 3) * 2);
  top: 0;
  animation-name: box-3;
}

.box:nth-child(4) {
  left: 0;
  top: calc(100% / 3);
  animation-name: box-4;
}

.box:nth-child(5) {
  left: calc((100% / 3) * 2);
  top: calc(100% / 3);
  animation-name: box-5;
}

.box:nth-child(6) {
  left: 0;
  top: calc((100% / 3) * 2);
  animation-name: box-6;
}

.box:nth-child(7) {
  left: calc(100% / 3);
  top: calc((100% / 3) * 2);
  animation-name: box-7;
}

.box:nth-child(8) {
  left: calc((100% / 3) * 2);
  top: calc((100% / 3) * 2);
  animation-name: box-8;
}

/* 1st Child */
@keyframes box-1 {

  0%,
  90%,
  100% {
    left: 0;
    top: 0;
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  27.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  29.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  31.5%,
  33.5% {
    left: calc(100% / 3);
    width: 100%;
  }

  35.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    top: calc(100% / 3);
  }
}

@-webkit-keyframes box-1 {

  0%,
  90%,
  100% {
    left: 0;
    top: 0;
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  27.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  29.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  31.5%,
  33.5% {
    left: calc(100% / 3);
    width: 100%;
  }

  35.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    top: calc(100% / 3);
  }
}

@keyframes box-2 {

  0%,
  90%,
  100% {
    left: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  15%,
  17% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  19%,
  21% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  23%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: 0;
    top: calc(100% / 3);
  }

  77.5%,
  87.5% {
    left: 0;
    top: 0;
  }
}

@-webkit-keyframes box-2 {

  0%,
  90%,
  100% {
    left: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  15%,
  17% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  19%,
  21% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  23%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: 0;
    top: calc(100% / 3);
  }

  77.5%,
  87.5% {
    left: 0;
    top: 0;
  }
}

@keyframes box-3 {

  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  4.5%,
  10.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  6.5%,
  8.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: 0;
  }
}

@-webkit-keyframes box-3 {

  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }

  4.5%,
  10.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  6.5%,
  8.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  15%,
  25% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  52.5%,
  62.5% {
    left: 0;
    top: calc(100% / 3);
  }

  65%,
  75% {
    left: 0;
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: 0;
  }
}

@keyframes box-4 {

  0%,
  90%,
  100% {
    top: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: 0;
    top: 0;
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  40%,
  42%,
  48%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  44%,
  46% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-4 {

  0%,
  90%,
  100% {
    top: calc(100% / 3);
  }

  2.5%,
  12.5% {
    left: 0;
    top: 0;
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  40%,
  42%,
  48%,
  50% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  44%,
  46% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-5 {

  0%,
  90%,
  92%,
  98%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc(100% / 3);
  }

  52.5%,
  62.5% {
    left: 0;
    top: 0;
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  94%,
  96% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@-webkit-keyframes box-5 {

  0%,
  90%,
  92%,
  98%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  2.5%,
  12.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  40%,
  50% {
    left: 0;
    top: calc(100% / 3);
  }

  52.5%,
  62.5% {
    left: 0;
    top: 0;
  }

  65%,
  75% {
    left: calc(100% / 3);
    top: 0;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  94%,
  96% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@keyframes box-6 {

  0%,
  90%,
  100% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc(100% / 3);
  }

  15%,
  25% {
    left: 0;
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: 0;
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  52.5%,
  54.5%,
  60.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  56.5%,
  58.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-6 {

  0%,
  90%,
  100% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc(100% / 3);
  }

  15%,
  25% {
    left: 0;
    top: 0;
  }

  27.5%,
  37.5% {
    left: calc(100% / 3);
    top: 0;
  }

  40%,
  50% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  52.5%,
  54.5%,
  60.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  56.5%,
  58.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  77.5%,
  87.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-7 {

  0%,
  90%,
  100% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc(100% / 3);
  }

  27.5%,
  37.5% {
    left: 0;
    top: 0;
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  65%,
  67%,
  73%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  69%,
  71% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@-webkit-keyframes box-7 {

  0%,
  90%,
  100% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc(100% / 3);
  }

  27.5%,
  37.5% {
    left: 0;
    top: 0;
  }

  40%,
  50% {
    left: calc(100% / 3);
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  65%,
  67%,
  73%,
  75% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }

  69%,
  71% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }

  77.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-8 {

  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc(100% / 3);
  }

  40%,
  50% {
    left: 0;
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
    top: 0;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  77.5%,
  79.5%,
  85.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
    border-radius: 100%;
  }

  81.5%,
  83.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@-webkit-keyframes box-8 {

  0%,
  90%,
  100% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }

  2.5%,
  12.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }

  15%,
  25% {
    left: 0;
    top: calc((100% / 3) * 2);
  }

  27.5%,
  37.5% {
    left: 0;
    top: calc(100% / 3);
  }

  40%,
  50% {
    left: 0;
    top: 0;
  }

  52.5%,
  62.5% {
    left: calc(100% / 3);
    top: 0;
  }

  65%,
  75% {
    left: calc((100% / 3) * 2);
    top: 0;
  }

  77.5%,
  79.5%,
  85.5%,
  87.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
    border-radius: 100%;
  }

  81.5%,
  83.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

/* Box Text */
.box span {
  position: absolute;
  display: block;
  opacity: 0.8;
  z-index: 5;
}

.box:nth-child(1) span {
  top: 43%;
  left: -27px;
  transform: translateY(-50%);
}

.box:nth-child(3) span {
  left: -10px;
  bottom: 2px;
}

.box:nth-child(4) span {
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.box:nth-child(8) span {
  top: 50%;
  transform: translate(-50%, -50%);
  left: 15%;
}

/* Box Background-Image */
.box .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 120px;
  overflow: hidden;
}

.box .bg-img,
.box .bg-img img {
  height: 100%;
  width: 100%;
}

.box .bg-img img {
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Curve Line */
.bg-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 85px;
  z-index: -1;
  overflow: hidden;
  display: flex;
  display: -webkit-flex;
  white-space: nowrap;
}

.bg-line img {
  position: relative;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
  animation: 26s linear infinite;
}

.bg-line img:nth-child(1) {
  animation-name: first-text;
}

.bg-line img:nth-child(2) {
  animation-name: second-text;
}

@keyframes first-text {
  50% {
    transform: translateX(-100%);
    opacity: 1;
  }

  50.05% {
    opacity: 0;
  }

  50.1% {
    transform: translateX(100%);
    opacity: 1;
  }

  100% {
    transform: translateX(0%);
  }
}

@-webkit-keyframes first-text {
  50% {
    transform: translateX(-100%);
    opacity: 1;
  }

  50.05% {
    opacity: 0;
  }

  50.1% {
    transform: translateX(100%);
    opacity: 1;
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes second-text {
  50% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(-200%);
  }

  0% {
    transform: translateX(0%);
  }
}

@-webkit-keyframes second-text {
  50% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(-200%);
  }

  0% {
    transform: translateX(0%);
  }
}

/* Dash Circle */
.bg-dash-circle {
  position: absolute;
  bottom: -35px;
  right: -13px;
  z-index: -1;
  width: 180px;
  aspect-ratio: 1/1;
}

.bg-dash-circle img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  animation: cirlce-rotate 18s linear infinite;
}

@keyframes cirlce-rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes cirlce-rotate {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Circle Line */
.bg-circle-h-line {
  bottom: 42px;
  left: -68px;
  z-index: 1;
  width: 181px;
  height: 111px;
  position: relative;
}

.bg-circle-h-line img {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: absolute;
  left: 0;
}

.bg-circle-h-line img:nth-child(1) {
  top: 0;
  animation: top-ring-move 2.5s linear infinite;
}

.bg-circle-h-line img:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.bg-circle-h-line img:nth-child(3) {
  bottom: 0;
  animation: bottom-ring-move 2.5s linear infinite;
}

#text-animation {
  font-size: 24px;
  color: #f1e728;
  padding: 10px;
  border: 1px solid #ffffff;
  width: 300px;
  margin: 50px auto;
  text-align: center;
}

@keyframes top-ring-move {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

@-webkit-keyframes top-ring-move {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes bottom-ring-move {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

@-webkit-keyframes bottom-ring-move {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

/*=== Responsive ===*/
@media screen and (min-width: 1500px) {
  .info-section {
    padding-left: 120px;
  }
}

@media screen and (min-width: 1400px) {
  .info-section {
    padding-left: 100px;
  }
}

@media screen and (max-width: 1199px) {
  .bg-line {
    height: 68px;
  }

  .right-part {
    height: 400px;
    width: 400px;
  }

  .d-flex {
    gap: 20px;
  }

  .main-grid::before,
  .box {
    height: 118px;
  }

  .box {
    width: 118px;
    font-size: 12px;
  }

  .left-part p {
    font-size: 14px;
    line-height: 1.8;
    width: 85%;
  }

  .left-part h1 .text {
    height: 132px;
  }

  .bg-dash-circle {
    width: 130px;
  }

  .bg-circle-h-line {
    width: 156px;
    height: 92px;
  }

  .book-link {
    font-size: 28px;
    gap: 24px;
  }

  .book-link .arrow {
    height: 28px;
    width: 28px;
  }
}

@media screen and (max-width: 767px) {
  .info-section {
    display: block;
    padding: 0;
  }

  .bg-line {
    height: 52px;
  }

  .left-part {
    padding: 40px 16px 60px;
  }

  .right-part {
    height: 334px;
    width: 334px;
  }

  .left-part h1 .text {
    height: 88px;
  }

  .left-part p {
    font-size: 12px;
    width: 96%;
  }

  .main-grid::before,
  .box {
    height: 96px;
  }

  .box {
    width: 96px;
    font-size: 10px;
  }

  .book-link .arrow {
    height: 24px;
    width: 24px;
  }

  .book-link {
    font-size: 11px;
    gap: 20px;
    margin-top: 24px;
  }

  .bg-dash-circle {
    width: 80px;
  }

  .bg-circle-h-line {
    width: 126px;
    height: 65px;
  }
}

/* Social Icons Styles */
.social-row {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 15px;
  /* Espacio entre los íconos */
  padding: -100px;
}

.social-icon {
  width: 40px;
  height: 40px;
  filter: invert(100%);
  /* Hace que los iconos sean blancos */
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  /* Efecto de agrandamiento en hover */
}

.svg-icon {
  width: 40px;
  height: 40px;
  fill: #ffffff;
  /* Asegura que el SVG esté en color blanco */
  transition: transform 0.3s;
}

.svg-icon:hover {
  transform: scale(1.1);
  /* Efecto de agrandamiento en hover */
}

/* ========================================
     LOCUTOR PAGE STYLES
     ======================================== */

.locutor-page {
  background-color: #212121;
}

.locutor-hero {
  padding: 110px 30px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.locutor-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(241, 231, 40, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(80px);
}

.hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 15vw, 180px);
  color: #ffffff;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  font-weight: normal;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  gap: 20px;
}

.hero-content .highlight {
  color: #f1e728;
}

.intro-text {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin: 0px auto 0;
  line-height: 1.6;
}

/* MUSIC PLAYER */
.player-section {
  padding: 0px 30px;
  display: flex;
  justify-content: center;
}

.player-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  background: rgba(40, 40, 40, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.player-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.track-visualizer {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
}

.bar {
  width: 6px;
  background: #f1e728;
  border-radius: 3px;
  animation: equalize 1s ease-in-out infinite alternate;
  animation-play-state: paused;
}

.locutor-page.playing .bar {
  animation-play-state: running;
}

@keyframes equalize {
  0% {
    height: 10px;
    opacity: 0.3;
  }

  100% {
    height: 100%;
    opacity: 1;
  }
}

.bar:nth-child(2) {
  animation-delay: 0.1s;
}

.bar:nth-child(3) {
  animation-delay: 0.2s;
}

.bar:nth-child(4) {
  animation-delay: 0.3s;
}

.bar:nth-child(5) {
  animation-delay: 0.4s;
}

.bar:nth-child(6) {
  animation-delay: 0.5s;
}

.track-info h2 {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 28px;
  margin: 0;
  color: #ffffff;
}

.track-info p {
  color: #f1e728;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  margin: 10px 0 30px;
}

/* Controls */
.progress-area {
  margin-bottom: 30px;
}

.progress-bar {
  height: 6px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-current {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: #f1e728;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.time {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-family: monospace;
}

.control-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s ease;
}

.ctrl-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.ctrl-btn:hover {
  transform: scale(1.1);
}

.play-btn {
  width: 64px;
  height: 64px;
  background: #f1e728;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-btn svg {
  width: 32px;
  height: 32px;
  fill: #212121;
}

/* Playlist */
.player-playlist {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 40px;
}

.player-playlist h3 {
  font-family: "monument_extendedregular", sans-serif;
  color: #ffffff;
  margin-bottom: 25px;
  font-size: 18px;
}

.player-playlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist-item {
  padding: 15px 20px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background 0.3s ease;
  margin-bottom: 10px;
}

.playlist-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.playlist-item.active {
  background: rgba(241, 231, 40, 0.1);
  border: 1px solid rgba(241, 231, 40, 0.2);
}

.track-name {
  color: #ffffff;
  font-weight: bold;
}

.track-cat {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  text-transform: uppercase;
}

.playlist-item.active .track-name {
  color: #f1e728;
}

/* Footer */
.simple-footer {
  padding: 40px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-family: "monument_extendedregular", sans-serif;
}

@media screen and (max-width: 992px) {
  .player-container {
    grid-template-columns: 1fr;
  }

  .player-playlist {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
  }
}

/* PHOTO ENHANCEMENTS */

.track-visualizer-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 30px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.track-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.track-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.locutor-page.playing .track-thumbnail img {
  transform: scale(1.05);
}

.track-visualizer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(33, 33, 33, 0.8) 0%, transparent 100%);
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  margin-bottom: 0 !important;
}

.playlist-item {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 15px;
}

.item-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ========================================
     PROGRAMMER PAGE STYLES
     ======================================== */

.programmer-page {
  background-color: #1a1a1a;
}

.programmer-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.programmer-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 12vw, 150px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.programmer-hero .highlight {
  color: #f1e728;
}

.programmer-hero .intro-text {
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

.programmer-content {
  padding: 60px 20px 120px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 100px;
}

.section-title {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 24px;
  color: #f1e728;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-left: 4px solid #f1e728;
  padding-left: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 30px;
  margin-left: 10px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: #f1e728;
  border-radius: 50%;
  box-shadow: 0 0 10px #f1e728;
}

.timeline-date {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  color: #f1e728;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.project-card {
  background: rgba(40, 40, 40, 0.6);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(241, 231, 40, 0.4);
}

.project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.1);
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.project-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.5;
}

/* Skills */
.skills-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

.skill-list {
  display: grid;
  gap: 25px;
}

.skill-item {
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
}

.skill-item span {
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: #f1e728;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body.loaded .bar-fill {
  transform: scaleX(1);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.tag:hover {
  background: rgba(241, 231, 40, 0.1);
  border-color: #f1e728;
  color: #f1e728;
}

@media screen and (max-width: 768px) {
  .skills-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .programmer-hero .hero-content h1 {
    font-size: 50px;
  }
}

/* Programmer View More Button */
.view-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0;
  width: 100%;
}

.view-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 45px;
  background-color: transparent;
  color: #f1e728;
  border: 2px solid #f1e728;
  border-radius: 4px;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.view-more-btn:hover {
  background-color: #f1e728;
  color: #212121;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(241, 231, 40, 0.2);
}

.view-more-btn:active {
  transform: translateY(-2px);
}

/* Certificates Section */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(85, 85, 85, 0.3);
  padding: 30px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      transparent,
      rgba(241, 231, 40, 0.05),
      transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cert-card:hover::before {
  transform: translateX(100%);
}

.cert-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #f1e728;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cert-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.cert-icon svg {
  width: 100%;
  height: 100%;
  fill: #f1e728;
  transition: transform 0.3s ease;
}

.cert-card:hover .cert-icon svg {
  transform: scale(1.1);
}

.cert-info h3 {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  line-height: 1.4;
}

.cert-issuer {
  color: #f1e728;
  font-size: 13px;
  margin: 0;
  font-family: "monument_extendedregular", sans-serif;
  opacity: 0.9;
}

.cert-date {
  color: #aaaaaa;
  font-size: 12px;
  margin: 5px 0 15px 0;
  font-family: sans-serif;
}

.cert-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "monument_extendedregular", sans-serif;
  border-bottom: 1px solid #f1e728;
  padding-bottom: 4px;
  width: fit-content;
  transition: all 0.3s ease;
  margin-top: auto;
}

.cert-link:hover {
  color: #f1e728;
  padding-left: 5px;
}

/* ========================================
     MULTIMEDIA PAGE STYLES
     ======================================== */

.multimedia-page {
  background-color: #1a1a1a;
}

.multimedia-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.multimedia-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(40px, 9vw, 130px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.multimedia-hero .highlight {
  color: #f1e728;
}

.multimedia-hero .intro-text {
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

/* ========================================
     DRONE PAGE STYLES
     ======================================== */

.dron-page {
  background-color: #1a1a1a;
}

.dron-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.dron-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 12vw, 150px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.dron-hero .highlight {
  color: #f1e728;
}

.dron-hero .intro-text {
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

/* Video Gallery Grid */
.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  width: 100%;
}

.video-card {
  background: rgba(40, 40, 40, 0.5);
  border: 1px solid rgba(85, 85, 85, 0.3);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(241, 231, 40, 0.5);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background-color: #000;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: "monument_extendedregular", sans-serif;
  font-size: 12px;
  border-bottom: 2px solid #f1e728;
}

.video-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-info h3 {
  margin: 0;
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

.video-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

/* ========================================
     MARKETING PAGE STYLES
     ======================================== */

.marketing-page {
  background-color: #1a1a1a;
}

.marketing-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.marketing-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(40px, 9vw, 130px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.marketing-hero .highlight {
  color: #f1e728;
}

.marketing-hero .intro-text {
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: rgba(33, 33, 33, 0.5);
  border: 1px solid rgba(85, 85, 85, 0.3);
  border-radius: 16px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(241, 231, 40, 0.5);
}

.pricing-card.popular {
  border-color: #f1e728;
  background: rgba(40, 40, 40, 0.8);
  box-shadow: 0 10px 40px rgba(241, 231, 40, 0.1);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: scale(1.02) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f1e728;
  color: #000;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 10px;
  padding: 5px 15px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-header {
  border-bottom: 1px solid rgba(85, 85, 85, 0.3);
  padding-bottom: 25px;
  margin-bottom: 25px;
  text-align: center;
}

.pricing-header h3 {
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.pricing-header .price {
  color: #f1e728;
  font-size: 14px;
  font-weight: 300;
  font-family: Arial, sans-serif;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
  flex-grow: 1;
}

.pricing-features li {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  font-family: Arial, sans-serif;
}

.pricing-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #f1e728;
  font-size: 12px;
}

.pricing-btn {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #ffffff;
  border: 1px solid #f1e728;
  border-radius: 30px;
  text-decoration: none;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: "monument_extendedregular", sans-serif;
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
  margin: 20px auto 0;
}

.pricing-btn:hover {
  background: #f1e728;
  color: #000;
  transform: translateY(-2px);
}

/* ========================================
     CLIENTS PAGE STYLES
     ======================================== */

.clients-page {
  background-color: #1a1a1a;
}

.clients-hero {
  padding: 160px 0 60px;
  text-align: center;
}

.clients-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 12vw, 150px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.clients-hero .highlight {
  color: #f1e728;
}

.clients-hero .intro-text {
  max-width: 800px;
  margin: 40px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  line-height: 1.8;
  padding: 0 20px;
}

/* Clients Logo Grid */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
  width: 100%;
}

.client-logo {
  background: rgba(33, 33, 33, 0.4);
  border: 1px solid rgba(85, 85, 85, 0.3);
  border-radius: 12px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  /* Starts gray/faded */
  transition: all 0.4s ease;
}

.client-logo:hover {
  background: rgba(60, 60, 60, 0.6);
  border-color: rgba(241, 231, 40, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  color: #ffffff;
  /* Fallback for text */
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  /* Full color on hover */
}

/* Testimonials Section */
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.testimonial-card {
  background: rgba(40, 40, 40, 0.4);
  border: 1px solid rgba(85, 85, 85, 0.2);
  border-left: 4px solid #f1e728;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(50, 50, 50, 0.6);
}

.quote-icon {
  font-family: serif;
  font-size: 60px;
  color: rgba(241, 231, 40, 0.2);
  line-height: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.8);
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

.testimonial-author h4 {
  margin: 0 0 5px 0;
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
}

.testimonial-author span {
  display: block;
  color: rgba(241, 231, 40, 0.8);
  font-size: 12px;
  font-family: Arial, sans-serif;
}

/* ========================================
     CONTACT PAGE STYLES
     ======================================== */

.contact-page {
  background-color: #1a1a1a;
}

.contact-hero {
  padding: 160px 0 40px;
  text-align: center;
}

.contact-hero .hero-content h1 {
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(50px, 10vw, 140px);
  color: #ffffff;
  margin: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

.contact-hero .highlight {
  color: #f1e728;
}

.contact-hero .intro-text {
  max-width: 600px;
  margin: 30px auto 0;
  font-family: "monument_extendedregular", sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.8;
  padding: 0 20px;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-card {
  background: rgba(40, 40, 40, 0.4);
  border: 1px solid rgba(85, 85, 85, 0.3);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-card:hover {
  background: rgba(50, 50, 50, 0.8);
  border-color: #f1e728;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-icon-wrapper {
  background: rgba(26, 26, 26, 0.8);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.social-card:hover .social-icon-wrapper {
  background: #f1e728;
}

.social-icon-wrapper .svg-icon {
  width: 25px;
  height: 25px;
  fill: #f1e728;
  transition: all 0.3s ease;
}

.social-card:hover .social-icon-wrapper .svg-icon {
  fill: #000000;
}

.social-details {
  flex-grow: 1;
  min-width: 0;
  word-wrap: break-word;
}

.social-details h3 {
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

.social-details span {
  color: rgba(255, 255, 255, 0.6);
  font-family: Arial, sans-serif;
  font-size: 13px;
  display: block;
}

.social-card:hover .social-details span {
  color: rgba(255, 255, 255, 0.9);
}

.social-arrow {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  transform: translateX(-10px);
  opacity: 0;
}

.social-card:hover .social-arrow {
  color: #f1e728;
  transform: translateX(0);
  opacity: 1;
}

@media screen and (max-width: 768px) {

  .contact-grid,
  .projects-grid,
  .video-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .contact-hero .hero-content h1 {
    font-size: clamp(40px, 8vw, 80px);
  }

  .social-card {
    padding: 15px;
  }

  .social-icon-wrapper {
    width: 45px;
    height: 45px;
    margin-right: 15px;
  }

  .social-icon-wrapper .svg-icon {
    width: 20px;
    height: 20px;
  }
}

/* Specific optimization for very small mobile screens (e.g. 390px / iPhones) */
@media screen and (max-width: 395px) {
  .nav-logo {
    font-size: 14px;
    gap: 8px;
  }

  .nav-logo img {
    height: 30px;
  }

  /* Shrink enormous hero fonts so they don't force side-scrolling */
  .hero-content h1,
  .dron-hero .hero-content h1,
  .marketing-hero .hero-content h1,
  .clients-hero .hero-content h1,
  .contact-hero .hero-content h1,
  .programmer-hero .hero-content h1 {
    font-size: 90px;
  }

  .multimedia-hero .hero-content h1 {
    font-size: 60px;
  }

  .hero-content p.intro-text,
  .contact-hero .intro-text {
    font-size: 13px;
    padding: 0 10px;
    margin-top: 15px;
  }

  /* Further reduce section padding */
  .contact-grid,
  .projects-grid,
  .video-grid,
  .pricing-grid,
  .testimonials-grid,
  .skills-container {
    padding: 0 10px;
    gap: 20px;
  }

  .social-card,
  .project-card,
  .pricing-card {
    padding: 15px;
  }

  .pricing-card h3 {
    font-size: 20px;
  }

  .pricing-price {
    font-size: 32px;
  }

  /* Compact the skill tags so they don't break lines awkwardly */
  .tag {
    padding: 6px 12px;
    font-size: 9px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .social-icon-wrapper {
    width: 38px;
    height: 38px;
    margin-right: 12px;
  }

  .social-icon-wrapper .svg-icon {
    width: 18px;
    height: 18px;
  }

  .social-details h3 {
    font-size: 12px;
  }

  .social-details span {
    font-size: 11px;
  }
}