/* ===========================================================
   Mali Müşavirlik - Kurumsal Tema (Siyah & Sarı)
   =========================================================== */

:root {
    --primary: #FFC107;
    --primary-soft: #ffd84d;
    --dark: #0d0d0d;
    --dark-2: #161616;
    --dark-3: #1f1f1f;
    --gray: #9a9a9a;
    --light: #f4f4f5;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    --font-head: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.12);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 193, 7, 0.25);
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--white); }
.section-title::after,
.section-head .section-title::after { content: none; }
.section-sub { color: var(--gray); margin-top: 16px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: 50px;
    font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
    cursor: pointer; border: 2px solid transparent;
    transition: all 0.3s ease; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--dark); box-shadow: 0 10px 30px rgba(255, 193, 7, 0.3); }
.btn-primary:hover { background: var(--primary-soft); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(255, 193, 7, 0.4); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 22px 0; transition: all 0.35s ease;
}
.site-header.scrolled {
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--white); }
.logo img { height: 44px; width: auto; }
.logo-mark {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--primary); color: var(--dark);
    display: grid; place-items: center; font-size: 1.2rem;
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--light); position: relative; transition: color 0.25s; }
.main-nav a:not(.nav-cta)::after {
    content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
}
.main-nav a:not(.nav-cta):hover { color: var(--primary); }
.main-nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { background: var(--primary); color: var(--dark) !important; padding: 10px 22px; border-radius: 50px; font-weight: 700; }
.nav-cta:hover { background: var(--primary-soft); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    overflow: hidden;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(120deg, rgba(13,13,13,0.94) 0%, rgba(13,13,13,0.78) 50%, rgba(13,13,13,0.55) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 80px; padding-bottom: 80px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 193, 7, 0.14); color: var(--primary);
    border: 1px solid rgba(255, 193, 7, 0.3);
    padding: 10px 20px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
    margin-bottom: 26px;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); color: var(--white); margin-bottom: 22px; }
.hero h1 { background: linear-gradient(120deg, #fff 60%, var(--primary)); -webkit-background-clip: text; background-clip: text; }
.hero p { font-size: 1.2rem; color: #d6d6d6; max-width: 620px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2;
    width: 46px; height: 46px; border: 2px solid rgba(255,255,255,0.25); border-radius: 50%;
    display: grid; place-items: center; color: var(--primary); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,10px);} }

/* ===========================================================
   STATS
   =========================================================== */
.stats-section { background: var(--primary); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card { text-align: center; color: var(--dark); }
.stat-card i { font-size: 2.2rem; margin-bottom: 12px; opacity: 0.85; }
.stat-number { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; }
.stat-label { font-weight: 700; margin-top: 8px; font-size: 1rem; }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-section { background: var(--dark-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-badge-box {
    position: absolute; bottom: -26px; right: -10px;
    background: var(--primary); color: var(--dark);
    padding: 20px 26px; border-radius: 14px; display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow);
}
.about-badge-box i { font-size: 2rem; }
.about-badge-box strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.about-badge-box span { font-size: 0.85rem; }
.about-text p { color: var(--gray); margin-bottom: 26px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px; }
.feature-list li { display: flex; align-items: center; gap: 10px; color: var(--light); font-weight: 600; }
.feature-list i { color: var(--primary); }

/* ===========================================================
   SERVICES
   =========================================================== */
.services-section { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
    background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.service-card:hover { transform: translateY(-10px); border-color: rgba(255,193,7,0.5); box-shadow: var(--shadow); }
.service-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, var(--dark-2)); }
.service-body { padding: 28px; position: relative; }
.service-icon {
    position: absolute; top: -32px; left: 28px;
    width: 60px; height: 60px; border-radius: 14px; background: var(--primary); color: var(--dark);
    display: grid; place-items: center; font-size: 1.5rem; box-shadow: 0 10px 24px rgba(255,193,7,0.35);
}
.service-card:not(:has(.service-img)) .service-icon { position: static; margin-bottom: 18px; }
.service-body h3 { font-size: 1.3rem; color: var(--white); margin: 18px 0 12px; }
.service-body p { color: var(--gray); margin-bottom: 18px; }
.service-link { color: var(--primary); font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s; }
.service-link:hover { gap: 14px; }

/* ===========================================================
   CTA
   =========================================================== */
.cta-section {
    padding: 90px 0; text-align: center;
    background: var(--dark-2); background-size: cover; background-position: center; background-attachment: fixed;
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--white); margin-bottom: 18px; }
.cta-inner p { color: var(--gray); font-size: 1.15rem; margin-bottom: 32px; }

/* ===========================================================
   TEAM
   =========================================================== */
.team-section { background: var(--dark); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-align: center; padding-bottom: 26px; transition: transform 0.35s, border-color 0.35s; }
.team-card:hover { transform: translateY(-8px); border-color: rgba(255,193,7,0.4); }
.team-photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-photo img { transform: scale(1.08); }
.team-initial { display: grid; place-items: center; width: 100%; height: 100%; background: var(--dark-3); color: var(--primary); font-size: 4rem; font-family: var(--font-head); font-weight: 800; }
.team-socials {
    position: absolute; bottom: -50px; left: 0; width: 100%;
    display: flex; justify-content: center; gap: 10px; padding: 14px;
    background: linear-gradient(transparent, rgba(13,13,13,0.85)); transition: bottom 0.35s;
}
.team-card:hover .team-socials { bottom: 0; }
.team-socials a { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--dark); display: grid; place-items: center; transition: transform 0.25s; }
.team-socials a:hover { transform: translateY(-4px); }
.team-card h3 { color: var(--white); font-size: 1.2rem; margin: 20px 0 4px; }
.team-pos { color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.team-card p { color: var(--gray); font-size: 0.9rem; padding: 12px 24px 0; }

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.testimonials-section { background: var(--dark-2); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card { background: var(--dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 30px; position: relative; }
.t-quote { position: absolute; top: 24px; right: 28px; font-size: 2.4rem; color: rgba(255,193,7,0.18); }
.t-stars { color: var(--primary); margin-bottom: 16px; display: flex; gap: 3px; }
.t-content { color: var(--light); font-style: italic; margin-bottom: 24px; }
.t-author { display: flex; align-items: center; gap: 14px; }
.t-author img, .t-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.t-avatar { background: var(--primary); color: var(--dark); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); font-size: 1.3rem; }
.t-author strong { display: block; color: var(--white); }
.t-author span { color: var(--gray); font-size: 0.85rem; }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-section { background: var(--dark); }
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--dark-2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-item.open { border-color: rgba(255,193,7,0.4); }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 22px 24px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--gray); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact-section { background: var(--dark-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.ci-icon { flex-shrink: 0; width: 50px; height: 50px; border-radius: 12px; background: rgba(255,193,7,0.12); color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; }
.contact-item strong { color: var(--white); font-family: var(--font-head); }
.contact-item p { color: var(--gray); }
.contact-item a:hover { color: var(--primary); }
.contact-map { margin-top: 12px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { width: 100%; height: 240px; border: 0; filter: grayscale(0.6) invert(0.9) contrast(0.85); }
.contact-form { background: var(--dark); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--light); font-weight: 600; margin-bottom: 8px; font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px; background: var(--dark-2); border: 1px solid var(--border);
    border-radius: 10px; color: var(--white); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.25s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; }

/* ---------- Alerts ---------- */
.alert { padding: 16px 22px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: rgba(76,175,80,0.15); color: #81c784; border: 1px solid rgba(76,175,80,0.4); }
.alert-error { background: rgba(229,57,53,0.15); color: #ff8a80; border: 1px solid rgba(229,57,53,0.4); }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #080808; padding-top: 70px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-about p { color: var(--gray); margin: 18px 0; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--dark-3); color: var(--light); display: grid; place-items: center; transition: 0.25s; }
.footer-socials a:hover { background: var(--primary); color: var(--dark); transform: translateY(-4px); }
.footer-col h4 { color: var(--white); margin-bottom: 22px; font-size: 1.1rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--gray); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; color: var(--gray); margin-bottom: 14px; }
.footer-contact i { color: var(--primary); margin-top: 5px; }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--gray); font-size: 0.9rem; }
.footer-bottom a { color: var(--primary); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; z-index: 900;
    width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--dark);
    display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: 0.35s; box-shadow: 0 10px 30px rgba(255,193,7,0.4);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 992px) {
    .services-grid, .team-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-badge-box { right: 16px; }
}
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .main-nav {
        position: fixed; top: 0; right: -100%; width: 78%; max-width: 320px; height: 100vh;
        background: var(--dark-2); flex-direction: column; align-items: flex-start; justify-content: flex-start;
        padding: 100px 32px 32px; gap: 22px; transition: right 0.35s; box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }
    .main-nav.open { right: 0; }
    .nav-toggle { display: flex; z-index: 1001; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .form-row { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .services-grid, .team-grid, .testimonials-grid, .stats-grid { grid-template-columns: 1fr; }
    .hero p { font-size: 1.05rem; }
    .cta-section { background-attachment: scroll; }
}
