/* ============================================
   INPRINT WRAPPING — RED NEON THEME
   Blends 100% with styling.css (main site)
============================================ */

/* ---------- HERO SECTION ---------- */
.wrap-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    margin: 20px 0 40px;
    border: 1px solid rgba(255,0,0,0.15);
    box-shadow:
        0 0 15px rgba(255,0,0,0.25),
        0 0 40px rgba(255,0,0,0.12);
}

.wrap-hero img {
    width: 100%;
    display: block;
    opacity: 0.85;
}

.wrap-hero .hero-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 14px 18px;
    background: rgba(0,0,0,0.55);
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.wrap-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--accent-soft);
    text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

.wrap-hero p {
    color: var(--muted);
    font-size: 1rem;
}

/* ---------- SECTION WRAPPER ---------- */
.section {
    margin: 50px 0;
}

.section h2 {
    text-align: center;
    color: var(--accent-soft);
    font-size: 1.7rem;
    margin-bottom: 10px;
    text-shadow: 0 0 12px rgba(255,0,0,0.45);
}

.section p {
    text-align: center;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* ---------- BEFORE/AFTER GRID ---------- */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 20px;
    margin-top: 25px;
}

.before-after-card {
    background: var(--card);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.25s;
}

.before-after-card:hover {
    border-color: rgba(255,0,0,0.3);
    box-shadow:
        0 0 12px rgba(255,0,0,0.3),
        0 0 30px rgba(255,0,0,0.15);
}

.before-after-card h3 {
    margin-bottom: 8px;
    color: var(--accent-soft);
}

.before-after-card img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* ---------- PRICE ESTIMATOR BOX ---------- */
.estimator-box {
    background: var(--card);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255,0,0,0.25);
    box-shadow:
        0 0 10px rgba(255,0,0,0.3),
        0 0 50px rgba(255,0,0,0.15);
    max-width: 900px;
    margin: 30px auto;
}

.estimator-box h3 {
    margin-bottom: 20px;
    color: var(--accent-soft);
    text-align: center;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.panel-grid label {
    display: block;
    color: var(--muted);
    margin-bottom: 4px;
}

.panel-grid input {
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #111;
    color: #fff;
}

.estimator-box button:hover {
    filter: brightness(1.1);
}

#wrapTotal {
    text-align: center;
    margin-top: 20px;
    color: var(--accent-soft);
    font-size: 1.3rem;
}

/* ---------- RESPONSIVE HERO ---------- */
@media (max-width: 700px) {
    .wrap-hero .hero-text {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        bottom: 15px;
        width: calc(100% - 40px);
    }
}

/* --------------------------------------------------
   MOBILE HERO TEXT — TIGHTER PADDING & BOTTOM-ALIGNED
-------------------------------------------------- */
@media (max-width: 700px) {

    .wrap-hero .hero-text {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;                     /* align to bottom edge */
        width: calc(100% - 20px);      /* full width with tiny margin */
        padding: 6px 10px;             /* MUCH tighter padding */
        background: rgba(0,0,0,0.38);  /* slimmer overlay */
        backdrop-filter: blur(2px);
        border-radius: 6px 6px 0 0;    /* subtle top rounding only */
    }

    .wrap-hero h1 {
        font-size: 1rem !important;    /* smaller */
        line-height: 1.2;
        margin-bottom: 2px;
        text-shadow: 0 0 6px rgba(255,0,0,0.4);
    }

    .wrap-hero p {
        font-size: 0.7rem !important;  /* smaller subtitle */
        line-height: 1.2;
        margin: 0;
        color: #e5e5e5;
    }
}

/* ---------- ESTIMATOR BUTTON ROW ---------- */
.estimator-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Main estimate button (unchanged but isolated for styling) */
.estimate-btn {
    background: linear-gradient(135deg, var(--accent), #cc0000);
    color: #000;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow:
        0 0 12px rgba(255,0,0,0.6),
        0 0 35px rgba(255,0,0,0.4),
        0 0 60px rgba(255,0,0,0.2);
}

.estimate-btn:hover {
    filter: brightness(1.1);
}

/* ---------- Request Quote Button ---------- */
.quote-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 700;
    background: rgba(255,255,255,0.08);
    color: var(--accent-soft);
    border: 1px solid rgba(255,0,0,0.35);
    text-shadow: 0 0 6px rgba(255,0,0,0.6);
    box-shadow: 0 0 14px rgba(255,0,0,0.25);
    transition: 0.25s ease;
}

.quote-btn:hover {
    background: rgba(255,0,0,0.2);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255,0,0,0.7);
}

/* ---------- MOBILE STACKED BUTTONS ---------- */
@media (max-width: 600px) {
    .estimator-actions {
        flex-direction: column;
        gap: 12px;
    }

    .estimate-btn,
    .quote-btn {
        width: 100%;
        text-align: center;
    }
}

/* BUTTON ROW */
.estimator-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 15px 0 5px;
}

/* BUTTON ROW — CENTERED ALWAYS */
.estimator-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 15px 0 5px;
    width: 100%;
}

/* Base style for BOTH buttons */
.estimate-btn,
.quote-same {
    background: linear-gradient(135deg, var(--accent), #cc0000);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px; /* EXACT SAME HEIGHT */
    box-shadow:
        0 0 12px rgba(255,0,0,0.6),
        0 0 35px rgba(255,0,0,0.4),
        0 0 60px rgba(255,0,0,0.2);
}

/* Hover */
.estimate-btn:hover,
.quote-same:hover {
    filter: brightness(1.1);
}

/* MOBILE — stack vertically */
@media (max-width: 600px) {
    .estimator-actions {
        flex-direction: column !important;
    }
    .estimate-btn,
    .quote-same {
        width: 100%;
    }
}
