
/* Scroll pozisyonunu sıfırla */
html, body {
    scroll-behavior: auto !important;
}

/* İletişim Sayfası 2 Stilleri */
.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 80px 20px;
    position: relative;
    margin-top: 80px; /* Header'ın altında başlaması için ek margin */
}


/* Animasyon Sınıfları */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.contact-info-item {
    opacity: 0;
    animation: fadeInLeft 0.6s ease-out forwards;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }
.contact-info-item:nth-child(4) { animation-delay: 0.4s; }
.contact-info-item:nth-child(5) { animation-delay: 0.5s; }

.map-section {
    opacity: 0;
    animation: fadeInRight 0.6s ease-out 0.3s forwards;
}

.contact-form-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.contact-page-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    /* Parallax transform'u kaldır */
    /* transition: transform 0.3s ease; */
}

/* Başlık ve Logo Düzeni */
.title-with-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    position: relative;
    z-index: 2;
}

.title-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.title-logo.left-logo {
    animation-delay: 0.2s;
}

.title-logo.right-logo {
    animation-delay: 0.4s;
}

.title-content {
    text-align: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.contact-page-title::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,34,144,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

.contact-page-title h1 {
    font-size: 48px;
    color: #002290;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-page-title p {
    font-size: 18px;
    color: #666;
}

/* İletişim Bilgileri Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* İletişim Bilgileri Bölümü */
.contact-info-section {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.contact-info-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,34,144,0.15);
}

.office-title {
    font-size: 28px;
    color: #333;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #002290;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-info-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,34,144,0.15);
}

.contact-info-item:hover .contact-info-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Ripple Efekti */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0,34,144,0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d4e3fc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,34,144,0.1);
}

.contact-info-icon i {
    font-size: 20px;
    color: #002290;
}

.contact-info-text {
    flex: 1;
}

.contact-info-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-info-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.contact-info-value a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: #002290;
}

/* Haritalar Bölümü */
.maps-section {
    margin-bottom: 50px;
}

.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-wrapper {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,34,144,0.15);
}

.map-title {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    padding: 20px 30px;
    margin: 0;
    background: #e9ecef;
    border-bottom: 2px solid #002290;
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-title:hover {
    background: #dee2e6;
    color: #002290;
}

.map-container {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    pointer-events: auto;
}

.map-container:hover {
    box-shadow: none;
    transform: none;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #002290 25%, transparent 25%, transparent 75%, #002290 75%, #002290),
                linear-gradient(45deg, #002290 25%, transparent 25%, transparent 75%, #002290 75%, #002290);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    opacity: 0.1;
    z-index: 1;
    animation: loading 1s linear infinite;
    transition: opacity 0.3s ease;
}

.map-container.loaded::before {
    opacity: 0;
}

@keyframes loading {
    0% {
        background-position: 0 0, 15px 15px;
    }
    100% {
        background-position: 30px 30px, 45px 45px;
    }
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto;
    cursor: pointer;
}

/* İletişim Formu */
.contact-form-section {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,34,144,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.form-title {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    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;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #002290;
    box-shadow: 0 0 0 4px rgba(0,34,144,0.1);
    transform: translateY(-2px);
}

.form-group.focused label {
    color: #002290;
    font-weight: 600;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #002290 0%, #001a6b 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,34,144,0.3);
}

.submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.submit-btn.loading {
    background: #6c757d;
    pointer-events: none;
}

.submit-btn.success {
    background: #28a745;
}

/* Kopyalama Bildirimi */
.copy-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #002290;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,34,144,0.3);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Form Bildirimleri */
.form-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    border-left: 4px solid #28a745;
}

.form-notification.error {
    border-left-color: #dc3545;
}

.form-notification.success {
    border-left-color: #28a745;
}

.form-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.form-notification i {
    font-size: 18px;
    color: #28a745;
}

.form-notification.error i {
    color: #dc3545;
}

.form-notification span {
    flex: 1;
    font-weight: 500;
}

/* Form Mesajı (Buton Altında) */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-left: 4px solid #28a745;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
    color: #155724;
}

.form-message.error {
    border-left-color: #dc3545;
    background: linear-gradient(135deg, #fff8f8 0%, #ffe8e8 100%);
    color: #721c24;
}

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

.form-message i {
    font-size: 18px;
    color: #28a745;
}

.form-message.error i {
    color: #dc3545;
}

.form-message span {
    flex: 1;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .contact-page-container {
        margin-top: 0; /* Mobilde margin kaldır, mobil CSS'te zaten padding var */
    }
    
    .contact-info-grid,
    .maps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 30px 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .map-title {
        font-size: 18px;
        padding: 15px 20px;
    }
    
    .office-title {
        font-size: 24px;
    }
    
    .contact-page-title h1 {
        font-size: 28px;
    }
    
    .title-with-logos {
        gap: 20px;
    }
    
    .title-logo {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contact-info-section {
        padding: 20px 15px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-title {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .title-with-logos {
        gap: 15px;
    }
    
    .title-logo {
        width: 40px;
        height: 40px;
    }
    
    .contact-page-title h1 {
        font-size: 24px;
    }
    
    .contact-page-title p {
        font-size: 14px;
    }
    
    .office-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

/* Container sınıfı */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Referanslar Bölümü - Index.css'den alınan stiller */
.references-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.references-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.references-left {
    flex: 1;
    padding-right: 50px;
}

.references-logos {
    flex: 2;
}

.logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 15px;
}

.logo-item {
    flex: 1;
    background-color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    max-width: 240px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Section Title Stili */
.section-title {
    margin-bottom: 30px;
}

.section-title span {
    display: block;
    font-size: 14px;
    color: #002290;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
}

/* Buton Stili */
.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #333;
    padding: 12px 30px;
    border: 1px solid #333;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #002290;
    z-index: -1;
    transition: width 0.4s ease;
}

.btn-secondary:hover {
    color: #ffe000;
    border-color: #002290;
}

.btn-secondary:hover::before {
    width: 100%;
}

.arrow {
    display: inline-block;
    margin-left: 10px;
}

/* Responsive - Referanslar Bölümü */
@media (max-width: 992px) {
    .references-content {
        flex-direction: column;
    }
    
    .references-left {
        padding: 0;
        margin-bottom: 50px;
    }
    
    .logo-item {
        flex: 0 0 calc(50% - 10px);
        padding: 15px;
    }
    
    .logo-item img {
        max-width: 100px;
        max-height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-row {
        flex-wrap: wrap;
    }
    
    .logo-item {
        flex: 0 0 48%;
        margin-bottom: 15px;
    }
}
