/* ============================================
   StoneSpot Features Page — Editorial Layout
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "open-sans", sans-serif;
    color: #002c3d; /* Midnight */
    background-color: #ffffff;
}

/* ============================================
   Hero Header
   ============================================ */

.features-hero {
    background-color: #002c3d; /* Midnight */
    text-align: center;
    padding: 80px 40px 70px;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    color: #bad8dc; /* Glacier — soft contrast on dark */
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   Feature Sections — Base
   ============================================ */

.feature-section {
    width: 100%;
    padding: 80px 60px;
}

.feature-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

.feature-inner.reverse {
    flex-direction: row-reverse;
}

/* ---------- Icon Side ---------- */

.feature-icon-side {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrap {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.accent-bar {
    width: 48px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #002c3d;
}

/* ---------- Content Side ---------- */

.feature-content-side {
    flex: 1;
    min-width: 0;
}

/* ---------- Feature List ---------- */

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.feature-list li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    font-size: 18px;
    font-weight: 400;
    color: #002c3d;
    line-height: 1.5;
}

.check {
    color: #2f885a; /* Jade */
    font-weight: 700;
    flex-shrink: 0;
    font-size: 17px;
}

/* ---------- Learn More Button ---------- */

.learn-more-btn {
    display: inline-block;
    padding: 14px 48px;
    text-align: center;
    font-family: "open-sans", sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    text-decoration: none;
    background-color: #d81f29; /* Scarlet — brand CTA */
    color: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.learn-more-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 4px 16px rgba(216, 31, 41, 0.35);
}

/* ============================================
   Photo Feature Section (Section 1)
   ============================================ */

.feature-section--photo {
    padding: 100px 60px;
}

.feature-section--photo .feature-inner {
    gap: 64px;
}

.feature-section--photo .feature-content-side .accent-bar {
    margin-bottom: 12px;
}

.feature-title--large {
    font-size: 40px;
    margin-bottom: 24px;
}

/* ---------- Photo Side ---------- */

.feature-photo-side {
    flex: 0 0 520px;
    position: relative;
}

.photo-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 44, 61, 0.18);
}

.feature-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.photo-accent-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: #faaf43; /* Honey accent */
}

/* Icon badge overlapping bottom-right of photo */
.photo-icon-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 72px;
    height: 72px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.photo-icon-badge .feature-icon {
    width: 44px;
    height: 44px;
}

/* ============================================
   Background Variants
   ============================================ */

.bg-white {
    background-color: #ffffff;
}

.bg-mist {
    background-color: #f7f8f6;
}

.bg-midnight {
    background-color: #002c3d;
}

.bg-glacier {
    background-color: #eaf3f4;
}

/* ---------- Dark section overrides (Midnight) ---------- */

.bg-midnight .feature-title {
    color: #ffffff;
}

.bg-midnight .feature-list li {
    color: #e0e8eb;
}

.bg-midnight .check {
    color: #6dcf99; /* Lighter jade for dark bg */
}

.bg-midnight .learn-more-btn {
    background-color: #d81f29;
    color: #ffffff;
}

/* ============================================
   Accent Bar Colors (per data-accent)
   ============================================ */

[data-accent="honey"] .accent-bar {
    background-color: #faaf43;
}

[data-accent="midnight"] .accent-bar {
    background-color: #002c3d;
}

[data-accent="glacier"] .accent-bar {
    background-color: #bad8dc;
}

[data-accent="harbor"] .accent-bar {
    background-color: #03506f;
}

[data-accent="seafoam"] .accent-bar {
    background-color: #7abdc4;
}

[data-accent="garnet"] .accent-bar {
    background-color: #a42322;
}

/* ============================================
   Responsive — Tablet (900px)
   ============================================ */

@media (max-width: 900px) {
    .features-hero {
        padding: 60px 24px 50px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .feature-section {
        padding: 60px 32px;
    }

    .feature-section--photo {
        padding: 60px 32px;
    }

    .feature-inner,
    .feature-inner.reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .feature-icon-side {
        flex: none;
        width: 100%;
    }

    .feature-content-side {
        width: 100%;
    }

    .feature-photo-side {
        flex: none;
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .photo-icon-badge {
        bottom: -20px;
        right: 12px;
        width: 60px;
        height: 60px;
    }

    .photo-icon-badge .feature-icon {
        width: 36px;
        height: 36px;
    }

    .feature-title--large {
        font-size: 34px;
    }

    .feature-list li {
        justify-content: center;
    }

    .learn-more-btn {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ============================================
   Responsive — Mobile (600px)
   ============================================ */

@media (max-width: 600px) {
    .features-hero {
        padding: 48px 16px 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .feature-section {
        padding: 48px 20px;
    }

    .feature-section--photo {
        padding: 48px 20px;
    }

    .feature-inner {
        gap: 28px;
    }

    .icon-wrap {
        width: 90px;
        height: 90px;
    }

    .feature-title {
        font-size: 26px;
    }

    .feature-title--large {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .photo-icon-badge {
        width: 52px;
        height: 52px;
        bottom: -16px;
        right: 8px;
    }

    .photo-icon-badge .feature-icon {
        width: 30px;
        height: 30px;
    }

    .feature-list li {
        font-size: 16px;
    }

    .learn-more-btn {
        padding: 12px 32px;
        font-size: 1em;
    }
}