/* 
 * APILED - Main Stylesheet
 * 
 * Design Guidelines:
 * - Dominant: White (#FFFFFF) & Light Grey (#F5F7FA)
 * - Secondary: Dark Grey (#2C3E50)
 * - Accent: Red (#D32F2F)
 */

:root {
    /* Color Palette */
    --primary-red: #D32F2F;
    --primary-red-hover: #B71C1C;
    --text-dark: #2C3E50;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-dark);
}

/* 
 * Button Styles 
 */
.btn-primary-red {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    /* 4px-8px requirement */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-red:hover {
    background-color: var(--primary-red-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost-red {
    background-color: transparent;
    color: var(--primary-red);
    border: 1px solid var(--primary-red);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-ghost-red:hover {
    background-color: var(--primary-red);
    color: white;
}

/* 
 * Navbar Customization 
 */
.navbar-brand img {
    height: 40px;
    /* Adjust based on logo aspect ratio */
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin-right: 15px;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

/* 
 * Utility Classes 
 */
.bg-light-grey {
    background-color: var(--bg-light);
}

.text-accent {
    color: var(--primary-red);
}

.section-padding {
    padding: 80px 0;
}

.card-custom {
    background: var(--bg-white);
    border: none;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 
 * Trust Bar 
 */
.trust-bar img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
    max-height: 50px;
}

.trust-bar img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* 
 * Animations 
 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar {
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
}