/* Critical CSS - Essential styles for initial page render */
:root {
    --primary-color: #0052cc;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --navbar-text: #ffffff;
    --navbar-text-hover: #ffffff;
}

/* LCP Optimizations */
.main-heading {
    opacity: 0;
    transform: translateZ(0);
    transition: opacity 0.3s ease;
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 0 100px;
}

/* Hero Section Optimizations */
.hero-section {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    contain: layout style paint;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
}

.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    color: var(--navbar-text) !important;
    font-weight: bold;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--info-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Basic layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Basic section styles */
section {
    padding: 4rem 0;
}

/* Basic heading styles */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Basic link styles */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--navbar-text) !important;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--navbar-text-hover) !important;
    text-decoration: underline;
}

.navbar-brand:hover,
.navbar-brand:focus {
    color: var(--navbar-text-hover) !important;
    text-decoration: none;
}

.navbar .text-white-50 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: var(--navbar-text) !important;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.9)),
                url('../images/hero-bg.jpg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
}

.brand-text {
    color: var(--navbar-text);
    font-weight: bold;
    font-size: 1.25rem;
}

.brand-subtitle {
    color: var(--navbar-text);
    font-size: 0.875rem;
    opacity: 0.95; /* High opacity for better contrast */
    font-weight: 500; /* Medium weight for better visibility */
}

/* Map Container Styles */
.map-container {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.map-placeholder {
    background-color: var(--light-color);
    border: 1px solid rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.map-placeholder:hover {
    background-color: var(--light-color);
}

#map-frame {
    width: 100%;
    height: 450px;
}

#map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Touch Target Optimizations */
.navbar-toggler {
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    margin: 4px;
    border-radius: 4px;
    touch-action: manipulation;
}

.navbar-brand {
    min-height: 48px;
    padding: 8px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
}

.navbar-nav .nav-link {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 16px;
    margin: 2px;
    display: flex;
    align-items: center;
    touch-action: manipulation;
}

/* Ensure proper spacing between nav items */
.navbar-nav .nav-item {
    margin: 0 2px;
}

/* Adjust brand text for better touch targets */
.brand-text {
    color: var(--navbar-text);
    font-weight: bold;
    font-size: 1.25rem;
    padding: 4px 0;
}

.brand-subtitle {
    color: var(--navbar-text);
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 500;
    padding: 4px 0;
    line-height: 1.2;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .navbar-toggler {
        margin-left: 8px;
    }
    
    .navbar-brand {
        padding: 8px 4px;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px;
        margin: 4px 0;
    }
    
    /* Increase touch target size for mobile */
    .nav-item {
        margin: 4px 0;
    }
} 