/* assets/css/style.css */

/* Global Variables */
:root {
    --primary-color: #ff6a00; /* RunForLife Logo Orange */
    --secondary-color: #0b9e28; /* RunForLife Logo Green */
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Outfit', sans-serif;
    padding-top: 0; 
    color: #333;
}

/* Custom Primary Color overrides for Bootstrap */
.btn-primary, .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover {
    background-color: #e65c00 !important;
    border-color: #e65c00 !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.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);
    color: white;
}

/* Navbar styles */
.transition-navbar {
    transition: all 0.4s ease;
    padding: 1rem 0;
    background-color: transparent !important;
}

.navbar-scrolled {
    background-color: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.brand-text {
    color: white;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: color 0.3s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1537248161746-fc3f1d3e8ad4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
    z-index: 1;
}

/* Event Cards */
.event-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.event-card img {
    transition: transform 0.5s ease;
}

.event-card:hover img {
    transform: scale(1.05);
}

/* Utilities */
.tracking-wide {
    letter-spacing: 2px;
}

.hover-white:hover {
    color: white !important;
}

.max-w-700 {
    max-width: 700px;
}
.max-w-500 {
    max-width: 500px;
}
