/* 
 * Custom CSS for Cadbury SMS Bidding Assistant Landing Page
 */

:root {
    --primary-color: #00308F; /* Air Force blue */
    --primary-dark: #002570; /* Even darker for hover/active states */
    --primary-light: #405faa; /* Lighter for accents */
    --accent-color: #00308F; /* Matching accent */
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    position: relative;
    padding-top: 40px; /* Space for the gradient bar */
}

/* Top gradient bar */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark), var(--accent-color));
    z-index: 1030;
}

/* Navbar styling */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    margin-top: 40px; /* Add margin to account for the gradient bar */
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.navbar-brand .logo-icon {
    margin-right: 8px;
    font-size: 2.5rem;
}

.navbar-brand span:not(.logo-icon) {
    margin-left: 10px;
    font-size: 1.2rem;
}

.nav-link {
    font-weight: 500;
    color: #333;
    margin-left: 5px;
    margin-right: 5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero section */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: #0a2540;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Features section */
#features .card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

#features .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Commands section */
.table-commands {
    margin-bottom: 0;
}

.command-cell {
    font-family: monospace;
    font-weight: 600;
    background-color: #f5f5f5;
    color: var(--primary-dark);
}

/* Setup section */
.setup-section {
    padding: 80px 0;
    background-color: #fff;
}

.setup-card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary-color);
}

.setup-steps {
    list-style-position: inside;
}

.setup-steps li {
    margin-bottom: 15px;
    padding-left: 15px;
    position: relative;
}

/* CTA section */
.cta-section {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0a2540;
}

.cta-section .card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Buttons styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #212529;
    color: #fff;
    padding: 60px 0 30px;
}

.footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer ul li {
    margin-bottom: 10px;
}

/* Responsive fixes */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}
