/*
Theme Name: Nasza Szkola Theme
Description: Template dla naszeszkolenia.eu - kompletna strona z wszystkimi sekcjami
Author: Nasza Szkola
Version: 1.0
Text Domain: nasza-szkola
*/

/* ==========================================
   1. RESET I PODSTAWOWE STYLE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   2. HEADER I NAWIGACJA
   ========================================== */

.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 1000;
    background: rgba(170, 22, 88, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    height: 60px;
    width: auto;
}

.organizer-text {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    opacity: 0.8;
}

/* ==========================================
   3. HERO SECTION
   ========================================== */

.hero {
    background: linear-gradient(135deg, #aa1658 0%, #d61a6b 50%, #aa1658 100%);
    color: white;
    padding: 160px 20px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

/* ==========================================
   4. COUNTDOWN TIMER
   ========================================== */

.countdown-container {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 40px;
    margin: 50px auto;
    max-width: 700px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.countdown-label {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255,255,255,0.2);
    padding: 25px;
    border-radius: 15px;
    min-width: 120px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.countdown-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.3);
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: bold;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1;
}

.countdown-text {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 10px;
    display: block;
}

/* ==========================================
   5. PRZYCISKI CTA
   ========================================== */

.cta-button {
    display: inline-block;
    background: white;
    color: #aa1658;
    padding: 20px 60px;
    font-size: 1.3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: #f0f0f0;
}

/* ==========================================
   6. SEKCJE OGÓLNE
   ========================================== */

.section {
    padding: 100px 20px;
}

.section:nth-child(even) {
    background: #f8f9fa;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    color: #aa1658;
    position: relative;
    padding-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #aa1658;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
    font-style: italic;
}

/* ==========================================
   7. SEKCJA INSTRUKTORA
   ========================================== */

.instructor-section {
    background: white;
    padding: 100px 20px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.instructor-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(180deg, rgba(170, 22, 88, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.instructor-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.instructor-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(170, 22, 88, 0.2);
    transform: translateY(0);
}

.instructor-image img {
    width: 100%;
    height: auto;
    display: block;
}

.instructor-bio {
    padding: 20px 0;
}

.instructor-bio h3 {
    color: #aa1658;
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.instructor-bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin-bottom: 20px;
}

/* ==========================================
   8. GALERIA
   ========================================== */

.gallery-section {
    background: white;
    padding: 100px 20px;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-button {
    display: inline-block;
    background: linear-gradient(135deg, #aa1658, #d61a6b);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 8px 25px rgba(170, 22, 88, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    max-width: 300px;
    margin: 30px auto 0;
}

.gallery-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(170, 22, 88, 0.4);
    background: linear-gradient(135deg, #d61a6b, #aa1658);
}

/* ==========================================
   9. MODAL GALERII
   ========================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.modal-close:hover {
    color: #aa1658;
}

/* ==========================================
   10. SEKCJA PROGRAMU
   ========================================== */

.program-section {
    background: #f8f9fa;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.program-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(170, 22, 88, 0.2);
}

.program-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #aa1658, #d61a6b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 5px 15px rgba(170, 22, 88, 0.3);
}

.program-content h3 {
    color: #aa1658;
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 20px;
}

.program-content p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   11. SEKCJA INFORMACYJNA
   ========================================== */

.info-grid-section {
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #aa1658;
    background: white;
    box-shadow: 0 15px 35px rgba(170, 22, 88, 0.1);
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.info-card h3 {
    color: #aa1658;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==========================================
   12. SEKCJA CENNIKA
   ========================================== */

.price-section {
    background: linear-gradient(135deg, #aa1658 0%, #d61a6b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.price-section h2 {
    color: white !important;
}

.price-section h2::after {
    background: white !important;
}

.price-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: float 25s infinite linear;
}

.price-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.price-card {
    background: rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 50px 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    text-align: center;
}

.price-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.price-number {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.price-currency {
    font-size: 2rem;
    font-weight: 600;
}

.price-period {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.price-installment {
    font-size: 1.1rem;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
}

.price-features {
    margin-bottom: 40px;
}

.price-features ul {
    list-style: none;
    text-align: left;
}

.price-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
}

.price-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
}

.price-features li:last-child {
    border-bottom: none;
}

.price-button {
    background: white;
    color: #aa1658;
    font-size: 1.2rem;
    padding: 18px 50px;
}

/* ==========================================
   13. FORMULARZ KONTAKTOWY
   ========================================== */

.form-section {
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #aa1658;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #aa1658;
    background: white;
    box-shadow: 0 0 0 3px rgba(170, 22, 88, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin: 40px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    background: #f8f9fa;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label:hover .checkmark {
    border-color: #aa1658;
}

.checkbox-label input:checked ~ .checkmark {
    background: #aa1658;
    border-color: #aa1658;
}

.checkbox-label input:checked ~ .checkmark:after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #aa1658;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-button {
    width: 100%;
    background: #aa1658;
    color: white;
    font-size: 1.2rem;
    padding: 18px;
    margin-top: 20px;
}

.form-button:hover {
    background: #8f1449;
    color: white;
}

.form-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-messages {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-messages.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-messages.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-messages p {
    margin: 0;
}

/* ==========================================
   14. CONTACT FORM 7 - PODSTAWOWE STYLE
   ========================================== */

.wpcf7-response-output {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
    display: block !important;
}

.wpcf7-validation-errors {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
}

/* ==========================================
   15. ANIMACJE I EFEKTY
   ========================================== */

@media (prefers-reduced-motion: no-preference) {
    .instructor-content {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.4s ease forwards;
        animation-delay: 0.1s;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Przyspieszone animacje */
* {
    animation-duration: 0.3s !important;
    animation-delay: 0.1s !important;
    transition-duration: 0.3s !important;
}

/* ==========================================
   16. RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .instructor-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .instructor-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .instructor-section {
        padding: 80px 20px;
    }
    
    .countdown-item {
        min-width: 100px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .logo-header {
        padding: 15px;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero {
        padding: 120px 20px 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .instructor-section {
        padding: 60px 20px;
    }
    
    .instructor-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .instructor-bio h3 {
        font-size: 1.8rem;
    }
    
    .instructor-bio p {
        font-size: 1rem;
    }
    
    .gallery-section {
        padding: 80px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        border-radius: 10px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .program-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .price-card {
        padding: 40px 25px;
    }
    
    .price-number {
        font-size: 3rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    /* Mobile countdown optimization */
    .countdown-container {
        padding: 25px 20px;
        margin: 30px auto;
    }
    
    .countdown-label {
        font-size: 1.3rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 15px 10px;
        min-width: 70px;
        border-radius: 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
        line-height: 1;
    }
    
    .countdown-text {
        font-size: 0.8rem;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        gap: 15px;
    }
    
    .gallery-item {
        border-radius: 8px;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .countdown-item {
        padding: 12px 8px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.8rem;
    }
    
    .countdown-text {
        font-size: 0.75rem;
    }
}
/* ==========================================
   17. CONTACT FORM 7 - KOMPLETNE STYLE
   ========================================== */

/* Container formularza */
.wpcf7 {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    margin: 0;
}

/* Form row (2 kolumny) */
.wpcf7 .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 20px;
}

/* Form groups */
.wpcf7 .form-group {
    margin-bottom: 25px;
}

.wpcf7 .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

/* Wszystkie inputy i textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"], 
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
    box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #aa1658;
    background: white;
    box-shadow: 0 0 0 3px rgba(170, 22, 88, 0.1);
}

/* Textarea specjalnie */
.wpcf7 textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Checkbox group */
.wpcf7 .checkbox-group {
    margin: 30px 0;
}

.wpcf7 .checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: normal;
}

/* Custom checkbox styling */
.wpcf7 input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #aa1658;
    margin: 0;
    margin-top: 2px;
    flex-shrink: 0;
}

.wpcf7 .checkbox-group a {
    color: #aa1658;
    text-decoration: none;
}

.wpcf7 .checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit button */
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #aa1658, #d61a6b);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 8px 25px rgba(170, 22, 88, 0.3);
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(170, 22, 88, 0.4);
    background: linear-gradient(135deg, #d61a6b, #aa1658);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(-1px);
}

/* Loading state */
.wpcf7-spinner {
    display: none !important;
}

.wpcf7-form.submitting input[type="submit"] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Validation errors */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
    background: #fff5f5 !important;
}

.wpcf7-validation-errors {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
}

/* Success message */
.wpcf7-mail-sent-ok {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* Response output (wszystkie komunikaty) */
.wpcf7-response-output {
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
    display: block !important;
}

/* Dodatkowe ulepszenia */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #999;
    opacity: 1;
}

/* Focus ring dla accessibility */
.wpcf7 input:focus-visible,
.wpcf7 textarea:focus-visible {
    outline: 2px solid #aa1658;
    outline-offset: 2px;
}

/* Responsive dla CF7 */
@media (max-width: 768px) {
    .wpcf7 .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .wpcf7 {
        padding: 30px 25px;
    }
    
    .wpcf7 input[type="submit"] {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}
/* Ukryj tylko puste komunikaty, pokaż prawdziwe */
.wpcf7-response-output:empty {
    display: none !important;
}

.wpcf7-response-output:not(:empty) {
    display: block !important;
    background: #d4edda !important;
    color: #155724 !important;
    border: 2px solid #c3e6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* Błędy walidacji */
.wpcf7-validation-errors {
    display: block !important;
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 2px solid #f5c6cb !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    text-align: center !important;
}
/* ===========================================
   PRZYJEMNIE WOLNE ANIMACJE
   =========================================== */

/* Spokojne, ale nie męczące animacje */
* {
    animation-duration: 0.7s !important;
    animation-delay: 0.1s !important;
    transition-duration: 0.7s !important;
    transition-delay: 0s !important;
}

/* Konkretnie dla sekcji z problemami */
.program-section h2,
.info-grid-section h2 {
    animation-duration: 0.5s !important;
    animation-delay: 0s !important;
}

.program-card,
.info-card {
    animation-duration: 0.7s !important;
    animation-delay: 0.15s !important;
}

.instructor-content {
    animation-duration: 0.8s !important;
    animation-delay: 0.2s !important;
}

/* Stopniowe pojawianie się kart */
.program-card:nth-child(1) { animation-delay: 0.1s !important; }
.program-card:nth-child(2) { animation-delay: 0.25s !important; }
.program-card:nth-child(3) { animation-delay: 0.4s !important; }
.program-card:nth-child(4) { animation-delay: 0.55s !important; }

.info-card:nth-child(1) { animation-delay: 0.1s !important; }
.info-card:nth-child(2) { animation-delay: 0.25s !important; }
.info-card:nth-child(3) { animation-delay: 0.4s !important; }
.info-card:nth-child(4) { animation-delay: 0.55s !important; }

/* Biblioteki animacji (jeśli używane) */
.fadeInUp,
.slideInUp,
.fadeIn,
.slideInLeft,
.slideInRight {
    animation-duration: 0.7s !important;
    animation-delay: 0.15s !important;
}

[data-aos] {
    transition-duration: 0.7s !important;
    transition-delay: 0.15s !important;
}

.wow {
    animation-duration: 0.7s !important;
    animation-delay: 0.15s !important;
}
/* ===========================================
   18. STRONA GALERII - NAPRAWIONE STYLE
   =========================================== */

/* Gallery Extended Section - CSS dla strony galerii */
.gallery-extended-section {
    background: #f8f9fa;
    padding: 140px 20px 100px;
    min-height: 100vh;
}

.gallery-hero {
    text-align: center;
    margin-bottom: 80px;
}

.gallery-hero h1 {
    font-size: 3rem;
    color: #aa1658;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 25px;
}

.gallery-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #aa1658;
}

.gallery-description {
    font-size: 1.3rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.gallery-extended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-extended-grid .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: white;
}

.gallery-extended-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-extended-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-extended-grid .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(170, 22, 88, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-extended-grid .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    font-size: 2rem;
    color: white;
    pointer-events: none;
}

/* Przycisk powrotu */
.gallery-back-button {
    display: inline-block;
    background: linear-gradient(135deg, #aa1658, #d61a6b);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(170, 22, 88, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.gallery-back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(170, 22, 88, 0.4);
    text-decoration: none;
    color: white;
}

/* Responsive dla strony galerii */
@media (max-width: 1200px) {
    .gallery-extended-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-extended-section {
        padding: 120px 20px 80px;
    }
    
    .gallery-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-description {
        font-size: 1.1rem;
    }
    
    .gallery-extended-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-extended-grid .gallery-item {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .gallery-hero h1 {
        font-size: 2rem;
    }
}
/* ===========================================
   19. MODAL GALERII Z SWIPE/TOUCH SUPPORT
   =========================================== */

/* Ulepszone style modala */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
    touch-action: pan-y pinch-zoom;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    touch-action: pan-x pan-y;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

/* Przyciski nawigacji */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 2002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    background: rgba(170, 22, 88, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* Wskaźnik zdjęć */
.modal-counter {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 2002;
}

/* X do zamknięcia */
.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2002;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #aa1658;
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    .modal-counter {
        top: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Swipe indicator (opcjonalne) */
.swipe-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    z-index: 2002;
    animation: fadeInOut 3s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}
/* ===========================================
   20. DATY W KARTACH PROGRAMU
   =========================================== */

.program-date {
    color: #aa1658;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 10px 0 15px 0;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(170, 22, 88, 0.1), rgba(214, 26, 107, 0.05));
    border-radius: 20px;
    display: inline-block;
    border-left: 4px solid #aa1658;
    box-shadow: 0 2px 8px rgba(170, 22, 88, 0.1);
    transition: all 0.3s ease;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.program-card:hover .program-date {
    background: linear-gradient(135deg, rgba(170, 22, 88, 0.15), rgba(214, 26, 107, 0.08));
    transform: translateX(5px);
}

/* Mobile optimization */
@media (max-width: 768px) {
    .program-date {
        font-size: 0.9rem;
        padding: 6px 12px;
        margin: 8px 0 12px 0;
    }
}
/* ===========================================
   22. ROZSZERZONA SEKCJA CENNIKA
   =========================================== */

/* Stara cena - przekreślona */
.price-old {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    text-decoration: line-through;
    margin-bottom: 20px;
    font-style: italic;
}

/* Opis specjalny */
.price-special-desc {
    font-size: 1.3rem;
    margin: 20px 0;
    font-weight: 500;
    opacity: 0.95;
}

/* Dodatkowe opisy */
.price-extras {
    margin: 30px 0;
    padding: 25px 0;
    border-top: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.price-extra-item {
    padding: 8px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.price-extra-icon {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .price-old {
        font-size: 1rem;
    }
    
    .price-special-desc {
        font-size: 1.1rem;
    }
    
    .price-extra-item {
        font-size: 1rem;
    }
}