/* Custom styles for Nigeria Transport and Logistics Summit */

:root {
    --primary-color: #008751;
    --secondary-color: #006B3F;
    --accent-color: #f4a261;
    --success-color: #28a745;
    --dark-color: #000000;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: rgba(0,0,0,0.65);
    --gray-900: #212529;
}

/* Typography */
body {
    font-family: 'Mulish', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.display-4 {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-family: 'Mulish', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

/* Custom Colors */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%),
                url('https://images.unsplash.com/photo-1558618047-3c8c76ca7d13?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') 
center/cover;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-section.has-custom-bg {
    background: linear-gradient(135deg, rgba(0, 135, 81, 0.8) 0%, rgba(0, 107, 63, 0.8) 100%), var(--custom-bg-url) center/cover;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-badge .badge {
    font-size: 0.875rem;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

.hero-stats {
    margin-top: 3rem;
}

.hero-stats .stat-number {
    color: white;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* About Section */
.about-content {
    padding-right: 2rem;
}

.feature-item {
    padding: 1rem 0;
}

.feature-icon i {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 135, 81, 0.1);
    border-radius: 50%;
}

.about-image img {
    border-radius: 15px;
}

/* Topic Cards */
.topic-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.topic-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 135, 81, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Cards */
.card-hover {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Speaker Cards */
.speaker-card {
    overflow: hidden;
    border-radius: 15px;
}

.speaker-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Award Category Cards */
.award-category-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.award-category-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 135, 81, 0.2);
}

/* Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Buttons */
.btn {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 135, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 135, 81, 0.4);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-light {
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: transparent;
}

.btn-outline-light:hover {
    background-color: white;
    border-color: white;
    color: var(--dark-color);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: var(--gray-100);
    border-color: var(--gray-100);
    color: var(--dark-color);
    transform: translateY(-2px);
}

/* Stats Section */
.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: 'DM Sans', sans-serif;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-family: 'Mulish', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 135, 81, 0.25);
}

.form-label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Sponsor Logos */
.sponsor-logo-large {
    max-height: 120px;
    max-width: 100%;
    filter: grayscale(50%);
    opacity: 0.8;
    transition: all 0.3s ease;
    object-fit: contain;
}

.sponsor-logo-small {
    max-height: 60px;
    max-width: 100%;
    filter: grayscale(80%);
    opacity: 0.7;
    transition: all 0.3s ease;
    object-fit: contain;
}

.sponsor-logo-large:hover,
.sponsor-logo-small:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}

.sponsor-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-card-small {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sponsor-card-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-logo-container {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-placeholder {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.sponsor-badge .badge {
    font-size: 0.75rem;
}

.sponsors-grid {
    margin-top: 3rem;
}

/* Responsive sponsor layout */
@media (max-width: 768px) {
    .sponsor-logo-large {
        max-height: 100px;
    }
    
    .sponsor-logo-small {
        max-height: 50px;
    }
    
    .sponsor-card {
        padding: 1rem !important;
    }
    
    .sponsor-card-small {
        padding: 0.75rem !important;
    }
}

/* Sponsor level indicators */
.sponsor-card[data-level="platinum"] {
    border-top: 3px solid #ffd700;
}

.sponsor-card[data-level="gold"] {
    border-top: 3px solid #ffc107;
}

.sponsor-card[data-level="silver"] {
    border-top: 3px solid #6c757d;
}

.sponsor-card[data-level="bronze"] {
    border-top: 3px solid #008751;
}

/* Social Links */
.social-links a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: var(--secondary-color) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        margin-top: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .display-5 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .topic-card {
        margin-bottom: 1rem;
    }
}

/* Utility Classes */
.shadow-custom {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
    border-radius: 15px;
}

.border-gradient {
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
}

/* Print Styles */
@media print {
    .hero-section,
    .navbar,
    footer {
        display: none;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}
