/* Contact Page Specific Styles */

/* Note: Contact page now uses product-hero styling from products.css */

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

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #EC1C24, #2a2a2a);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EC1C24, #2a2a2a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    box-shadow: 0 10px 25px rgba(236, 28, 36, 0.3);
}

.contact-card-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card-header h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-badge {
    background: linear-gradient(45deg, #EC1C24, #2a2a2a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    flex: 1;
    min-height: 100px;
}

.contact-detail i {
    color: #EC1C24;
    font-size: 1rem;
    min-width: 16px;
    align-self: flex-start;
    margin-top: 0.5rem;
}

.contact-detail strong {
    color: #333;
    font-size: 0.85rem;
    font-weight: 600;
}

.contact-detail > div {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
}

.contact-detail p {
    color: #666;
    margin: 0.3rem 0 0 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.contact-detail:last-child {
    border-bottom: none;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: white;
}

.map-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-container {
    margin-top: 2rem;
}

.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    max-width: 280px;
}

.map-info h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.map-info h4 i {
    color: #EC1C24;
    margin-right: 0.5rem;
}

.map-info p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.map-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}





/* Responsive Design */
@media (max-width: 768px) {
    /* Note: Product-hero responsive styles are handled in products.css */
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-overlay {
        position: static;
        margin: 1rem;
        max-width: none;
    }
    
    /* Mobil cihazlarda contact-detail düzenini düzelt */
    .contact-detail {
        padding: 1.5rem 0;
        min-height: 130px;
        align-items: flex-start;
    }
    
    .contact-detail i {
        margin-top: 0.5rem;
    }
    
    .contact-detail > div {
        margin-top: 0.4rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Note: Product-hero responsive styles are handled in products.css */
    
    .contact-card {
        padding: 1.5rem;
    }
    
    /* Küçük ekranlarda contact-detail düzenini daha da iyileştir */
    .contact-detail {
        padding: 1.8rem 0;
        min-height: 140px;
    }
    
    .contact-detail i {
        margin-top: 0.4rem;
        font-size: 1.1rem;
    }
    
    .contact-detail > div {
        margin-top: 0.5rem;
    }
    
    .contact-detail strong {
        font-size: 0.9rem;
    }
    
    .contact-detail p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .btn-sm {
        text-align: center;
    }
}

/* Loading Animation for Contact Page - Styling handled in style.css */
