/* Contact Page Specific Styles */

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb nav {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Contact Hero */
.contact-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

/* Contact Content */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Contact Info */
.contact-info h2 {
    margin-bottom: 2rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-card address {
    font-style: normal;
    line-height: 1.8;
    color: var(--text-dark);
}

.info-card p {
    line-height: 1.8;
}

.info-card a {
    color: var(--text-dark);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--primary-color);
}

.map-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color) !important;
    font-size: 0.9rem;
}

/* Messenger Buttons */
.messenger-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.messenger-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9rem;
}

.messenger-btn.whatsapp {
    background: #25D366;
}

.messenger-btn.whatsapp:hover {
    background: #20BA5A;
    color: white;
}

.messenger-btn.viber {
    background: #7360F2;
}

.messenger-btn.viber:hover {
    background: #6454D8;
    color: white;
}

.messenger-btn.telegram {
    background: #0088cc;
}

.messenger-btn.telegram:hover {
    background: #0077b3;
    color: white;
}

/* Hours Table */
.hours-table {
    width: 100%;
    margin-top: 0.5rem;
}

.hours-table td {
    padding: 0.25rem 0;
    color: var(--text-dark);
}

.hours-table td:first-child {
    color: var(--text-gray);
}

/* Contact Form Section */
.contact-form-section h2 {
    margin-bottom: 0.5rem;
}

.contact-form-section > p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Form Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

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

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Checkbox and Radio Groups */
.checkbox-group,
.radio-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input,
.radio-label input {
    margin-right: 0.5rem;
}

.checkbox-label span,
.radio-label span {
    user-select: none;
}

/* Field Error */
.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Large Button */
.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Form Note */
.form-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-gray);
}

.form-note p {
    margin: 0.25rem 0;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

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

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

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-section h2 {
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.map-container iframe {
    display: block;
}

/* Directions */
.directions {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.directions h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.directions ul {
    list-style: none;
    padding: 0;
}

.directions li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.directions strong {
    color: var(--text-dark);
}

/* Quick Contact CTA */
.quick-contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-align: center;
}

.quick-contact-cta h2 {
    color: white;
    margin-bottom: 0.5rem;
}

.quick-contact-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        order: 2;
    }

    .contact-form-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .messenger-buttons {
        flex-direction: column;
    }

    .messenger-btn {
        width: 100%;
        justify-content: center;
    }

    .checkbox-group,
    .radio-group {
        flex-direction: column;
        gap: 0.75rem;
    }

    .contact-hero {
        padding: 2rem 0;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .info-card {
        padding: 1rem;
    }

    .directions {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }

    .btn-large {
        width: 100%;
    }

    .quick-contact-cta {
        padding: 3rem 0;
    }
}

/* Print Styles */
@media print {
    .language-bar,
    .header,
    .breadcrumb,
    .contact-hero,
    .quick-contact-cta,
    .footer,
    .messenger-buttons,
    .contact-form,
    .map-container {
        display: none;
    }

    .contact-info {
        width: 100%;
    }

    .info-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}