﻿:root {
    --color-primary: #8B4513;
    --color-secondary: #A0522D;
    --color-accent: #CD853F;
    --color-success: #2E8B57;
    --color-info: #4682B4;
    --color-light: #f8f9fa;
    --color-dark: #2c3e50;
    --color-muted: #6c757d;
}

.info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
    }

    .info-card:hover {
        /*transform: translateY(-10px);*/
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.card-header {
    border-bottom: 2px solid var(--color-light);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.icon-unidad {
    background: #563c29;
}

.card-icon-question {
    width: 40px;
    height: 40px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.icon-question {
    background: #ae8f45;
}

.card-title {
    font-family: 'richmond-text', serif;
    font-weight: 600;
    color: var(--color-dark);
}

.info-item {
    background: linear-gradient(135deg, var(--color-light), #e9ecef);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .info-item:hover {
        background: linear-gradient(135deg, #e9ecef, #dee2e6);
        transform: scale(1.02);
    }

.info-label {
    font-weight: 500;
    color: var(--color-muted);
    padding-right: 1rem;
}

.info-value {
    font-weight: 600;
    color: var(--color-dark);
}

.special-date {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.footer {
    background: rgba(255,255,255,0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0.7;
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .card-header {
        text-align: center;
    }

    .info-item {
        text-align: left;
    }
}
