/* ------------ Fonts ------------ */

.mitr-extralight {
  font-family: "Mitr", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.mitr-light {
  font-family: "Mitr", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.mitr-regular {
  font-family: "Mitr", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.mitr-medium {
  font-family: "Mitr", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.mitr-semibold {
  font-family: "Mitr", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.mitr-bold {
  font-family: "Mitr", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.material-symbols-outlined {
  vertical-align: sub;
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}

.icon-xl {
  font-size: 52px !important;
  font-weight: 600 !important;
}

/* ------------ Fonts ------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Mitr', sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
}

/* Navegación */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    z-index: 1001;
}

.logo img {
    height: 40px;
    width: auto;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -4px);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ff3600;
}

/* Sección Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: end;
    padding-right: 4vw;
    background: url('./images/djam_img_index_escritorio-1.jpg') top/cover;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
    max-width: 1200px;
}

.hero h1 {
    font-size: 86px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: #ffb600;
}

.hero-subtitle {
    font-size: 52px;
    font-weight: 900;
    margin-bottom: 50px;
}

.download-section {
    margin-top: 40px;
}

.download-text {
    font-size: 52px;
    font-weight: 500;
    color: #ffb600;
    background-clip: text;
    margin-bottom: 40px;
    text-shadow: 0px 10px 10px #000000de;
}

.app-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.app-btn {
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 183, 0, 0.5)
}

.app-btn-orange:hover {
    box-shadow: 0 10px 30px #ff360080 !important;
}

.app-btn img {
    height: 55px;
    display: block;
}

/* Sección Tu Mood */
.mood-section {
    display: flex;
    align-items: center;
    padding: 70px 100px;
    background: #fff;
    color: #000;
}

.mood-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.mood-text h2 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mood-text h2 .orange {
    color: #ff3600;
}

.mood-text p {
    font-family: 'Varta', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.mood-text .highlight-text {
    color: #ff3600;
    font-weight: bold;
}

.mood-text .cta-text {
    color: #ff3600;
    font-size: 26px;
    font-weight: 700;
    margin-top: 15px;
}

.phone-mockup {
    position: relative;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.phone-mockup img {
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3));
}

/* Videos */
video {
    width: 100%;
}

/* Sección Descarga */
.download-full {
    width: 100%;
    background: #1a1a1a;
}

/* Sección Ambiente */
.ambiente-section {
    width: 100%;
    background: #1a1a1a;
}

/* Sección DJ */
.dj-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: url('./images/djam_banner_informes.jpg') center/cover;
    position: relative;
    overflow: hidden;
}

.dj-section h2 {
    font-size: 110px;
    line-height: 1.1;
    font-weight: 900;
    text-align: center;
    z-index: 1;
    position: relative;
    margin: 120px 0;
}

/* Footer */
footer {
    padding: 32px;
    text-align: center;
    background: url('./images/djam_background_footer_escritorio.jpg') center/cover;
}

.footer-download {
    margin-bottom: 50px;
}

.footer-download h3 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin: 50px 0;
}

.social-icon {
    width: 55px;
    height: 55px;
    border: 2px solid #ff3600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff3600;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #ff3600;
    color: #fff;
    transform: scale(1.1);
}

.footer-text {
    margin-top: 40px;
    color: #fff;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 30px;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff3600;
}

/* Botón scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4500, #ffd700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    text-decoration: none;
    transform: translateY(100px) scale(0.8);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    animation: slideInUp 0.5s ease forwards;
}

.scroll-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 69, 0, 0.6);
}

.scroll-to-top::before {
    content: '↑';
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    animation: bounceArrow 1.5s ease-in-out infinite;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(15px);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 56px;
    }

    .hero-subtitle {
        font-size: 38px;
    }

    .mood-content,
    .download-content,
    .app-showcase-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .mood-text h2 {
        font-size: 44px;
    }

    .ambiente-section h2,
    .dj-section h2 {
        font-size: 52px;
    }

    .dj-section h2 {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .download-text {
        font-size: 28px;
    }

    .mood-section {
        padding: 32px;
    }

    .mood-text h2 {
        font-size: 32px;
    }

    .ambiente-section h2 {
        font-size: 36px;
    }

    .phone-mockup img,
    .app-showcase-phone img {
        max-width: 300px;
    }

    .app-icon,
    .large-app-icon {
        width: 250px;
        height: 250px;
    }
}

/* Responsive - Tablets */
@media (max-width: 768px) {
    nav {
        padding: 15px 30px;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: rgba(0,0,0,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}

/* Responsive - Móviles pequeños (320px - 480px) */
@media (max-width: 480px) {
    nav {
        padding: 15px 20px;
    }

    .logo img {
        height: 30px;
    }

    .menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .nav-links {
        width: 100%;
        right: -100%;
        padding: 80px 30px 30px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .mood-text p {
        font-size: 20px;
    }

    .phone-mockup {
        max-width: 200px;
    }
}

/* Extra pequeño (320px) */
@media (max-width: 320px) {
    nav {
        padding: 12px 15px;
    }

    .logo img {
        height: 28px;
    }

    .nav-links {
        padding: 70px 20px 20px;
    }

    .nav-links a {
        font-size: 15px;
    }
}