/* ==========================================================================
   AGR Danışmanlık - Ana Stil Dosyası
   ========================================================================== */

/* --- 1. CSS Reset & Variables --- */
:root {
    /* Color Palette */
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0b0;
    
    --accent-red: #DD0000;
    --accent-red-hover: #BB0000;
    --accent-gold: #FFCC00;
    --accent-gold-dim: rgba(255, 204, 0, 0.15);
    --accent-gold-glow: rgba(255, 204, 0, 0.3);
    
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    
    /* Typography */
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. Base Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: #fff; }

ul { list-style: none; }

.text-gold { color: var(--accent-gold) !important; }
.text-red { color: var(--accent-red) !important; }
.text-center { text-align: center; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

/* --- 3. Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; }
.section.alt-bg { background-color: var(--bg-secondary); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* --- 4. Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-block;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
}
.section-badge::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
    margin: 8px auto 0;
}

.section-title span { color: var(--accent-gold); }
.section-description { color: var(--text-secondary); font-size: 1.1rem; }

/* --- 5. Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-red);
    color: #fff;
    box-shadow: 0 4px 15px rgba(221, 0, 0, 0.3);
}
.btn-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 0, 0, 0.4);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}
.btn-secondary:hover {
    background-color: var(--accent-gold-dim);
    transform: translateY(-2px);
    color: var(--accent-gold);
}

/* --- 6. Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.logo-icon { width: 45px; height: 45px; object-fit: contain; }
.logo-text { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; color: #fff; white-space: nowrap; }
.logo-text span { color: var(--accent-gold); }

.nav-links {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0 16px 0 auto;
    padding: 0;
}
.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
    background: rgba(255, 204, 0, 0.1);
    border-color: rgba(255, 204, 0, 0.2);
}
.nav-cta {
    background-color: var(--accent-red);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}
.nav-cta:hover { background-color: var(--accent-red-hover); color: #fff;}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* --- 7. Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    padding-top: 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: var(--accent-gold);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}
.hero .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;}
.hero-content { max-width: 800px; margin: 0 auto; }
.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-radius: 20px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}
.hero h1 { margin-bottom: 24px; text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.hero-subtitle { color: var(--text-secondary); font-size: 1.2rem; margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
    flex-wrap: wrap;
    width: 100%;
}
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 2.5rem; color: var(--accent-gold); font-weight: 700; font-family: var(--font-heading); }
.stat-number::after { content: '+'; }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;}

/* --- 8. Glass Cards --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold-glow);
    box-shadow: 0 10px 40px rgba(255,204,0,0.05);
}
.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--accent-gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold);
}
.card-description { color: var(--text-secondary); font-size: 0.95rem; }

.card-list { margin-top: 16px; }
.card-list li {
    padding: 6px 0 6px 24px;
    color: var(--text-secondary);
    position: relative;
    font-size: 0.9rem;
}
.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

/* --- 9. Timeline (Visa Process) --- */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--accent-gold-dim);
}
.timeline-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: 40px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-gold);
    color: var(--bg-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 0 4px var(--bg-secondary);
}
.timeline-content { padding: 24px; }
.timeline-title { color: var(--accent-gold); margin-bottom: 8px; }
.timeline-description { color: var(--text-secondary); margin-bottom: 0; }

/* --- 10. Visa Cards --- */
.visa-card { position: relative; overflow: hidden; }
.visa-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-gold);
}
.visa-card:nth-child(even)::before { background: var(--accent-red); }
.visa-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.visa-card-icon { font-size: 2.5rem; }
.visa-card-tag {
    background: var(--accent-red);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.visa-card:nth-child(3) .visa-card-tag { background: var(--accent-gold); color: var(--bg-primary); }

/* --- 11. FAQ --- */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.faq-category-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-body);
}
.faq-category-btn.active, .faq-category-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
    font-weight: 600;
}
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}
.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.faq-question h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-body); }
.faq-icon { color: var(--accent-gold); transition: transform 0.3s; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 24px;
}
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* --- 12. Contact Form --- */
.contact-form { padding: 40px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    background: rgba(255,255,255,0.05);
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 1em; }
.form-group select option { background: var(--bg-secondary); color: var(--text-primary); }
.checkbox-group { display: flex; align-items: flex-start; gap: 12px; }
.checkbox-group input { width: auto; margin-top: 4px; }
.checkbox-group label { display: inline; color: var(--text-secondary); font-size: 0.85rem; }
.form-submit { width: 100%; }

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-gold-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-text strong { display: block; color: var(--text-primary); margin-bottom: 4px; }
.contact-text span, .contact-text a { color: var(--text-secondary); }

.social-links { display: flex; gap: 12px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-glass); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: 0.3s; }
.social-link:hover { border-color: var(--accent-gold); color: var(--accent-gold); background: var(--accent-gold-dim); }

.form-result { margin-top: 20px; padding: 15px; border-radius: 8px; display: none; }
.form-result.success { display: block; background: rgba(0, 200, 80, 0.1); border: 1px solid #00c850; color: #00c850; }
.form-result.error { display: block; background: rgba(221, 0, 0, 0.1); border: 1px solid var(--accent-red); color: #ff6b6b; }

/* --- 13. Footer --- */
.footer { background: #0a0a15; border-top: 1px solid var(--border-glass); padding-top: 80px; }
.footer-column h4 { color: var(--text-primary); margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-column h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--accent-gold); }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-secondary); font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; }
.contact-footer li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.contact-footer svg { flex-shrink: 0; color: var(--accent-gold); margin-top: 4px; }
.footer-bottom { border-top: 1px solid var(--border-glass); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); font-size: 0.9rem; }
.footer-legal .separator { margin: 0 10px; opacity: 0.3; }

/* --- 14. Utilities & Specifics --- */
.cta-banner {
    background: linear-gradient(135deg, rgba(255,204,0,0.1) 0%, rgba(221,0,0,0.1) 100%);
    border: 1px solid var(--accent-gold-dim);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}
.cta-banner h3 { margin-bottom: 16px; }

.advantage-item { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.advantage-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-gold-dim); color: var(--accent-gold); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; font-family: var(--font-heading); font-weight: 700; }
.advantage-content h4 { margin-bottom: 8px; }
.advantage-content p { color: var(--text-secondary); margin-bottom: 0; font-size: 0.95rem; }

/* --- 15. Animations --- */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

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

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transform: translateX(100%);
        transition: 0.3s;
        border-top: 1px solid var(--border-glass);
    }
    .nav-links.active { transform: translateX(0); }
    .nav-cta { margin-top: 20px; }
    
    .hero { padding-top: 120px; }
    .hero-stats { gap: 20px; }
    .stat-item { width: 45%; }
    
    .timeline::before { left: 16px; }
    .timeline-item { padding-left: 48px; }
    .timeline-number { width: 32px; height: 32px; font-size: 1rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .stat-item { width: 100%; }
}
