/* ============================================================
   SALİHLİ LASTİKÇİ - ANA STİL DOSYASI
   Vanilla CSS | Mobile-first | BEM benzeri isimlendirme
   ============================================================ */

/* ===================== CSS CUSTOM PROPERTIES ===================== */
:root {
    /* Renkler */
    --color-black: #111111;
    --color-black-2: #1a1a1a;
    --color-white: #ffffff;
    --color-light: #f5f5f5;
    --color-orange: #ff6b00;
    --color-orange-light: #ff8c00;
    --color-red: #dc2626;
    --color-red-light: #ef4444;
    --color-gray-dark: #4a5568;
    --color-gray: #6b7280;
    --color-gray-light: #e5e7eb;
    --color-whatsapp: #25d366;
    --color-whatsapp-dark: #1da851;

    /* Tipografi */
    --font-heading: 'Poppins', system-ui, sans-serif;
    --font-body: 'Open Sans', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;

    /* Container */
    --container-max: 1200px;
    --container-pad: 20px;

    /* Diğer */
    --header-height: 70px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.18);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================== RESET & BASE ===================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black-2);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* ===================== UTILITY ===================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
}

.section {
    padding: var(--space-2xl) 0;
}

.section--dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===================== SECTION BAŞLIKLARI ===================== */
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-xl);
}

.section__eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
}

.section__eyebrow--light {
    color: var(--color-orange-light);
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--space-sm);
}

.section__title--light {
    color: var(--color-white);
}

.section__subtitle {
    color: var(--color-gray-dark);
    font-size: 1.05rem;
}

/* ===================== BUTONLAR ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn i {
    font-size: 1.05rem;
}

.btn--call {
    background-color: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.btn--call:hover {
    background-color: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.45);
}

.btn--whatsapp {
    background-color: var(--color-whatsapp);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background-color: var(--color-whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn--danger {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.btn--danger:hover {
    background-color: var(--color-red-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 38, 38, 0.45);
}

.btn--ghost {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ===================== HEADER / NAVBAR ===================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.navbar {
    height: var(--header-height);
    transition: background-color var(--transition);
}

.header--scrolled .navbar {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-md);
}

/* Logo */
.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--color-white);
}

.navbar__logo-icon {
    color: var(--color-orange);
    font-size: 1.5rem;
}

.navbar__logo-text strong {
    color: var(--color-orange);
}

/* Masaüstü menü */
.navbar__menu {
    display: none;
    gap: var(--space-md);
}

.navbar__link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--color-white);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition);
}

.navbar__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange);
    transition: width var(--transition);
}

.navbar__link:hover {
    color: var(--color-orange-light);
}

.navbar__link:hover::after {
    width: 100%;
}

.navbar__link--active {
    color: var(--color-orange);
}

.navbar__link--active::after {
    width: 100%;
}

/* Actions */
.navbar__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.navbar__phone {
    padding: 10px 18px;
    font-size: 0.92rem;
}

.navbar__phone span {
    display: none;
}

/* Hamburger */
.navbar__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
}

.navbar__toggle-bar {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--color-white);
    border-radius: 2px;
    margin: 0 auto;
    transition: transform var(--transition), opacity var(--transition);
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========== HERO SLIDESHOW ========== */
.hero-slider { position:relative; width:100%; height:100vh; min-height:550px; overflow:hidden; background:#000; }
.hero-wrapper { position:relative; width:100%; height:100%; }
.hero-item { position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; z-index:0; transition:opacity 0.8s ease; }
.hero-item.active { opacity:1; z-index:1; }
.hero-item img { position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; }
.hero-gradient { position:absolute; inset:0; background:linear-gradient(to bottom,rgba(0,0,0,0.3),rgba(0,0,0,0.8)); z-index:2; }
.hero-text { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:3; text-align:center; width:90%; max-width:800px; color:#fff; }
.hero-live { display:inline-flex; align-items:center; gap:8px; background:rgba(0,0,0,0.5); padding:6px 16px; border-radius:50px; font-size:14px; font-weight:600; margin-bottom:20px; }
.hero-dot { width:10px; height:10px; background:#22c55e; border-radius:50%; animation:dotPulse 1.6s infinite; }
@keyframes dotPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.7)} }
.hero-title { font-family:'Poppins',sans-serif; font-size:clamp(2rem,6vw,4rem); font-weight:800; margin-bottom:16px; text-shadow:2px 4px 16px rgba(0,0,0,0.8); line-height:1.15; }
.hero-desc { font-size:clamp(1rem,2vw,1.2rem); margin-bottom:28px; text-shadow:1px 2px 6px rgba(0,0,0,0.6); opacity:0.95; }
.hero-cta { display:inline-block; padding:16px 40px; border-radius:50px; font-size:1.1rem; font-weight:700; color:#fff; text-decoration:none; transition:transform .3s,box-shadow .3s; }
.hero-cta:hover { transform:scale(1.05); }
.hero-cta--orange { background:#ff6b00; }
.hero-cta--green { background:#25d366; }
.hero-cta--red { background:#dc2626; animation:redPulse 2s infinite; }
.hero-cta--blue { background:#2563eb; }
@keyframes redPulse { 0%,100%{box-shadow:0 4px 20px rgba(220,38,38,0.4)} 50%{box-shadow:0 4px 40px rgba(220,38,38,0.8)} }
.hero-dots { position:absolute; bottom:24px; left:50%; transform:translateX(-50%); z-index:10; display:flex; gap:10px; }
.hero-dot-nav { width:12px; height:12px; border-radius:50%; border:2px solid #fff; cursor:pointer; transition:background .3s; }
.hero-dot-nav.active { background:#ff6b00; border-color:#ff6b00; }
@media(max-width:767px){ .hero-slider{min-height:500px;height:100dvh} .hero-cta{width:100%;text-align:center;padding:14px 20px;font-size:1rem} }

/* ===================== HİZMETLER ===================== */
.services {
    background-color: var(--color-light);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.service-card {
    position: relative;
    background-color: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-orange-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card--accent {
    border: 2px solid var(--color-red);
}

.service-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 50px;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: var(--space-md);
    transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
    transform: rotate(-6deg) scale(1.05);
}

.service-card__icon--danger {
    background: linear-gradient(135deg, var(--color-red), var(--color-red-light));
}

.service-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.service-card__text {
    color: var(--color-gray-dark);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-orange);
    font-size: 0.95rem;
    transition: gap var(--transition), color var(--transition);
}

.service-card__link:hover {
    gap: 14px;
    color: var(--color-orange-light);
}

.service-card__link--danger {
    color: var(--color-red);
}

.service-card__link--danger:hover {
    color: var(--color-red-light);
}

/* ===================== HAKKIMIZDA ===================== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.about__text {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-md);
    font-size: 1.02rem;
}

.about__text strong {
    color: var(--color-orange-light);
}

.about__features-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-orange);
    display: inline-block;
}

.features__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background-color: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-orange);
    transition: background-color var(--transition), transform var(--transition);
}

.features__item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateX(6px);
}

.features__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 107, 0, 0.15);
    color: var(--color-orange);
    font-size: 1.2rem;
}

.features__icon--danger {
    background-color: rgba(220, 38, 38, 0.15);
    color: var(--color-red-light);
}

.features__name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.features__desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* ===================== GOOGLE MAPS ===================== */
.map {
    position: relative;
}

.map__iframe-wrap {
    width: 100%;
    line-height: 0;
}

.map__iframe-wrap iframe {
    display: block;
    filter: grayscale(0.2) contrast(1.05);
}

.map__overlay {
    position: relative;
    margin-top: -90px;
    z-index: 5;
    padding-bottom: var(--space-lg);
}

.map__card {
    background-color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-width: 420px;
    border-top: 4px solid var(--color-orange);
}

.map__card-head {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.map__card-head i {
    font-size: 2rem;
    color: var(--color-orange);
}

.map__card-title {
    font-size: 1.3rem;
    margin-bottom: 4px;
}

.map__card-text {
    color: var(--color-gray-dark);
    font-size: 0.95rem;
    margin: 0;
}

/* ===================== FOOTER ===================== */
.footer {
    background-color: var(--color-black);
    color: rgba(255, 255, 255, 0.8);
    padding-top: var(--space-2xl);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer__logo i {
    color: var(--color-orange);
    font-size: 1.5rem;
}

.footer__logo strong {
    color: var(--color-orange);
}

.footer__about {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-md);
    line-height: 1.7;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    font-size: 1.1rem;
    transition: background-color var(--transition), transform var(--transition);
}

.footer__social-link:hover {
    background-color: var(--color-orange);
    transform: translateY(-3px);
}

.footer__title {
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 10px;
}

.footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background-color: var(--color-orange);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer__list-item i {
    color: var(--color-orange);
    width: 18px;
    text-align: center;
}

.footer__list-item a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
}

.footer__list-item a:hover {
    color: var(--color-orange-light);
}

.footer__list--hours .footer__list-item {
    justify-content: space-between;
    font-weight: 600;
}

.footer__list--hours .footer__list-item span:first-child {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.footer__list-item--accent {
    color: var(--color-orange-light) !important;
    font-weight: 600;
    background-color: rgba(255, 107, 0, 0.1);
    padding: 10px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-orange);
    justify-content: flex-start !important;
}

.footer__list-item--accent i {
    color: var(--color-orange-light);
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition), padding-left var(--transition);
    font-size: 0.92rem;
}

.footer__link:hover {
    color: var(--color-orange-light);
    padding-left: 6px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) 0;
    font-size: 0.85rem;
}

.footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
}

.footer__bottom a {
    color: var(--color-orange-light);
}

/* ===================== SABİT MOBİL BUTONLAR ===================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: filter var(--transition);
}

.sticky-cta__btn:active {
    filter: brightness(0.85);
}

.sticky-cta__btn--call {
    background-color: var(--color-orange);
}

.sticky-cta__btn--whatsapp {
    background-color: var(--color-whatsapp);
}

.sticky-cta__btn i {
    font-size: 1.2rem;
}

/* ===================== SCROLL ANİMASYONLARI (Reveal) ===================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== RESPONSIVE: 576px ===================== */
@media (min-width: 576px) {
    :root {
        --container-pad: 28px;
    }

    .navbar__phone span {
        display: inline;
    }

    .footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ===================== RESPONSIVE: 768px ===================== */
@media (min-width: 768px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .about__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .footer__col--brand {
        grid-column: span 2;
    }

    .sticky-cta {
        display: none;
    }
}

/* ===================== RESPONSIVE: 1024px ===================== */
@media (min-width: 1024px) {
    .navbar__menu {
        display: flex;
    }

    .navbar__toggle {
        display: none;
    }

    .navbar__menu--mobile-open {
        display: none !important;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer__col--brand {
        grid-column: auto;
    }

    .section {
        padding: var(--space-2xl) 0;
    }
}

/* ===================== MOBİL MENÜ (Açık durum) ===================== */
@media (max-width: 1023px) {
    .navbar__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-lg) var(--container-pad);
        gap: var(--space-sm);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform var(--transition);
        display: flex;
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
    }

    .navbar__menu--open {
        transform: translateY(0);
    }

    .navbar__link {
        display: block;
        padding: 14px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar__link::after {
        display: none;
    }
}

/* ===================== Erişilebilirlik: prefers-reduced-motion ===================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
