/* ==========================================================================
   Landing Page Styles - Charger E-learning dla Firm
   Wzorowane na /var/www/strona
   ========================================================================== */

/* Base Styles */
body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(0, 0, 0, 0.85) !important;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 700;
}

.brand-text {
    color: #fff;
}

.navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 0.5rem 0.75rem;
}

.navbar-toggler i {
    color: #fff;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: #3b82f6 !important;
}

.btn-login {
    background: #3b82f6 !important;
    color: #fff !important;
    border-radius: 4px;
    margin-left: 1rem;
}

.btn-login:hover {
    background: #2563eb !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #1a365d 100%);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.9) 0%, rgba(45, 90, 135, 0.8) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-turquoise {
    background: #3b82f6;
    border: 2px solid #3b82f6;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-turquoise:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.75rem 2rem;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: #fff;
    color: #1a365d;
}

/* Login Card */
.login-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.login-card h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.login-card .form-group {
    margin-bottom: 1rem;
}

.login-card label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-card .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.login-card .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.login-card .btn-block {
    margin-top: 1rem;
}

.forgot-link {
    color: #3b82f6;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Down Arrow */
.down-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2.5rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-20px); }
    60% { transform: translateX(-50%) translateY(-10px); }
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.heading-underline {
    width: 60px;
    height: 3px;
    background: #3b82f6;
    margin: 0 auto 1rem;
}

.heading-underline.light {
    background: #fff;
}

.section-lead {
    color: #666;
    font-size: 1.1rem;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: #fff;
}

.service-card h4 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    position: relative;
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 100%);
}

.benefits-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: scale(1.05);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.benefit-card h4 {
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.benefit-card p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: #fff;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #3b82f6;
    line-height: 1;
}

.stat-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Footer */
.footer-quizer {
    margin: 0;
    padding: 0;
}

.footer-invitation {
    background: #ffffff;
    padding: 2rem 0;
    text-align: center;
}

.footer-invitation h4 {
    color: #1a365d;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer-partner {
    background: #1e3a5f;
    padding: 2.5rem 0;
    text-align: center;
}

.footer-partner .brand-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-partner .company-info {
    color: rgba(255, 255, 255, 0.9);
    margin: 1.5rem 0;
}

.footer-partner .company-info p {
    margin: 0.3rem 0;
    font-size: 0.95rem;
}

.footer-partner .company-info a {
    color: #3b82f6;
    text-decoration: none;
}

.footer-partner .company-info a:hover {
    text-decoration: underline;
}

.footer-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copyright {
    background: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
    border-top: 1px solid #eee;
}

.footer-copyright a {
    color: #3b82f6;
    text-decoration: none;
    margin-left: 15px;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* EU Footer Styles */
.footer-eu-logos {
    background: #1e3a5f;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-eu-project-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-eu-project-text h4 {
    color: #3b82f6;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-eu-project-text h5 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-eu-project-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.footer-eu-project-text em {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.footer-eu-bar {
    background: #ffffff;
    padding: 1.5rem 0;
    text-align: center;
    width: 100%;
}

.footer-eu-bar img {
    max-width: 900px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .login-card {
        margin-top: 2rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .down-arrow {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-buttons .btn {
        width: 200px;
    }
}
