/*
Theme Name: Kadence Child
Theme URI: https://ilkerinseyirdefteri.com
Description: Child theme for Kadence - ilkerinseyirdefteri.com. Styles carried over from Astra Child on 2026-10-29.
Author: Ilker
Author URI: https://ilkerinseyirdefteri.com
Template: kadence
Version: 1.1.0
Text Domain: kadence-child
*/

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* General Button Styles */
button, .button, input[type="button"], input[type="submit"], .btn-primary, a.button {
    background-color: #007bff;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: inline-block;
    text-transform: none !important;
}

/* General Button Hover */
button:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, .btn-primary:hover, a.button:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-decoration: none !important;
}

/* Link Styles */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
a:hover {
    color: #0056b3;
}

/* Hero Section */
#intro {
    position: relative;
    background-image: url('https://ilkerinseyirdefteri.com/wp-content/uploads/2019/06/IMG_0873.jpg');
    background-size: cover;
    background-position: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: 16px;
}
#intro h1 {
    color: #fff !important;
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.55); /* Gölgeyle fonla kontrast güçlenir */
    line-height: 1.2;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    color: #ffffff;
    padding: 40px 20px 40px 20px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    font-size: 1.25rem;
}

/* --- Featured Destinations Section --- */
.featured-destination-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.featured-destination {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    min-height: 370px;
    width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.featured-destination .destination-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(40,40,60,0.38) 0%, rgba(40,40,60,0.38) 60%, rgba(0,0,0,0.68) 100%);
    z-index: 1;
}
.featured-destination .destination-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content and title horizontally */
    justify-content: space-between;
    height: 100%;
}
.featured-destination h3 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 20px 0;
    font-size: 1.6rem;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.8);
    text-align: center;
    width: 100%;
}

.featured-destination .button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
    background: transparent;
    margin-top: auto;
}

.featured-destination .button, .featured-destination a.button {
    background-color: #007bff;
    color: #fff !important;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    text-transform: none !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.11);
    transition: background 0.3s, box-shadow 0.3s;
    font-size: 1rem;
    margin: 0;
    text-decoration: none !important;
}
.featured-destination .button:hover, .featured-destination a.button:hover {
    background-color: #0056b3;
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-destination-container {
        flex-direction: column;
        align-items: center;
    }
    .featured-destination {
        width: 90%;
        margin-bottom: 24px;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #f9f9f9;
    color: #666;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}
.site-footer a {
    color: #007bff;
    text-decoration: none;
}
.site-footer a:hover {
    color: #0056b3;
    text-decoration: underline;
}
.custom-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin: 40px 0;
}
.custom-post-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 0 0 16px 0;
    width: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.custom-post-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}
.custom-post-meta {
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 16px 16px 4px 16px;
}
.custom-post-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0 16px 12px 16px;
}
.custom-post-excerpt {
    font-size: 1rem;
    color: #333;
    margin: 0 16px;
}
@media (max-width: 1024px) {
    .custom-posts-grid {
        flex-direction: column;
        align-items: center;
    }
    .custom-post-card {
        width: 92%;
    }
}
.custom-posts-grid-wrapper {
    background: #f3f3f3;      /* Light grey background */
    border-radius: 18px;
    padding: 38px 0 30px 0;
    margin-bottom: 44px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}
.custom-posts-grid {
    margin-bottom: 0;         /* Remove margin if wrapper is used */
}

/* Kısaca practical box - added 2026-10-29 */
.seyir-kisaca {
    background: #f3f6f9;
    border-left: 4px solid #2c3e50;
    border-radius: 8px;
    padding: 18px 22px;
    margin: 28px 0;
}
.seyir-kisaca .seyir-kisaca__title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: #2c3e50;
}
.seyir-kisaca ul {
    margin: 0;
    padding-left: 1.1em;
}
.seyir-kisaca li {
    margin-bottom: 6px;
    line-height: 1.55;
}
.seyir-kisaca li:last-child {
    margin-bottom: 0;
}

/* header-toggles-fix (2026-10-29): the general button rule above makes header icon buttons white on a white header. */
.site-header .search-toggle-open,
.site-header .menu-toggle-open,
.site-header .dropdown-nav-special-toggle {
    color: #2c3e50 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.4em 0.6em;
}
.site-header .dropdown-nav-special-toggle {
    padding: 0;
}
.site-header .search-toggle-open:hover,
.site-header .menu-toggle-open:hover {
    color: #007bff !important;
}

/* Ulkeler hub - country cards with continent filter (2026-10-29) */
.seyir-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 28px;
}
.seyir-hub .seyir-chip {
    background: #fff !important;
    color: #2c3e50 !important;
    border: 1px solid #d5dde5 !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: none !important;
    line-height: 1.2;
}
.seyir-hub .seyir-chip:hover {
    border-color: #2c3e50 !important;
}
.seyir-hub .seyir-chip.is-active {
    background: #2c3e50 !important;
    color: #fff !important;
    border-color: #2c3e50 !important;
}
.seyir-countries {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) {
    .seyir-countries { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 420px) {
    .seyir-countries { grid-template-columns: 1fr; }
}
.seyir-hub a.seyir-country {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #2c3e50;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.seyir-hub a.seyir-country[hidden] {
    display: none;
}
.seyir-country__img,
.seyir-country__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.4s ease;
}
.seyir-hub a.seyir-country:hover .seyir-country__img img {
    transform: scale(1.05);
}
.seyir-hub a.seyir-country::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 55%);
}
.seyir-country__body {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 14px;
    z-index: 1;
}
.seyir-country__name {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.seyir-country__count {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

/* Country grid on the Blog page: space before the post list */
.seyir-blog-hub {
    margin-bottom: 48px;
}