.page-destinations {
    background: #f8fafc;
}

.dest-hero {
    position: relative;
    padding: 120px 0 56px;
    background:
        radial-gradient(1200px 420px at 20% -30%, rgba(234, 88, 12, 0.18), transparent 55%),
        radial-gradient(900px 360px at 95% -10%, rgba(14, 116, 144, 0.12), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
}

.dest-hero-content {
    max-width: 100%;
}
.dest-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dest-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    color: #0f172a;
}

.dest-hero p {
    margin: 14px 0 0;
    color: #475569;
    line-height: 1.75;
    font-size: 1rem;
    max-width: 680px; 
}

.page-destinations .dest-search-section.search-section {
    position: relative;
    z-index: 2;
    margin-top: 36px; /* Araya biraz daha profesyonel boşluk eklendi */
    margin-bottom: 0;
    padding: 0;
    width: 100%; 
}

.page-destinations .dest-page-search-card .search-fields-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap;
    background: #f8fafc;
    border-radius: 100px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px 8px 32px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    width: 100%; /* Tam genişlik kuralı */
}

.page-destinations .dest-page-search-card .search-fields-container:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), inset 0 0 0 1px var(--primary-light, #fff3eb);
}

.page-destinations .dest-page-search-card .search-field {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px;
    flex: 1;
    min-width: 0;
    padding: 12px 24px;
    border-radius: 50px;
    transition: background 0.3s ease;
    cursor: text;
    position: relative;
}

.page-destinations .dest-page-search-card .search-field:hover {
    background: #f1f5f9;
}

.page-destinations .dest-page-search-card .field-icon {
    color: var(--primary, #e85d04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.page-destinations .dest-page-search-card .field-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.page-destinations .dest-page-search-card .search-field-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gray-900, #0f172a);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
    cursor: pointer;
}

.page-destinations .dest-page-search-card .search-field-input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: none !important;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-600, #475569);
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: var(--font-body, system-ui, sans-serif);
    cursor: text;
    -webkit-appearance: none;
    appearance: none;
}

.page-destinations .dest-page-search-card .search-field-input::placeholder {
    color: var(--gray-400, #94a3b8);
    font-weight: 400;
}

.page-destinations .dest-page-search-card .search-field-input:focus,
.page-destinations .dest-page-search-card .search-field-input:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.page-destinations .dest-page-search-card .search-action {
    margin-left: 10px;
    flex-shrink: 0;
}

.page-destinations .dest-page-search-card .btn-search {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 48px;
    background: linear-gradient(135deg, var(--primary, #e85d04) 0%, var(--primary-dark, #c2410c) 100%);
    color: #fff !important;
    border: none !important;
    border-radius: 100px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-body, system-ui, sans-serif);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.3);
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.page-destinations .dest-page-search-card .btn-search:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 35px rgba(232, 93, 4, 0.45);
}

.btn-search-dest-page {
    padding: 18px 48px;
}

#form-destinations-hero .search-notice {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #9f1239;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(159, 18, 57, 0.08);
}

#form-destinations-hero .search-notice svg {
    flex-shrink: 0;
}

.dest-empty-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary, #ea580c);
    text-decoration: none;
}

.dest-empty-link:hover {
    text-decoration: underline;
}

.dest-list-sec {
    padding: 30px 0 70px;
}

/* —— Kare kart, 3 sütun (masaüstü), tablet 2, mobil 1 —— */
.dest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
    width: 100%;
}

.dest-tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: clamp(16px, 2.2vw, 26px);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.06),
        0 20px 50px rgba(15, 23, 42, 0.12);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s ease;
}

.dest-tile:focus-visible {
    outline: 3px solid #ea580c;
    outline-offset: 4px;
}

.dest-tile:hover {
    transform: scale(1.015);
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.08),
        0 28px 56px rgba(15, 23, 42, 0.18);
}

.dest-tile-media {
    position: absolute;
    inset: 0;
    background: #94a3b8;
}

.dest-tile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
}

.dest-tile:hover .dest-tile-media img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.dest-tile-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(ellipse 90% 70% at 35% 25%, rgba(234, 88, 12, 0.35), transparent 55%),
        linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
}

.dest-tile-fallback span {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

/* Metin okunurluğu: alttan koyu gradient (örnek görsel ile aynı mantık) */
.dest-tile-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.35) 38%,
        rgba(0, 0, 0, 0) 58%
    );
}

.dest-tile-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(12px, 2.2vw, 20px);
}

.dest-tile-text h3 {
    margin: 0;
    font-size: clamp(0.95rem, 1.35vw + 0.65rem, 1.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.dest-tile-count {
    margin: 6px 0 0;
    padding: 0;
    font-size: clamp(0.65rem, 0.35vw + 0.55rem, 0.75rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.dest-empty {
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    padding: 40px 16px;
}

.dest-empty h3 {
    margin: 0;
    color: #0f172a;
}

.dest-empty p {
    margin: 8px 0 0;
    color: #64748b;
}
.dest-dynamic-empty {
    display: none;
    text-align: center;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
    padding: 40px 16px;
    margin-top: 20px;
    width: 100%;
}

.dest-dynamic-empty h3 {
    margin: 0;
    color: #0f172a;
}

.dest-dynamic-empty p {
    margin: 8px 0 0;
    color: #64748b;
}

.search-term-display {
    font-weight: 700;
    color: var(--primary, #ea580c);
}

@media (max-width: 992px) {
    .page-destinations .dest-page-search-card.search-card {
        padding: 20px 20px 24px;
    }

    .page-destinations .dest-page-search-card .search-fields-container {
        flex-direction: column !important;
        align-items: stretch !important;
        border-radius: 24px;
        padding: 16px;
    }

    .page-destinations .dest-page-search-card .search-field {
        width: 100%;
        border-radius: 16px;
    }

    .page-destinations .dest-page-search-card .search-action {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
    }

    .page-destinations .dest-page-search-card .btn-search {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .dest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dest-tile-text h3 {
        font-size: clamp(1.05rem, 2vw + 0.5rem, 1.45rem);
    }
}

@media (max-width: 680px) {
    .dest-hero {
        padding-top: 96px;
    }
    .dest-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* CTA section (home.php ile ayni sistem) */
.cta-section {
    padding: var(--section-gap) 0;
}

.cta-premium-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    background: var(--navy);
    box-shadow: 0 30px 60px rgba(11, 20, 38, 0.2);
}

.cta-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 10s ease;
}

.cta-premium-wrapper:hover .cta-bg-image {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(11, 20, 38, 0.98) 0%, rgba(11, 20, 38, 0.85) 50%, rgba(11, 20, 38, 0.3) 100%);
    z-index: 2;
}

.cta-content-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    padding: 80px 64px;
    align-items: center;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

.trust-badges {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.glass-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.premium-contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid transparent;
}

.premium-contact-btn:last-child {
    margin-bottom: 0;
}

.premium-contact-btn.phone {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 8px 25px rgba(232, 93, 4, 0.3);
}

.premium-contact-btn.phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(232, 93, 4, 0.45);
}

.premium-contact-btn.whatsapp {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.premium-contact-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.3);
}

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.btn-texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.b-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    margin-bottom: 4px;
}

.premium-contact-btn.phone .b-label {
    color: rgba(255, 255, 255, 0.9);
}

.b-value {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
}

@media (max-width: 992px) {
    .cta-content-grid {
        grid-template-columns: 1fr;
        padding: 48px 32px;
        gap: 40px;
    }

    .cta-overlay {
        background: linear-gradient(180deg, rgba(11, 20, 38, 0.95) 0%, rgba(11, 20, 38, 0.85) 100%);
    }
}

@media (max-width: 640px) {
    .cta-content-grid {
        padding: 40px 24px;
    }

    .glass-card {
        padding: 24px;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }
}
