/* Kontakt - Hero section */
#contact-hero {
    background: linear-gradient(135deg, rgba(196, 23, 29, .65), rgba(52, 58, 64, .65)), url('../img/26.jpg') center/cover no-repeat;
}

/* Quick Contact Bar */
.quick-contact-bar {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-bottom: 2px solid #dee2e6;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: .75rem;
    border: 2px solid #e9ecef;
    transition: all .3s ease;
    height: 100%;
}

.quick-contact-item:hover {
    border-color: var(--tt-red);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.quick-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tt-red), #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.quick-content {
    flex: 1;
    min-width: 0;
}

.quick-label {
    font-size: .875rem;
    color: #6c757d;
    margin-bottom: .25rem;
    font-weight: 500;
}

.quick-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tt-dark);
    display: block;
    text-decoration: none;
    transition: color .3s ease;
}

a.quick-value:hover {
    color: var(--tt-red);
}

/* Form Container */
.form-container {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    height: 100%;
}

.form-container .section-title {
    color: var(--tt-dark);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.form-container .section-title i {
    color: var(--tt-red);
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: var(--tt-dark);
    margin-bottom: .5rem;
    font-size: .95rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: .5rem;
    padding: .75rem 1rem;
    font-size: 1rem;
    transition: all .3s ease;
}

.form-control:focus {
    border-color: var(--tt-red);
    box-shadow: 0 0 0 .25rem rgba(196, 23, 29, .1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Form Messages */
#form-messages {
    margin-bottom: 1.5rem;
}

.alert {
    border-radius: .75rem;
    border: none;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.alert i {
    font-size: 1.25rem;
    margin-right: .5rem;
}

/* Sidebar Map */
.sidebar-map {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.sidebar-title {
    color: var(--tt-dark);
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.sidebar-title i {
    color: var(--tt-red);
}

.map-wrapper-sidebar {
    border-radius: .75rem;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.map-wrapper-sidebar iframe {
    display: block;
}

/* Company Info Box */
.company-info-box {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.company-info-content {
    color: #495057;
}

.company-name-sidebar {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tt-dark);
    margin-bottom: 1.25rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #e9ecef;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--tt-red);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: .25rem;
}

.info-item strong {
    color: var(--tt-dark);
}

.info-item a {
    color: var(--tt-red);
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
}

.info-item a:hover {
    color: #a31318;
    text-decoration: underline;
}

/* Button Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: .7;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .quick-contact-item {
        margin-bottom: 0;
    }

    .form-container {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .sidebar-map,
    .company-info-box {
        padding: 1.5rem;
    }

    .map-wrapper-sidebar {
        height: 350px;
    }
}

@media (max-width: 767px) {
    .quick-contact-item {
        padding: .875rem;
    }

    .quick-icon {
        width: 45px;
        height: 45px;
    }

    .quick-icon i {
        font-size: 1.25rem;
    }

    .quick-label {
        font-size: .8rem;
    }

    .quick-value {
        font-size: .95rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-container .section-title {
        font-size: 1.5rem;
    }

    .sidebar-map,
    .company-info-box {
        padding: 1.25rem;
    }

    .sidebar-title {
        font-size: 1.15rem;
    }

    .map-wrapper-sidebar {
        height: 300px;
    }
}

@media (max-width: 575px) {
    .quick-contact-bar {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .quick-contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .quick-icon {
        width: 50px;
        height: 50px;
    }

    .quick-icon i {
        font-size: 1.5rem;
    }

    .quick-label {
        font-size: .85rem;
    }

    .quick-value {
        font-size: 1rem;
    }

    .form-container {
        padding: 1.25rem;
    }

    .form-container .section-title {
        font-size: 1.35rem;
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .sidebar-map,
    .company-info-box {
        padding: 1rem;
    }

    .sidebar-title {
        font-size: 1.05rem;
    }

    .map-wrapper-sidebar {
        height: 250px;
    }

    .info-item {
        flex-direction: column;
        gap: .5rem;
    }

    .info-item i {
        margin-top: 0;
    }
}

/* Animation for elements on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-contact-item {
    animation: fadeInUp .5s ease-out backwards;
}

.quick-contact-item:nth-child(1) { animation-delay: .1s; }
.quick-contact-item:nth-child(2) { animation-delay: .2s; }
.quick-contact-item:nth-child(3) { animation-delay: .3s; }

.form-container {
    animation: fadeInUp .6s ease-out backwards;
    animation-delay: .4s;
}

.sidebar-map {
    animation: fadeInUp .6s ease-out backwards;
    animation-delay: .5s;
}

.company-info-box {
    animation: fadeInUp .6s ease-out backwards;
    animation-delay: .6s;
}
