:root {
    --primary-ochre: #C38D3C;
    /* Ocre */
    --primary-ochre-light: #dcb36d;
    --primary-terracotta: #B75C3E;
    /* Terracota */
    --primary-terracotta-dark: #91452c;
    --bg-dark: #1A1A1A;
    --bg-light: #F9F7F3;
    --text-dark: #2c2c2c;
    --text-light: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

strong {
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-terracotta), var(--primary-ochre));
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(183, 92, 62, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(183, 92, 62, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-ochre);
}

.btn-outline:hover {
    background: var(--primary-ochre);
    color: var(--text-light);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -15px;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    height: 50px;
    width: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('CLUB P MALLORCA T1.jpg.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span {
    display: block;
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--primary-ochre-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-subtitle strong {
    color: var(--primary-terracotta);
}

/* Feature Grid (Glassmorphism) */
.features-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 25px 40px;
    color: var(--text-dark);
    box-shadow: var(--shadow-soft);
    min-width: 220px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-ochre);
}

.feature-card h3 {
    color: var(--primary-terracotta);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.feature-card p {
    font-size: 1.1rem;
    font-weight: 600;
}

.beach-club {
    margin: 20px 0 0;
    font-size: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.beach-club strong {
    color: var(--primary-ochre-light);
}

/* Event Info Section */
.event-info {
    padding: 60px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
    margin-top: -50px;
}

.event-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 25px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-terracotta);
    transition: var(--transition);
    min-width: 320px;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-ochre);
}

.info-text p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2px;
}

.info-text strong {
    font-size: 1.4rem;
    color: var(--text-dark);
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.testimonial-content {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.testimonial-video-container {
    max-width: 300px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: #000;
    border: 3px solid var(--primary-ochre);
    transition: var(--transition);
}

.testimonial-video-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.testimonial-video {
    width: 100%;
    display: block;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.section-title span {
    color: var(--primary-terracotta);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Footer / Contact Section */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta {
    text-align: center;
    max-width: 600px;
    margin-bottom: 60px;
}

.footer-cta h2 {
    font-size: 2.5rem;
    color: var(--primary-ochre-light);
    margin-bottom: 15px;
}

.footer-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--primary-ochre);
    background: rgba(255, 255, 255, 0.1);
}

.contact-form .btn {
    margin-top: 10px;
    width: 100%;
}

.footer-bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.terms {
    font-size: 0.8rem;
    color: #888;
}

.developer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.developer p {
    font-size: 0.8rem;
    color: #888;
}

.developer-logo {
    height: 40px;
    opacity: 0.7;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* fixes invisible background on mobile */
        background-position: center bottom; /* Shows the main part of the image instead of just sky */
        min-height: 100dvh;
        height: auto;
        padding: 100px 0 100px; /* Extra bottom padding so the button isn't covered by the next section */
    }

    .hero-content {
        gap: 20px; /* Reduce vertical spacing between elements to fit screen better */
    }

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

    .hero-title span {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .btn {
        white-space: normal;
        word-wrap: break-word;
        height: auto;
        line-height: 1.4;
    }

    .features-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .feature-card {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .beach-club {
        font-size: 1.3rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        box-sizing: border-box;
    }

    .event-info {
        padding: 40px 0;
        margin-top: -30px;
    }

    .info-box {
        min-width: auto;
        width: 100%;
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .testimonial {
        padding: 50px 0;
    }

    .footer {
        padding: 50px 0 30px;
    }

    .footer-cta h2 {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .developer {
        align-items: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title span {
        font-size: 2.2rem;
    }

    .header-content {
        justify-content: center;
    }
    
    .footer-cta p {
        font-size: 1rem;
    }
}