/* ============================================
   Purple Dog Technologies - Buttons
   File: css/components/buttons.css
   ============================================ */

/* Base Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Primary Button */
.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(190, 55, 243, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(190, 55, 243, 0.1);
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    color: var(--primary);
    padding: 0.75rem 1.25rem;
}

.btn-ghost:hover {
    background: rgba(190, 55, 243, 0.1);
}

/* Small Button */
.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* Large Button */
.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Full Width Button */
.btn-block {
    width: 100%;
}

/* Button with Icon */
.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* Icon-only Button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Nav CTA Button */
.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(190, 55, 243, 0.5);
}
