/* Mobil uyumluluk için genel stiller */
@media screen and (max-width: 768px) {
    /* Genel mobil düzenlemeler */
    body {
        overflow-x: hidden;
    }

    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .service-area{
        flex-direction: column;
        gap: 15px !important;
    }

    /* Desktop slider'ı mobilde gizle */
    .slider-block-wrapper {
        display: none;
    }

    /* Mobil carousel'i göster */
    .mobile-carousel-section {
        display: block !important;
        margin-top: 60px;
        width: 100%;
        overflow: hidden;
    }

    .mobile-carousel-section .carousel {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .mobile-carousel-section .carousel-inner {
        width: 100%;
    }

    .mobile-carousel-section .carousel-item {
        width: 100%;
    }

    .mobile-carousel-section .carousel-item img {
        width: 100% !important;
        height: auto;
        max-width: 100%;
    }

    /* Mobil carousel caption stilleri */
    .mobile-carousel-section .carousel-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        padding: 30px 20px 20px;
        text-align: center;
    }

    .mobile-carousel-section .carousel-caption h5 {
        font-size: 24px;
        font-weight: bold;
        color: #fff;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
        margin-bottom: 10px;
    }

    .mobile-carousel-section .carousel-caption p {
        font-size: 18px;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
        margin-bottom: 15px;
    }

    .mobile-carousel-section .carousel-caption .btn {
        background: rgba(255,255,255,0.9);
        color: #333;
        border: none;
        padding: 10px 25px;
        border-radius: 25px;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }

    .mobile-carousel-section .carousel-caption .btn:hover {
        background: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.4);
    }

    /* Desktop'ta mobil carousel'i gizle */
    @media screen and (min-width: 769px) {
        .mobile-carousel-section {
            display: none !important;
        }

        .slider-block-wrapper {
            display: block !important;
        }
    }

    /* Services bölümü mobil düzenlemeleri */
    .Services {
        padding: 40px 15px;
        background: #fff;
        margin-top: 0;
        width: 100%;
        overflow: hidden;
    }

    /* Genel section düzenlemeleri */
    section {
        width: 100%;
        overflow: hidden;
    }

    .section-wrapper-boxed {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    /* Footer mobil düzenlemeleri */
    .footer-menu {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center;
    }

    .footer-menu li {
        margin: 0 !important;
        padding: 5px 0;
    }

    /* Footer diğer bölümler mobil düzenlemeleri */
    .main-content .column {
        width: 100% !important;
        margin-bottom: 30px;
    }

    .main-content .column h5 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .main-content .column a {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 5px;
    }

    /* Footer logo mobil düzenlemesi */
    .footer-logo {
        width: 50% !important;
        max-width: 150px;
    }

    /* Mobil menü butonu modern tasarım - styles.css'i geçersiz kılmak için */
    header .menu-icon {
        background: transparent !important;
        border-radius: 8px !important;
        padding: 12px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        border: none !important;
        position: relative !important;
        display: block !important;
        float: right !important;
        top: 10px !important;
        right: 0 !important;
        width: 60px !important;
        height: 60px !important;
        line-height: 60px !important;
        text-align: center !important;
        pointer-events: all !important;
    }

    header .menu-icon span {
        background: #000 !important;
        background-color: #000 !important;
        height: 3px !important;
        width: 25px !important;
        display: block !important;
        margin: 5px 0 !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        transform-origin: center !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
    }

    header .menu-icon:hover {
        background: rgba(0, 0, 0, 0.1) !important;
        transform: scale(1.05) !important;
    }

    header .menu-icon:hover span {
        background: #000 !important;
        background-color: #000 !important;
    }

    /* Aktif durumda animasyon - çarpı işareti beyaz, arka plan şeffaf */
    header.showNav .menu-icon {
        background: transparent !important;
    }

    header.showNav .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #ffffff !important;
        opacity: 1 !important;
        top: 0 !important;
    }

    header.showNav .menu-icon span:nth-child(2) {
        opacity: 0 !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        top: 0 !important;
    }

    header.showNav .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px) !important;
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #ffffff !important;
        opacity: 1 !important;
        top: 0 !important;
    }

    /* Daha güçlü CSS kuralları - tüm span'ler için */
    header.showNav .menu-icon span {
        background: #ffffff !important;
        background-color: #ffffff !important;
        color: #ffffff !important;
        width: 25px !important;
        height: 3px !important;
    }

    .Services h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .Services h6 {
        font-size: 14px;
        margin: 0 10px;
    }

    .Services hr {
        flex: 1;
        height: 1px;
        background: #ddd;
    }

    .Services .d-flex {
        margin-bottom: 20px;
    }

    .Services h5 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .Services p {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Service section mobil düzenlemeleri */
    .service-section {
        padding: 40px 15px;
    }

    .service-block {
        margin-bottom: 30px;
        padding: 20px 15px;
        background: #f8f9fa;
        border-radius: 10px;
    }

    .service-block .icon-box {
        margin-bottom: 15px;
    }

    .service-block .icon-box img {
        width: 48px !important;
        height: 48px !important;
    }

    .service-block h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-block .text {
        font-size: 14px;
        line-height: 1.5;
    }

    /* Rooms grid mobil düzenlemeleri */
    .rooms-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .rooms-grid article {
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .rooms-grid .media {
        height: 200px;
        overflow: hidden;
    }

    .rooms-grid .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rooms-grid .text {
        padding: 15px;
    }

    .rooms-grid .room-title {
        font-size: 18px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    .rooms-grid .room-price {
        margin-bottom: 10px;
    }

    .rooms-grid .current-price {
        font-size: 16px;
        color: #e74c3c;
        font-weight: bold;
    }

    .rooms-grid .explore {
        color: #007bff;
        font-weight: 500;
        text-decoration: none;
    }

    /* Feature section mobil düzenlemeleri */
    .feature-section {
        padding: 40px 15px;
    }

    /* Feature rows: make a clean vertical stack on mobile */
    .feature-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
        align-items: stretch;
        /* Card look and unified container */
        background: #f7f7f7;
        padding: 12px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
        overflow: hidden;
    }

    .feature-row .image-column,
    .feature-row .content-column {
        width: 100%;
        margin: 0;
    }

    /* Always show image first, then content on mobile */
    .feature-row .image-column { order: 1; }
    .feature-row .content-column { order: 2; }

    .feature-row .inner-column { padding: 0; }

    .feature-row .content-box {
        padding: 14px 12px;
        background: #ffffff;
        border-radius: 0 0 12px 12px;
    }

    .feature-row .image-box {
        width: 100%;
        overflow: hidden;
        border-radius: 12px 12px 0 0;
        /* Prefer aspect-ratio; fallback to fixed height */
        aspect-ratio: 16 / 9;
        height: auto;
        background: #f0f0f0; /* placeholder bg */
    }

    .feature-row .image-box img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .feature-row .sec-title h2 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .feature-row .text {
        font-size: 14px;
        line-height: 1.6;
        padding: 0 2px;
    }

    /* News section mobil düzenlemeleri */
    .news-section {
        padding: 40px 15px;
    }

    .news-section .sec-title h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .news-block {
        margin-bottom: 30px;
    }

    .news-block .inner-box {
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .news-block .image-box {
        height: 200px;
        overflow: hidden;
    }

    .news-block .image-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-block .content-box {
        padding: 20px;
    }

    .news-block h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .news-block .read-more {
        color: #007bff;
        text-decoration: none;
        font-weight: 500;
    }

    /* Genel mobil düzenlemeler */
    .section-wrapper-boxed {
        padding: 0 15px;
    }

    .divider20, .divider50, .divider80 {
        height: 20px;
    }

    .button {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 25px;
    }

    .button.medium {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Page header margin-top */
    section.page-header {
        margin-top: 70px !important;
    }
    .room-header {
        margin-top: 70px !important;
    }
}

/* Çok küçük ekranlar için ek düzenlemeler */
@media screen and (max-width: 480px) {
    .Services h2 {
        font-size: 20px;
    }

    .service-block h4 {
        font-size: 16px;
    }

    .feature-row .sec-title h2 {
        font-size: 20px;
    }
}

/* New Places Card Grid */
.places-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px; /* daha ferah aralık */
}

.place-card {
    display: flex;
    flex-direction: column; /* mobilde dikey */
    background: #fff;
    border-radius: 16px;
    border: 1px solid transparent;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.10);
    transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}

.place-card__media {
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    position: relative;
}

.place-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.place-card__body {
    padding: 18px 18px 22px;
    position: relative;
}

/* İnce accent çizgisi */
.place-card__body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #e31815, #ff5a54);
}

.place-card__title {
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 8px 0;
    color: #1f1f1f;
    font-weight: 700;
    letter-spacing: 0.2px;
    position: relative;
}

.place-card__text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    /* Show full content without truncation */
    display: block;
    overflow: visible;
}

/* Hover/interaction */
.place-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.16);
    border-color: #e31815;
}

/* Image red overlay and subtle zoom on hover */
.place-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(227,24,21,0.22) 0%, rgba(227,24,21,0.08) 100%);
    opacity: 0;
    transition: opacity .28s ease;
}
.place-card:hover .place-card__media::after { opacity: 1; }
.place-card:hover .place-card__media img { transform: scale(1.03); }

/* Desktop: kartlar alt alta kalsın, görseller sağ/sol alternatesin */
@media (min-width: 992px) {
    .places-grid {
        grid-template-columns: 1fr; /* alt alta */
        gap: 40px;
    }
    .place-card {
        flex-direction: row; /* görsel solda, metin sağda */
        align-items: stretch;
        min-height: 420px;
    }
    .place-card__media {
        flex: 0 0 50%;
        aspect-ratio: auto; /* yatay yerleşimde yükseklik esnek */
        min-height: 420px;
    }
    .place-card__body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 36px 40px;
    }
    .place-card__title {
        font-size: 30px;
        line-height: 36px;
    }
    /* Çift sırada görsel sağda, metin solda */
    .place-card:nth-child(even) {
        flex-direction: row-reverse;
    }
    .place-card__body::before {
        left: 40px;
        right: 40px;
    }
}

/* Decorative title underline */
.place-card__title::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 8px;
    border-radius: 3px;
    background: linear-gradient(90deg, #e31815, #ff5a54);
}

/* Title and accent turn red on hover */
.place-card:hover .place-card__title { color: #c91513; }
.place-card:hover .place-card__title::after {
    background: linear-gradient(90deg, #e31815, #ff5a54);
}
.place-card:hover .place-card__body::before {
    background: linear-gradient(90deg, #e31815, #ff5a54);
}

/* Handwritten styled quote */
.place-card__quote {
    margin-top: 16px;
    font-family: 'Dancing Script', cursive;
    font-size: 28px;
    line-height: 1.25;
    color: #c91513;
    text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

/* Equal height cards for advantages section */
.service-section .column.full > div {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.service-section .service-block {
    display: flex;
}
.service-section .service-block .inner-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 500px;
}
.service-section .service-block .content-box {
    margin-top: auto;
}
