/* ===== Button Components ===== */
/* Requires: css/styles.css for CSS variables */

/* Base button styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.2;
}

/* Primary button (main actions) */
.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--info-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Secondary button (alternative actions) */
.btn-secondary {
    background: var(--bg-accent);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* Large button variant */
.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* CTA Button (legacy support) */
.cta-button {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 15px 10px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Responsive button styles */
@media (max-width: 768px) {
    .cta-button {
        display: block;
        margin: 10px 0;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .btn + .btn {
        margin-top: 10px;
    }
}