/* :root configuration moved to JS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    background-color: #f5f5dc;
    /* Beige fallback */
}

/* Background Slideshow */
.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    /* Animation is set dynamically in main.js */
}

/* Beige Transparency Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(245, 243, 235, 0.75);
    /* Beige transparency */
    backdrop-filter: blur(5px);
    /* Elegant blur */
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
}

/* Content Container */
.content-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Logo */
.logo {
    max-width: 380px;
    margin-bottom: 3.5rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
    animation: fadeInDown 1.5s ease-out;
}

/* Typography */
.text-es {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c2825;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 15px rgba(255, 255, 255, 0.5);
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.text-ca {
    font-family: 'Playfair Display', serif;
    font-size: 2.0rem;
    font-weight: 400;
    font-style: italic;
    color: #4a4540;
    line-height: 1.4;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

.text-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #4a4540;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    animation: fadeInUp 1.5s ease-out 0.8s both;
}

/* Contact Info */
.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.75);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1.5s ease-out 0.9s both;
    cursor: default;
}

.contact-info:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.whatsapp-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.phone-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .content-container {
        padding: 1.5rem;
    }

    .logo {
        max-width: 260px;
        margin-bottom: 2.5rem;
    }

    .text-es {
        font-size: 1.5rem;
    }

    .text-ca {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .text-tagline {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .phone-number {
        font-size: 1.2rem;
    }

    .whatsapp-logo {
        width: 32px;
        height: 32px;
    }

    .contact-info {
        padding: 1rem 2rem;
    }
}