:root {
    --primary: #0047AB;
    /* Cobalt Blue */
    --primary-dark: #003380;
    --accent: #E60000;
    /* Red */
    --text: #1a1d21;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --container: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography - Mobile First */
h1,
h2,
h3,
h4 {
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

h1 {
    font-size: 2.25rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

.lead {
    font-size: 1.125rem;
    color: var(--text-light);
}

.accent {
    color: var(--primary);
}

/* Buttons - Accessibility Focus */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    border: none;
    min-height: 48px;
    /* Touch target */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(0, 71, 171, 0.39);
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--ghost {
    background: #f1f5f9;
    color: var(--text);
}

.btn--ghost:hover {
    background: #e2e8f0;
}

/* Topbar */
.topbar {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 0.85rem;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.75rem;
}

.toplink {
    color: var(--text-light);
    margin-left: 15px;
    font-weight: 600;
}

.toplink:hover {
    color: var(--primary);
}

/* Sticky Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__inner {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Navigation - Mobile First (Hidden by default) */
.nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    display: none;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    z-index: 999;
}

.nav.open {
    display: flex;
}

.nav__link {
    padding: 15px 0;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid #f1f5f9;
}

@media (min-width: 992px) {
    .nav {
        position: static;
        display: flex;
        flex-direction: row;
        width: auto;
        background: none;
        padding: 0;
        border: none;
        gap: 10px;
    }

    .nav__link {
        border: none;
        padding: 0 15px;
        height: 70px;
        display: flex;
        align-items: center;
    }

    .nav__link:hover {
        color: var(--primary);
    }

    /* Dropdown & Mega Menu */
    .nav__drop {
        position: relative;
    }

    .mega {
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        background: white;
        border: 1px solid var(--border);
        box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 30px;
        display: grid;
        grid-template-columns: repeat(4, 200px);
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        width: max-content;
    }

    .nav__drop:hover .mega {
        opacity: 1;
        visibility: visible;
        top: 70px;
    }

    .mega__title {
        font-weight: 800;
        color: var(--primary);
        margin-bottom: 12px;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mega a {
        display: block;
        padding: 6px 0;
        font-size: 0.95rem;
        color: var(--text-light);
    }

    .mega a:hover {
        color: var(--primary);
        transform: translateX(5px);
    }
}

/* Hero Section */
.hero {
    padding: 40px 0;
    background: #f8fafc;
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero {
        padding: 80px 0;
    }

    .hero__grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

.heroCard {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    aspect-ratio: 16 / 10;
    background: #e2e8f0;
    position: relative;
}

.heroCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Stats/Info */
.miniStat {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floating 3s ease-in-out infinite;
    z-index: 5;
}

.miniStat--1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.miniStat--2 {
    bottom: 30px;
    left: 20px;
    animation-delay: 1.5s;
}

.miniStat__icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.miniStat__text b {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
}

.miniStat__text span {
    font-size: 0.75rem;
    color: var(--text-light);
    white-space: nowrap;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Services Grid (Neler Yapıyoruz?) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    display: block;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border-color: var(--primary);
}

.service-cover {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px 400px at 20% 20%, #eaf2ff 0%, #f7f9fc 55%, #ffffff 100%);
}

.service-cover svg {
    width: min(220px, 55%);
    height: auto;
    transition: transform 0.5s ease;
}

.service-card:hover .service-cover svg {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 18px;
    margin: 14px 14px 6px;
    color: #0f172a;
    font-weight: 800;
}

.service-card p {
    margin: 0 14px 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #475569;
}

/* Re-added for backward compatibility or other sections */
.catGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .catGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .catGrid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cat {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.cat:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    border-color: var(--primary);
}

.cat__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.cat__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: scale 0.5s;
}

.cat:hover .cat__img img {
    scale: 1.1;
}

.cat__name {
    padding: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Local SEO Sections */
.location-section {
    padding: 60px 0;
    background: var(--bg-alt);
}

.location-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.location-tag {
    background: white;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: .2s;
}

.location-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer__title {
    color: white;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer__link {
    display: block;
    margin-bottom: 0.75rem;
    transition: .2s;
}

.footer__link:hover {
    color: white;
    transform: translateX(5px);
}

/* WhatsApp Floating Button */
.wa-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

/* Brand / Logo */
/* Pure CSS Brand Logo */
.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E60000;
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 1;
    position: relative;
}

/* Inner white border effect for REYHANLI badge */
.logo-badge::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    pointer-events: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-title {
    color: #0b4db8;
    /* Kurumsal Mavi */
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.2px;
    margin-bottom: 1px;
}

.logo-subtitle {
    color: #111;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo-badge {
        font-size: 16px;
        padding: 6px 12px;
        border-radius: 10px;
    }

    .logo-badge::after {
        top: 3px;
        left: 3px;
        right: 3px;
        bottom: 3px;
        border-radius: 7px;
    }

    .logo-title {
        font-size: 20px;
    }

    .logo-subtitle {
        font-size: 10px;
    }
}

/* Utilities */
.section {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.blog-card__img {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    overflow: hidden;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__count {
    padding: 24px;
}

.blog-card__date {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.blog-card h2,
.blog-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Blog & Corporate Hero */
.blog-hero {
    padding: 80px 0;
    background: #f8fafc;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero .meta {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Blog Content Detail */
.blog-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.blog-content h1 {
    display: none;
    /* Already in blog-hero */
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #334155;
}

.blog-content ul {
    margin: 20px 0 20px 25px;
    list-style: disc;
}

.blog-content li {
    margin-bottom: 10px;
    color: #334155;
}

.blog-meta {
    text-align: center;
    color: #64748b;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.faq-section {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    margin: 50px 0;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.1rem;
}

.blog-cta {
    background: linear-gradient(135deg, #0b4db8 0%, #0f172a 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 30px;
    text-align: center;
    margin: 60px 0;
}

.blog-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}