:root {
    --theme-green: #017839;
    --theme-red:#8B0000;
}

/* İletişim Sayfası Header Stilleri */
.iletisim-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 50vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.iletisim-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.iletisim-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.iletisim-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    top: 3rem;
}

.contact-section {
    min-height: calc(100vh - 200px);
    padding-top: 2rem;
}

.map-container {
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-tabs {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    height: 600px;
    display: flex;
    flex-direction: column;
}

.contact-tabs .nav-tabs {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 1rem;
}

.contact-tabs .nav-link {
    color: #6c757d;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-tabs .nav-link:hover {
    color: var(--theme-green);
    border-bottom-color: rgba(1, 120, 57, 0.3);
}

.contact-tabs .nav-link.active {
    color: var(--theme-red);
    background: transparent;
    border-bottom-color: var(--theme-red);
}

.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.tab-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--theme-red);
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

.contact-icon i {
    animation: iconBounce 1.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(1, 120, 57, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(1, 120, 57, 0);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.contact-details h5 {
    color: var(--theme-green);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.contact-details p {
    color: #495057;
    margin: 0;
    line-height: 1.5;
    font-size: 0.85rem;
}

.contact-details a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--theme-green);
}

.complaint-form {
    padding-top: 0.5rem;
    overflow-y: auto;
    flex: 1;
    max-height: 100%;
    
}

.complaint-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.complaint-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.complaint-form .form-control:focus {
    border-color: var(--theme-green);
    box-shadow: 0 0 0 0.2rem rgba(1, 120, 57, 0.15);
}

.complaint-form textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.complaint-form .mb-3 {
    margin-bottom: 0.75rem !important;
}

.btn-theme {
    background-color: var(--theme-green);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    background-color: #026832;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 120, 57, 0.3);
}

.btn-theme:active {
    transform: translateY(0);
}

/* Responsive Tasarım */
@media (max-width: 991.98px) {
    .iletisim-title {
        font-size: 2.25rem;
    }

    .map-container {
        height: 400px;
        margin-bottom: 2rem;
    }

    .contact-tabs {
        height: auto;
        min-height: 500px;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .iletisim-header {
        height: 40vh;
        min-height: 220px;
        margin-bottom: 2rem;
    }
    
    .iletisim-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .contact-tabs {
        padding: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-icon {
        margin-bottom: 0.5rem;
    }

    .contact-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
