/* eStacjonarne - Custom Styles */

/* Brand highlighting with shadow */
.brand-highlight {
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.5), 0 0 20px rgba(239, 68, 68, 0.3);
}

/* Price highlighting */
.price-highlight {
    color: #EF4444 !important;
    font-weight: bold;
}

.chart-container {
    position: relative;
    width: 100%;
    max-width: 48rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    height: 24rem; /* h-96 */
}

@media (min-width: 768px) {
    .chart-container {
        height: 28rem; /* md:h-[450px] */
    }
}

.section {
    scroll-margin-top: 2rem;
    background-color: #111827; /* bg-gray-900 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
    padding: 1.5rem; /* p-6 */
    margin-bottom: 3rem; /* mb-12 */
    border: 1px solid #1F2937; /* border-gray-800 */
}

@media (min-width: 768px) {
    .section {
        padding: 2.5rem; /* md:p-10 */
    }
}

.nav-link {
    transition: all 0.4s ease;
    border-bottom-width: 3px;
    border-color: transparent;
    cursor: pointer;
}

.nav-link:hover {
    border-color: #DC2626;
    color: #EF4444;
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
}

.nav-link.active {
    border-color: #DC2626;
    color: #EF4444;
    font-weight: 600;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        text-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.4);
    }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: #DC2626; /* bg-red-600 */
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* shadow-lg */
    text-align: center;
    font-size: 1.5rem; /* text-2xl */
    cursor: pointer;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: #B91C1C; /* hover:bg-red-700 */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.4);
    border: 2px solid white;
}

.btn-secondary {
    display: inline-block;
    background-color: #1F2937; /* bg-gray-800 */
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* shadow-lg */
    text-align: center;
    border: 1px solid #374151; /* border-gray-700 */
    font-size: 1.5rem; /* text-2xl */
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #374151; /* hover:bg-gray-700 */
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(255, 255, 255, 0.2);
}

.btn-submit {
    width: 100%;
    background-color: #DC2626; /* bg-red-600 */
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.4s ease;
    font-size: 1.5rem; /* text-2xl */
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #B91C1C; /* hover:bg-red-700 */
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(220, 38, 38, 0.4);
}

/* Form elements */
.form-input {
    width: 100%;
    padding: 0.75rem; /* p-3 */
    background-color: #111827; /* bg-gray-900 */
    border: 1px solid #374151; /* border-gray-700 */
    border-radius: 0.5rem; /* rounded-lg */
    color: white;
    font-size: 1.25rem; /* text-xl */
}

.form-input:focus {
    outline: none;
    border-color: #DC2626; /* focus:border-red-600 */
}

.form-label {
    display: block;
    font-size: 1.25rem; /* text-xl */
    font-weight: 500;
    color: #D1D5DB; /* text-gray-300 */
    margin-bottom: 0.25rem; /* mb-1 */
}

/* Cards */
.benefit-card {
    background-color: #1F2937; /* bg-gray-800 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); /* shadow-lg */
    transition: all 0.4s ease;
    cursor: pointer;
}

.benefit-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px -12px rgba(220, 38, 38, 0.3);
    background-color: #374151;
}

.benefit-card:hover span {
    animation: iconFloat 1s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Contact box */
.contact-box {
    background-color: #1F2937; /* bg-gray-800 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.5rem; /* rounded-lg */
}

/* Info box with hover effect */
.info-box {
    background-color: #1F2937; /* bg-gray-800 */
    padding: 1rem; /* p-4 */
    border-radius: 0.5rem; /* rounded-lg */
    border: 3px solid #DC2626; /* Czerwona ramka */
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.5), 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    cursor: pointer;
}

.info-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.8), 0 20px 25px -5px rgba(220, 38, 38, 0.5);
    background-color: #374151;
    border-color: #EF4444; /* Jaśniejsza czerwona ramka przy hover */
}

.info-icon {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.info-box:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Floating Social Media Buttons */
.floating-social {
    animation: float 3s ease-in-out infinite;
}

.floating-social:nth-child(1) {
    animation-delay: 0s;
}

.floating-social:nth-child(2) {
    animation-delay: 0.5s;
}

/* Social Media Expand Effect */
.social-expand {
    width: 5rem; /* w-20 */
    height: 5rem; /* h-20 */
}

.social-expand:hover {
    width: 16rem; /* Szerokość po rozwinięciu */
    animation: float 3s ease-in-out infinite;
}

.social-label {
    opacity: 0;
    max-width: 0;
    transition: all 0.3s ease;
}

.social-expand:hover .social-label {
    opacity: 1;
    max-width: 200px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .floating-social {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .floating-social svg {
        width: 2rem;
        height: 2rem;
    }
    
    .social-expand {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .social-expand:hover {
        width: 12rem;
    }
}
