/**
 * İç sayfalar — estetik iyileştirmeler (ana sayfa Tourex, diğerleri Maksut)
 */

body.theme-maksut {
    --inner-radius: 16px;
    --inner-radius-sm: 12px;
    --inner-shadow: 0 14px 44px rgba(12, 31, 23, 0.08);
    --inner-shadow-hover: 0 22px 52px rgba(12, 31, 23, 0.13);
}

/* —— Sayfa başlığı —— */
body.theme-maksut .page-header--photo {
    position: relative;
    overflow: hidden;
    background: #0c1f17;
    padding: 0;
    min-height: clamp(280px, 38vh, 420px);
    display: flex;
    align-items: flex-end;
    text-align: center;
}

body.theme-maksut .page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    z-index: 0;
}

body.theme-maksut .page-header-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.62) 0%,
        rgba(0, 0, 0, 0.72) 45%,
        rgba(0, 0, 0, 0.88) 100%
    );
    pointer-events: none;
}

body.theme-maksut .page-header--photo::before,
body.theme-maksut .page-header--photo::after {
    display: none;
}

body.theme-maksut .page-header--photo .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 72px 0 56px;
}

body.theme-maksut .page-header {
    padding: 68px 0 72px;
    text-align: center;
}

body.theme-maksut .page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.35;
}

body.theme-maksut .page-header::after {
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

body.theme-maksut .page-header h1 {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
}

body.theme-maksut .page-header-subtitle {
    max-width: 640px;
    margin: 0 auto 18px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

body.theme-maksut .breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 10px;
    padding: 8px 18px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(200, 169, 81, 0.28);
    border-radius: 999px;
    font-size: 0.84rem;
    opacity: 1;
    backdrop-filter: blur(6px);
}

body.theme-maksut .breadcrumb a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

body.theme-maksut .breadcrumb a:hover {
    color: #fff;
}

body.theme-maksut .breadcrumb span {
    color: rgba(255, 255, 255, 0.72);
}

/* —— Bölüm boşlukları —— */
body.theme-maksut .inner-section {
    padding: 52px 0 80px;
}

body.theme-maksut .inner-section--overlap {
    padding-top: 0;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

body.theme-maksut .inner-section--tight {
    padding-top: 36px;
}

/* —— Filtre çubuğu —— */
body.theme-maksut .filter-bar-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--inner-radius-sm);
    box-shadow: var(--inner-shadow);
    padding: 18px 22px;
    margin-bottom: 36px;
}

body.theme-maksut .tour-filters,
body.theme-maksut .hotel-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}

body.theme-maksut .tour-filter-btn {
    border-radius: 999px;
    padding: 0.55rem 1.15rem;
    border-color: rgba(26, 61, 46, 0.14);
    box-shadow: 0 2px 8px rgba(12, 31, 23, 0.04);
}

body.theme-maksut .tour-filter-btn:hover,
body.theme-maksut .tour-filter-btn.active {
    box-shadow: 0 6px 18px rgba(26, 61, 46, 0.18);
}

/* —— Blog kartları —— */
body.theme-maksut .blog-grid {
    align-items: stretch;
    gap: 28px;
}

body.theme-maksut .blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--inner-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: var(--inner-shadow);
}

body.theme-maksut .blog-card-image {
    display: block;
    height: 228px;
    flex-shrink: 0;
    overflow: hidden;
}

body.theme-maksut .blog-card-image img,
body.theme-maksut .blog-card-image .blog-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.theme-maksut .blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 26px 26px;
}

body.theme-maksut .blog-card-body h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    margin-bottom: 10px;
}

body.theme-maksut .blog-card-body p {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-muted);
}

body.theme-maksut .read-more {
    margin-top: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.theme-maksut .read-more i {
    transition: transform 0.25s ease;
}

body.theme-maksut .blog-card:hover .read-more i {
    transform: translateX(4px);
}

/* —— Otel kartları —— */
body.theme-maksut .hotels-grid {
    align-items: stretch;
    gap: 28px;
}

body.theme-maksut .hotel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--inner-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: var(--inner-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body.theme-maksut .hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--inner-shadow-hover);
    color: inherit;
}

body.theme-maksut .hotel-card-image {
    height: 228px;
    flex-shrink: 0;
    overflow: hidden;
}

body.theme-maksut .hotel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

body.theme-maksut .hotel-card:hover .hotel-card-image img {
    transform: scale(1.05);
}

body.theme-maksut .hotel-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px;
}

body.theme-maksut .hotel-card-body h3 {
    font-size: 1.15rem;
    line-height: 1.35;
    margin-bottom: 8px;
}

body.theme-maksut .hotel-card-body p {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* —— Tur program kartları —— */
body.theme-maksut .program-card--grid .program-card-inner {
    border-radius: var(--inner-radius);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: var(--inner-shadow);
    overflow: hidden;
}

body.theme-maksut .program-card--grid .program-card-media {
    aspect-ratio: 16 / 10;
}

body.theme-maksut .program-card--grid:hover .program-card-inner {
    transform: translateY(-6px);
    box-shadow: var(--inner-shadow-hover);
}

body.theme-maksut .program-card-cat {
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
}

body.theme-maksut .program-card--list .program-card-inner {
    border-radius: var(--inner-radius-sm);
    box-shadow: 0 4px 18px rgba(12, 31, 23, 0.05);
}

/* —— Detay içerik —— */
body.theme-maksut .detail-content {
    border-radius: var(--inner-radius);
    box-shadow: var(--inner-shadow);
    border: 1px solid rgba(26, 61, 46, 0.06);
    padding: 44px 48px;
    margin-top: -40px;
}

body.theme-maksut .blog-detail-image {
    border-radius: var(--inner-radius-sm);
    overflow: hidden;
    margin-bottom: 28px;
}

/* —— İletişim —— */
body.theme-maksut .contact-info-cards .contact-card {
    border-radius: var(--inner-radius-sm);
    box-shadow: 0 6px 24px rgba(12, 31, 23, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.theme-maksut .contact-info-cards .contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--inner-shadow);
}

body.theme-maksut .contact-form {
    border-radius: var(--inner-radius);
    box-shadow: var(--inner-shadow);
    padding: 32px 36px;
    border: 1px solid rgba(26, 61, 46, 0.06);
}

/* —— Bilgi / kurumsal sayfalar —— */
body.theme-maksut .info-page-intro {
    padding: 52px 0 80px;
}

body.theme-maksut .info-intro-box {
    box-shadow: 0 8px 28px rgba(12, 31, 23, 0.05);
    padding: 28px 32px;
    margin-bottom: 28px;
}

body.theme-maksut .info-toc,
body.theme-maksut .info-sidebar-cta {
    background: var(--white);
    border: 1px solid rgba(26, 61, 46, 0.08);
    box-shadow: var(--inner-shadow);
    border-radius: var(--inner-radius-sm);
    padding: 22px 24px;
}

body.theme-maksut .info-toc ul a {
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

body.theme-maksut .info-toc ul a.active,
body.theme-maksut .info-toc ul a:hover {
    background: rgba(26, 61, 46, 0.06);
}

body.theme-maksut .info-section {
    background: var(--white);
    border-radius: var(--inner-radius-sm);
    border: 1px solid rgba(26, 61, 46, 0.06);
    box-shadow: 0 6px 24px rgba(12, 31, 23, 0.04);
    padding: 28px 32px;
    margin-bottom: 24px;
}

/* —— Galeri —— */
body.theme-maksut .gallery-category-block {
    background: var(--white);
    border-radius: var(--inner-radius);
    border: 1px solid rgba(26, 61, 46, 0.06);
    box-shadow: var(--inner-shadow);
    padding: 28px 28px 32px;
    margin-bottom: 32px;
}

body.theme-maksut .gallery-category-head h2 {
    font-size: 1.45rem;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

body.theme-maksut .gallery-item {
    border-radius: var(--inner-radius-sm);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(12, 31, 23, 0.08);
}

/* —— CTA banner —— */
body.theme-maksut .cta-banner {
    border-radius: var(--inner-radius);
    padding: 44px 48px;
    box-shadow: var(--inner-shadow);
    position: relative;
    overflow: hidden;
}

body.theme-maksut .cta-banner::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

body.theme-maksut section.bg-white:has(.cta-banner) {
    padding: 0 0 72px;
}

/* —— Boş durum —— */
body.theme-maksut .empty-state {
    text-align: center;
    padding: 64px 32px;
    background: var(--white);
    border-radius: var(--inner-radius);
    border: 1px dashed rgba(26, 61, 46, 0.16);
    color: var(--text-muted);
}

body.theme-maksut .empty-state i {
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.65;
    margin-bottom: 16px;
    display: block;
}

body.theme-maksut .video-gallery-item {
    border-radius: var(--inner-radius-sm);
    overflow: hidden;
    box-shadow: var(--inner-shadow);
    border: 1px solid rgba(26, 61, 46, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

body.theme-maksut .video-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--inner-shadow-hover);
}

body.theme-maksut .video-gallery-grid {
    gap: 28px;
}

/* —— Detay hero (tur / otel) —— */
body.theme-maksut .tour-detail-hero {
    min-height: clamp(320px, 42vh, 480px);
    background: #0c1f17;
}

body.theme-maksut .tour-detail-hero-bg img {
    transform: scale(1.06);
    transition: transform 8s ease-out;
}

body.theme-maksut .tour-detail-hero-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.72) 42%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

body.theme-maksut .tour-detail-hero-content {
    padding: 68px 0 52px;
}

body.theme-maksut .tour-detail-hero-content h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

body.theme-maksut .breadcrumb-light {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 6px 10px;
    padding: 7px 16px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.84rem;
    margin-bottom: 4px;
}

/* —— İç sayfa footer —— */
body.theme-maksut .maksut-footer {
    position: relative;
    margin-top: 24px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.88);
}

body.theme-maksut .maksut-footer-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0c1f17 0%, #1a3d2e 50%, #2f5c47 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

body.theme-maksut .maksut-footer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.82) 100%
    );
    pointer-events: none;
}

body.theme-maksut .maksut-footer-inner {
    position: relative;
    z-index: 2;
    padding: 72px 0 0;
}

body.theme-maksut .maksut-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.1fr 1fr;
    gap: 40px 32px;
    padding-bottom: 48px;
}

body.theme-maksut .maksut-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

body.theme-maksut .maksut-footer-logo img {
    max-height: 62px;
    width: auto;
}

body.theme-maksut .maksut-footer-logo-filter {
    filter: brightness(0) invert(1);
}

body.theme-maksut .maksut-footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 22px;
    max-width: 320px;
}

body.theme-maksut .maksut-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.theme-maksut .maksut-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(200, 169, 81, 0.35);
    color: #fff;
    font-size: 16px;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

body.theme-maksut .maksut-footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

body.theme-maksut .maksut-footer-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gold-light);
    margin: 0 0 20px;
    letter-spacing: 0.03em;
}

body.theme-maksut .maksut-footer-title--spaced {
    margin-top: 28px;
}

body.theme-maksut .maksut-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-maksut .maksut-footer-links li {
    margin-bottom: 11px;
}

body.theme-maksut .maksut-footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

body.theme-maksut .maksut-footer-links a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

body.theme-maksut .maksut-footer-contact {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-maksut .maksut-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

body.theme-maksut .maksut-footer-contact i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

body.theme-maksut .maksut-footer-contact a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

body.theme-maksut .maksut-footer-contact a:hover {
    color: var(--gold-light);
}

body.theme-maksut .maksut-footer-cta-text {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

body.theme-maksut .maksut-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body.theme-maksut .maksut-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

body.theme-maksut .maksut-footer-btn--primary {
    background: var(--gold);
    color: var(--primary-dark);
}

body.theme-maksut .maksut-footer-btn--primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 169, 81, 0.35);
    color: var(--primary-dark);
}

body.theme-maksut .maksut-footer-btn--outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

body.theme-maksut .maksut-footer-btn--outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

body.theme-maksut .maksut-footer-btn--wa {
    background: #25d366;
    color: #fff;
}

body.theme-maksut .maksut-footer-btn--wa:hover {
    background: #1ebe57;
    transform: translateY(-2px);
    color: #fff;
}

body.theme-maksut .maksut-footer-bottom {
    border-top: 1px solid rgba(200, 169, 81, 0.22);
    padding: 24px 0 28px;
    text-align: center;
}

body.theme-maksut .maksut-footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.62);
}

body.theme-maksut .maksut-footer-tagline {
    margin-top: 6px !important;
    color: rgba(200, 169, 81, 0.75) !important;
    font-style: italic;
}

body.theme-maksut .maksut-scroll-top {
    position: fixed;
    right: 24px;
    bottom: 88px;
    z-index: 998;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--gold);
    color: var(--primary-dark);
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

body.theme-maksut .maksut-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.theme-maksut .maksut-scroll-top:hover {
    background: var(--gold-light);
}

@media (max-width: 992px) {
    body.theme-maksut .maksut-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body.theme-maksut .maksut-footer-inner {
        padding-top: 52px;
    }

    body.theme-maksut .maksut-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    body.theme-maksut .maksut-footer-title--spaced {
        margin-top: 0;
    }

    body.theme-maksut .maksut-scroll-top {
        right: 16px;
        bottom: 78px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 768px) {
    body.theme-maksut .page-header {
        padding: 52px 0 58px;
    }

    body.theme-maksut .inner-section {
        padding: 40px 0 60px;
    }

    body.theme-maksut .detail-content {
        padding: 28px 22px;
        margin-top: -28px;
    }

    body.theme-maksut .cta-banner {
        padding: 32px 24px;
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }

    body.theme-maksut .contact-form {
        padding: 24px 20px;
    }

    body.theme-maksut .gallery-category-block {
        padding: 20px 16px 24px;
    }
}
