/* Custom Fonts */
@font-face {
    font-family: 'Futura-Light';
    src: url('Futura-Light.woff2') format('woff2'),
         url('Futura-Light.woff') format('woff'),
         url('Futura-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Futura-Heavy';
    src: url('Futura_W01_Heavy.woff2') format('woff2'),
         url('Futura_W01_Heavy.woff') format('woff'),
         url('Futura_W01_Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PacificaCondensed';
    src: url('PacificaCondensed.woff2') format('woff2'),
         url('PacificaCondensed.woff') format('woff'),
         url('PacificaCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fade In Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-blue: #002e5d;
    --coral-red: #f94144;
    --white: #ffffff;
    --black: #000000;
    
    /* Fluid Typography */
    --fs-hero-title: clamp(3.19rem, 5vw + 1rem, 4.9rem);
    --fs-hero-subtitle: clamp(2.08rem, 3.5vw + 0.5rem, 3.8rem);
    --fs-services: clamp(0.75rem, 1.5vw + 0.3rem, 1.9rem);
    --fs-nav: clamp(1.2rem, 2vw, 1.56rem);
    --fs-music-title: clamp(1.3rem, 3vw, 3.4rem);
    --fs-dj-banner: clamp(2.3rem, 4.5vw, 5.5rem);
    --fs-unforgettable: clamp(1.6rem, 3vw, 3.5rem);
    --fs-contact-title: clamp(2.9rem, 4vw, 4.5rem);
    --fs-availability-title: clamp(1.8rem, 2.5vw, 2.8rem);
}

body {
    font-family: sans-serif;
    overflow-x: hidden;
    background-color: var(--white);
    padding-bottom: 0;
}

/* ========================================
   HEADER & NAVIGATION - Mobile Base
======================================== */

.header {
    background-color: #f600b9;
    padding: 0.94rem 1.25rem;
    height: calc(54px - 2mm);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nav-container {
    display: none; /* Hidden on mobile */
}

.nav-menu {
    display: none; /* Hidden on mobile */
}

/* Social Icons Bar */
.social-bar {
    background-color: var(--white);
    padding: calc(0.63rem + 2mm) 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(0.63rem + 1.5mm);
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.social-bar a {
    width: 2.19rem;
    height: 2.19rem;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a71f85;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

.social-bar a:hover {
    transform: scale(1.1);
    box-shadow: 0 0.25rem 0.94rem rgba(0,0,0,0.3);
}

/* ========================================
   HERO SECTION - Mobile Base
======================================== */

.hero {
    position: relative;
    background-color: var(--white);
    padding: 0;
    margin-top: 0;
    margin-bottom: 0.47rem;
}

.hero-image-mobile {
    display: block;
    position: absolute;
    width: 100%;
    max-width: 42.5rem;
    height: 30rem;             
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    object-fit: cover;
    z-index: 1;
}

.contact-title-section {
    background-color: var(--white);
    padding: 1.25rem 0.63rem;
    text-align: center;
}

.contact-main-title {
    font-family: 'Futura-Light', sans-serif;
    font-size: var(--fs-contact-title);
    font-weight: normal;
    color: var(--black);
    letter-spacing: 0.63rem;
}

.hero-content {
    position: relative;
    width: 100%;
    min-height: 30rem;
    background-image: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 2.5rem;
    margin-left: 0;
    opacity: 0;
    animation: fadeIn 2s ease-in 1s forwards;
}

.hero-title {
    font-family: 'PacificaCondensed', sans-serif;
    font-size: var(--fs-hero-title);
    font-weight: normal;
    color: var(--white);
    letter-spacing: 0.13rem;
    line-height: 1;
    text-align: right;
    margin-right: 0.5cm;
    margin-top: 0;
    text-shadow: 0.13rem 0.13rem 0.63rem rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-family: 'PacificaCondensed', sans-serif;
    font-size: var(--fs-hero-subtitle);
    color: var(--white);
    letter-spacing: 0.06rem;
    text-align: right;
    margin-right: 0.5cm;
    margin-top: 0.63rem;
    text-shadow: 0.13rem 0.13rem 0.63rem rgba(0,0,0,0.3);
}

.services {
    position: relative;
    z-index: 2;
    bottom: auto;
    right: auto;
    margin-top: auto;
    font-weight: bold;
    text-align: left;
    padding-left: calc(55% + 1cm);
    padding-bottom: 1.25rem;
}

.services p {
    font-family: 'PacificaCondensed', sans-serif;
    font-size: var(--fs-services);
    color: var(--white);
    letter-spacing: 0.13rem;
    line-height: 1.3;
}

/* ========================================
   VIDEO & MUSIC SECTIONS - Mobile Base
======================================== */

.video-section {
    background-color: var(--black);
    padding: 0;
    margin-bottom: 0;
}

.video-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-container img {
    object-fit: cover;
}

.music-section {
    background-color: var(--black);
    padding: calc(0.5rem + 5.5mm) 1.25rem calc(0.5rem + 5.5mm);
    text-align: center;
    margin-bottom: 0.47rem;
}

.music-title {
    font-family: 'Futura-Light', sans-serif;
    font-size: var(--fs-music-title);
    color: var(--white);
    letter-spacing: 0;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    font-weight: normal;
}

.music-icons {
    display: flex;
    justify-content: center;
    gap: clamp(4.38rem, 15vw, 15.63rem);
    margin-top: 0.2rem;
}

.music-icon {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 4rem);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.music-icon i {
    font-size: clamp(2rem, 4vw, 4rem);
}

.music-icon:hover {
    transform: scale(1.1);
}

/* ========================================
   BANNERS - Mobile Base
======================================== */

.dj-banner {
    background-color: #f600b9;
    padding: 1.88rem 1.25rem;
    text-align: center;
}

.dj-banner h2 {
    font-family: 'Futura-Light', sans-serif;
    font-size: var(--fs-dj-banner);
    color: var(--white);
    letter-spacing: 0.06rem;
    font-weight: normal;
}

.unforgettable-banner {
    background-color: #f600b9;
    padding: 1.56rem 0.31rem;
    text-align: center;
    margin-top: -0.47rem;
}

.unforgettable-banner h2 {
    font-family: 'Futura-Light', sans-serif;
    font-size: var(--fs-unforgettable);
    color: var(--white);
    letter-spacing: 0;
    font-weight: normal;
}

/* ========================================
   FORM SECTION - Mobile Base
======================================== */

.availability-section {
    background-color: #f5f5f5;
    padding: 3.13rem 1.25rem;
}

.availability-title {
    font-family: 'Futura-Heavy', sans-serif;
    font-size: var(--fs-availability-title);
    color: var(--black);
    letter-spacing: 0.19rem;
    text-align: center;
    margin-bottom: 1.88rem;
    font-weight: 600;
}

.availability-form {
    max-width: 50rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: single column */
    gap: 1.25rem;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.availability-form input,
.availability-form textarea {
    padding: 0.75rem 0.94rem;
    border: none;
    background-color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    font-size: 0.88rem;
    color: #333;
}

.availability-form input::placeholder,
.availability-form textarea::placeholder {
    color: #666;
}

.availability-form textarea {
    resize: vertical;
    min-height: 7.5rem;
}

.submit-btn {
    background-color: var(--black);
    color: var(--white);
    padding: 0.94rem 1.25rem;
    border: none;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: normal;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: center;
    margin-top: 1.25rem;
    width: 100%; /* Mobile: full width */
}

.submit-btn:hover {
    background-color: #333;
}

/* ========================================
   CONTACT BUTTON - Mobile Base
======================================== */

.contact-btn {
    display: none; /* Hidden on mobile */
}

/* ========================================
   VIDEOS PAGE SECTION - Mobile Base
======================================== */

.videos-section {
    background-color: var(--white);
    padding: 0.3rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.88rem;
}

.video-item {
    width: 100%;
}

/* ========================================
   MUSIC PLAYLIST SECTION - Mobile Base
======================================== */

.music-playlist-section {
    background-color: var(--white);
    padding: 0.3rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.88rem;
}

.spotify-item {
    width: 100%;
}

/* ========================================
   MOBILE MENU
======================================== */

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.63rem;
}

.mobile-menu-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.close-menu-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0.63rem;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
}

.mobile-menu-list li {
    margin: 1.88rem 0;
}

.mobile-menu-list li a {
    color: var(--white);
    text-decoration: none;
    font-family: 'Futura-Heavy', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.13rem;
    transition: color 0.3s ease;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a.active {
    color: var(--coral-red);
}

.mobile-footer-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 0.94rem 0;
    box-shadow: 0 -0.13rem 0.63rem rgba(0,0,0,0.1);
    z-index: 100;
}

.mobile-footer-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: calc(1rem + 3mm);
}

.mobile-footer-nav a {
    color: #333;
    font-size: 1.5rem;
    text-decoration: none;
}

/* ========================================
   MEDIA QUERIES - Mobile First Approach
======================================== */

/* Small Mobile: 320px-374px */
@media (max-width: 374px) {
    .social-bar {
        gap: calc(0.63rem - 0.5mm);
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .services p {
        font-size: 0.75rem;
    }

    .music-title {
        font-size: 0.95rem;
    }
}

/* Mobile: 375px-425px */
@media (min-width: 375px) and (max-width: 426px) {
    .hero-title {
        font-size: 2.2rem !important;
        letter-spacing: 0.05rem;
    }

    .hero-subtitle {
        font-size: 1.94rem !important;
    }
    
    .services p {
        font-size: 0.75rem;
    }

    .music-title {
        font-size: 1.1rem;
    }
    
}

/* Medium Mobile: 427px-768px */
@media (min-width: 427px) and (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
        letter-spacing: 0.08rem;
    }

    .hero-subtitle {
        font-size: 2.4rem !important;
    }
}

/* Tablet & Desktop: 768px+ */
@media (min-width: 768px) {
    body {
        padding-bottom: 0; /* Remove mobile footer padding */
        margin: 0;
    }

    .header {
        background-color: var(--navy-blue);
        height: 10mm;
        padding: 0;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-menu-overlay {
        display: none;
    }

    .nav-container {
        display: block;
        background-color: #f600b9;
        padding: 0.94rem 2.5rem calc(2.13rem - 3mm);
    }

    .nav-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        list-style: none;
        opacity: 0;
        animation: fadeIn 1.5s ease-in forwards;
    }

    .nav-menu li a {
        color: var(--white);
        text-decoration: none;
        font-family: 'Futura-Light', sans-serif;
        font-weight: normal;
        font-size: 1rem;
        letter-spacing: 0.06rem;
        padding: 0.13rem 1.5rem;
        display: inline-block;
        transition: all 0.3s ease;
    }

    .nav-menu li a:hover {
        transform: scale(1.1);
    }

    .nav-menu li a.active {
        background-color: #ff90e3;
        color: var(--black);
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .social-bar {
        padding: 2mm 3.76rem;
        margin-top: -0.63rem;
        gap: calc(0.94rem - 1mm);
    }

    .social-bar a {
        width: 2.63rem;
        height: 2.63rem;
        font-size: 1.5rem;
    }

    .hero {
        padding: 0 0 0.63rem;
        margin-top: 0;
        margin-bottom: calc(0.625rem - 1mm);
    }

    .hero-image-mobile {
        display: none; 
    }

    .hero-content {
        min-height: 43.75rem;
        background-image: url('wedding-ceremonies-mallorca.jpg'); /* Show desktop background */
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        padding: 3.75rem 0 1.25rem;
        margin: 0;
    }

    .hero-text {
        text-align: left;
        padding-top: 0;
    }

    .hero-title {
        text-align: left;
        margin-right: 0;
        margin-left: 55%;
        margin-top: 2.5rem;
    }

    .hero-subtitle {
        text-align: left;
        margin-right: 0;
        margin-left: 71%;
        margin-top: 1.25rem;
    }

    .services {
        position: absolute;
        bottom: 1.88rem;
        right: calc(6rem + 2cm);
        padding-left: 0;
        padding-bottom: 100px;
    }

    .video-section {
        background-color: var(--white);
        padding: 0 0 0.94rem;
        margin-bottom: 0rem;
    }

    .video-section:last-of-type {
        padding-bottom: 0;
    }

    .music-section {
    padding: 4mm 3.76rem 1.56rem;
    margin-bottom: 0.85rem;
    }

    .music-title {
        margin-top: 0;
    }

    .music-icons {
        margin-top: calc(-0.63rem + 1mm);
    }

    .dj-banner {
        padding: 2.5rem 1.88rem;
    }

    .unforgettable-banner {
        padding: 3.75rem 1.88rem;
        margin-top: -0.94rem;
    }

    .availability-section {
        padding: 5rem 1.88rem;
    }

    .availability-title {
        margin-bottom: 3.13rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr; /* Tablet: two columns */
    }

    .availability-form input,
    .availability-form textarea {
        padding: 0.94rem 1.25rem;
        font-size: 1rem;
    }

    .submit-btn {
        width: auto;
        padding: 0.94rem 2.5rem;
        font-size: 1.13rem;
    }

    .contact-btn {
        display: flex;
        position: fixed;
        right: 1.88rem;
        bottom: 1.88rem;
        background-color: #4267B2;
        color: var(--white);
        padding: 0.75rem 1.56rem;
        border-radius: 1.56rem;
        text-decoration: none;
        font-family: 'Arial', sans-serif;
        font-size: 0.88rem;
        align-items: center;
        gap: 0.63rem;
        box-shadow: 0 0.25rem 0.94rem rgba(0,0,0,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        z-index: 100;
    }

    .contact-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 0.38rem 1.25rem rgba(0,0,0,0.4);
    }

    .contact-btn i {
        font-size: 1.13rem;
    }

    .videos-section {
        padding: 0.5rem 1.88rem 1.88rem;
        gap: 2.5rem;
    }

    .music-playlist-section {
        padding: 0.5rem 1.88rem 1.88rem;
        gap: 2.5rem;
    }

    .mobile-footer-nav {
        display: none;
    }
}

/* Tablet: 768px-900px */
@media (min-width: 768px) and (max-width: 900px) {
    .hero-title {
        margin-left: 59%;
    }

    .hero-subtitle {
        margin-left: 75%;
    }
}

/* Desktop intermedio: 901px-1024px */
@media (min-width: 901px) and (max-width: 1024px) {
    .hero-title {
        margin-left: 55%;
    }

    .hero-subtitle {
        margin-left: 75%;
    }

    .services {
        right: calc(6rem + 3cm);
    }
}

/* Desktop small: 1025px-1439px */
@media (min-width: 1025px) and (max-width: 1439px) {
    .hero-subtitle {
        margin-left: 75% !important;
    }
}

/* Desktop: 1025px+ */
@media (min-width: 1025px) {
    .social-bar {
        gap: calc(0.94rem + 2mm);
    }

    .nav-menu {
        gap: 1cm;
    }

    .nav-menu li a {
        font-size: var(--fs-nav);
        padding: 0.13rem calc(2.5rem + 0.5cm);
    }

    .hero {
        padding: 0;
        margin-top: 0;
        margin-left: 1.7rem;
        margin-right: 1.7rem;
        margin-bottom: 0.85rem;
    }

    .hero-content {
        padding: 0;
    }

    .music-section {
        margin-top: 0.85rem;
        margin-bottom: 0.85rem;
    }

    .hero-title {
        margin-left: 55%;
        margin-top: calc(2.5rem + 1cm);
    }

    .hero-subtitle {
        margin-left: 71%;
    }

    .videos-section {
        padding: 1rem 5rem 3.75rem;
        gap: 3.75rem;
    }

    .music-playlist-section {
        padding: 1rem 5rem 3.75rem;
        gap: 3.75rem;
    }

    .video-section {
        padding: 0;
        margin-left: 1.7rem;
        margin-right: 1.7rem;
        margin-bottom: 0;
    }

    .music-section {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
    }

    .dj-banner {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
    }

    .unforgettable-banner {
        margin-left: 1.7rem;
        margin-right: 1.7rem;
    }

    .availability-section {
        margin-left: 0.85rem;
        margin-right: 0.85rem;
    }
}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {
    .hero-content {
        min-height: 85vh;
    }

    .hero-title {
        margin-left: 792px !important;
    }

    .hero-subtitle {
        margin-left: 1013px !important;
    }

    .services {
        right: calc(6rem + 5cm);
    }
}

/* Full HD: 1800px+ */
@media (min-width: 1800px) {
    .hero-title {
        margin-left: 1100px !important;
    }

    .hero-subtitle {
        margin-left: 1310px !important;
    }

    .services {
        right: calc(6rem + 10cm);
    }
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 1rem 1.5rem;
    z-index: 200;
    font-size: 0.85rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner.active {
    display: flex;
}

.cookie-banner p {
    margin: 0;
    line-height: 1.4;
}

.cookie-banner button {
    background-color: #f600b9;
    color: var(--white);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cookie-banner button:hover {
    opacity: 0.9;
}

.cookie-link {
    color: #f600b9;
    text-decoration: underline;
}

.cookie-link:hover {
    opacity: 0.8;
}

/* Cookie Policy Page */
.cookie-policy-section {
    max-width: 50rem;
    margin: 0 auto;
    padding: 2rem 1.5rem 3rem;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.7;
}

.cookie-policy-title {
    font-family: 'Futura-Heavy', sans-serif;
    font-size: 1.8rem;
    color: var(--black);
    letter-spacing: 0.1rem;
    margin-bottom: 0.5rem;
}

.cookie-policy-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 2rem;
}

.cookie-policy-section h2 {
    font-size: 1.2rem;
    color: var(--black);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.cookie-policy-section h3 {
    font-size: 1rem;
    color: var(--black);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.cookie-policy-section p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.cookie-policy-section ul {
    margin: 0.5rem 0 1rem 1.5rem;
    font-size: 0.95rem;
}

.cookie-policy-section ul li {
    margin-bottom: 0.4rem;
}

.cookie-policy-section a {
    color: #f600b9;
    text-decoration: underline;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.85rem;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 0.6rem 0.8rem;
    text-align: left;
}

.cookie-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* Extra Large: 1900px+ */
@media (min-width: 1900px) {
    .hero-content {
        background-position: center calc(50% + 2cm);
    }
}