
/* ==========================================
   Nurrong | নূরঙ
   HOMEPAGE STYLES
   ========================================== */


/* ==========================================
   01. HERO — FROZEN
   Image managed by Gutenberg Cover.
   ========================================== */

/* Cover layout */

.nurrong-home-cover.wp-block-cover {
    width: 100%;
    min-height: 0;
    padding: 0 !important;
}

.nurrong-home-cover > .wp-block-cover__inner-container {
    width: 100%;
    max-width: none;
    padding: 0;
}

/* Hero structure */

.nurrong-home-hero {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 620px;
}

.nurrong-home-hero__inner {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 80px 24px;
}

.nurrong-home-hero__content {
    width: 100%;
    max-width: 490px;
}

/* Hero eyebrow */

.nurrong-home-hero__eyebrow {
    display: block;
    margin-bottom: 22px;
    color: #95650F;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Hero heading */

.nurrong-home-hero h1 {
    margin: 0 0 22px;
    color: #0A0500;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.8px;
}

/* Hero description */

.nurrong-home-hero__description {
    max-width: 430px;
    margin: 0 0 30px;
    color: #514C47;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* Primary CTA */

.nurrong-home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #0A0500;
    border-radius: 6px;
    background: #0A0500;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.nurrong-home-hero__button:hover,
.nurrong-home-hero__button:focus-visible {
    background: #D19A2A;
    border-color: #D19A2A;
    color: #0A0500;
}

.nurrong-home-hero__button:focus-visible {
    outline: 2px solid #0A0500;
    outline-offset: 3px;
}


/* ==========================================
   02. SHARED HOMEPAGE LAYOUT
   Reusable for all homepage sections.
   ========================================== */

.nurrong-home-section {
    width: 100%;
    padding-block: 72px;
}

.nurrong-home-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
}


/* ==========================================
   03. SHARED SECTION EYEBROW
   Reusable dark-gold section label.
   ========================================== */

.nurrong-section-eyebrow {
    margin: 0 0 16px;
    color: #95650F;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* ==========================================
   04. CATEGORY DISCOVERY — FROZEN
   Section: Explore Nurrong
   ========================================== */

/* Four equal columns on desktop */

.nurrong-category-grid.wp-block-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-block-start: 32px;
}

/* Category card */

.nurrong-category-grid > .nurrong-category-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #E9E5DF;
    border-radius: 8px;
    background: #FFFFFF;
}

/* Category image */

.nurrong-category-card > .wp-block-image {
    width: 100%;
    margin: 0 !important;
}

.nurrong-category-card > .wp-block-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Category title */

.nurrong-category-card > h3 {
    box-sizing: content-box;
    min-height: 2.7em;
    margin: 0 !important;
    padding: 16px 16px 0;
    color: #0A0500;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

/* Category description */

.nurrong-category-card > p {
    margin: 0 !important;
    padding: 6px 16px 18px;
    color: #625B52;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}


/* ==========================================
   05. THE NURRONG PROMISE — FROZEN
   Compact cards, centered content.
   ========================================== */

/* Full-width section background */

.nurrong-promise-section {
    background: #FAF9F7;
}

/* Section introduction */

.nurrong-promise {
    text-align: center;
}

.nurrong-promise > .nurrong-section-eyebrow {
    margin: 0 0 16px;
}

.nurrong-promise__title {
    margin: 0 0 16px;
    color: #0A0500;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.nurrong-promise__description {
    max-width: 640px;
    margin: 0 auto;
    color: #625B52;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* Promise grid */

.nurrong-promise-grid.wp-block-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin: 32px 0 0;
}

/* Individual promise cards */

.nurrong-promise-grid > .nurrong-promise-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 28px 20px;
    border-radius: 8px;
    background: #F6F3EE;
    text-align: center;
}

/* Promise heading */

.nurrong-promise-card > h3,
.nurrong-promise-card > h4 {
    margin: 0;
    color: #0A0500;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

/* Promise description */

.nurrong-promise-card > p {
    margin: 0;
    color: #625B52;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* ==========================================
   06. SHOPPING CONFIDENCE — NEW
   Near-gold icons with soft backgrounds.
   ========================================== */

/* Section background */

.nurrong-confidence-section {
    background: #FFFFFF;
}

/* Section introduction */

.nurrong-confidence {
    text-align: center;
}

.nurrong-confidence > .nurrong-section-eyebrow {
    margin: 0 0 16px;
}

.nurrong-confidence__title {
    margin: 0 0 16px;
    color: #0A0500;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.nurrong-confidence__description {
    max-width: 640px;
    margin: 0 auto;
    color: #625B52;
    font-size: 16px;
    line-height: 1.65;
}

/* Four-column confidence grid */

.nurrong-confidence-grid.wp-block-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin-block-start: 36px;
}

/* Individual confidence item */

.nurrong-confidence-grid > .nurrong-confidence-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 16px 12px;
    text-align: center;
}

/* Reset Gutenberg block spacing inside items */

.nurrong-confidence-item > * {
    margin-block: 0;
}

/* Gold icon container */

.nurrong-confidence-icon {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
    background: #F7F1E6;
    color: #95650F;
}

/* Inline SVG icon */

.nurrong-confidence-icon svg {
    display: block;
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Confidence heading */

.nurrong-confidence-item > h3,
.nurrong-confidence-item > h4 {
    margin: 0;
    color: #0A0500;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Confidence description */

.nurrong-confidence-item > p {
    max-width: 240px;
    margin: 0;
    color: #625B52;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* ==========================================
   07. TABLET
   768px – 1024px
   ========================================== */

@media (min-width: 768px) and (max-width: 1024px) {

    /* Hero */

    .nurrong-home-hero {
        min-height: 520px;
    }

    .nurrong-home-hero__inner {
        padding: 64px 32px;
    }

    .nurrong-home-hero__content {
        max-width: 420px;
    }

    .nurrong-home-hero h1 {
        font-size: 34px;
    }

    /* Categories */

    .nurrong-category-grid.wp-block-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    /* Promise */

    .nurrong-promise-grid.wp-block-columns {
        gap: 12px;
    }

    .nurrong-promise-grid > .nurrong-promise-card {
        padding: 24px 16px;
    }

    /* Confidence */

    .nurrong-confidence-grid.wp-block-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
    }
}


/* ==========================================
   08. MOBILE
   Up to 767px
   ========================================== */

@media (max-width: 767px) {

    /* Hero */

    .nurrong-home-hero {
        min-height: 610px;
        align-items: flex-start;
    }

    .nurrong-home-hero__inner {
        padding: 38px 24px 250px;
    }

    .nurrong-home-hero__content {
        max-width: 100%;
    }

    .nurrong-home-hero__eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 1.7px;
    }

    .nurrong-home-hero h1 {
        margin-bottom: 18px;
        font-size: 32px;
        line-height: 1.18;
        letter-spacing: -0.5px;
    }

    .nurrong-home-hero__description {
        margin-bottom: 24px;
        font-size: 14px;
        line-height: 1.65;
    }

    .nurrong-home-hero__button {
        padding: 10px 20px;
    }

    /* Shared section spacing */

    .nurrong-home-section {
        padding-block: 48px;
    }

    /* Categories */

    .nurrong-category-grid.wp-block-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-block-start: 24px;
    }

    .nurrong-category-card > h3 {
        min-height: 2.7em;
        padding: 12px 12px 0;
        font-size: 16px;
        line-height: 1.35;
    }

    .nurrong-category-card > p {
        padding: 6px 12px 16px;
        font-size: 13px;
        line-height: 1.55;
    }

    /* Promise introduction */

    .nurrong-promise__title {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .nurrong-promise__description {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Confidence introduction */

    .nurrong-confidence__title {
        margin-bottom: 12px;
        font-size: 32px;
    }

    .nurrong-confidence__description {
        font-size: 14px;
        line-height: 1.65;
    }

    /* Confidence grid */

    .nurrong-confidence-grid.wp-block-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
        margin-block-start: 28px;
    }

    .nurrong-confidence-grid > .nurrong-confidence-item {
        padding: 12px 6px;
    }

    .nurrong-confidence-icon {
        width: 48px;
        height: 48px;
    }

    .nurrong-confidence-icon svg {
        width: 26px;
        height: 26px;
    }

    .nurrong-confidence-item > h3,
    .nurrong-confidence-item > h4 {
        font-size: 16px;
    }

    .nurrong-confidence-item > p {
        font-size: 13px;
        line-height: 1.55;
    }
}


/* ==========================================
   09. GUTENBERG COLUMN STACKING
   Up to 781px
   ========================================== */

@media (max-width: 781px) {

    .nurrong-promise-grid.wp-block-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 24px;
    }

    .nurrong-promise-grid > .nurrong-promise-card {
        padding: 22px 20px;
    }

    .nurrong-promise-card > h3,
    .nurrong-promise-card > h4 {
        font-size: 22px;
    }

    .nurrong-promise-card > p {
        font-size: 14px;
    }
}


/* ==========================================
   10. SMALL MOBILE
   Up to 374px
   ========================================== */

@media (max-width: 374px) {

    /* Hero */

    .nurrong-home-hero__inner {
        padding-inline: 20px;
    }

    .nurrong-home-hero h1 {
        font-size: 29px;
    }

    .nurrong-home-hero__button {
        gap: 14px;
    }
}


/* ==========================================
   11. EXTRA SMALL SCREENS
   Up to 359px
   ========================================== */

@media (max-width: 359px) {

    .nurrong-category-grid.wp-block-group,
    .nurrong-confidence-grid.wp-block-group {
        grid-template-columns: 1fr;
    }

    .nurrong-category-card > h3 {
        min-height: 0;
    }
}



/* ==========================================
   12. CONTACT & SUPPORT
   Final homepage section.
   ========================================== */

.nurrong-contact-section {
    background: #FFFFFF;
}

.nurrong-contact-panel {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 64px 24px;
    border-radius: 8px;
    background: #FAF9F7;
    text-align: center;
}

.nurrong-contact-panel > .nurrong-section-eyebrow {
    margin: 0 0 16px;
}

.nurrong-contact-panel > h2 {
    margin: 0 0 16px;
    color: #0A0500;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.nurrong-contact-panel > p:not(.nurrong-section-eyebrow) {
    max-width: 560px;
    margin: 0 0 28px;
    color: #625B52;
    font-size: 16px;
    line-height: 1.65;
}

.nurrong-contact-panel .wp-block-buttons {
    justify-content: center;
    margin: 0;
}

.nurrong-contact-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 24px;
    border: 1px solid #0A0500;
    border-radius: 6px;
    background: #0A0500;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.nurrong-contact-button .wp-block-button__link:hover,
.nurrong-contact-button .wp-block-button__link:focus-visible {
    background: #D19A2A;
    border-color: #D19A2A;
    color: #0A0500;
}

.nurrong-contact-button .wp-block-button__link:focus-visible {
    outline: 2px solid #0A0500;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .nurrong-contact-panel {
        padding: 40px 20px;
    }

    .nurrong-contact-panel > h2 {
        font-size: 26px;
    }

    .nurrong-contact-panel > p:not(.nurrong-section-eyebrow) {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .nurrong-contact-button .wp-block-button__link {
        padding-inline: 20px;
    }
}
