/* Products Page Styles - Fresh Start */

/* ===================== */
/* Service Real Images */
/* ===================== */
.service-real-image {
    width: 100%;
    height: 430px;
    object-fit: fill;
    object-position: center center;
    border-radius: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-real-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Products Section */
.products-section {
    padding: 4rem;
}

/* Product Item */
.product-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
    min-height: 400px;
}

/* Product Content - Default order (left side) */
.product-content {
    order: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Product Image - Default order (right side) */
.product-image {
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 430px;
}

/* Reverse layout for even items */
.product-item.reverse .product-content {
    order: 2;
}

.product-item.reverse .product-image {
    order: 1;
}

.product-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 0.5rem 0;
    display: flex;
    gap: .5rem;
    align-items: baseline;
}

.product-title-main {
    color: var(--mhh-salmon-dark);
    /* light gray for dark backgrounds */
}

.product-title-accent {
    background: linear-gradient(135deg, var(--mhh-teal-600, #0ea5b1), var(--mhh-teal-400, #2dd4bf));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.25s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    min-width: 140px;
}

.product-btn.primary {
    background: var(--mhh-salmon);
    color: var(--mhh-white);
    border: 2px solid var(--mhh-salmon);
}

.product-btn.primary:hover {
    background: var(--mhh-salmon-dark);
    border-color: var(--mhh-salmon-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 134, 115, 0.3);
}

.image-background {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.image-background:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Color Variants */
.image-background.lavender {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border: 3px solid #f3f4f6;
}

.image-background.peach {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    border: 3px solid #fef3c7;
}

.image-background.teal {
    background: linear-gradient(135deg, #a5f3fc 0%, #22d3ee 100%);
    border: 3px solid #ecfeff;
}

.image-background.sage {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    border: 3px solid #dcfce7;
}

.image-background.indigo {
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    border: 3px solid #e0e7ff;
}

/* Product Bottle Styles */
.product-bottle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Purple Bottle (Chakra Oil) */
.purple-bottle {
    width: 80px;
    height: 160px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-radius: 40px 40px 8px 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.bottle-cap {
    width: 60px;
    height: 20px;
    background: #1f2937;
    border-radius: 30px 30px 0 0;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.bottle-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1f2937;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Peach Bottle (Crystal Kit) */
.peach-bottle {
    width: 80px;
    height: 160px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 40px 40px 8px 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.light-cap {
    background: #f3f4f6;
}

/* Teal Tube (Aura Mist) */
.teal-tube {
    width: 100px;
    height: 140px;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    border-radius: 50px 50px 8px 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.tube-cap {
    width: 70px;
    height: 25px;
    background: #1f2937;
    border-radius: 35px 35px 0 0;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.tube-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1f2937;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Sage Journal */
.sage-journal {
    width: 120px;
    height: 140px;
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(134, 239, 172, 0.3);
}

.journal-cover {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 10px;
    border: 2px solid #fbbf24;
}

.journal-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1f2937;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Indigo Candles */
.indigo-candles {
    width: 100px;
    height: 140px;
    background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
    border-radius: 50px 50px 8px 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(165, 180, 252, 0.3);
}

.candle-holder {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 40px 40px 4px 4px;
    position: absolute;
    top: 20px;
    left: 10px;
    border: 2px solid #d1d5db;
}

.candle-label {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #1f2937;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Services Info Section */
.services-info-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    margin: 2rem 0;
    border-radius: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-price {
    display: inline-block;
    background: #f59e0b;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-item {
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .image-background {
        width: 240px;
        height: 240px;
    }

    .purple-bottle,
    .peach-bottle {
        width: 70px;
        height: 140px;
        border-radius: 35px 35px 6px 6px;
    }

    .teal-tube {
        width: 85px;
        height: 120px;
        border-radius: 42px 42px 6px 6px;
    }

    .sage-journal {
        width: 100px;
        height: 120px;
    }

    .indigo-candles {
        width: 85px;
        height: 120px;
        border-radius: 42px 42px 6px 6px;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 2rem 0;
    }

    .product-item {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 3rem;
        text-align: center;
    }

    .product-content {
        order: 2;
        padding: 1.5rem;
    }

    .product-image {
        order: 1;
        min-height: unset;
        margin: 15px;
    }

    .image-background {
        width: 200px;
        height: 200px;
    }

    .purple-bottle,
    .peach-bottle {
        width: 60px;
        height: 120px;
        border-radius: 30px 30px 5px 5px;
    }

    .teal-tube {
        width: 70px;
        height: 100px;
        border-radius: 35px 35px 5px 5px;
    }

    .sage-journal {
        width: 80px;
        height: 100px;
    }

    .service-real-image {
        min-height: unset;
        height: unset;
    }

    .indigo-candles {
        width: 70px;
        height: 100px;
        border-radius: 35px 35px 5px 5px;
    }

    .product-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-description {
        font-size: 1rem;
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-content {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
        align-items: center;
    }

    .product-btn {
        width: 100%;
        max-width: 280px;
    }

    .image-background {
        width: 180px;
        height: 180px;
    }

    .purple-bottle,
    .peach-bottle {
        width: 50px;
        height: 100px;
        border-radius: 25px 25px 4px 4px;
    }

    .teal-tube {
        width: 60px;
        height: 85px;
        border-radius: 30px 30px 4px 4px;
    }

    .sage-journal {
        width: 70px;
        height: 85px;
    }

    .indigo-candles {
        width: 60px;
        height: 85px;
        border-radius: 30px 30px 4px 4px;
    }
}

/* Services page hero background override (scoped) */
.services-hero::after {
    background-image: url('../images/service-page-hero.jpg');
    background-size: cover;
    background-position: center;
}

/* Improve readability and color styling for services hero content */
.services-hero {
    color: var(--mhh-teal-50);
}

/* subtle overlay for contrast */
.services-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--mhh-teal-900) 0%, var(--mhh-teal-800) 100%);
    opacity: .6;
    z-index: -1;
}

.services-hero .show-car {
    color: var(--mhh-teal-800);
}

.services-hero .some-love {
    background: linear-gradient(135deg, var(--mhh-teal-900), var(--mhh-teal-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero .hero-p {
    color: var(--mhh-teal-800);
}

/* Teal button styling in services hero */
.services-hero .btn {
    background-color: var(--mhh-teal-800);
    border-color: var(--mhh-teal-800);
    color: var(--mhh-white);
}

.services-hero .btn:hover {
    background-color: var(--mhh-teal-900);
    border-color: var(--mhh-teal-900);
}