/* =========================================
   FEATURES / WHY US ENHANCEMENTS
   ========================================= */

:root {
    --feature-bg: #FDFBF7;
    /* Warm light beige */
    --feature-accent: #D4A373;
    /* Gold/Sand */
    --feature-text: #2C1E1A;
    /* Dark Walnut */
    --feature-card-bg: #FFFFFF;
}

.features-enhanced {
    padding: 8rem 0;
    background-color: var(--feature-bg);
    position: relative;
    overflow: hidden;
}

/* Subtle Texture Overlay */
.features-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/seamless_light_wood_bg.png');
    /* Existing asset */
    background-size: 300px;
    opacity: 0.4;
    /* Subtle texture */
    pointer-events: none;
    z-index: 0;
}

.features-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.features-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--feature-text);
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.15rem;
    color: #666;
    font-family: 'Outfit', sans-serif;
}

/* Decoration Line */
.features-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--feature-accent);
    margin: 1.5rem auto 0;
}

/* Grid Layout */
.features-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 grid */
    gap: 3rem;
}

@media (min-width: 1100px) {
    .features-grid-new {
        grid-template-columns: repeat(4, 1fr);
        /* 4 in a row on large screens */
        gap: 2rem;
    }
}

/* Feature Card */
.feature-card-new {
    background: var(--feature-card-bg);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effects */
.feature-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 163, 115, 0.3);
}

/* Animated Border Top */
.feature-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--feature-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card-new:hover::before {
    transform: scaleX(1);
}

/* Icon Styling */
.f-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #FFF8F0;
    /* Very light accent tint */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    color: var(--feature-accent);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card-new:hover .f-icon-wrapper {
    background: var(--feature-accent);
    color: white;
    transform: rotateY(180deg);
}

.f-icon-wrapper i {
    transition: transform 0.3s;
}

.feature-card-new:hover .f-icon-wrapper i {
    transform: rotateY(-180deg);
    /* Counter rotate icon so it stays legible if needed, or let it flip */
}

/* Typography */
.feature-card-new h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--feature-text);
}

.feature-card-new p {
    font-size: 1rem;
    color: #777;
    line-height: 1.6;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .features-grid-new {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 2rem;
    }

    .features-header h2 {
        font-size: 2.5rem;
    }
}