/* ========================================
   GÜVEN MALİ MÜŞAVİRLİK - Ana Stil Dosyası
   ======================================== */

:root {
    --lacivert: #1e3a5f;
    --yesil: #059669;
    --beyaz: #ffffff;
    --acik: #f0fdfa;
    --koyu: #0f172a;
    --yesil-hover: #047857;
    --lacivert-hover: #15294a;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--koyu);
    line-height: 1.7;
    background: var(--beyaz);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    line-height: 1.3;
}

/* ---------- Navbar ---------- */
.navbar {
    background: var(--lacivert);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.navbar a { transition: color 0.2s ease; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--yesil);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after { width: 80%; }

/* ---------- Mobile Menu ---------- */
#mobile-menu { transition: max-height 0.3s ease; }

/* ---------- Hero ---------- */
.hero-section {
    background: linear-gradient(135deg, var(--lacivert) 0%, #0f2440 60%, var(--koyu) 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5,150,105,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5,150,105,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

/* ---------- Section ---------- */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--yesil);
    border-radius: 2px;
}

/* ---------- Cards ---------- */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(30,58,95,0.12);
}
.service-card .icon-wrapper {
    width: 64px;
    height: 64px;
    background: var(--acik);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.service-card:hover .icon-wrapper {
    background: var(--yesil);
}
.service-card:hover .icon-wrapper i {
    color: var(--beyaz) !important;
}

/* ---------- Stat Counter ---------- */
.stat-box {
    text-align: center;
    padding: 2rem;
}
.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--yesil);
    font-family: 'Merriweather', serif;
}

/* ---------- Package Card ---------- */
.package-card {
    border: 2px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(30,58,95,0.12);
}
.package-card.popular {
    border-color: var(--yesil);
    position: relative;
}

/* ---------- Team Card ---------- */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.1);
}

/* ---------- Blog Card ---------- */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30,58,95,0.1);
}

/* ---------- CTA Button ---------- */
.btn-primary {
    background: var(--yesil);
    color: var(--beyaz);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.15s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--yesil-hover);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent;
    color: var(--beyaz);
    border: 2px solid var(--beyaz);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}
.btn-secondary:hover {
    background: var(--beyaz);
    color: var(--lacivert);
}

/* ---------- Footer ---------- */
footer a { transition: color 0.2s ease; }
footer a:hover { color: var(--yesil) !important; }

/* ---------- Form ---------- */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Source Sans 3', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--beyaz);
}
.form-input:focus {
    outline: none;
    border-color: var(--yesil);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.15);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    background: linear-gradient(135deg, var(--lacivert) 0%, #0f2440 100%);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: var(--lacivert); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--yesil); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .stat-number { font-size: 2rem; }
    .hero-section h1 { font-size: 2rem !important; }
}


/* ===== Overflow / Tasma Korumasi ===== */
body {
    overflow-x: hidden;
}

*, *::before, *::after {
    max-width: 100%;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

p, li, td, th, a, span, h1, h2, h3, h4, h5, h6, label, blockquote {
    overflow-wrap: break-word;
    word-break: break-word;
}

table {
    width: 100%;
    border-collapse: collapse;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

pre, code {
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
