/* Landing Page Styles */

/* Navigation */
.navbar-landing {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-landing.scrolled {
    padding: 10px 0;
}

.navbar-landing .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-landing .nav-link:hover,
.navbar-landing .nav-link.active {
    color: #28a745;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 100px;
}

.hero-card {
    border-radius: 25px;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

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

/* Responsywność */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem !important;
    }
    
    .cta-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .feature-icon-box .avatar-md {
        width: 3rem;
        height: 3rem;
    }
    
    .section#hero {
        margin-top: 60px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }
    
    .card-img {
        max-height: 400px !important;
    }
    
    .d-flex.gap-3.justify-content-center {
        flex-direction: column;
        align-items: center;
    }
    
    .d-flex.gap-3.justify-content-center .btn {
        margin-bottom: 10px;
        width: 100%;
        max-width: 250px;
    }
    
    .video-container .play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-container .play-button i {
        font-size: 30px !important;
    }
    
    .fs-13 {
        font-size: 11px !important;
    }
}

/* CTA Buttons */
.cta-btn {
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.cta-btn:hover::after {
    left: 100%;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Features */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
}

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

.feature-icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

/* Video Container */
.video-container {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 10px;
}

/* Klasa dla lepszej widoczności wideo - podstawowe style dla wszystkich urządzeń */
.video-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}

/* Style dla kontenera wideo TYLKO na większych ekranach (komputery) */
@media (min-width: 992px) {
    /* Kontener wideo na dużych ekranach */
    .video-wrapper {
        max-width: 800px !important;
    }
    
    /* Ograniczenie tylko dla dużych ekranów */
    .video-visible {
        max-height: 450px !important;
        object-fit: contain !important;
    }
}

.video-container .position-relative {
    display: block;
    width: 100%;
}

.video-overlay {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(0,0,0,0.3) !important;
    display: flex !important;
}

.play-button {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    background-color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

#promoVideo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    max-height: 500px;
    object-fit: contain;
}

/* Testimonials */
.testimonial-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #28a745;
}

/* Statistics */
.counter-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.counter-icon {
    font-size: 2.5rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 50px 0 20px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.footer-link {
    color: #6c757d;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #28a745;
    text-decoration: none;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f1f1f1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #28a745;
    color: #fff;
    transform: translateY(-3px);
}

/* Floating animation */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}
