/* =====================================================
   ALANONA HOMEPAGE
   Editorial Luxury Design
   File: /assets/css/homepage-editorial.css
===================================================== */

.home-editorial {
    --home-navy: #102d3a;
    --home-teal: #287b78;
    --home-gold: #d7ae68;
    --home-bg: #f6f8f7;
    --home-text: #263b43;
    --home-muted: #68787d;
    --home-line: #e1e8e6;

    color: var(--home-text);
    background: #ffffff;
    overflow: hidden;
}

.home-editorial * {
    box-sizing: border-box;
}

.home-editorial img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-editorial a {
    text-decoration: none;
}


/* =====================================================
   COMMON
===================================================== */

.home-section-label {
    display: block;
    color: var(--home-teal);
    font-size: 10px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.7;
    text-transform: uppercase;
}

.home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 28px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--home-teal);
    color: var(--home-navy);
    font-size: 12px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color .3s ease, gap .3s ease;
}

.home-text-link span {
    color: var(--home-teal);
    font-size: 18px;
	font-family: Montserrat, serif;
    line-height: 1;
    transition: transform .3s ease;
}

.home-text-link:hover {
    color: var(--home-teal);
    gap: 21px;
}

.home-text-link:hover span {
    transform: translate(3px, -3px);
}


/* =====================================================
   MAIN HERO
===================================================== */

.home-hero {
    position: relative;
    min-height: 690px;
    min-height: min(760px, 82vh);
    display: flex;
    align-items: center;
    background: var(--home-navy);
    overflow: hidden;
}

.home-hero-image {
    position: absolute;
    inset: 0;
}

.home-hero-image img {
    object-position: center;
    opacity: .78;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(8, 27, 36, .82) 0%,
            rgba(8, 27, 36, .48) 48%,
            rgba(8, 27, 36, .08) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 27, 36, .42),
            transparent 40%
        );
}

.home-hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 110px 0 120px;
    color: #ffffff;
}

.home-hero .home-eyebrow {
    display: block;
    margin-bottom: 25px;
    color: var(--home-gold);
    font-size: 10px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 3px;
}

.home-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: clamp(66px, 9vw, 116px);
    font-weight: 400;
    line-height: .99;
    letter-spacing: -4px;
}

.home-hero h1 span {
    color: var(--home-gold);
    font-style: italic;
}

.home-hero-content > p {
    max-width: 490px;
    margin: 30px 0 32px;
    color: rgba(255,255,255,.88);
    font-size: 15px;
	font-family: Montserrat, serif;
    line-height: 1.9;
}

.home-hero-button {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 16px 22px;
    background: var(--home-gold);
    color: var(--home-navy);
    font-size: 11px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    transition: background .3s ease, transform .3s ease;
}

.home-hero-button span {
    font-size: 18px;
	font-family: Montserrat, serif;
}

.home-hero-button:hover {
    background: #edca8b;
    transform: translateY(-3px);
}

.home-hero-bottom {
    position: absolute;
    z-index: 2;
    right: 40px;
    bottom: 27px;
    left: 40px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.28);
    color: rgba(255,255,255,.8);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =====================================================
   INTRODUCTION
===================================================== */

.home-intro {
    padding: 115px 30px 105px;
    background: var(--home-bg);
    text-align: center;
}

.home-intro-inner {
    max-width: 850px;
    margin: 0 auto;
}

.home-intro h2 {
    margin: 23px 0 22px;
    color: var(--home-navy);
    font-family: Georgia, serif;
    font-size: clamp(35px, 5vw, 58px);
    font-weight: 400;
    line-height: 1.2;
}

.home-intro h2 span {
    color: var(--home-teal);
    font-style: italic;
}

.home-intro p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--home-muted);
    font-size: 14px;
	font-family: Montserrat, serif;
    line-height: 2;
}


/* =====================================================
   EDITORIAL SECTIONS
===================================================== */

.home-editorial-section {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: clamp(55px, 8vw, 120px);
    max-width: 1320px;
    margin: 0 auto;
    padding: 105px 55px;
}

.home-editorial-section + .home-editorial-section {
    border-top: 1px solid var(--home-line);
}

.home-editorial-section.home-editorial-reverse {
    grid-template-columns: .92fr 1.08fr;
}

.home-editorial-reverse .home-editorial-image {
    order: 2;
}

.home-editorial-reverse .home-editorial-content {
    order: 1;
}

.home-editorial-image {
    position: relative;
    height: 470px;
    min-width: 0;
    overflow: hidden;
    background: #e8eeeb;
}

.home-editorial-image img {
    transition: transform .8s ease;
}

.home-editorial-image:hover img {
    transform: scale(1.035);
}

.home-image-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 13px 17px;
    background: rgba(16,45,58,.86);
    color: #ffffff;
    font-size: 9px;
	font-family: Montserrat, serif;
    font-weight: 600;
    letter-spacing: 1.7px;
}

.home-editorial-content {
    max-width: 470px;
}

.home-editorial-content h2 {
    margin: 24px 0 23px;
    color: var(--home-navy);
    font-family: Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.home-editorial-content h2 span {
    color: var(--home-teal);
    font-style: italic;
}

.home-editorial-content p {
    max-width: 420px;
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
	font-family: Montserrat, serif;
    line-height: 2;
}


/* =====================================================
   FEATURED LANGKAWI
===================================================== */

.home-langkawi {
    padding: 110px 35px;
    background: var(--home-bg);
}

.home-langkawi-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(55px, 8vw, 110px);
    max-width: 1180px;
    margin: 0 auto;
}

.home-langkawi-image {
    position: relative;
    height: 510px;
    overflow: hidden;
    background: #e5ece9;
}

.home-langkawi-image img {
    transition: transform .8s ease;
}

.home-langkawi-image:hover img {
    transform: scale(1.035);
}

.home-langkawi-image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 15px 20px;
    background: var(--home-navy);
    color: #ffffff;
    font-size: 10px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 2px;
}

.home-langkawi-content {
    max-width: 440px;
}

.home-langkawi-content h2 {
    margin: 24px 0;
    color: var(--home-navy);
    font-family: Georgia, serif;
    font-size: clamp(54px, 6vw, 76px);
    font-weight: 400;
    line-height: 1.02;
}

.home-langkawi-content h2 span {
    color: var(--home-teal);
    font-style: italic;
}

.home-langkawi-content p {
    margin: 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 2;
}

.home-langkawi-note {
    margin-top: 65px;
    padding-top: 17px;
    border-top: 1px solid #d5dfdc;
    color: var(--home-teal);
    font-size: 10px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 2.5px;
}


/* =====================================================
   YACHT SHOWCASE
===================================================== */

.home-yacht-showcase {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: var(--home-navy);
    overflow: hidden;
}

.home-yacht-image {
    position: absolute;
    inset: 0;
}

.home-yacht-image img {
    object-position: center 55%;
}

.home-yacht-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 27, 36, .84) 0%,
            rgba(7, 27, 36, .57) 52%,
            rgba(7, 27, 36, .12) 100%
        );
}

.home-yacht-content {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
    padding: 100px 0;
    color: #ffffff;
}

.home-yacht-content .home-section-label {
    color: var(--home-gold);
}

.home-yacht-content h2 {
    margin: 25px 0;
    color: #ffffff;
    font-family: Georgia, serif;
    font-size: clamp(52px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.05;
}

.home-yacht-content h2 span {
    color: var(--home-gold);
    font-style: italic;
}

.home-yacht-content p {
    max-width: 480px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 14px;
	font-family: Montserrat, serif;
    line-height: 2;
}

.home-yacht-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    padding: 16px 21px;
    background: var(--home-gold);
    color: var(--home-navy);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background .3s ease, transform .3s ease;
}

.home-yacht-button span {
    font-size: 18px;
}

.home-yacht-button:hover {
    background: #edca8b;
    transform: translateY(-3px);
}

.home-yacht-note {
    margin-top: 55px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.8);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* =====================================================
   CLOSING SECTION
===================================================== */

.home-closing {
    padding: 115px 25px 120px;
    background: #ffffff;
    text-align: center;
}

.home-closing h2 {
    margin: 24px 0 15px;
    color: var(--home-navy);
    font-family: Georgia, serif;
    font-size: clamp(54px, 7vw, 82px);
    font-weight: 400;
    line-height: 1.05;
}

.home-closing h2 span {
    color: var(--home-teal);
    font-style: italic;
}

.home-closing p {
    margin: 20px 0 28px;
    color: var(--home-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.home-closing-link {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--home-teal);
    color: var(--home-navy);
    font-size: 11px;
	font-family: Montserrat, serif;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: gap .3s ease, color .3s ease;
}

.home-closing-link span {
    color: var(--home-teal);
    font-size: 18px;
	font-family: Montserrat, serif;
}

.home-closing-link:hover {
    gap: 28px;
    color: var(--home-teal);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .home-hero {
        min-height: 620px;
    }

    .home-editorial-section,
    .home-editorial-section.home-editorial-reverse {
        gap: 40px;
        padding: 75px 35px;
    }

    .home-editorial-image {
        height: 390px;
    }

    .home-editorial-content h2 {
        font-size: 45px;
		font-family: Montserrat, serif;
    }

    .home-langkawi {
        padding: 80px 30px;
    }

    .home-langkawi-inner {
        gap: 45px;
    }

    .home-langkawi-image {
        height: 420px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .home-hero {
        min-height: 610px;
        min-height: 78svh;
    }

    .home-hero-content {
        width: calc(100% - 42px);
        padding: 100px 0 110px;
    }

    .home-hero .home-eyebrow {
        font-size: 9px;
		font-family: Montserrat, serif;
        letter-spacing: 2px;
    }

    .home-hero h1 {
        font-size: clamp(60px, 16vw, 82px);
		font-family: Montserrat, serif;
        letter-spacing: -2.5px;
    }

    .home-hero-content > p {
        max-width: 350px;
        font-size: 13px;
		font-family: Montserrat, serif;
    }

    .home-hero-bottom {
        right: 21px;
        bottom: 18px;
        left: 21px;
        font-size: 7px;
		font-family: Montserrat, serif;
        letter-spacing: 1px;
    }

    .home-intro {
        padding: 80px 23px;
    }

    .home-intro h2 {
        font-size: 37px;
		font-family: Montserrat, serif;
    }

    .home-intro p {
        font-size: 13px;
		font-family: Montserrat, serif;
    }

    /* Editorial image and text stack */

    .home-editorial-section,
    .home-editorial-section.home-editorial-reverse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding: 65px 22px;
    }

    .home-editorial-reverse .home-editorial-image,
    .home-editorial-reverse .home-editorial-content {
        order: initial;
    }

    .home-editorial-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .home-editorial-content {
        max-width: 100%;
    }

    .home-editorial-content h2 {
        margin: 17px 0;
        font-size: clamp(42px, 12vw, 54px);
		font-family: Montserrat, serif;
        letter-spacing: -1px;
    }

    .home-editorial-content p {
        font-size: 13px;
		font-family: Montserrat, serif;
    }

    .home-text-link {
        margin-top: 22px;
    }

    /* Langkawi */

    .home-langkawi {
        padding: 70px 22px;
    }

    .home-langkawi-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 35px;
    }

    .home-langkawi-image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .home-langkawi-content {
        max-width: 100%;
    }

    .home-langkawi-content h2 {
        font-size: 58px;
		font-family: Montserrat, serif;
    }

    .home-langkawi-note {
        margin-top: 38px;
    }

    /* Yacht */

    .home-yacht-showcase {
        min-height: 610px;
    }

    .home-yacht-content {
        width: calc(100% - 44px);
        padding: 85px 0;
    }

    .home-yacht-content h2 {
        font-size: clamp(48px, 13vw, 64px);
		font-family: Montserrat, serif;
    }

    .home-yacht-content p {
        font-size: 13px;
		font-family: Montserrat, serif;
    }

    .home-yacht-note {
        margin-top: 42px;
    }

    /* Closing */

    .home-closing {
        padding: 85px 22px 90px;
    }

    .home-closing h2 {
        font-size: 58px;
		font-family: Montserrat, serif;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

    .home-hero h1 {
        font-size: 57px;
    }

    .home-editorial-content h2 {
        font-size: 40px;
    }

    .home-langkawi-content h2 {
        font-size: 52px;
    }

    .home-yacht-content h2 {
        font-size: 46px;
    }

}