/* ========== IBERIASTUDIO STYLES ========== */

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

body {
    background-image: url('media/IberiaStudioFondo.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Helvetica, Arial, sans-serif;
}

/* HEADER */
header {
    width: 100%;
    padding-top: 10px;
    text-align: center;
    z-index: 100;
}

h1 {
    font-weight: 900;
    font-size: 85px;
    font-family: Helvetica, Arial, sans-serif;
    letter-spacing: -3px;
    line-height: 0.9;
    margin: 0;
    color: white;
    mix-blend-mode: difference;
}

/* CONTENEDOR CENTRAL - Home */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.card {
    max-width: 600px;
    text-align: center;
    background: transparent;
}

/* FORM PAGE */
.form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    width: 100%;
}

.form-container {
    background-color: rgba(0, 0, 0);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    color: white;
}

.form-container h2 {
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-container label {
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
    color: white;
}

.form-container input,
.form-container textarea {
    margin-bottom: 20px;
    padding: 12px;
    background: transparent;
    border: 1px solid #ffffff;
    color: white;
    font-family: inherit;
    outline: none;
    width: 100%;
}

.form-container input:focus,
.form-container textarea:focus {
    border-color: #cccccc;
}

.form-container textarea {
    min-height: 120px;
    resize: vertical;
}

/* TEXTO CON INVERSIÓN */
p {
    color: white;
    mix-blend-mode: difference;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 40px;
    z-index: 10;
}

/* BOTÓN BRUTALISTA */
.btn-iberia {
    display: inline-block;
    padding: 15px 40px;
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: 2px solid white;
    transition: all 0.2s ease;
    cursor: pointer;
    font-family: Helvetica, Arial, sans-serif;
}

.btn-iberia:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
}

/* FOOTER */
.main-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
    z-index: 1000;
}

.main-footer p {
    mix-blend-mode: normal;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin: 0;
    opacity: 0.7;
    font-family: 'Consolas', 'Courier New', monospace;
}

/* COMING SOON */
.coming-soon {
    font-weight: 900;
    font-size: 85px;
    letter-spacing: -3px;
    text-transform: lowercase;
    color: white;
    mix-blend-mode: difference;
}

.coming-soon-text::after {
    content: '';
    animation: dots 3s steps(4, end) infinite;
}

@keyframes dots {
    0%, 10% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    100% { content: '...'; }
}

/* LOGO FOOTER */
.footer-logo {
    position: fixed;
    left: 20px;
    bottom: 70px;
    z-index: 1001;
}

.footer-logo img {
    width: 60px;
    height: auto;
    filter: invert(1);
}

/* BOTONES FLEX ROW */
.btn-row {
    display: flex;
    gap: 15px;
}

.btn-row .btn-iberia {
    flex: 1;
}

/* VOLVER */
.btn-volver {
    margin-top: 15px;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
}

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    color: white;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    border: 2px solid white;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success { background-color: #000; }
.toast.error { background-color: #900; }

/* RESPONSIVE */
@media (max-width: 768px) {
    h1, .coming-soon {
        font-size: 45px;
        letter-spacing: -1px;
        padding: 0 10px;
    }

    header { padding-top: 15px; }

    .card {
        width: 90%;
        padding: 20px;
    }

    p {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }

    .btn-iberia {
        width: 100%;
        padding: 18px 0;
        font-size: 1rem;
    }

    .main-footer { padding: 10px 0; }
    .main-footer p { font-size: 0.6rem; }

    .form-container { max-width: 90%; }
    .btn-volver { max-width: 90%; }
}

@media (max-width: 380px) {
    h1, .coming-soon { font-size: 35px; }
}
