/* Custom Styles for NicheCents */

/* Font Family */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Navigation Links */
.nav-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #16a34a;
}

.nav-link.active {
    color: #16a34a;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #16a34a;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #16a34a;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(22, 163, 74, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #1e3a8a;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: #1e3a8a;
    font-weight: 600;
    border: 2px solid #1e3a8a;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background-color: #1e3a8a;
    color: white;
    transform: translateY(-1px);
}

/* Report Cards */
.report-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Affiliate Cards */
.affiliate-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.affiliate-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Video Cards */
.video-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
*:focus {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid #16a34a;
    outline-offset: 2px;
}

/* Mobile Menu Animation */
#mobileMenu {
    transition: all 0.3s ease;
}

#mobileMenu.hidden {
    display: none;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Form Styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #16a34a;
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #16a34a;
}

.message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #dc2626;
}

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* Hero Background Image */
.hero-bg {
    background-image: url('../background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(30, 58, 138, 0.7), rgba(22, 163, 74, 0.5));
    z-index: 0;
}

.hero-bg > * {
    position: relative;
    z-index: 1;
}

/* Print Styles */
@media print {
    nav,
    footer,
    .btn-primary,
    .btn-secondary,
    .btn-outline {
        display: none;
    }
}
