/**
 * İletişim Sayfası Stilleri
 * Profesyonel, animasyonlu tasarım
 */

.contact-main {
    margin-top: 0;
    padding: 0;
}

/* Hero Section */
.contact-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #0a1b4e 0%, #071534 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
    padding: 100px 40px;
}

.hero-decoration {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: heroMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes heroMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* İletişim Bilgileri Bölümü */
.contact-info-section {
    padding: 0;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    z-index: 2;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    opacity: 1 !important;
    visibility: visible !important;
    text-decoration: none;
    color: inherit;
    display: block;
}

.address-card {
    cursor: pointer;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4);
    border-color: #2563eb;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
    position: relative;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    z-index: 2;
}

.card-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: scale(0);
    transition: transform 0.4s ease;
}

.contact-card:hover .card-icon::after {
    transform: scale(1.2);
    opacity: 0;
}

.contact-card:hover .card-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    font-family: 'BBH Bogle', 'Inter', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-link {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
}

.contact-link:hover {
    color: #1e3a8a;
    transform: translateX(5px);
}

.contact-link:hover::after {
    width: 100%;
}

/* Animasyonlar */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 0.8s ease-out forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Harita Bölümü */
.map-section {
    position: relative;
    height: 600px;
    background: #f0f0f0;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    animation: mapFadeIn 1s ease-out;
}

.map-wrapper iframe {
    border: none;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%);
}

@keyframes mapFadeIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.map-click-link {
    pointer-events: auto;
    background: rgba(37, 99, 235, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 20;
}

.map-click-link:hover {
    background: rgba(30, 58, 138, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.map-click-link span {
    display: block;
}

.map-pin {
    width: 60px;
    height: 60px;
    color: #0a152c;
    animation: pinPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.4));
}

@keyframes pinPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.map-pin svg {
    width: 100%;
    height: 100%;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .contact-hero {
        height: 300px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .contact-info-section {
        padding: 60px 20px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .map-section {
        height: 400px;
    }
}

/* Ekstra Animasyonlar */
.contact-card:nth-child(1) {
    animation-delay: 0s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* Scroll Animasyonları */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-card {
    animation: float 3s ease-in-out infinite;
}

.contact-card:nth-child(2) {
    animation-delay: 0.5s;
}

.contact-card:nth-child(3) {
    animation-delay: 1s;
}

