/* =============================================
   CONTACT PAGE STYLES
   ============================================= */

/* Page Header - vlnitý styl jako na ostatních stránkách */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 60px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23ffffff"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5" fill="%23ffffff"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.08;
    pointer-events: none;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header p {
    color: white;
    font-size: 17px;
    opacity: 0.9;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: white;
    opacity: 0.7;
}

/* Contact Info Section */
.contact-info-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.info-box {
    background: white;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.info-box.highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e8f5e9 100%);
    border: 2px solid var(--primary);
}

.info-box-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-box h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.info-box p {
    margin: 4px 0;
    color: var(--gray-700);
    font-size: 14px;
}

.info-box p strong {
    color: var(--gray-900);
    font-size: 15px;
}

.info-box .info-note {
    font-size: 12px;
    color: var(--primary);
    font-style: italic;
    margin-top: 8px;
}

.info-box .info-link {
    display: block;
    color: var(--primary);
    text-decoration: none;
    font-size: 15px;
    margin: 6px 0;
    transition: color 0.2s;
}

.info-box .info-link:hover {
    color: var(--primary-dark);
}

.info-box .info-link.primary {
    font-weight: 600;
    font-size: 16px;
}

.info-box .hours-line {
    font-size: 14px;
    margin: 4px 0;
}

.info-box .hours-line.closed {
    color: var(--gray-500);
}

.info-box .label {
    color: var(--gray-500);
    font-size: 13px;
}

/* Team Section */
.team-section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.team-card-photo {
    width: 90px;
    height: 90px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
}

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
}

.team-card-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.team-card-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.team-card-contacts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-contact {
    font-size: 13px;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.team-contact:hover {
    color: var(--primary);
}

/* Map Section */
.map-section {
    height: 400px;
    background: var(--gray-200);
}

.map-container {
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-form-section .section-header h2,
.contact-form-section .section-header p {
    color: white;
}

.contact-form-section .section-header p {
    opacity: 0.9;
}

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

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-checkbox {
    margin-bottom: 24px;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-checkbox a {
    color: var(--primary);
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 16px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.form-success p {
    color: var(--gray-600);
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-card {
    padding: 24px;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .info-box.highlight {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-box.highlight {
        grid-column: span 2;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .map-section {
        height: 300px;
    }
}

@media (max-width: 500px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box.highlight {
        grid-column: span 1;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        display: flex;
        text-align: left;
        gap: 16px;
        padding: 16px;
    }
    
    .team-card-photo {
        width: 70px;
        height: 70px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .team-card-info {
        flex: 1;
    }
    
    .team-card-contacts {
        align-items: flex-start;
    }
}