/* ==========================================================================
   Temiz Ordu - Özel Stiller
   Hizmet detay sayfaları, Instagram bağlantıları ve bilgi bandı.
   Tema değişkenleri (style.css): --thm-base, --thm-black, --thm-gray
   ========================================================================== */

:root {
    --to-accent: #00a8cc;
    --to-soft: #f4f8fc;
    --to-border: #e3ebf3;
    --to-whatsapp: #25d366;
    --to-instagram: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    --to-radius: 14px;
    --to-shadow: 0 12px 34px rgba(5, 41, 68, 0.08);
}

/* --------------------------------------------------------------------------
   Sayfa başlığı (Breadcrumb artık h1 kullanıyor)
   -------------------------------------------------------------------------- */
.page-header__content h1 {
    color: #ffffff;
    font-size: clamp(34px, 5vw, 60px);
    line-height: 1.1em;
    font-weight: 700;
    margin-bottom: 14px;
}

/* Ana sayfa slayt başlığı h1 (temadaki .title h2 ile aynı görünüm) */
.main-slider-one__content .title h1 {
    color: #ffffff;
    font-size: 60px;
    line-height: 1.2em;
    font-weight: 700;
}

@media only screen and (min-width: 1451px) and (max-width: 1700px) {
    .main-slider-one__content .title h1 { font-size: 50px; }
}

@media only screen and (min-width: 1200px) and (max-width: 1450px) {
    .main-slider-one__content .title h1 { font-size: 45px; }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
    .main-slider-one__content .title h1 { font-size: 40px; }
}

@media only screen and (max-width: 767px) {
    .main-slider-one__content .title h1 { font-size: 38px; }
    .main-slider-one__content .title h1 br { display: none; }
}

/* --------------------------------------------------------------------------
   Header Instagram butonu
   (Temanın .main-header__top-right-social a { width:35px } kuralından
   etkilenmemesi için kendi sarmalayıcısını kullanır.)
   -------------------------------------------------------------------------- */
/* Sağ grup sol taraftaki satır yüksekliğiyle (55px) dikeyde hizalansın */
.main-header__top-right {
    min-height: 55px;
}

.to-header-social {
    display: flex;
    align-items: center;
    margin-left: 14px;
}

/* Mavi eğik alan daraldığında saat bilgisi kesilmesin */
@media (max-width: 1399px) {
    .main-header__top-address li.to-top-hours {
        display: none;
    }
}

.to-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(45deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    box-shadow: 0 6px 16px rgba(221, 42, 123, 0.28);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.to-instagram-btn i {
    font-size: 19px;
    color: #ffffff;
}

.to-instagram-btn:hover,
.to-instagram-btn:focus-visible {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(221, 42, 123, 0.38);
}

/* --------------------------------------------------------------------------
   Instagram bağlantısı (footer)
   -------------------------------------------------------------------------- */
.to-instagram-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    color: var(--thm-black);
    background: #ffffff;
    border: 1px solid var(--to-border);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.to-instagram-pill i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 14px;
    color: #ffffff;
    background: var(--to-instagram);
}

.to-instagram-pill:hover {
    color: #dd2a7b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(221, 42, 123, 0.22);
}

.to-instagram-pill--dark {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    white-space: normal;
    line-height: 1.4;
}

.to-instagram-pill--dark:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

/* --------------------------------------------------------------------------
   Hizmet kartlarındaki "Detaylı İncele" bağlantısı
   -------------------------------------------------------------------------- */
.to-service-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--thm-base);
    transition: gap 0.25s ease, color 0.25s ease;
}

.to-service-card-link i {
    font-size: 12px;
}

.to-service-card-link:hover {
    gap: 12px;
    color: var(--to-accent);
}

.to-service-card-link--left {
    justify-content: flex-start;
    margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Bilgi bandı (eski rozet/logo bandının yerine)
   -------------------------------------------------------------------------- */
.to-highlights {
    position: relative;
    padding: 70px 0;
    background: var(--to-soft);
    border-top: 1px solid var(--to-border);
}

.to-highlights__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.to-highlights__link {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 18px;
    border-radius: var(--to-radius);
    background: #ffffff;
    border: 1px solid var(--to-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.to-highlights__link:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: var(--to-shadow);
}

.to-highlights__icon {
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 20px;
    color: var(--thm-base);
    background: rgba(0, 74, 148, 0.08);
}

.to-highlights__item:first-child .to-highlights__icon {
    color: #ffffff;
    background: var(--to-whatsapp);
}

.to-highlights__item:last-child .to-highlights__icon {
    color: #ffffff;
    background: var(--to-instagram);
}

.to-highlights__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.to-highlights__body strong {
    font-size: 15px;
    line-height: 1.3;
    color: var(--thm-black);
}

.to-highlights__body small {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--thm-gray);
}

@media (max-width: 1199px) {
    .to-highlights__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .to-highlights {
        padding: 50px 0;
    }

    .to-highlights__list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --------------------------------------------------------------------------
   Hizmet detay sayfası
   -------------------------------------------------------------------------- */
.to-service-details {
    padding-bottom: 120px;
}

.to-service-details__hero {
    position: relative;
    border-radius: var(--to-radius);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.to-service-details__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.to-service-details__hero:hover img {
    opacity: 0.9;
    transform: scale(1.04);
}

.to-service-details__hero-icon {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 38px;
    color: #ffffff;
    background: var(--thm-base);
    box-shadow: 0 10px 26px rgba(0, 74, 148, 0.35);
}

.to-service-details__content {
    margin-top: 44px;
}

.to-service-details__tagline {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thm-base);
    background: rgba(0, 74, 148, 0.08);
}

.to-service-details__title {
    margin-bottom: 14px;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.2;
    font-weight: 800;
    color: var(--thm-black);
}

.to-service-details__lead {
    margin-bottom: 22px;
    font-size: 19px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--thm-black);
}

.to-service-details__text {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.to-service-details__block {
    margin-top: 46px;
}

.to-service-details__block-title {
    position: relative;
    margin-bottom: 22px;
    padding-left: 16px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--thm-black);
}

.to-service-details__block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--thm-base), var(--to-accent));
}

.to-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.to-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--thm-black);
    background: var(--to-soft);
    border: 1px solid var(--to-border);
}

.to-check-list li i {
    flex: 0 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    font-size: 11px;
    color: #ffffff;
    background: var(--thm-base);
}

.to-service-details__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--thm-gray);
}

.to-service-details__note i {
    margin-top: 4px;
    color: var(--to-accent);
}

.to-service-details__cards {
    margin-top: 46px;
    row-gap: 24px;
}

.to-info-card {
    height: 100%;
    padding: 28px 26px;
    border-radius: var(--to-radius);
    background: #ffffff;
    border: 1px solid var(--to-border);
    box-shadow: var(--to-shadow);
}

.to-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--thm-base), var(--to-accent));
}

.to-info-card__title {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--thm-black);
}

.to-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.to-tag-list li {
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--thm-base);
    background: rgba(0, 74, 148, 0.07);
}

.to-dot-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.to-dot-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.55;
}

.to-dot-list li:last-child {
    margin-bottom: 0;
}

.to-dot-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--to-accent);
}

.to-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.to-steps__item {
    position: relative;
    padding: 26px 20px 22px;
    border-radius: var(--to-radius);
    background: var(--to-soft);
    border: 1px solid var(--to-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.to-steps__item:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: var(--to-shadow);
}

.to-steps__number {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 74, 148, 0.12);
}

.to-steps__icon {
    display: block;
    margin-bottom: 14px;
    font-size: 26px;
    color: var(--thm-base);
}

.to-steps__title {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--thm-black);
}

.to-steps__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* CTA kutusu */
.to-service-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 50px;
    padding: 34px;
    border-radius: var(--to-radius);
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--thm-base) 0%, var(--thm-black) 100%);
}

.to-service-cta::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(0, 168, 204, 0.25);
    pointer-events: none;
}

.to-service-cta__text {
    position: relative;
    z-index: 1;
    flex: 1 1 280px;
}

.to-service-cta__text h3 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.to-service-cta__text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.to-service-cta__buttons {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.to-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.to-btn i {
    font-size: 18px;
}

.to-btn:hover {
    transform: translateY(-2px);
}

.to-btn--whatsapp {
    color: #ffffff;
    background: var(--to-whatsapp);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.to-btn--whatsapp:hover {
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.to-btn--ghost {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.to-btn--ghost:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

/* Önceki / sonraki hizmet */
.to-service-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 40px;
}

.to-service-nav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--to-radius);
    font-size: 16px;
    font-weight: 700;
    color: var(--thm-black);
    background: #ffffff;
    border: 1px solid var(--to-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.to-service-nav__link small {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--thm-gray);
}

.to-service-nav__link i {
    color: var(--thm-base);
}

.to-service-nav__link:hover {
    color: var(--thm-base);
    border-color: var(--thm-base);
    box-shadow: var(--to-shadow);
}

.to-service-nav__link--next {
    justify-content: flex-end;
    text-align: right;
}

/* Kenar çubuğu */
.to-service-sidebar {
    position: sticky;
    top: 30px;
}

.to-service-sidebar .service-details__sidebar {
    padding: 32px 24px 36px;
    border-radius: var(--to-radius);
    overflow: hidden;
}

.to-service-sidebar .service-details__sidebar-list-item {
    margin-bottom: 8px;
}

.to-service-sidebar .service-details__sidebar-list-item a {
    padding: 10px 18px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    text-transform: none;
}

.to-contact-card {
    margin-top: 24px;
    padding: 30px 24px;
    border-radius: var(--to-radius);
    background: #ffffff;
    border: 1px solid var(--to-border);
    box-shadow: var(--to-shadow);
}

.to-contact-card__title {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--thm-black);
}

.to-contact-card__text {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.to-contact-card__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--thm-black);
    border-top: 1px solid var(--to-border);
    transition: color 0.2s ease;
}

.to-contact-card__row small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--thm-gray);
}

.to-contact-card__row:hover {
    color: var(--thm-base);
}

.to-contact-card__icon {
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 17px;
    color: #ffffff;
    background: var(--thm-base);
}

.to-contact-card__icon--whatsapp {
    background: var(--to-whatsapp);
}

.to-contact-card__icon--instagram {
    background: var(--to-instagram);
}

@media (max-width: 991px) {
    .to-service-sidebar {
        position: static;
        margin-top: 50px;
    }

    .to-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .to-service-details {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .to-check-list,
    .to-service-nav {
        grid-template-columns: 1fr;
    }

    .to-service-cta {
        padding: 26px 22px;
    }

    .to-service-details__hero-icon {
        width: 58px;
        height: 58px;
        font-size: 30px;
        left: 16px;
        bottom: 16px;
    }
}

@media (max-width: 479px) {
    .to-steps {
        grid-template-columns: 1fr;
    }

    .to-btn {
        width: 100%;
        justify-content: center;
    }
}
