/* ===========================
   VARIABLES CSS
   =========================== */
:root {
    --color-rojo-aragon: #CC0000;
    --color-amarillo-aragon: #ffdd00;
    --color-gris-oscuro: #333333;
    --color-blanco: #FFFFFF;
}

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

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

/* ===========================
   LOGO HEADER
   =========================== */
.logo-header {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ===========================
   HERO FULLSCREEN
   =========================== */
.hero-fullscreen {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background-image: url('/wp-content/uploads/2025/10/img_1_1760095192909.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-content-centered {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 550px;
    padding: 20px;
}

/* ===========================
   TARJETA DE DONACIÓN
   =========================== */
.donation-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.donation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-rojo-aragon);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.2;
}

.donation-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* ===========================
   SELECTOR DE IMPORTES
   =========================== */
.amount-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.amount-option {
    padding: 15px 10px;
    border: 2px solid #e0e0e0;
    background: white;
    color: var(--color-gris-oscuro);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.amount-option:hover {
    border-color: var(--color-rojo-aragon);
    color: var(--color-rojo-aragon);
    transform: translateY(-2px);
}

.amount-option.active {
    background: linear-gradient(135deg, var(--color-amarillo-aragon) 0%, #e6c200 100%);
    color: var(--color-gris-oscuro);
    border-color: var(--color-amarillo-aragon);
}

/* ===========================
   CANTIDAD PERSONALIZADA
   =========================== */
.custom-amount-wrapper {
    margin-bottom: 25px;
}

.custom-amount-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-gris-oscuro);
    font-size: 0.95rem;
}

.amount-input-group {
    position: relative;
}

.amount-input-group input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.amount-input-group input:focus {
    border-color: var(--color-rojo-aragon);
}

.euro-symbol {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    font-weight: 600;
    color: #999;
}

/* ===========================
   FORMULARIO
   =========================== */
.donation-form {
    margin-top: 25px;
}

.form-field {
    margin-bottom: 15px;
}

.form-field input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-field input:focus {
    border-color: var(--color-rojo-aragon);
}

/* ===========================
   SELECTOR DE MÉTODO DE PAGO
   =========================== */
.payment-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.payment-method {
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method i {
    font-size: 1.3rem;
    color: #666;
}

.payment-method span {
    font-weight: 600;
    color: var(--color-gris-oscuro);
}

.payment-method:hover {
    border-color: var(--color-rojo-aragon);
}

.payment-method.active {
    background: linear-gradient(135deg, var(--color-amarillo-aragon) 0%, #e6c200 100%);
    border-color: var(--color-amarillo-aragon);
}

.payment-method.active i,
.payment-method.active span {
    color: var(--color-gris-oscuro);
}

/* ===========================
   DETALLES DE PAGO
   =========================== */
.payment-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-amarillo-aragon);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item strong {
    min-width: 80px;
    color: var(--color-gris-oscuro);
    font-size: 0.9rem;
}

.detail-item .copy-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--color-gris-oscuro);
}

.btn-copy {
    background: var(--color-amarillo-aragon);
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-gris-oscuro);
}

.btn-copy:hover {
    background: #ffc700;
    transform: scale(1.05);
}

.btn-copy i {
    font-size: 0.9rem;
}

/* ===========================
   CHECKBOX PRIVACIDAD
   =========================== */
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
}

.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.privacy-check label {
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
}

.privacy-check a {
    color: var(--color-rojo-aragon);
    text-decoration: underline;
}

/* ===========================
   BOTÓN PRINCIPAL
   =========================== */
.btn-donate-main {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-amarillo-aragon) 0%, #e6c200 100%);
    color: var(--color-gris-oscuro);
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 221, 0, 0.5);
}

.btn-donate-main i {
    font-size: 1.1rem;
}

/* ===========================
   VOLVER A LA WEB
   =========================== */
.back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home:hover {
    color: var(--color-rojo-aragon);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .logo {
        height: 50px;
    }

    .hero-fullscreen {
        background-attachment: scroll;
    }

    .hero-content-centered {
        max-width: 100%;
        padding: 15px;
    }

    .donation-card {
        padding: 30px 25px;
    }

    .donation-title {
        font-size: 2rem;
    }

    .donation-subtitle {
        font-size: 1rem;
    }

    .amount-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .amount-option {
        padding: 14px 10px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .donation-card {
        padding: 25px 20px;
    }

    .donation-title {
        font-size: 1.75rem;
    }

    .payment-selector {
        grid-template-columns: 1fr;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-item strong {
        margin-bottom: 5px;
    }

    .btn-donate-main {
        font-size: 1.1rem;
        padding: 16px;
    }
}

@media (max-height: 800px) {
    .donation-card {
        padding: 30px;
        max-height: 90vh;
        overflow-y: auto;
    }
}
