:root {
    --primary: #1e3a5f;
    --primary-dark: #15294a;
    --primary-light: #2d5a8e;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    --success: #10b981;
    --body-bg: #f8fafc;
    --text: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --card-shadow-hover: 0 10px 25px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--body-bg);
}

/* COLORS */
.text-primary-dark { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background: var(--primary) !important; }

.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600;
}
.btn-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

/* NAVBAR */
.navbar { padding: 0.8rem 0; }
.navbar-brand { font-size: 1.5rem; }
.navbar .nav-link { font-weight: 500; color: var(--text); padding: 0.5rem 1rem !important; transition: color 0.2s; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--primary); }

/* HERO */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    color: #fff;
}
.hero-title { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; line-height: 1.7; }
.hero-stats { color: rgba(255,255,255,0.9); }
.hero-stats strong { color: var(--accent); }

.hero-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    color: var(--text);
}

/* SECTIONS */
.section { padding: 5rem 0; }
.section-header { margin-bottom: 3rem; }
.section-header h2 { font-weight: 700; color: var(--primary-dark); font-size: 2rem; }
.section-header p { font-size: 1.05rem; }

/* PAGE HEADER */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 0;
    color: #fff;
}
.page-header h1 { font-weight: 700; margin-bottom: 0.5rem; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-header .breadcrumb-item.active { color: var(--accent); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* SERVICE CARDS */
.service-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    color: var(--text);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.service-card h5 { font-weight: 600; font-size: 1.05rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.service-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.service-card:hover .service-link { color: var(--accent-hover); }

/* STEP CARDS */
.step-card {
    text-align: center;
    padding: 2rem;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.step-card h5 { font-weight: 600; }
.step-card p { color: var(--text-muted); }

/* TRUST CARDS */
.trust-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    height: 100%;
}
.trust-icon {
    width: 50px;
    height: 50px;
    background: rgba(30,58,95,0.08);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* USTA CARDS */
.usta-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s;
}
.usta-card:hover { box-shadow: var(--card-shadow-hover); }
.usta-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    overflow: hidden;
}
.usta-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* REVIEW CARDS */
.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    height: 100%;
}
.review-text { font-style: italic; color: var(--text-muted); font-size: 0.95rem; }

/* CTA SECTION */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 0;
}

/* FORM CARD */
.form-card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}

/* SUCCESS */
.success-icon { font-size: 4rem; color: var(--success); }
.reference-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 1rem;
    display: inline-block;
}

/* FOOTER */
.site-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}
.footer-title { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 0.75rem; font-size: 0.9rem; }
.text-light-muted { color: rgba(255,255,255,0.5) !important; font-size: 0.9rem; }
.text-light-muted:hover { color: var(--accent) !important; }
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    text-decoration: none;
}
.social-link:hover { background: var(--accent); color: #fff; }

/* COOKIE CONSENT */
.cookie-consent-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    background: linear-gradient(180deg, rgba(22, 45, 78, 0.98) 0%, rgba(14, 28, 52, 0.99) 100%);
    color: #e8eef5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
.cookie-consent-bar.is-visible {
    transform: translateY(0);
}
.cookie-consent-bar__text {
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ACCORDION */
.accordion-button:not(.collapsed) { background: rgba(30,58,95,0.05); color: var(--primary); }
.accordion-button:focus { box-shadow: none; border-color: var(--border); }

/* SEO CONTENT */
.seo-article h3 { color: var(--primary); font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.75rem; font-weight: 600; }
.seo-article p { color: #555; line-height: 1.8; margin-bottom: 1rem; }
.seo-article ul, .seo-article ol { color: #555; line-height: 1.8; padding-left: 1.25rem; margin-bottom: 1rem; }
.seo-article li { margin-bottom: 0.5rem; }
.seo-article strong { color: var(--dark); }

/* HERO TABS */
.hero-tabs .nav-link { font-size: .8rem; padding: .4rem .5rem; color: var(--text-muted); background: rgba(0,0,0,.03); border: none; border-radius: 8px; }
.hero-tabs .nav-link.active { background: var(--primary); color: #fff; }

/* HORIZONTAL SCROLL (mobile) */
.packages-scroll { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; -webkit-overflow-scrolling: touch; }
.packages-scroll::-webkit-scrollbar { height: 4px; }
.packages-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* RESPONSIVE */
@media (max-width: 767.98px) {
    .hero-section { padding: 1.5rem 0; }
    .hero-title { font-size: 1.4rem; line-height: 1.3; margin-bottom: .5rem; }
    .hero-form-card { padding: 1rem; margin-top: .5rem; border-radius: 12px; }
    .hero-form-card h5 { font-size: .9rem; }

    .section { padding: 1.5rem 0; }
    .section-header { margin-bottom: 1rem; }
    .section-header h2 { font-size: 1.2rem; }
    .section-header p { font-size: .85rem; }

    .page-header { padding: 1rem 0; }
    .page-header h1 { font-size: 1.15rem; margin-bottom: 0; }

    .service-card { padding: 1rem; border-radius: 10px; }
    .service-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 1rem; margin-bottom: .5rem; }
    .service-card h5 { font-size: .8rem; }
    .service-link { font-size: .7rem; }

    .step-card { padding: .75rem .5rem; }
    .step-number { width: 40px; height: 40px; font-size: 1.1rem; }
    .step-card h5 { font-size: .8rem; }

    .trust-card { padding: 1rem .75rem; border-radius: 10px; }
    .trust-icon { width: 36px; height: 36px; font-size: 1rem; border-radius: 10px; margin-bottom: .5rem; }
    .trust-card h6 { font-size: .75rem; }

    .usta-card { padding: .75rem; }
    .usta-avatar { width: 36px; height: 36px; }

    .review-card { padding: 1rem; }

    .cta-section { padding: 2rem 0; }

    .site-footer { padding: 2rem 0 1rem; }
    .footer-title { font-size: .85rem; margin-bottom: .5rem; }
    .footer-links a { font-size: .8rem; }
    .footer-contact li { font-size: .8rem; margin-bottom: .4rem; }

    .form-label { font-size: 0.8rem; }
    .form-check-label { font-size: 0.8rem; }

    .navbar-brand { font-size: 1.2rem; }
    .navbar { padding: .4rem 0; }
}

/* Hizmet mega menü */
@media (min-width: 992px) {
    .navbar .nav-item.mega-dropdown {
        position: static;
    }
    .navbar .mega-dropdown-menu {
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        border-radius: 0 0 0.5rem 0.5rem;
    }
}
@media (max-width: 991.98px) {
    .mega-dropdown-menu {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* Öne çıkan hizmetler yatay kaydırma */
.featured-services-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 0.25rem;
}
.featured-service-tile {
    width: 168px;
    max-width: 85vw;
    background: #fff;
    border-radius: 14px;
    padding: 1rem 0.85rem;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(30, 58, 95, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}
.featured-service-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(30, 58, 95, 0.12);
    color: var(--text);
}
.featured-service-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 0.45rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.featured-service-cat {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    opacity: 0.85;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-service-name {
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1.3;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.featured-service-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    color: var(--text-muted);
    margin: 0.35rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
.featured-service-cta {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 0.45rem;
    display: block;
}

/* Ana sayfa kategori vitrini */
.home-categories-section {
    background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 45%, #f8fafc 100%) !important;
}
.letter-spacing-tight {
    letter-spacing: 0.06em;
}
.home-category-showcase-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(30, 58, 95, 0.08);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    min-height: 100%;
}
.home-category-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
    border-color: rgba(255, 122, 51, 0.35);
    color: inherit;
}
.home-category-showcase-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.08), rgba(30, 58, 95, 0.02));
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}
.home-category-showcase-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}
.home-category-showcase-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.home-category-showcase-cta {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}
.home-category-chips-wrap {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}
.home-category-chip {
    appearance: none;
    border: 1px solid rgba(30, 58, 95, 0.2);
    background: #fff;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.home-category-chip:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.home-category-chip:hover .opacity-75 {
    opacity: 1 !important;
    color: #fff;
}
.home-accordion-item .accordion-button {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

@media (max-width: 767.98px) {
    .home-category-showcase-card {
        padding: 1rem 0.65rem;
        border-radius: 14px;
    }
    .home-category-showcase-icon {
        width: 48px;
        height: 48px;
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
        border-radius: 14px;
    }
    .home-category-showcase-title {
        font-size: 0.88rem;
    }
    .home-category-showcase-meta,
    .home-category-showcase-cta {
        font-size: 0.74rem;
    }
    .home-services-list-heading {
        line-height: 1.4;
    }
}

/* Ana sayfa accordion içi kompakt kart */
.service-card-compact {
    padding: 1.25rem;
}
.service-card-compact .service-icon {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.service-card-compact h5 {
    font-size: 0.95rem;
}
.accordion-services .accordion-button {
    box-shadow: none;
}
.accordion-services .accordion-button:not(.collapsed) {
    background: rgba(30, 58, 95, 0.08);
    color: var(--text);
    box-shadow: inset 0 -1px 0 rgba(30, 58, 95, 0.06);
}

/* Hizmet detay SEO içeriği */
.service-page-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark, #1e3a5f);
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}
.service-page-content h2:first-child { margin-top: 0; }
.service-page-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.service-page-content p { margin-bottom: 0.85rem; line-height: 1.65; }
.service-page-content ul { margin-bottom: 1rem; padding-left: 1.35rem; }
.service-page-content li { margin-bottom: 0.35rem; }
.service-page-content .lead { font-size: 1.1rem; color: var(--text-muted); }

/* Usta profil sayfası */
.usta-profile-photo img,
.usta-profile-photo .usta-avatar {
    border: 3px solid rgba(30, 58, 95, 0.08);
}
.usta-about {
    line-height: 1.7;
    font-size: 0.98rem;
}
