/* Homepage Styles */

/* Header */
.homepage-header {
    background-color: white;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.homepage-header .navbar {
    padding: 1rem 0;
}

.logo-icon-small {
    width: 40px;
    height: 40px;
    background-color: #1e3a5f;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-text-primary {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.2;
}

.logo-text-secondary {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.2;
}

.homepage-header .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.2s;
}

.homepage-header .nav-link:hover {
    color: #1e3a5f;
}

/* Sign In link styling - light blue border */
.homepage-header #signInLink {
    border: 1px solid #dbeafe;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #495057;
}

.homepage-header #signInLink:hover {
    background-color: #dbeafe;
    color: #1e3a5f;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.badge-gtfs {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Outline Primary Button - Light Blue Hover */
.btn-outline-primary {
    border-color: #1e3a5f;
    color: #1e3a5f;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #dbeafe;
    border-color: #dbeafe;
    color: #1e3a5f;
}

.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(219, 234, 254, 0.5);
}

/* Metrics Section */
.metrics-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.metric-item {
    padding: 1.5rem;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    color: #1e3a5f;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    color: #495057;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-list li i {
    color: #22c55e;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Developer Section */
.developer-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.api-docs-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.api-icon {
    width: 50px;
    height: 50px;
    background-color: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-right: 1rem;
}

.api-docs-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e3a5f;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.http-method {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

.http-method.get {
    background-color: #dbeafe;
    color: #1e40af;
}

.http-method.post {
    background-color: #d1fae5;
    color: #065f46;
}

.api-endpoint code {
    font-size: 0.95rem;
    color: #1e3a5f;
    font-family: 'Courier New', monospace;
}

.api-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.api-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #495057;
}

.api-feature-badge i {
    color: #1e3a5f;
}

/* Sign In Card */
.signin-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 100px;
}

.signin-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.signin-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.demo-credentials {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    margin: 0;
}

/* Footer */
.homepage-footer {
    background-color: #1e3a5f;
    color: white;
    padding: 2rem 0;
    margin-bottom: 0;
}

body {
    margin-bottom: 0;
    padding-bottom: 0;
}

.homepage-footer a {
    color: white !important;
    text-decoration: none;
    transition: opacity 0.2s;
    font-weight: 400;
}

.homepage-footer a:hover {
    color: #dbeafe !important;
    opacity: 1;
}

.homepage-footer p {
    color: white !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .signin-card {
        position: static;
        margin-top: 2rem;
    }

    .metric-value {
        font-size: 2rem;
    }
}

