* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; min-height: 100vh; background: #f8fafc; overflow-x: hidden; }

.lazy-animate { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.lazy-animate.loaded { opacity: 1; transform: translateY(0); }
.lazy-delay-1 { transition-delay: 0.1s; }
.lazy-delay-2 { transition-delay: 0.2s; }
.lazy-delay-3 { transition-delay: 0.3s; }

.page-hero {
    position: relative; width: 100%; 
    height: 35vh; 
    min-height: 350px;
    display: flex; align-items: center; justify-content: center;
    background-image: url('../images/nav.png');
    background-size: cover; background-position: center; background-attachment: fixed;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 35, 58, 0.7), rgba(30, 58, 95, 0.9));
}
.page-hero-content { position: relative; z-index: 10; text-align: center; color: white; padding: 0 20px; margin-top: 50px; }
.page-hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.page-hero-breadcrumb { font-size: 1rem; font-weight: 500; color: #93c5fd; letter-spacing: 2px; text-transform: uppercase; }
.page-hero-breadcrumb a { color: white; text-decoration: none; transition: color 0.3s; }
.page-hero-breadcrumb a:hover { color: #60a5fa; }

.contact-section { padding: 60px 20px 80px; }
.contact-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; 
    grid-template-columns: 1.5fr 1fr;
    gap: 60px; align-items: start;
}

.contact-form-container {
    background: #ffffff; border-radius: 24px; padding: 50px;
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.08); border: 1px solid #e2e8f0;
}
.subtitle-badge {
    display: inline-block; font-size: 0.9rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: #2c5282; margin-bottom: 15px;
}
.contact-title { color: #1e3a5f; font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; }
.contact-desc { color: #64748b; font-size: 1.1rem; line-height: 1.7; margin-bottom: 35px; }

.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: 0.95rem; font-weight: 600; color: #1e3a5f; margin-bottom: 8px; }

.form-control {
    width: 100%; padding: 15px 20px; border: 2px solid #e2e8f0; border-radius: 12px;
    background: #f8fafc; font-family: inherit; font-size: 1rem; color: #334155;
    transition: all 0.3s ease; outline: none;
}
.form-control:focus { border-color: #3b82f6; background: #ffffff; box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1); }
textarea.form-control { resize: vertical; min-height: 160px; }

.btn-primary {
    display: inline-block; width: 100%; padding: 18px 40px;
    background: #1e3a5f; color: white;
    border-radius: 12px; font-weight: 700; font-size: 1.1rem;
    transition: all 0.3s ease; border: none; cursor: pointer; text-align: center;
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.2);
    position: relative; overflow: hidden;
}
.btn-primary::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
    transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 100%; }

.btn-primary:hover {
    background: #2c5282 !important; 
    color: white !important;
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.3);
}
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.contact-info-container { display: flex; flex-direction: column; gap: 25px; }
.info-card {
    background: #ffffff; padding: 35px 30px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.05); border: 1px solid #e2e8f0;
    display: flex; align-items: flex-start; gap: 20px; transition: transform 0.3s ease;
}

.info-icon {
    width: 55px; height: 55px; flex-shrink: 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06); transition: all 0.3s ease;
}
.info-icon svg { stroke: #1e3a5f; width: 26px; height: 26px; transition: all 0.3s ease; }


.info-card:hover .info-icon svg { stroke: #2c5282; }

.info-content h4 { color: #1e3a5f; font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.info-content p, .info-content a { color: #64748b; font-size: 1.05rem; line-height: 1.6; text-decoration: none; transition: color 0.3s; }
.info-content a:hover { color: #3b82f6; }

.map-section { 
    width: 100%; height: 500px; background: #e2e8f0; 
    position: relative; display: block;
}
.map-section iframe { width: 100%; height: 100%; border: none; filter: grayscale(10%) contrast(1.05); }

.modal {
    display: none; position: fixed; z-index: 9999; left: 0; top: 0;
    width: 100%; height: 100%; overflow: auto;
    background-color: rgba(15, 35, 58, 0.8); backdrop-filter: blur(5px);
}
.modal-content {
    background-color: #fff; margin: 10vh auto; padding: 40px;
    border: 1px solid #e2e8f0; width: 90%; max-width: 450px;
    border-radius: 20px; font-family: inherit; text-align: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: relative; 
    animation: modalYukaridanIn 0.4s ease-out;
}
@keyframes modalYukaridanIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.close-btn {
    position: absolute; top: 15px; right: 20px; color: #64748b; 
    font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.close-btn:hover { color: #dc3545; }
#modalBaslik { font-size: 1.8rem; margin-bottom: 15px; font-weight: 800; }
#modalMesaj { font-size: 1.1rem; color: #475569; line-height: 1.6; }
.success-text { color: #10b981; } 
.error-text { color: #ef4444; } 

@media (max-width: 992px) {
    .contact-container { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-container { padding: 40px 30px; }
}

@media (max-width: 768px) {
    .page-hero-title { font-size: 2.8rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .map-section { height: 350px; }
}

@media (max-width: 576px) {
    .contact-form-container { padding: 30px 20px; }
    .page-hero-title { font-size: 2.2rem; }
    .info-card { padding: 25px 20px; flex-direction: column; align-items: center; text-align: center; }
}