:root {
    --sp-bg: #0f0a1a;
    --sp-surface: rgba(255, 255, 255, 0.06);
    --sp-surface-2: rgba(255, 255, 255, 0.09);
    --sp-border: rgba(255, 255, 255, 0.14);

    --sp-text: rgba(255, 255, 255, 0.92);
    --sp-text-muted: rgba(255, 255, 255, 0.72);

    /* Koyu lila/mor ana renk + turuncu vurgu */
    --sp-primary: #6f2dbd;
    --sp-primary-2: #3b136f;
    --sp-accent: #ff8a00;
    --sp-accent-2: #ffb24a;

    --sp-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(900px 700px at 12% 12%, rgba(111, 45, 189, 0.35), transparent 60%),
        radial-gradient(700px 600px at 90% 20%, rgba(255, 138, 0, 0.18), transparent 55%),
        radial-gradient(900px 800px at 50% 110%, rgba(59, 19, 111, 0.55), transparent 55%),
        var(--sp-bg);
    color: var(--sp-text);
}

a {
    color: var(--sp-accent-2);
}

a:hover {
    color: var(--sp-accent);
}

.hero {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-2) 68%, rgba(255, 138, 0, 0.26) 100%);
    color: var(--sp-text);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--sp-shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(111, 45, 189, 0.25);
}

.placeholder-media {
    aspect-ratio: 16 / 9;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.12) 10px,
        rgba(255, 255, 255, 0.08) 10px,
        rgba(255, 255, 255, 0.08) 20px
    );
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sp-text-muted);
    font-weight: 600;
}

/* Bootstrap override'ları (style.css bootstrap'tan sonra yüklendiği için geçerli) */
header.sticky-top {
    backdrop-filter: blur(10px);
    background: rgba(15, 10, 26, 0.75) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-link:hover {
    color: var(--sp-accent-2) !important;
}

.sp-nav-dropdown .dropdown-menu {
    background: rgba(15, 10, 26, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: var(--sp-shadow);
}

.sp-nav-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
}

.sp-nav-dropdown .dropdown-item:hover {
    background: rgba(111, 45, 189, 0.35);
    color: #fff;
}

@media (min-width: 992px) {
    .sp-nav-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--sp-primary), var(--sp-primary-2)) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 0 10px 22px rgba(111, 45, 189, 0.35);
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-outline-secondary {
    color: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.card,
.card.card-body {
    background: var(--sp-surface) !important;
    border: 1px solid var(--sp-border) !important;
    color: var(--sp-text) !important;
}

.lead,
.text-muted,
.small {
    color: var(--sp-text-muted) !important;
}

.media-card {
    border-radius: 0.85rem;
    overflow: hidden;
    background: var(--sp-surface-2);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.sp-service-figure {
    margin: 0;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.sp-service-figure img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.sp-map-wrap {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.25);
}

.sp-map-frame {
    display: block;
    width: 100%;
    min-height: 380px;
    border: 0;
}

.sp-map-address-badge {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    max-width: min(90%, 520px);
    padding: 0.55rem 0.8rem;
    border-radius: 0.5rem;
    background: rgba(15, 10, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.35;
    backdrop-filter: blur(4px);
}

.sp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.sp-gallery-item {
    position: relative;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.sp-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.sp-gallery-item:hover img {
    transform: scale(1.05);
}

.sp-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    color: #fff;
    font-size: 0.9rem;
}

.sp-video-thumb {
    position: relative;
    display: block;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.sp-video-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sp-video-thumb::after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.2rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
}

.sp-video-embed {
    width: 100%;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #000;
    aspect-ratio: 16 / 9;
}

footer.bg-dark {
    background: rgba(15, 10, 26, 0.92) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Mobil: alt sabit Ara + WhatsApp (footer sonrası) */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 4.75rem;
    }
}

.sp-mobile-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    padding-bottom: max(0.65rem, env(safe-area-inset-bottom));
    background: rgba(15, 10, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35);
}

.sp-mobile-contact__btn {
    flex: 1;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 0.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-mobile-contact__btn--call {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.sp-mobile-contact__btn--call:hover {
    filter: brightness(1.08);
    color: #fff !important;
}

.sp-mobile-contact__btn--wa {
    background: linear-gradient(135deg, #128c7e, #075e54);
}

.sp-mobile-contact__btn--wa:hover {
    filter: brightness(1.08);
    color: #fff !important;
}
