/* ==========================================================================
   Pola Yapı — kurumsal tema
   Renkler logodan ölçüldü: lacivert #2F2484, turkuaz #009881
   ========================================================================== */

:root {
    --pola-lacivert: #2F2484;
    --pola-lacivert-koyu: #221A63;
    --pola-lacivert-acik: #453A9C;
    --pola-turkuaz: #009881;
    --pola-turkuaz-koyu: #007A68;
    --pola-turkuaz-acik: #00B89C;

    --pola-metin: #2E3338;
    --pola-metin-soluk: #6B7280;
    --pola-zemin: #F5F6F8;
    --pola-cizgi: #E3E6EB;
    --pola-whatsapp: #25D366;

    --pola-golge: 0 2px 12px rgba(47, 36, 132, .08);
    --pola-golge-orta: 0 8px 28px rgba(47, 36, 132, .12);
    --pola-radius: 10px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pola-metin);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pola-lacivert);
    font-weight: 700;
    letter-spacing: -.01em;
}

a {
    color: var(--pola-turkuaz-koyu);
    text-decoration: none;
    transition: color .18s ease;
}

a:hover {
    color: var(--pola-lacivert);
}

/* Klavye ile gezinenler için görünür odak halkası */
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
    outline: 3px solid var(--pola-turkuaz);
    outline-offset: 2px;
}

/* --------------------------------------------------------------- Butonlar */

.btn-pola {
    background-color: var(--pola-lacivert);
    border: 2px solid var(--pola-lacivert);
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: var(--pola-radius);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn-pola:hover,
.btn-pola:focus {
    background-color: var(--pola-lacivert-koyu);
    border-color: var(--pola-lacivert-koyu);
    color: #fff;
    transform: translateY(-1px);
}

.btn-pola-turkuaz {
    background-color: var(--pola-turkuaz);
    border: 2px solid var(--pola-turkuaz);
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: var(--pola-radius);
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.btn-pola-turkuaz:hover,
.btn-pola-turkuaz:focus {
    background-color: var(--pola-turkuaz-koyu);
    border-color: var(--pola-turkuaz-koyu);
    color: #fff;
    transform: translateY(-1px);
}

.btn-pola-cizgi {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    font-weight: 600;
    padding: .65rem 1.6rem;
    border-radius: var(--pola-radius);
    transition: background-color .18s ease, color .18s ease;
}

.btn-pola-cizgi:hover,
.btn-pola-cizgi:focus {
    background-color: #fff;
    color: var(--pola-lacivert);
}

/* ----------------------------------------------------------------- Header */

.pola-header {
    background: #fff;
    box-shadow: var(--pola-golge);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.pola-ust-serit {
    background: var(--pola-lacivert);
    color: rgba(255, 255, 255, .9);
    font-size: .875rem;
    padding: .5rem 0;
}

.pola-ust-serit a {
    color: rgba(255, 255, 255, .9);
}

.pola-ust-serit a:hover {
    color: #fff;
}

.pola-logo img {
    height: 58px;
    width: auto;
}

.pola-nav .nav-link {
    color: var(--pola-lacivert);
    font-weight: 600;
    padding: .5rem 1rem;
    position: relative;
}

.pola-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .25rem;
    height: 2px;
    background: var(--pola-turkuaz);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.pola-nav .nav-link:hover::after,
.pola-nav .nav-link.aktif::after {
    transform: scaleX(1);
}

.pola-nav .nav-link.aktif {
    color: var(--pola-turkuaz-koyu);
}

/* ------------------------------------------------------------------- Hero */

.pola-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--pola-lacivert) 0%, var(--pola-lacivert-koyu) 55%, #17124A 100%);
    color: #fff;
    overflow: hidden;
}

.pola-hero::after {
    /* Köşedeki çatı formu — logodaki üçgeni yankılar */
    content: "";
    position: absolute;
    right: -6%;
    bottom: -30%;
    width: 55%;
    height: 150%;
    background: var(--pola-turkuaz);
    opacity: .13;
    transform: rotate(28deg);
    pointer-events: none;
}

.pola-hero h1,
.pola-hero h2 {
    color: #fff;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    line-height: 1.15;
}

.pola-hero .pola-hero-alt {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, .85);
    max-width: 46rem;
}

.pola-hero-etiket {
    display: inline-block;
    background: rgba(0, 152, 129, .22);
    border: 1px solid var(--pola-turkuaz-acik);
    color: #fff;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
    padding: .4rem 1rem;
    border-radius: 100px;
}

.pola-hero-gorsel {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
}

.pola-hero-icerik {
    position: relative;
    z-index: 2;
}

.carousel-item .pola-hero {
    min-height: 560px;
}

/* --------------------------------------------------------------- Bölümler */

.pola-bolum {
    padding: 5rem 0;
}

.pola-bolum-gri {
    background: var(--pola-zemin);
}

.pola-bolum-baslik {
    margin-bottom: 3rem;
}

.pola-bolum-baslik .pola-ust-etiket {
    color: var(--pola-turkuaz);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
    display: block;
    margin-bottom: .5rem;
}

.pola-bolum-baslik h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    margin-bottom: .75rem;
}

.pola-bolum-baslik p {
    color: var(--pola-metin-soluk);
    max-width: 42rem;
}

.pola-bolum-baslik.text-center p {
    margin-left: auto;
    margin-right: auto;
}

/* ------------------------------------------------------------------ Kart */

.pola-kart {
    background: #fff;
    border: 1px solid var(--pola-cizgi);
    border-radius: var(--pola-radius);
    overflow: hidden;
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pola-kart:hover {
    transform: translateY(-4px);
    box-shadow: var(--pola-golge-orta);
}

.pola-kart-gorsel {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--pola-lacivert) 0%, var(--pola-lacivert-acik) 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.pola-kart-govde {
    padding: 1.5rem;
}

.pola-kart-govde h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
}

.pola-kart-govde p {
    color: var(--pola-metin-soluk);
    font-size: .95rem;
    margin-bottom: 0;
}

.pola-rozet {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--pola-turkuaz);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 100px;
}

.pola-hizmet-ikon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(0, 152, 129, .12);
    color: var(--pola-turkuaz);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.pola-hizmet-ikon svg {
    width: 28px;
    height: 28px;
}

/* -------------------------------------------------------------- Boş durum */

.pola-bos {
    border: 2px dashed var(--pola-cizgi);
    border-radius: var(--pola-radius);
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--pola-metin-soluk);
    background: #fff;
}

.pola-bos svg {
    width: 40px;
    height: 40px;
    color: var(--pola-cizgi);
    margin-bottom: .75rem;
}

/* ------------------------------------------------------- Referans şeridi */

.pola-referans-serit {
    background: #fff;
    border-top: 1px solid var(--pola-cizgi);
    padding: 3rem 0;
}

.pola-referans-baslik {
    text-align: center;
    margin-bottom: 2rem;
}

.pola-referans-baslik span {
    color: var(--pola-turkuaz);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .8rem;
}

.pola-referans-baslik h2 {
    font-size: 1.5rem;
    margin-top: .35rem;
}

.pola-referans-liste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 3rem;
}

.pola-referans-oge img {
    max-height: 52px;
    max-width: 150px;
    width: auto;
    filter: grayscale(100%);
    opacity: .6;
    transition: filter .2s ease, opacity .2s ease;
}

.pola-referans-oge:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ----------------------------------------------------------------- Footer */

.pola-footer {
    background: var(--pola-lacivert);
    color: rgba(255, 255, 255, .75);
    padding: 4rem 0 0;
}

.pola-footer h3 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.pola-footer a {
    color: rgba(255, 255, 255, .75);
}

.pola-footer a:hover {
    color: var(--pola-turkuaz-acik);
}

.pola-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pola-footer ul li {
    margin-bottom: .6rem;
}

.pola-footer-logo {
    background: #fff;
    border-radius: var(--pola-radius);
    padding: .75rem 1rem;
    display: inline-block;
    margin-bottom: 1.25rem;
}

.pola-footer-logo img {
    height: 54px;
    width: auto;
}

.pola-iletisim-satir {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin-bottom: .9rem;
}

.pola-iletisim-satir svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: .2rem;
    color: var(--pola-turkuaz-acik);
}

.pola-sosyal {
    display: flex;
    gap: .6rem;
    margin-top: 1.25rem;
}

.pola-sosyal a {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .18s ease;
}

.pola-sosyal a:hover {
    background: var(--pola-turkuaz);
}

.pola-sosyal svg {
    width: 18px;
    height: 18px;
}

.pola-footer-alt {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 3rem;
    padding: 1.25rem 0;
    font-size: .875rem;
}

/* ------------------------------------------------------- WhatsApp butonu */

.pola-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--pola-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .45);
    z-index: 1040;
    transition: transform .2s ease;
}

.pola-whatsapp:hover {
    color: #fff;
    transform: scale(1.07);
}

.pola-whatsapp svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
}

/* "Bizimle iletişime geçin" etiketi — masaüstünde hover'da açılır */
.pola-whatsapp-etiket {
    position: absolute;
    right: 68px;
    background: #fff;
    color: var(--pola-lacivert);
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    padding: .55rem 1rem;
    border-radius: 8px;
    box-shadow: var(--pola-golge-orta);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.pola-whatsapp-etiket::after {
    content: "";
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid #fff;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.pola-whatsapp:hover .pola-whatsapp-etiket,
.pola-whatsapp:focus .pola-whatsapp-etiket {
    opacity: 1;
    transform: translateX(0);
}

/* Üst şerit sosyal ikonları */
.pola-ust-sosyal a {
    display: inline-flex;
    opacity: .85;
    transition: opacity .15s ease;
}

.pola-ust-sosyal a:hover {
    opacity: 1;
}

/* Dar ekranda etiketi kalıcı gösterme (dokunmatikte hover yok) */
@media (max-width: 575.98px) {
    .pola-whatsapp-etiket { display: none; }
}

/* Dikkat çeken hafif nabız — hareket hassasiyeti olanlarda kapatılır */
.pola-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--pola-whatsapp);
    opacity: .45;
    animation: pola-nabiz 2.4s ease-out infinite;
}

@keyframes pola-nabiz {
    0% { transform: scale(1); opacity: .45; }
    70% { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .pola-whatsapp::before { animation: none; }

    .pola-kart:hover,
    .btn-pola:hover,
    .btn-pola-turkuaz:hover,
    .pola-whatsapp:hover { transform: none; }
}

/* ---------------------------------------------------------- Sayfa başlığı */

.pola-sayfa-basligi {
    background: linear-gradient(135deg, var(--pola-lacivert) 0%, var(--pola-lacivert-koyu) 100%);
    color: #fff;
    padding: 3.5rem 0;
}

.pola-sayfa-basligi h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: .5rem;
}

.pola-sayfa-basligi .breadcrumb {
    margin-bottom: 0;
}

.pola-sayfa-basligi .breadcrumb-item,
.pola-sayfa-basligi .breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
}

.pola-sayfa-basligi .breadcrumb-item.active {
    color: var(--pola-turkuaz-acik);
}

.pola-sayfa-basligi .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .45);
}

/* ------------------------------------------------------------------ Form */

.pola-form .form-label {
    font-weight: 600;
    color: var(--pola-lacivert);
    font-size: .92rem;
}

.pola-form .form-control {
    border: 1px solid var(--pola-cizgi);
    border-radius: 8px;
    padding: .7rem .9rem;
}

.pola-form .form-control:focus {
    border-color: var(--pola-turkuaz);
    box-shadow: 0 0 0 .2rem rgba(0, 152, 129, .15);
}

/* --------------------------------------------------------------- Detaylar */

.pola-icerik img {
    max-width: 100%;
    height: auto;
    border-radius: var(--pola-radius);
}

.pola-galeri-gorsel {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    border-radius: var(--pola-radius);
}

.pola-bilgi-tablosu {
    background: var(--pola-zemin);
    border-radius: var(--pola-radius);
    padding: 1.5rem;
}

.pola-bilgi-tablosu dt {
    color: var(--pola-metin-soluk);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.pola-bilgi-tablosu dd {
    color: var(--pola-metin);
    font-weight: 600;
    margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
    .pola-bolum { padding: 3.5rem 0; }
    .pola-hero, .carousel-item .pola-hero { min-height: 460px; }
    .pola-logo img { height: 46px; }
}
