@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #1a5276;
    --primary-light: #2980b9;
    --primary-dark: #154360;
    --secondary: #f39c12;
    --accent: #27ae60;
    --danger: #e74c3c;
    --dark: #2c3e50;
    --light: #ecf0f1;
    --white: #ffffff;
    --text: #333333;
    --text-light: #7f8c8d;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
.content { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    background: rgba(26, 82, 118, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s;
}
header .content { display: flex; align-items: center; justify-content: space-between; }
header .logo img { height: 50px; width: auto; filter: brightness(0) invert(1);}
header .logo { display: flex; align-items: center; }
#mainNav ul { display: flex; list-style: none; gap: 5px; }
#mainNav ul li a {
    color: rgba(255,255,255,0.9); padding: 10px 20px; border-radius: 8px;
    font-weight: 500; font-size: 14px; transition: all 0.2s;
}
#mainNav ul li a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.menuToggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.menuToggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.3s; }

/* Main */
main { padding-top: 100px; min-height: calc(100vh - 300px); }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 100px 0 80px;
    color: #fff;
}
.hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 15px; }
.hero-subtitle { font-size: 20px; opacity: 0.9; margin-bottom: 30px; }

/* Buttons */
.btn {
    display: inline-block; padding: 12px 30px; border-radius: 8px;
    font-weight: 600; font-size: 15px; cursor: pointer; border: none;
    transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 16px 40px; font-size: 17px; }

/* Sections */
.section { padding: 60px 0; }
.section h2 {
    font-size: 28px; font-weight: 700; color: var(--primary);
    margin-bottom: 30px; text-align: center;
}
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px; }
.step { text-align: center; padding: 30px 20px; }
.step-number {
    width: 60px; height: 60px; border-radius: 50%; background: var(--primary);
    color: #fff; font-size: 24px; font-weight: 700; display: flex;
    align-items: center; justify-content: center; margin: 0 auto 15px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-light); font-size: 14px; }

/* Text blocks */
.text-block { max-width: 800px; margin: 0 auto; }
.text-block p { margin-bottom: 15px; color: #555; line-height: 1.8; }

/* Info list */
.info-list { max-width: 800px; margin: 0 auto; }
.info-item {
    display: flex; padding: 15px 0; border-bottom: 1px solid var(--border);
}
.info-label {
    font-weight: 600; color: var(--primary); min-width: 150px;
}

/* Page headers */
.page-header {
    text-align: center; padding: 40px 0 30px;
}
.page-header h1 { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.page-header p { color: var(--text-light); }
.info-box {
    background: var(--light); padding: 20px; border-radius: var(--radius);
    margin: 20px auto; max-width: 600px;
}

/* Forms */
.app-form { max-width: 900px; margin: 0 auto; }
.form-section {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px; margin-bottom: 25px;
}
.form-section h2 {
    font-size: 20px; color: var(--primary); margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 2px solid var(--primary);
    text-align: left;
}
.form-row { display: flex; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.form-col { flex: 1; min-width: 250px; }
.form-col.full-width { flex: 100%; min-width: 100%; }
.form-col label {
    display: block; margin-bottom: 6px; font-weight: 600;
    font-size: 13px; color: var(--dark);
}
.form-col input[type="text"],
.form-col input[type="email"],
.form-col input[type="tel"],
.form-col input[type="password"],
.form-col select,
.form-col textarea {
    width: 100%; padding: 12px 15px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 15px; font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-col input:focus,
.form-col select:focus,
.form-col textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,82,118,0.1);
}
.section-note { color: var(--text-light); font-size: 13px; margin-bottom: 15px; }

/* File uploads */
.upload-group { margin-bottom: 20px; padding: 15px; background: #f8f9fa; border-radius: 8px; }
.upload-group > label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 10px; }
.file-input-wrapper { display: flex; align-items: center; gap: 10px; }
.file-input { display: none; }
.file-btn {
    padding: 10px 20px; background: var(--primary); color: #fff;
    border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 600;
    transition: background 0.2s;
}
.file-btn:hover { background: var(--primary-dark); }
.file-name { color: var(--text-light); font-size: 13px; }
.upload-status { margin-top: 8px; font-size: 12px; }
.upload-status.success { color: var(--accent); }
.upload-status.error { color: var(--danger); }

/* Honeypot - kullanıcı tarafından görünmez, botlar doldurur */
.robot-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    border: none;
    padding: 0;
    margin: 0;
}

/* Checkboxes */
.checkbox-group { margin-bottom: 12px; }
.checkbox-group label {
    display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
    font-size: 14px; line-height: 1.5;
}
.checkbox-group input[type="checkbox"] { margin-top: 3px; width: auto; }
.robot-label { background: #f8f9fa; padding: 12px; border-radius: 8px; border: 1px solid var(--border); }

/* Form actions */
.form-actions { text-align: center; padding: 20px 0 40px; }
.form-actions .btn { min-width: 250px; }

/* Results */
.results-info { max-width: 800px; margin: 30px auto; }
.results-info h2 { text-align: left; margin-bottom: 15px; }
.results-info ul { padding-left: 20px; }
.results-info li { margin-bottom: 10px; color: #555; line-height: 1.6; }

/* Takip */
.takip-form { max-width: 500px; margin: 0 auto 30px; }
.takip-result { max-width: 600px; margin: 0 auto; }
.result-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.result-card h3 { color: var(--primary); margin-bottom: 20px; }
.result-info { }
.result-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.result-row .label { font-weight: 600; color: var(--text-light); }
.result-row .value { color: var(--text); }
.status-badge { padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; }

/* 404 */
.error-page { text-align: center; padding: 100px 20px; }
.error-page h1 { font-size: 120px; color: var(--primary); font-weight: 800; }
.error-page p { font-size: 20px; color: var(--text-light); margin-bottom: 30px; }

/* Footer */
footer {
    background: var(--dark); color: #fff; padding: 50px 0 30px;
    margin-top: 60px;
}
footer .content { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-left { flex: 1; min-width: 250px; }
.footer-logo img { height: 60px; margin-bottom: 15px; filter: brightness(0) invert(1); }
.footer-title { font-weight: 600; margin-bottom: 10px; }
.footer-copy { color: rgba(255,255,255,0.6); font-size: 13px; }
.footer-right { flex: 2; min-width: 300px; }
.footer-nav ul { display: flex; gap: 20px; list-style: none; margin-bottom: 20px; flex-wrap: wrap; }
.footer-nav ul li a { color: rgba(255,255,255,0.8); font-size: 14px; }
.footer-nav ul li a:hover { color: #fff; }
.footer-social { margin-bottom: 15px; }
.footer-social a {
    display: inline-block; margin-right: 15px; color: rgba(255,255,255,0.7);
    font-size: 13px;
}
.footer-contact { font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-contact a { color: rgba(255,255,255,0.8); margin-right: 10px; }

/* Modal */
.modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1000; display: flex;
    align-items: center; justify-content: center;
}
.modal-content {
    background: #fff; border-radius: var(--radius); max-width: 700px;
    width: 90%; max-height: 80vh; overflow-y: auto; position: relative;
    padding: 30px;
}
.modal-close {
    position: absolute; top: 15px; right: 20px; font-size: 28px;
    cursor: pointer; color: #999;
}
.modal-close:hover { color: #333; }

/* Go top */
#goTopBtn {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    background: var(--primary); color: #fff; border: none; border-radius: 50%;
    font-size: 20px; cursor: pointer; display: none; z-index: 99;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: all 0.2s;
}
#goTopBtn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
    #mainNav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--primary); padding: 10px 0; }
    #mainNav.open { display: block; }
    #mainNav ul { flex-direction: column; padding: 0 20px; }
    #mainNav ul li a { display: block; padding: 12px 0; }
    .menuToggle { display: block; }
    .hero h1 { font-size: 28px; }
    .hero-subtitle { font-size: 16px; }
    .steps { grid-template-columns: 1fr 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .form-col { min-width: 100%; }
    footer .content { flex-direction: column; }
    .info-item { flex-direction: column; gap: 5px; }
    .info-label { min-width: auto; }
}
