/* ==========================================================================
   Köyceğiz Parke — projeye özel stiller
   Şablon CSS'lerinin üzerine yazar; tema dosyaları değiştirilmez.
   ========================================================================== */

/* --- Sabit WhatsApp butonu ------------------------------------------------ */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover,
.wa-float:focus {
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .45);
}

@media (max-width: 767px) {
    .wa-float {
        right: 16px;
        bottom: 16px;
        width: 50px;
        height: 50px;
    }

    .wa-float svg {
        width: 26px;
        height: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float {
        transition: none;
    }

    .wa-float:hover,
    .wa-float:focus {
        transform: none;
    }
}

/* --- Form sonuç mesajı ---------------------------------------------------- */
.form-result {
    margin-top: 18px;
    min-height: 1.5em;
    font-size: 15px;
}

.form-result.form-ok {
    color: #25d366;
}

.form-result.form-error {
    color: #ff6b6b;
}

/* --- Galeri --------------------------------------------------------------- */
.gallery-filter {
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.gallery-filter li {
    display: inline-block;
    margin: 0 6px 10px 0;
}

.gallery-filter button {
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    background: transparent;
    color: inherit;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.gallery-filter button:hover,
.gallery-filter button:focus-visible {
    border-color: rgba(255, 255, 255, .6);
}

.gallery-filter button[aria-pressed="true"] {
    background: #fff;
    border-color: #fff;
    color: #111;
}

.gallery-grid-item {
    margin-bottom: 30px;
}

.gallery-grid-item.is-hidden {
    display: none;
}

.gallery-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .5s ease;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
    transform: scale(1.05);
}

.gallery-thumb-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent);
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {

    .gallery-thumb img,
    .gallery-thumb:hover img {
        transition: none;
        transform: none;
    }
}

/* --- Kiralama kartları ---------------------------------------------------- */
.rental-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.rental-card-img {
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 4px;
}

.rental-card-img img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.rental-card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.rental-specs {
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    opacity: .75;
}

.rental-specs li {
    display: inline-block;
    margin: 0 8px 6px 0;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 20px;
}

.rental-card-actions {
    margin-top: auto;
}

/* --- İçerik listeleri (ürün/hizmet detay) --------------------------------- */
.list-styled {
    padding-left: 0;
    list-style: none;
}

.list-styled li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 26px;
}

.list-styled li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
}

/* --- Blog yazısı içeriği -------------------------------------------------- */
.blog-item-body h3 {
    margin-top: 45px;
    margin-bottom: 18px;
}

.blog-item-body ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.blog-item-body ul li {
    margin-bottom: 10px;
}

/* --- Yasal metin sayfaları ------------------------------------------------ */
.legal-content h2 {
    margin-top: 45px;
}
