/* MELVİN HOME home — final vivid blue/gold marketplace theme. */
body[data-page="home"] {
    --home-blue: #070078;
    --home-blue-deep: #040052;
    --home-blue-live: #1710b8;
    --home-blue-pale: #eef0ff;
    --home-blue-mist: #dfe3ff;
    --home-gold: #f3c85b;
    --home-gold-light: #ffe7a0;
    --home-gold-dark: #bd8421;
    --home-ink: #11123b;
    --home-muted: #5b607d;
    --home-white: #ffffff;
    color: var(--home-ink);
}

body[data-page="home"] main {
    background:
        radial-gradient(circle at 8% 18%, rgb(23 16 184 / 0.1), transparent 28rem),
        linear-gradient(180deg, var(--home-blue-pale), #f9f9ff 48%, var(--home-blue-mist));
}

body[data-page="home"] .site-header {
    position: sticky;
    top: 0;
}

body[data-page="home"] .hero {
    position: relative;
    display: grid;
    min-height: min(920px, calc(100svh - var(--mb-header-height, 88px)));
    overflow: hidden;
    align-items: center;
    background: var(--home-blue-deep);
    isolation: isolate;
}

body[data-page="home"] .hero__background {
    position: absolute;
    z-index: -2;
    inset: 0;
    background: var(--home-blue-deep);
}

body[data-page="home"] .hero__background::before,
body[data-page="home"] .hero__background::after {
    position: absolute;
    content: "";
    inset: 0;
}

body[data-page="home"] .hero__background::before {
    z-index: 1;
    background:
        linear-gradient(92deg, rgb(4 0 82 / 0.97) 0%, rgb(7 0 120 / 0.88) 48%, rgb(23 16 184 / 0.58) 100%),
        linear-gradient(0deg, rgb(4 0 82 / 0.92), transparent 62%);
}

body[data-page="home"] .hero__background::after {
    z-index: 2;
    opacity: 0.22;
    background:
        radial-gradient(circle at 78% 22%, var(--home-gold), transparent 2px),
        linear-gradient(120deg, transparent 58%, rgb(255 231 160 / 0.2));
    background-size: auto, auto;
}

body[data-page="home"] .hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.54;
    filter: saturate(0.7) contrast(1.08);
}

body[data-page="home"] .hero__content {
    width: min(100% - 2rem, 1440px);
    margin-inline: auto;
    padding-block: clamp(4rem, 7vw, 7.5rem);
}

body[data-page="home"] .hero__eyebrow {
    display: inline-flex;
    margin: 0 0 1rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgb(255 231 160 / 0.58);
    border-radius: 999px;
    background: rgb(4 0 82 / 0.58);
    color: var(--home-gold-light);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

body[data-page="home"] .hero__title {
    max-width: 850px;
    margin: 0 0 1.15rem;
    color: var(--home-white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6.2vw, 6rem);
    font-weight: 650;
    letter-spacing: -0.052em;
    line-height: 0.95;
    text-shadow: 0 8px 36px rgb(0 0 0 / 0.36);
}

body[data-page="home"] .hero__title-accent {
    display: block;
    color: var(--home-gold-light);
    text-shadow: 0 5px 30px rgb(243 200 91 / 0.28);
}

body[data-page="home"] .hero__description {
    max-width: 760px;
    margin: 0 0 1.4rem;
    padding: 0.2rem 0 0.2rem 1rem;
    border-inline-start: 3px solid var(--home-gold);
    color: rgb(255 255 255 / 0.96);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 550;
    line-height: 1.65;
    text-shadow: 0 3px 18px rgb(0 0 0 / 0.5);
}

body[data-page="home"] .hero__highlights {
    display: flex;
    margin: 0 0 clamp(1.7rem, 3vw, 2.8rem);
    flex-wrap: wrap;
    gap: 0.55rem;
}

body[data-page="home"] .hero__highlights span {
    display: inline-flex;
    padding: 0.56rem 0.82rem;
    align-items: center;
    gap: 0.55rem;
    color: var(--home-white);
    border: 1px solid rgb(255 231 160 / 0.48);
    border-radius: 999px;
    background: rgb(4 0 82 / 0.64);
    font-size: 0.76rem;
    font-weight: 780;
    backdrop-filter: blur(12px);
}

body[data-page="home"] .hero__highlights span::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--home-gold);
    box-shadow: 0 0 0 4px rgb(243 200 91 / 0.16);
    content: "";
}

body[data-page="home"] .search-form--hero {
    position: relative;
    width: 100%;
    max-width: 1320px;
    padding: clamp(1.1rem, 2vw, 1.55rem);
    color: var(--home-ink);
    border: 1px solid rgb(255 231 160 / 0.76);
    border-radius: 24px;
    background: linear-gradient(140deg, rgb(255 255 255 / 0.99), rgb(244 245 255 / 0.97));
    box-shadow:
        0 34px 84px rgb(0 0 0 / 0.42),
        0 0 0 5px rgb(255 231 160 / 0.1),
        inset 0 1px rgb(255 255 255 / 0.9);
    backdrop-filter: blur(22px);
}

body[data-page="home"] .search-form--hero::before {
    position: absolute;
    width: min(320px, 38%);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--home-gold), transparent);
    content: "";
    inset: 0 auto auto 28px;
}

body[data-page="home"] .search-form__intro {
    display: flex;
    margin-bottom: 1rem;
    align-items: baseline;
    gap: 0.65rem 1rem;
}

body[data-page="home"] .search-form__intro span {
    color: var(--home-blue-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    font-weight: 800;
    white-space: nowrap;
}

body[data-page="home"] .search-form__intro p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

body[data-page="home"] .search-form__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.78rem;
    align-items: end;
}

body[data-page="home"] .search-form--hero .form-field {
    grid-column: span 2;
    min-width: 0;
}

body[data-page="home"] .search-form--hero .search-form__location {
    position: relative;
    grid-column: span 4;
}

body[data-page="home"] .search-form--hero .search-form__submit {
    grid-column: span 2;
}

body[data-page="home"] .search-form--hero .form-label {
    color: var(--home-blue-deep);
    font-size: 0.77rem;
    font-weight: 850;
}

body[data-page="home"] .search-form--hero .form-control {
    min-height: 52px;
    color: var(--home-ink);
    border: 1px solid #cfd3ee;
    border-radius: 12px;
    background: var(--home-white);
    box-shadow: inset 0 1px 2px rgb(4 0 82 / 0.03);
}

body[data-page="home"] .search-form--hero .form-control:focus {
    border-color: var(--home-blue-live);
    box-shadow: 0 0 0 4px rgb(23 16 184 / 0.12);
}

body[data-page="home"] .search-form--hero .button--primary {
    width: 100%;
    min-height: 52px;
    color: var(--home-blue-deep);
    border-color: var(--home-gold);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--home-gold-light), var(--home-gold) 60%, #dc9d2d);
    box-shadow: 0 12px 26px rgb(189 132 33 / 0.28);
    font-weight: 900;
}

body[data-page="home"] .search-ranking-disclosure {
    display: grid;
    margin-top: 0.95rem;
    padding: 0.72rem 0.86rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.7rem;
    color: #4f5473;
    border: 1px solid #d9dcf3;
    border-radius: 12px;
    background: #f8f8ff;
    font-size: 0.76rem;
    line-height: 1.5;
}

body[data-page="home"] .search-ranking-disclosure strong {
    color: var(--home-blue);
    white-space: nowrap;
}

body[data-page="home"] .search-suggestions {
    position: absolute;
    z-index: 90;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;
    max-height: 300px;
    margin: 0;
    padding: 0.35rem;
    overflow-y: auto;
    border: 1px solid #d4d7ef;
    border-radius: 14px;
    background: var(--home-white);
    box-shadow: 0 18px 44px rgb(4 0 82 / 0.2);
    list-style: none;
}

body[data-page="home"] .search-suggestions__button {
    display: grid;
    width: 100%;
    padding: 0.7rem 0.75rem;
    gap: 0.1rem;
    color: var(--home-ink);
    border: 0;
    border-radius: 10px;
    background: transparent;
    text-align: start;
    cursor: pointer;
}

body[data-page="home"] .search-suggestions__button:hover,
body[data-page="home"] .search-suggestions__button:focus-visible {
    outline: 0;
    background: var(--home-blue-pale);
}

body[data-page="home"] .search-suggestions__primary {
    font-weight: 800;
}

body[data-page="home"] .search-suggestions__secondary {
    color: var(--home-muted);
    font-size: 0.76rem;
}

body[data-page="home"] .section {
    padding-block: clamp(4rem, 7vw, 6.5rem);
}

body[data-page="home"] .section--surface,
body[data-page="home"] .service-categories,
body[data-page="home"] .newsletter-section {
    background: rgb(255 255 255 / 0.64);
    box-shadow: inset 0 1px rgb(255 255 255 / 0.82);
}

body[data-page="home"] .section-heading {
    display: flex;
    margin-bottom: 1.7rem;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

body[data-page="home"] .section-heading__eyebrow {
    margin: 0 0 0.35rem;
    color: var(--home-blue-live);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body[data-page="home"] .section-heading h2,
body[data-page="home"] .accommodation-provider-travel-service-provider-section h2,
body[data-page="home"] .mobile-application-section h2,
body[data-page="home"] .newsletter-section h2 {
    margin: 0;
    color: var(--home-blue-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.9vw, 3.35rem);
    font-weight: 700;
    line-height: 1.05;
}

body[data-page="home"] .section-heading__description,
body[data-page="home"] .accommodation-provider-travel-service-provider-section p,
body[data-page="home"] .mobile-application-section p,
body[data-page="home"] .newsletter-section p {
    max-width: 780px;
    color: var(--home-muted);
}

body[data-page="home"] .section-heading__link {
    color: var(--home-blue);
    font-weight: 850;
    text-decoration-color: var(--home-gold-dark);
    text-underline-offset: 0.3em;
}

body[data-page="home"] .service-category-grid,
body[data-page="home"] .card-grid,
body[data-page="home"] .review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

body[data-page="home"] .service-category-card,
body[data-page="home"] .property-card,
body[data-page="home"] .service-card,
body[data-page="home"] .review-card {
    overflow: hidden;
    color: var(--home-ink);
    border: 1px solid rgb(7 0 120 / 0.13);
    border-radius: 22px;
    background: var(--home-white);
    box-shadow: 0 16px 38px rgb(4 0 82 / 0.1);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

body[data-page="home"] .service-category-card:hover,
body[data-page="home"] .property-card:hover,
body[data-page="home"] .service-card:hover {
    box-shadow: 0 24px 54px rgb(4 0 82 / 0.18);
    transform: translateY(-5px);
}

body[data-page="home"] .service-category-card__link,
body[data-page="home"] .property-card__link,
body[data-page="home"] .service-card__link {
    display: flex;
    height: 100%;
    color: inherit;
    flex-direction: column;
    text-decoration: none;
}

body[data-page="home"] .service-category-card__media,
body[data-page="home"] .property-card__media,
body[data-page="home"] .service-card__media {
    position: relative;
    display: grid;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: linear-gradient(145deg, var(--home-blue), var(--home-blue-live));
    place-items: center;
}

body[data-page="home"] [data-no-image="true"]::after {
    padding: 1rem;
    color: rgb(255 255 255 / 0.82);
    content: attr(aria-label);
    font-size: 0.82rem;
    font-weight: 750;
}

body[data-page="home"] .service-category-card__image,
body[data-page="home"] .property-card__image,
body[data-page="home"] .service-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

body[data-page="home"] .service-category-card:hover .service-category-card__image,
body[data-page="home"] .property-card:hover .property-card__image,
body[data-page="home"] .service-card:hover .service-card__image {
    transform: scale(1.04);
}

body[data-page="home"] .property-card__type,
body[data-page="home"] .service-card__type,
body[data-page="home"] .property-card__availability,
body[data-page="home"] .service-card__availability {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    padding: 0.38rem 0.65rem;
    color: var(--home-blue-deep);
    border-radius: 999px;
    background: rgb(255 231 160 / 0.95);
    box-shadow: 0 8px 18px rgb(4 0 82 / 0.2);
    font-size: 0.74rem;
    font-weight: 900;
}

body[data-page="home"] .service-category-card__content,
body[data-page="home"] .property-card__content,
body[data-page="home"] .service-card__content {
    display: flex;
    height: 100%;
    padding: 1.15rem;
    flex-direction: column;
}

body[data-page="home"] .service-category-card__content {
    min-height: 128px;
    gap: 0.4rem;
}

body[data-page="home"] .service-category-card__title,
body[data-page="home"] .property-card__title,
body[data-page="home"] .service-card__title,
body[data-page="home"] .review-card__title {
    margin: 0;
    color: var(--home-blue-deep);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.28rem;
    font-weight: 750;
}

body[data-page="home"] .service-category-card__description,
body[data-page="home"] .property-card__location,
body[data-page="home"] .service-card__location,
body[data-page="home"] .review-card__service-type {
    margin: 0 0 0.28rem;
    color: var(--home-muted);
    font-size: 0.84rem;
}

body[data-page="home"] .property-card__features,
body[data-page="home"] .service-card__features {
    display: flex;
    margin: 0.8rem 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
}

body[data-page="home"] .property-card__features li,
body[data-page="home"] .service-card__features li {
    padding: 0.28rem 0.52rem;
    color: #4d5272;
    border-radius: 999px;
    background: var(--home-blue-pale);
    font-size: 0.74rem;
}

body[data-page="home"] .property-card__rating,
body[data-page="home"] .service-card__rating {
    display: flex;
    margin: 0.25rem 0 0.7rem;
    align-items: center;
    gap: 0.45rem;
    color: #8b5a00;
    font-size: 0.8rem;
    font-weight: 850;
}

body[data-page="home"] .property-card__price,
body[data-page="home"] .service-card__price {
    display: grid;
    margin-top: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.15rem 0.4rem;
}

body[data-page="home"] .property-card__price-label,
body[data-page="home"] .service-card__price-label {
    grid-column: 1 / -1;
    color: var(--home-muted);
    font-size: 0.73rem;
}

body[data-page="home"] .property-card__price-value,
body[data-page="home"] .service-card__price-value {
    color: var(--home-blue-deep);
    font-size: 1.16rem;
}

body[data-page="home"] .property-card__price-unit,
body[data-page="home"] .service-card__price-unit {
    color: var(--home-muted);
    font-size: 0.76rem;
}

body[data-page="home"] .review-card {
    padding: 1.15rem;
}

body[data-page="home"] .review-card__header,
body[data-page="home"] .review-card__footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

body[data-page="home"] .review-card__rating {
    flex: 0 0 auto;
    color: #b67808;
    letter-spacing: 0.08em;
}

body[data-page="home"] .review-card__comment {
    min-height: 5.5rem;
    margin: 1rem 0;
    color: #373b5d;
    font-size: 0.94rem;
    line-height: 1.65;
}

body[data-page="home"] .review-card__author {
    display: grid;
    color: var(--home-muted);
    font-size: 0.78rem;
}

body[data-page="home"] .review-card__author span {
    color: var(--home-blue-deep);
    font-weight: 800;
}

body[data-page="home"] .verified-booking-label {
    padding: 0.34rem 0.56rem;
    color: #0b5f3b;
    border-radius: 999px;
    background: #e7f8ef;
    font-size: 0.7rem;
    font-weight: 850;
}

body[data-page="home"] .content-loading,
body[data-page="home"] .empty-state,
body[data-page="home"] .error-state {
    padding: clamp(1.4rem, 3vw, 2.4rem);
    color: var(--home-muted);
    border: 1px solid rgb(7 0 120 / 0.12);
    border-radius: 18px;
    background: rgb(255 255 255 / 0.76);
    text-align: center;
}

body[data-page="home"] .empty-state__title,
body[data-page="home"] .error-state__title {
    color: var(--home-blue-deep);
}

body[data-page="home"] .accommodation-provider-travel-service-provider-section__grid,
body[data-page="home"] .mobile-application-section__grid,
body[data-page="home"] .newsletter-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

body[data-page="home"] .accommodation-provider-travel-service-provider-section__image,
body[data-page="home"] .mobile-application-section__image {
    width: 100%;
    max-height: 520px;
    border: 1px solid rgb(243 200 91 / 0.44);
    border-radius: 26px;
    box-shadow: 0 26px 64px rgb(4 0 82 / 0.2);
    object-fit: cover;
}

body[data-page="home"] .button-group {
    display: flex;
    margin-top: 1.25rem;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body[data-page="home"] .accommodation-provider-travel-service-provider-section .button--primary,
body[data-page="home"] .newsletter-section .button--primary {
    color: var(--home-blue-deep);
    border-color: var(--home-gold);
    background: linear-gradient(135deg, var(--home-gold-light), var(--home-gold));
}

body[data-page="home"] .newsletter-form {
    padding: 1.25rem;
    border: 1px solid rgb(7 0 120 / 0.13);
    border-radius: 20px;
    background: var(--home-white);
    box-shadow: 0 18px 44px rgb(4 0 82 / 0.11);
}

body[data-page="home"] .newsletter-capability-status {
    padding: 1.25rem;
    border: 1px solid rgb(216 173 89 / 0.46);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgb(255 255 255 / 0.96), rgb(249 244 230 / 0.94));
    box-shadow: 0 18px 44px rgb(4 0 82 / 0.1);
}

body[data-page="home"] .newsletter-capability-status strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--home-blue-deep);
    font-size: 1rem;
}

body[data-page="home"] .newsletter-capability-status p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}

body[data-page="home"] .newsletter-form__control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

body[data-page="home"] .site-footer {
    margin-top: 0;
}

@media (max-width: 1180px) {
    body[data-page="home"] .search-form--hero .form-field {
        grid-column: span 3;
    }

    body[data-page="home"] .search-form--hero .search-form__location {
        grid-column: span 6;
    }

    body[data-page="home"] .search-form--hero .search-form__submit {
        grid-column: span 3;
    }
}

@media (max-width: 940px) {
    body[data-page="home"] .service-category-grid,
    body[data-page="home"] .card-grid,
    body[data-page="home"] .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="home"] .accommodation-provider-travel-service-provider-section__grid,
    body[data-page="home"] .mobile-application-section__grid,
    body[data-page="home"] .newsletter-section__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    body[data-page="home"] .hero {
        min-height: auto;
    }

    body[data-page="home"] .hero__content {
        padding-block: 1.8rem;
    }

    body[data-page="home"] .hero__title {
        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.12;
        overflow-wrap: break-word;
    }

    body[data-page="home"] .search-form__intro,
    body[data-page="home"] .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    body[data-page="home"] .search-form__intro span {
        white-space: normal;
    }

    body[data-page="home"] .search-form__grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .search-form--hero .form-field,
    body[data-page="home"] .search-form--hero .search-form__location,
    body[data-page="home"] .search-form--hero .search-form__submit {
        grid-column: 1;
    }

    body[data-page="home"] .search-ranking-disclosure {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .service-category-grid,
    body[data-page="home"] .card-grid,
    body[data-page="home"] .review-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="home"] .newsletter-form__control {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-page="home"] *,
    body[data-page="home"] *::before,
    body[data-page="home"] *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
