@charset "UTF-8";

body {
    background:
        linear-gradient(rgba(9, 27, 41, 0.32), rgba(9, 27, 41, 0.42)),
        url('/Background/Village.webp') center / cover fixed no-repeat;
}

main {
    width: min(var(--content-width), calc(100% - 64px));
    margin: 0 auto;
    padding: clamp(28px, 5vw, 70px) 0;
}

.hero {
    position: relative;
    min-height: clamp(420px, 66vh, 680px);
    margin: 0 0 28px;
    padding: clamp(36px, 7vw, 82px);
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(7, 23, 35, 0.78) 0%, rgba(7, 23, 35, 0.46) 52%, rgba(7, 23, 35, 0.08) 100%),
        url('/Background/Village.webp') center / cover no-repeat;
    box-shadow: var(--shadow-lg);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(7, 23, 35, 0.14));
    pointer-events: none;
}

.hero-text {
    max-width: 720px;
    text-align: left;
}

.hero-text h1 {
    max-width: 760px;
    margin-bottom: 1rem;
    color: #fff;
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-text p {
    max-width: 560px;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.83);
    font-size: clamp(1rem, 1.8vw, 1.24rem);
}

.hero-text .btn {
    background: var(--color-sand-500);
    color: var(--color-navy-950);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hero-text .btn:hover {
    background: var(--color-sand-400);
}


.hero-logo {
    position: absolute;
    z-index: 2;
    top: clamp(38px, 7vw, 200px);
    right: clamp(38px, 7vw, 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo img {
    width: clamp(220px, 23vw, 330px);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.property {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.property a {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: var(--color-navy-900);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    transform: translateY(0) scale(1);
    transition:
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 420ms ease;
    will-change: transform;
}

.property a:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.28);
}

.property a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 10%, rgba(7, 23, 35, 0.84) 100%);
}

.property a img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.property-name {
    position: absolute;
    z-index: 1;
    left: 24px;
    right: 24px;
    bottom: 22px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 750;
    letter-spacing: -0.02em;
}

@media (max-width: 900px) {
    main {
        width: min(100% - 32px, var(--content-width));
    }

    .hero {
        min-height: 520px;
        padding: 30px;
        background-position: center;
    }

        .hero-logo {
        top: auto;
        right: clamp(24px, 6vw, 52px);
        bottom: clamp(28px, 6vw, 55px);
    }

    .hero-logo img {
        width: clamp(170px, 30vw, 220px);
    }

    .property {
        grid-template-columns: 1fr;
    }

    .property a,
    .property a img {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    main {
        width: min(100% - 24px, var(--content-width));
    }

	.hero {
        min-height: 460px;
        padding: 24px;
        border-radius: 20px;
    }

    .hero-text h1 {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .hero-logo {
        position: static;
        margin-top: 28px;
        justify-content: flex-start;
        top: clamp(38px, 15vw, 300px);
    	right: clamp(38px, 7vw, 100px);
    }

    .hero-logo img {
        width: min(58vw, 210px);
    }

    .property a,
    .property a img {
        min-height: 310px;
    }
}
