/* ================= VARIABLES Y RESET ================= */
:root {
    --bg-dark: #050505;
    --bg-lighter: #111111;
    --accent-yellow: #c52558;
    --text-white: #FFFFFF;
    --font-main: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s ease;
}

/* ================= NAVEGACIÓN ================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 10px 50px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo img {
    height: 90px;
    object-fit: contain;
    transition: height 0.4s ease;
}

nav.scrolled .logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-yellow);
}

.nav-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-vip {
    background-color: var(--accent-yellow);
    color: black;
    padding: 12px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(249, 229, 36, 0.3);
}

/* ================= HERO SECTION (HOME) ================= */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/Playa Padre Marbella.jpeg') center/cover no-repeat;
    z-index: 1;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 2vw;
    font-weight: 400;
    letter-spacing: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-logo {
    width: 50vw;
    max-width: 800px;
    min-width: 280px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 15px 25px rgba(0, 0, 0, 0.9));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
}

/* ================= HERO SECTION (PÁGINAS INTERNAS) ================= */
.hero-subpage {
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-lighter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-subpage .hero-title {
    font-size: 5vw;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 10px;
    color: var(--accent-yellow);
    z-index: 2;
    position: relative;
}

.hero-subpage::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('imagenes/Art Basel Miami anotr boat party.jpeg') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

/* ================= EVENTOS / VIP (CARDS) ================= */
.section-events {
    padding: 100px 50px;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    font-weight: 900;
}

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

.event-card {
    background-color: var(--bg-lighter);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 450px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.event-card:hover {
    transform: scale(1.02);
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-position: center;
    background-size: cover;
    transition: opacity 0.3s ease;
}

.event-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
}

.event-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
}

.event-date {
    font-size: 12px;
    color: var(--accent-yellow);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.event-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.btn-card {
    border: 1px solid var(--text-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-card:hover {
    background: var(--text-white);
    color: black;
}

/* ================= CONTACT SECTION ================= */
.contact-container {
    display: flex;
    gap: 50px;
    padding: 100px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

.contact-form {
    flex: 1;
    background: var(--bg-lighter);
    padding: 40px;
    border-radius: 15px;
}

/* ================= MARQUEE TEXT ================= */
.marquee-wrapper {
    background: var(--accent-yellow);
    color: black;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: inline-block;
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================= NEWSLETTER (BACKSTAGE) ================= */
.newsletter-section {
    padding: 120px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.newsletter-text h2 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 2px var(--accent-yellow);
}

.newsletter-form {
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--text-white);
    color: var(--text-white);
    padding: 15px 0;
    font-size: 16px;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.input-group input:focus, .input-group textarea:focus {
    border-bottom-color: var(--accent-yellow);
}

.btn-submit {
    background: var(--accent-yellow);
    color: black;
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    transition: opacity 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-submit:hover {
    opacity: 0.8;
}

/* ================= FOOTER ================= */
footer {
    background: #000;
    padding: 50px;
    border-top: 5px solid var(--accent-yellow);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    font-size: 14px;
    color: #888;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .newsletter-section { flex-direction: column; gap: 50px; text-align: center; }
    .newsletter-form { width: 100%; }
    .hero-logo { width: 80vw; }
    .hero-subtitle { font-size: 4vw; }
    .contact-container { flex-direction: column; }
}