/* =========================================================
   SARS GRUP — Corporate Website
   index.html ile uyumlu, mobil + masaüstü
   ========================================================= */

:root {
    --navy-950: #07111f;
    --navy-900: #0a1728;
    --navy-850: #0d1d31;
    --navy-800: #10243b;
    --navy-700: #163451;

    --blue: #1d4f7a;
    --blue-light: #2d6f9f;

    --gold: #c8a45d;
    --gold-light: #dfc27d;
    --gold-dark: #a88645;

    --white: #ffffff;
    --text: #182536;
    --text-soft: #5f6d7c;
    --text-light: #d9e2ec;

    --bg: #f5f7fa;
    --bg-soft: #eef2f6;
    --border: #dce3ea;

    --shadow-sm: 0 4px 16px rgba(7, 17, 31, 0.06);
    --shadow-md: 0 12px 35px rgba(7, 17, 31, 0.10);
    --shadow-lg: 0 20px 55px rgba(7, 17, 31, 0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --container: 1180px;
    --header-h: 82px;
    --transition: 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 17, 31, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(7, 17, 31, 0.22);
}

.nav {
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--white);
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 18px;
    font-weight: 750;
    letter-spacing: 0.02em;
}

.brand-text small {
    margin-top: 3px;
    color: #b7c5d4;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.site-header.is-nav-open .nav-toggle span {
    background: transparent;
}

.site-header.is-nav-open .nav-toggle span::before {
    top: 0;
    transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 22px;
}

.nav-links a {
    position: relative;
    color: #dbe5ef;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.is-active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
    width: 100%;
}

/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.button-primary {
    color: var(--navy-950);
    background: var(--gold);
    box-shadow: 0 8px 22px rgba(200, 164, 93, 0.22);
}

.button-outline {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
}

.button-light {
    color: var(--navy-950);
    background: var(--white);
}

@media (hover: hover) and (pointer: fine) {
    .button:hover {
        transform: translateY(-2px);
    }

    .button-primary:hover {
        background: var(--gold-light);
    }

    .button-outline:hover {
        border-color: var(--gold);
        color: var(--gold-light);
    }

    .button-light:hover {
        background: var(--gold-light);
    }
}

/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 96px;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, rgba(45, 111, 159, 0.28), transparent 34%),
        radial-gradient(circle at 10% 80%, rgba(200, 164, 93, 0.08), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-850));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 7px 14px;
    color: var(--gold-light);
    border: 1px solid rgba(200, 164, 93, 0.35);
    border-radius: 50px;
    background: rgba(200, 164, 93, 0.07);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: clamp(34px, 5.4vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero-text {
    max-width: 640px;
    margin-bottom: 30px;
    color: #c9d6e3;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-panel {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    box-shadow: var(--shadow-lg);
}

.hero-panel-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3dcf8a;
    box-shadow: 0 0 0 4px rgba(61, 207, 138, 0.16);
}

.hero-panel h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.3;
}

.hero-panel p {
    margin-bottom: 22px;
    color: #bfcddd;
    font-size: 15px;
}

.hero-panel-line {
    height: 1px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.10);
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}

.hero-mini-grid strong {
    display: block;
    color: var(--gold-light);
    font-size: 13px;
}

.hero-mini-grid span {
    color: #d5deea;
    font-size: 13px;
    font-weight: 600;
}

/* ---------------------------------------------------------
   SECTIONS
   --------------------------------------------------------- */

.section {
    padding: 88px 0;
}

.section-light {
    background: var(--bg);
}

.section-dark {
    background:
        radial-gradient(circle at 80% 0%, rgba(45, 111, 159, 0.18), transparent 32%),
        var(--navy-900);
    color: var(--white);
}

.section-process {
    background: var(--white);
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 42px;
}

.section-heading h2,
.process-intro h2,
.trust-grid h2,
.cta h2,
.contact-section h2 {
    margin-bottom: 0;
    color: var(--navy-900);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 750;
}

.section-heading p,
.process-intro p,
.contact-lead {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.8;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-heading-dark h2,
.section-dark .section-kicker {
    color: var(--gold-light);
}

.section-heading-dark h2 {
    color: var(--white);
}

.section-heading-dark p {
    color: #c6d3df;
}

/* ---------------------------------------------------------
   ABOUT / SERVICES / SOLUTIONS
   --------------------------------------------------------- */

.about-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-card,
.service-card,
.solution-item,
.process-step,
.trust-point {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-number,
.service-icon,
.solution-item > span,
.process-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    margin-bottom: 16px;
    padding: 0 10px;
    border-radius: 12px;
    background: rgba(200, 164, 93, 0.12);
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 800;
}

.about-card h3,
.service-card h3,
.solution-item h3,
.process-step h3 {
    margin-bottom: 10px;
    color: var(--navy-900);
    font-size: 19px;
    line-height: 1.35;
}

.about-card p,
.service-card p,
.solution-item p,
.process-step p,
.trust-point p {
    margin-bottom: 0;
    color: var(--text-soft);
    font-size: 15px;
}

.section-dark .service-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.section-dark .service-card h3 {
    color: var(--white);
}

.section-dark .service-card p {
    color: #c4d1de;
}

.section-dark .service-icon {
    background: rgba(200, 164, 93, 0.14);
    color: var(--gold-light);
}

.solution-list {
    display: grid;
    gap: 14px;
}

.solution-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.solution-item > span {
    margin-bottom: 0;
}

@media (hover: hover) and (pointer: fine) {
    .about-card:hover,
    .service-card:hover,
    .solution-item:hover,
    .process-step:hover,
    .trust-point:hover,
    .contact-card:hover {
        transform: translateY(-4px);
        border-color: rgba(200, 164, 93, 0.5);
        box-shadow: var(--shadow-md);
    }
}

/* ---------------------------------------------------------
   PROCESS / TRUST / CTA
   --------------------------------------------------------- */

.process-intro {
    max-width: 680px;
    margin-bottom: 36px;
}

.process-intro h2 {
    margin-bottom: 14px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-index {
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--gold-light);
}

.trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
    align-items: start;
}

.trust-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trust-point strong {
    display: block;
    margin-bottom: 8px;
    color: var(--navy-900);
    font-size: 17px;
}

.cta {
    padding: 72px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 12% 80%, rgba(200, 164, 93, 0.12), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta .section-kicker {
    color: var(--gold-light);
}

.cta h2 {
    margin-bottom: 10px;
    color: var(--white);
}

.cta p {
    margin-bottom: 0;
    max-width: 620px;
    color: #c9d6e3;
}

/* ---------------------------------------------------------
   CONTACT — yüksek kontrast
   --------------------------------------------------------- */

.contact-section {
    color: var(--text-light);
    background:
        radial-gradient(circle at 80% 20%, rgba(45, 111, 159, 0.22), transparent 32%),
        var(--navy-900);
}

.contact-section .section-kicker {
    color: var(--gold-light);
}

.contact-section h2 {
    margin-bottom: 14px;
    color: var(--white);
}

.contact-lead {
    color: #c6d3df;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 42px;
    align-items: start;
}

.contact-card {
    padding: 28px;
    background: var(--white);
    color: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-label {
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

.contact-label::after {
    content: ":";
    margin-left: 2px;
}

.contact-row > a,
.contact-row > span:not(.contact-label) {
    color: var(--navy-900);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-row > a:hover {
    color: var(--gold-dark);
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.site-footer {
    padding: 48px 0 28px;
    color: #bdcad7;
    background: #050d18;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 0.9fr;
    gap: 28px 40px;
    align-items: start;
}

.footer-brand {
    margin-bottom: 8px;
    color: var(--gold-light);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.site-footer p {
    margin-bottom: 0;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-links {
    justify-content: center;
}

.footer-contact {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-links a,
.footer-contact a {
    color: #bdcad7;
    font-size: 14px;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #8191a1;
    font-size: 13px;
}

/* ---------------------------------------------------------
   ANIMATIONS
   --------------------------------------------------------- */

.js-ready [data-animate] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
    transition-delay: var(--animate-delay, 0ms);
}

.js-ready [data-animate].is-inview {
    opacity: 1;
    transform: none;
}

/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1100px) {
    .hero-grid,
    .section-heading,
    .trust-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-grid,
    .service-grid,
    .process-grid,
    .trust-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inner,
    .footer-links,
    .footer-contact,
    .footer-bottom {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .footer-contact {
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    :root {
        --header-h: 72px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 18px;
        background: rgba(7, 17, 31, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-md);
    }

    .site-header.is-nav-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 14px 4px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links a::after {
        display: none;
    }

    .hero,
    .section {
        padding: 64px 0;
    }

    .cta {
        padding: 56px 0;
    }
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 680px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-text strong {
        font-size: 16px;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-actions,
    .cta-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }

    .hero-panel {
        padding: 22px;
    }

    .about-grid,
    .service-grid,
    .process-grid,
    .trust-points {
        grid-template-columns: 1fr;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }

    .solution-item {
        grid-template-columns: 1fr;
    }
}

/* ---------------------------------------------------------
   ACCESSIBILITY / MOTION / PRINT
   --------------------------------------------------------- */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(200, 164, 93, 0.65);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js-ready [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .site-header,
    .nav-toggle,
    .hero-actions,
    .site-footer {
        display: none !important;
    }

    body,
    .hero,
    .section,
    .cta,
    .contact-section {
        color: #000 !important;
        background: #fff !important;
    }
}
