/* İletişim Sayfası - Modern Tasarım */

/* Hero Section - Beyaz yazı */
.contact-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #3b82f6 75%, #1d4ed8 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(29, 78, 216, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    font-weight: 800;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-subtitle {
    font-size: 1.2rem;
    color: white !important;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* Content Section */
.contact-content {
    padding: 5rem 0 4rem;
    background: #f8fafc;
    position: relative;
}

/* İletişim Tanıtım */
.contact-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.contact-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #475569;
    line-height: 1.8;
}

/* Ana Grid Yapısı - Ortalanmış Tek Kolon */
.contact-main-grid {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

/* Sol Kolon - İletişim Bilgileri - Ortalanmış */
.contact-left-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    width: 100%;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.whatsapp-card .card-icon {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-link {
    display: block;
    font-size: 1rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #1d4ed8;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.card-description {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Harita Container */
.map-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.map-container h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.google-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Form stilleri kaldırıldı - artık kullanılmıyor */

/* İstatistikler Bölümü */
.stats-section {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #3b82f6 75%, #1d4ed8 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* WhatsApp Floating Button - Yeni Tasarım */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: auto;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 25px 0 20px;
    font-size: 1.8rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    animation: floatBounce 3s infinite ease-in-out;
    overflow: hidden;
}

.whatsapp-float i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-tooltip {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
}

.whatsapp-float:hover i {
    transform: rotate(360deg);
}

.whatsapp-float:active {
    transform: translateY(-5px) scale(1.02);
}

/* Floating animation */
@keyframes floatBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse effect */
.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: rgba(37, 211, 102, 0.4);
    border-radius: 30px;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

/* Form Message */
.form-message {
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-message.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1px solid #10b981;
    color: #065f46;
}

.form-message.error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Loading Overlay */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.form-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 0 2.5rem;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-intro h2 {
        font-size: 2rem;
    }

    .contact-intro p {
        font-size: 1rem;
    }


    .contact-info-card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .map-container {
        padding: 1.5rem;
    }

    .google-map {
        height: 300px;
    }

    .stats-section {
        padding: 3rem 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .whatsapp-float i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 2.5rem 0 2rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-intro h2 {
        font-size: 1.8rem;
    }


    .contact-info-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .card-icon {
        width: 45px;
        height: 45px;
    }

    .map-container {
        padding: 1.2rem;
    }

    .google-map {
        height: 250px;
    }

    .stats-section {
        padding: 2.5rem 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
    }

    .whatsapp-float i {
        font-size: 1.8rem;
    }
}

/* Print Styles */
@media print {
    .contact-hero,
    .stats-section,
    .whatsapp-float {
        display: none;
    }

    .contact-info-card,
    .map-container {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}