/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)), 
                url('../images/contact/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
}

.contact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.contact-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-hero .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.contact-hero .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 200px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Grid */
.contact-grid-section {
    padding: 5rem 0;
    background: var(--light);
}

.grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--light);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.form-header {
    background: linear-gradient(135deg, var(--dark) 0%, #222 100%);
    color: var(--light);
    padding: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.contact-form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-col.full-width {
    flex: 0 0 100%;
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.contact-form label i {
    color: var(--primary);
    width: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--light);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

/* File Upload */
.file-upload {
    margin-top: 0.5rem;
}

.upload-area {
    border: 2px dashed var(--border);
    border-radius: 10px;
    padding: 2.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 107, 0, 0.02);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(255, 107, 0, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.upload-area p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.upload-area span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.file-preview {
    margin-top: 1rem;
    display: none;
}

.file-preview.has-file {
    display: block;
}

.file-preview .file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--gray);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.file-preview .file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-preview .file-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.file-preview .file-name {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.file-preview .file-remove {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.file-preview .file-remove:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    font-weight: normal;
    margin: 0;
}

.kvkk-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.kvkk-link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin: 0;
}

/* Success Message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    margin-top: 2rem;
}

.form-success.show {
    display: block;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.form-success p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-new-request {
    padding: 0.875rem 2rem;
    background: var(--dark);
    color: var(--light);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-new-request:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Emergency Card */
.emergency-card {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--light);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.2);
}

.emergency-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.emergency-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.emergency-content h3 {
    font-size: 1.4rem;
    margin: 0 0 0.25rem;
}

.emergency-content p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin: 0;
}

.emergency-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--light);
    margin-bottom: 1rem;
    transition: background 0.3s ease;
}

.emergency-phone:hover {
    background: rgba(255, 255, 255, 0.2);
}

.emergency-phone i {
    font-size: 1.5rem;
}

.phone-content {
    display: flex;
    flex-direction: column;
}

.phone-content .number {
    font-size: 1.4rem;
    font-weight: 700;
}

.phone-content .label {
    font-size: 0.85rem;
    opacity: 0.9;
}

.emergency-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.emergency-note i {
    margin-top: 0.125rem;
    font-size: 1rem;
}

/* Contact Details */
.contact-details {
    background: var(--light);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.detail-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item:first-child {
    padding-top: 0;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.detail-content h4 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
    color: var(--dark);
}

.detail-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: var(--primary-dark);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.phone-item .label {
    min-width: 100px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.phone-item .number {
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-item a.number:hover {
    color: var(--primary);
}

.email-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.email-item:hover {
    color: var(--primary);
}

.email-item i {
    color: var(--primary);
    width: 16px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hour-item .day {
    color: var(--text-light);
    font-size: 0.95rem;
}

.hour-item .time {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

/* Social Media Card */
.social-media-card {
    background: var(--light);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.social-media-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    color: var(--dark);
}

.social-media-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--gray);
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icon i {
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.social-icon.whatsapp { color: #25D366; }
.social-icon.instagram { color: #E4405F; }
.social-icon.linkedin { color: #0A66C2; }
.social-icon.youtube { color: #FF0000; }
.social-icon.twitter { color: #1DA1F2; }
.social-icon.facebook { color: #1877F2; }

/* Support Card */
.support-card {
    background: linear-gradient(135deg, var(--dark) 0%, #222 100%);
    color: var(--light);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.support-content {
    flex: 1;
}

.support-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
}

.support-content p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin: 0 0 1rem;
    line-height: 1.5;
}

.btn-live-chat {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-live-chat:hover {
    background: var(--primary-dark);
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: var(--gray);
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.location-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 1rem;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-content h4 {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
    color: var(--dark);
}

.location-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.location-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-contacts a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.location-contacts a:hover {
    color: var(--primary);
}

.location-contacts a i {
    color: var(--primary);
    width: 16px;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--light);
    transition: background 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(255, 107, 0, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark);
    flex: 1;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.faq-cta .btn {
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-card {
        position: static;
    }
}

@media (max-width: 992px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 80px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .emergency-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .emergency-content h3 {
        font-size: 1.2rem;
    }
    
    .emergency-phone {
        justify-content: center;
        text-align: center;
    }
    
    .support-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .social-icons {
        grid-template-columns: 1fr;
    }
    
    .phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .phone-item .label {
        min-width: auto;
    }
    
    .hour-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .detail-item {
        flex-direction: column;
        text-align: center;
    }
    
    .detail-icon {
        margin: 0 auto;
    }
    
    .map-link,
    .email-item {
        justify-content: center;
    }
}