/* ================================================
   TAB1 SLIDE9 - LUXURY VILLA BODRUM
   ================================================ */

@font-face {
    font-family: "Rafaella";
    src: url("../../fonts/rafaella/Rafaella-Bold.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.slide9-hero {
    --slide9-accent: #82181a;
    --slide9-content-width: min(920px, 47%);

    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: 60vh;
}

.slide9-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.slide9-bg-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

.slide9-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.slide9-ribbon {
    flex-shrink: 0;
    margin: 0;
    background-color: var(--slide9-accent);
    color: #ffffff;
    text-transform: uppercase;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.55em 1.25em;
}

.slide9-main {
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.slide9-typography {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--slide9-content-width);
    gap: 1.1em;
}

.slide9-title {
    margin: 0;
    font-family: "Rafaella", Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    font-size: clamp(2.25rem, 6.5vw, 5.75rem);
}

.slide9-subtitle {
    margin: 0;
    display: inline-block;
    background-color: var(--slide9-accent);
    color: #ffffff;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6em;
    font-size: clamp(0.7rem, 1.7vw, 1rem);
    padding: 0.5em 1.25em;
}

.slide9-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 100%;
}

.slide9-btn {
    display: inline-block;
    white-space: nowrap;
    padding: 0.5em 2em;
    border: 2px solid transparent;
    border-radius: 6px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.slide9-btn--outline {
    background-color: #00000075;
    border-color: #ffffff;
    color: #ffffff;
}

.slide9-btn--outline:hover {
    background-color: #0000004d;
}

.slide9-btn--primary {
    background-color: var(--slide9-accent);
    border-color: var(--slide9-accent);
    color: #ffffff;
}

.slide9-btn--primary:hover {
    background-color: #4f0f0f; /* fallback for browsers without color-mix() support */
    background-color: color-mix(in srgb, var(--slide9-accent) 85%, black);
    color: #ffffff;
}

.slide9-btn:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .slide9-hero {
        height: 34vh;
    }

    .slide9-content {
        gap: 1rem;
    }

    .slide9-main {
        gap: 1rem;
        justify-content: flex-start;
        margin-top: 3rem;
    }

    .slide9-hero {
        --slide9-content-width: min(460px, 82%);
    }

    .slide9-actions {
        gap: 0.75rem;
    }

    .slide9-btn {
        padding: 7px 20px;
        font-size: 13px;
        letter-spacing: 2px;
    }

    .slide9-ribbon {
        width: 100%;
        font-size: 0.80rem;
        padding: 0.45em 0.9em;
    }

    .slide9-title {
        font-size: 3rem;
    }
}

/* ================================================
   END TAB1 SLIDE9
   ================================================ */
