/*
 * location.css — Lokasyon sayfaları için paylaşımlı stil
 * Yeni lokasyon eklerken bu dosyayı referans alın
 * Sayfa özeline ait stiller: ilgili sayfanın kendi <style> bloğu içinde yapılabilir
 */

/* body override — lokasyon sayfaları scroll edilebilir olmalı */
body.location-page {
    display: block;
    padding: 0;
    padding-bottom: 70px; /* mobile sticky bar için alan */
    justify-content: initial;
    align-items: initial;
}

/* ─── STICKY HEADER ─────────────────────────────── */
.loc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 2rem;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.loc-logo img {
    height: 48px;
    width: auto;
}

/* header call button */
.loc-header-cta {
    text-decoration: none;
    background: var(--primary-red);
    color: #fff;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.loc-header-cta:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* ─── SHARED CONTAINER ───────────────────────────── */
.loc-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── HERO SECTION ───────────────────────────────── */
.loc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* breadcrumb (~36px) + header (~70px) = ~106px */
    padding: 5rem 1.5rem 5rem;
}

.loc-hero-inner {
    position: relative;
    z-index: 10;
    animation: fadeInUp 0.9s ease-out both;
}

/* location badge */
.loc-badge {
    display: inline-block;
    background: rgba(158, 33, 33, 0.25);
    border: 1px solid rgba(158, 33, 33, 0.6);
    color: #ffaaaa;
    padding: 0.4rem 1.3rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.loc-hero h1 {
    font-size: clamp(2.2rem, 7vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #ffffff 40%, #888888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.loc-subtitle {
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 2.8rem;
    letter-spacing: 0.04em;
}

.loc-hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── BUTTONS ────────────────────────────────────── */

/* call button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--primary-red);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 22px rgba(158, 33, 33, 0.5);
    white-space: nowrap;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 7px 28px rgba(158, 33, 33, 0.65);
}

/* whatsapp button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 22px rgba(37, 211, 102, 0.4);
    white-space: nowrap;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 7px 28px rgba(37, 211, 102, 0.55);
}

.btn-large {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
}

/* ─── TRUST BADGES ───────────────────────────────── */
.loc-trust {
    position: relative;
    z-index: 10;
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary-red);
    filter: drop-shadow(0 0 8px rgba(158, 33, 33, 0.55));
}

.trust-item span {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

/* ─── SERVICES SECTION ───────────────────────────── */
.loc-services {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.55);
}

.loc-services h2,
.loc-areas h2,
.loc-contact h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 640px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    padding: 0.9rem 1.3rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
}

.service-list li:hover {
    background: rgba(158, 33, 33, 0.14);
    border-color: rgba(158, 33, 33, 0.35);
}

.service-list li i {
    color: var(--primary-red);
    font-size: 0.95rem;
    flex-shrink: 0;
}

/* ─── IMAGE SECTION ──────────────────────────────── */
.loc-image-section {
    position: relative;
    z-index: 10;
    padding: 0 0 4rem;
    background: rgba(0, 0, 0, 0.55);
}

.loc-crane-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.7);
    display: block;
}

/* ─── AREAS SECTION ──────────────────────────────── */
.loc-areas {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.loc-areas-desc {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 520px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    background: rgba(158, 33, 33, 0.1);
    border: 1px solid rgba(158, 33, 33, 0.3);
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.area-item:hover {
    background: rgba(158, 33, 33, 0.2);
}

.area-item i {
    color: var(--primary-red);
}

/* ─── CONTACT / CTA SECTION ──────────────────────── */
.loc-contact {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.loc-contact > .loc-container > p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* main phone number */
.loc-phone-display {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
    transition: color 0.2s;
    line-height: 1;
}

.loc-phone-display:hover {
    color: var(--primary-red);
}

.loc-phone-display i {
    color: var(--primary-red);
    font-size: 0.75em;
    filter: drop-shadow(0 0 8px rgba(158, 33, 33, 0.6));
}

.loc-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── BREADCRUMB ─────────────────────────────────── */
.loc-breadcrumb {
    position: relative;
    z-index: 10;
    padding: 0.6rem 0;
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    /* header'ın altında konumlanır */
    margin-top: 70px;
}

.loc-breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.04em;
}

.loc-breadcrumb li + li::before {
    content: "›";
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
}

.loc-breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.loc-breadcrumb a:hover {
    color: var(--primary-red);
}

.loc-breadcrumb [aria-current="page"] {
    color: rgba(255, 255, 255, 0.7);
}

/* ─── SERVICE DESCRIPTION PARAGRAPH ─────────────── */
.loc-service-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 640px;
}

/* ─── RELATED PAGES SECTION ─────────────────────── */
.loc-related {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.loc-related h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.9rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.8rem;
    background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* related page link card */
.related-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.related-item i {
    color: var(--primary-red);
    flex-shrink: 0;
}

.related-item:hover {
    background: rgba(158, 33, 33, 0.15);
    border-color: rgba(158, 33, 33, 0.4);
    color: #fff;
}

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

/* ─── FAQ SECTION ────────────────────────────────── */
.loc-faq {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.loc-faq h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 720px;
}

/* faq accordion — native <details> element */
.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item[open] {
    border-color: rgba(158, 33, 33, 0.4);
    background: rgba(158, 33, 33, 0.07);
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* custom arrow */
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary-red);
    flex-shrink: 0;
    transition: transform 0.25s;
    line-height: 1;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    color: #fff;
}

.faq-item p {
    padding: 0 1.4rem 1.2rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.faq-item p a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 700;
}

.faq-item p a:hover {
    text-decoration: underline;
}

/* ─── FOOTER ─────────────────────────────────────── */
.loc-footer {
    position: relative;
    z-index: 10;
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.loc-footer p {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.78rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.loc-footer a {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    font-size: 0.78rem;
    transition: color 0.2s;
    letter-spacing: 0.05em;
}

.loc-footer a:hover {
    color: var(--primary-red);
}

/* ─── MOBILE STICKY BAR ──────────────────────────── */
.mobile-sticky-bar {
    display: none; /* masaüstünde gizli */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 64px;
}

.sticky-call,
.sticky-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 50%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: filter 0.2s;
}

.sticky-call {
    background: var(--primary-red);
}

.sticky-whatsapp {
    background: #25D366;
}

.sticky-call:active,
.sticky-whatsapp:active {
    filter: brightness(0.9);
}

/* ─── RESPONSIVE ─────────────────────────────────── */

@media (max-width: 768px) {
    body.location-page {
        padding-bottom: 64px;
    }

    /* mobile sticky bar göster */
    .mobile-sticky-bar {
        display: flex;
    }

    .loc-header {
        padding: 0.75rem 1rem;
    }

    .loc-logo img {
        height: 36px;
    }

    .loc-header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .loc-breadcrumb {
        margin-top: 58px; /* mobile header yüksekliği */
    }

    .loc-hero {
        padding: 4rem 1rem 3rem;
        min-height: 90vh;
    }

    .trust-item span {
        font-size: 0.75rem;
    }

    .area-grid {
        max-width: 100%;
    }

    .loc-phone-display {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .loc-hero-btns,
    .loc-cta-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-whatsapp {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .trust-grid {
        gap: 0.25rem;
    }

    .trust-item {
        padding: 1rem 0.4rem;
    }
}
