/* ==========================================================================
   COMPONENTS - Reusable Components (Buttons, Cards, Badges, etc.)
   ========================================================================== */

/* Buttons */
.btn-base {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #0d1b2a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.4);
}

.btn-outline {
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(230, 57, 70, 0.05);
}

/* Cards */
.card-base {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.card-base:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    background: #1a1a2e;
}

.card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.card-base:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Badges */
.badge-base {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: var(--primary-color);
    color: var(--white);
}

/* Meta Information */
.meta-base {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.875rem;
}

.meta-base i {
    margin-right: 5px;
}

/* Links */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.read-more:hover {
    gap: 12px;
}

.read-more[style*="background: #e63946"]:hover {
    background: #d62839 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
}

.read-more[style*="background: #1d3557"]:hover {
    background: #0d1b2a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 53, 87, 0.4);
}

/* Icons */
.icon-shadow {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

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

.scroll-animation {
    animation: scroll 25s linear infinite;
}

/* Check Icon */
.fa-check {
    font-weight: 900;
}