/* calculator.css - Style specyficzne dla kalkulatora MediHub Theme */
/* Lokalizacja: /user/themes/medihub-theme/css/calculator.css */

/* Zmienne specyficzne dla kalkulatora */
:root {
    --primary-color: #f7a600;
    --primary-dark: #e09600;
    --secondary-color: #1e4677; 
    --secondary-light: #3d82d3;
    --light-bg: #f8fafc;
    --radius-lg: 12px;
    --border-color: #e2e8f0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    padding: 130px 0 100px; /* Zwiększony padding-top dla nawigacji */
    text-align: center;
    position: relative;
    overflow: visible;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI0MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnM+CiAgICA8cGF0dGVybiBpZD0iZ3JpZCIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPHBhdGggZD0iTSAwIDEwIEwgNDAgMTAgTSAxMCAwIEwgMTAgNDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjA1Ii8+CiAgICA8L3BhdHRlcm4+CiAgPC9kZWZzPgogIDxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiIC8+Cjwvc3ZnPg==');
    opacity: 0.8;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
}

.logo-accent {
    color: var(--primary-color);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F39C12, #F5B041);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.25);
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-arrow:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

/* Calculator Section */
.calculator-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.calculator-header {
    text-align: center;
    margin-bottom: 40px;
}

.calculator-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.calculator-description {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.calculator-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-category {
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.service-category h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.service-category h3 i {
    margin-right: 10px;
    color: var(--primary-color);
    font-style: normal;
    width: 32px;
    height: 32px;
    background-color: rgba(247, 166, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkbox-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.price {
    font-weight: 600;
    color: var(--secondary-color);
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
    margin-left: 28px;
}

.post-count-container {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px;
    background-color: rgba(248, 250, 252, 0.5);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.post-count-container:hover {
    border-color: rgba(247, 166, 0, 0.3);
    background-color: rgba(247, 166, 0, 0.03);
}

.post-count-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.post-count-container select,
.post-count-container input {
    padding: 10px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 200px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.post-count-container select:focus,
.post-count-container input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(247, 166, 0, 0.1);
}

.contract-options-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-container {
    flex: 1;
    min-width: 200px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.radio-container:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.radio-container input[type="radio"] {
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.radio-label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.radio-description {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.discount {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.summary-section {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    margin-top: 50px;
    text-align: center;
}

.summary-title {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.summary-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.summary-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: var(--light-bg);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.summary-card-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.summary-list {
    list-style-type: none;
    text-align: left;
    margin-bottom: 20px;
    flex-grow: 1;
}

.summary-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-list li:last-child {
    border-bottom: none;
}

.summary-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0 10px;
}

.summary-period {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Contract Options */
.contract-options {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
    text-align: center;
}

.contract-title {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contract-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contract-option {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px;
    width: 220px;
    cursor: pointer;
    transition: var(--transition);
}

.contract-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(247, 166, 0, 0.03);
}

.contract-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.contract-option h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.contract-option p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contract-discount {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Summary */
.selected-services {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--box-shadow);
}

.selected-services h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-list {
    list-style-type: none;
}

.service-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-list li:last-child {
    border-bottom: none;
}

.service-name {
    font-weight: 500;
}

.service-price {
    font-weight: 600;
    color: var(--secondary-color);
}

.service-category-header {
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px 0 5px;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.total-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--box-shadow-lg);
    text-align: center;
}

.total-section h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.total-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin: 15px 0;
    transition: all 0.3s ease;
}

.total-monthly {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.vat-info {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 30px;
    padding: 0 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Media optimizations */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .calculator-box {
        padding: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-category {
        padding: 20px;
    }
    
    .total-amount {
        font-size: 2.5rem;
    }
    
    .contract-container {
        flex-direction: column;
        align-items: center;
    }
    
    .contract-option {
        width: 100%;
        max-width: 300px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .hero-section {
        padding: 120px 0 100px;
    }
}