/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.contact-hero-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.contact-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Contact Info Section */
.contact-info-section h3 {
    color: #1a1a1a;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-cards {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #1a1a1a;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a1a1a, #333333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color:#1a1a1a ;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color:#1a1a1a ;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #333333;
}

/* Sosyal Medya */
.social-media-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
}

.social-media-section h4 {
    color:#1a1a1a ;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Sosyal medya link hover renkleri */
.social-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Facebook hover */
.social-link[href*="facebook"]:hover {
    background: #1877f2;
}

/* Instagram hover */
.social-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

/* Twitter hover */
.social-link[href*="twitter"]:hover {
    background: #1da1f2;
}

/* YouTube hover */
.social-link[href*="youtube"]:hover {
    background: #ff0000;
}

/* WhatsApp hover */
.social-link[href*="whatsapp"]:hover {
    background: #25d366;
}

/* LinkedIn hover */
.social-link[href*="linkedin"]:hover {
    background: #0077b5;
}

/* TikTok hover */
.social-link[href*="tiktok"]:hover {
    background: #000000;
}

/* Telegram hover */
.social-link[href*="telegram"]:hover {
    background: #0088cc;
}

/* Snapchat hover */
.social-link[href*="snapchat"]:hover {
    background: #fffc00;
    color: #000;
}

/* Pinterest hover */
.social-link[href*="pinterest"]:hover {
    background: #bd081c;
}

/* Email hover */
.social-link[href*="mailto:"]:hover {
    background: #ea4335;
}

/* Phone hover */
.social-link[href*="tel:"]:hover {
    background: #34a853;
}

/* Website hover */
.social-link:not([href*="facebook"]):not([href*="instagram"]):not([href*="twitter"]):not([href*="youtube"]):not([href*="whatsapp"]):not([href*="linkedin"]):not([href*="tiktok"]):not([href*="telegram"]):not([href*="snapchat"]):not([href*="pinterest"]):not([href*="mailto:"]):not([href*="tel:"])[href*="http"]:hover {
    background: #4285f4;
}

/* Genel hover (eğer yukarıdaki hiçbiri eşleşmezse) */
.social-link:hover:not([href*="facebook"]):not([href*="instagram"]):not([href*="twitter"]):not([href*="youtube"]):not([href*="whatsapp"]):not([href*="linkedin"]):not([href*="tiktok"]):not([href*="telegram"]):not([href*="snapchat"]):not([href*="pinterest"]):not([href*="mailto:"]):not([href*="tel:"]):not([href*="http"]) {
    background: #333;
}

.social-link i {
    font-size: 1.2rem;
}

/* Harita Bölümü */
.map-section h3 {
    color:#1a1a1a ;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.map-container iframe {
    display: block;
    border-radius: 15px;
}

.map-actions {
    text-align: center;
}

.map-placeholder {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

/* İletişim Formu */
.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.contact-form-section h3 {
    color:#1a1a1a ;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color:#1a1a1a ;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .contact-hero-content h2 {
        font-size: 2.2rem;
    }
    
    .contact-hero-content p {
        font-size: 1rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .contact-form-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0 60px;
    }
    
    .contact-hero-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .contact-form-section {
        padding: 20px;
    }
}

/* Animasyonlar */
.contact-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

.social-link {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.social-link:nth-child(1) { animation-delay: 0.5s; }
.social-link:nth-child(2) { animation-delay: 0.6s; }
.social-link:nth-child(3) { animation-delay: 0.7s; }
.social-link:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form animasyonları */
.form-group {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }

/* Form Mesajları */
.form-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    animation: slideDown 0.3s ease;
}

.form-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.form-message span {
    flex: 1;
}

.form-message .close-message {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.form-message .close-message:hover {
    background: rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
