/* Trensit Home Page Styles - Matching Auth Pages */

:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --dark-color: #1a1a1a;
    --light-bg: #f8f9fa;
}

.hero-section, .auth-hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,123,255,0.8), rgba(40,167,69,0.6)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-section::before, .auth-hero::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: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.feature-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.how-it-works .step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.trips-preview {
    background: var(--light-bg);
    padding: 60px 0;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
}

.stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}

/* Logo Header */
.auth-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    margin-bottom: 1rem;
}

/* Password Toggle */
.password-toggle {
    cursor: pointer;
    color: #6c757d;
    font-size: 1.1em;
    user-select: none;
    transition: color 0.2s;
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 2;
}
.password-toggle:hover {
    color: var(--primary-color);
}

.glass-auth {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-floating-auth input {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    padding: 12px 50px 12px 45px;
    transition: all 0.3s;
}

.form-floating-auth input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0,123,255,0.25);
    background: white;
}

.auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,123,255,0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

.switch-auth {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.switch-auth:hover {
    color: #e0a800;
    text-decoration: underline;
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .glass-auth {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-floating-auth input {
        font-size: 1rem;
        padding: 1rem 50px 1rem 40px;
    }

    .auth-btn {
        padding: 0.875rem;
        font-size: 1rem;
    }

    .auth-hero {
        padding: 2rem 0;
    }
}
