/* =============================================
   Designer on Demand — Public Site Styles
   ============================================= */

:root {
    --dod-green: #bfd737;
    --dod-green-dark: #99bc31;
    --dod-dark: #333333;
    --dod-footer: #1e1e1e;
    --text-body: #444444;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: var(--text-body);
}

a { color: var(--dod-green-dark); }
a:hover { color: var(--dod-green-dark); text-decoration: underline; }

/* ---- Navbar ---- */
.navbar-brand img { height: 52px; }

.nav-link {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    color: #444 !important;
}
.nav-link:hover, .nav-link.active { color: var(--dod-green-dark) !important; }

.btn-dod {
    background-color: var(--dod-green);
    color: #333;
    border: 2px solid var(--dod-green);
    letter-spacing: .5px;
    font-weight: 600;
}
.btn-dod:hover, .btn-dod:focus { background-color: var(--dod-green-dark); border-color: var(--dod-green-dark); color: #fff; }

.btn-dod-outline {
    color: #444;
    border: 2px solid #444;
    font-weight: 500;
    letter-spacing: .5px;
    background: transparent;
}
.btn-dod-outline:hover { background-color: #444; color: #fff; }

.btn-dod-outline-white {
    color: #fff;
    border: 2px solid #fff;
    font-weight: 500;
    letter-spacing: .5px;
    background: transparent;
}
.btn-dod-outline-white:hover { background-color: rgba(255,255,255,.2); color: #fff; }

/* ---- Hero (home page — full background image) ---- */
.dod-hero {
    background: url('/resources/images/Untitled-1.jpg') center/cover no-repeat;
    color: #fff;
    padding: 7rem 0 6rem;
    position: relative;
}
.dod-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.52);
}
.dod-hero .container { position: relative; z-index: 1; }
.dod-hero h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.25; }
.dod-hero p { font-size: 1.1rem; opacity: .9; max-width: 520px; }

/* ---- Inner page hero (compact dark gradient) ---- */
.dod-hero-inner {
    background: linear-gradient(135deg, #2d2d2d 0%, #555 100%);
    color: #fff;
    padding: 3rem 0;
}
.dod-hero-inner h1, .dod-hero-inner p { position: relative; z-index: 1; }

/* ---- Sections ---- */
.section-pad { padding: 4.5rem 0; }
.section-alt { background-color: #f5f5f5; }

.section-dark {
    background-color: var(--dod-dark);
    color: rgba(255,255,255,.85);
    padding: 4.5rem 0;
}

.section-title { font-size: 1.75rem; font-weight: 700; color: #2d2d2d; margin-bottom: .5rem; }
.section-title-green { font-size: 2.25rem; font-weight: 700; color: var(--dod-green); margin-bottom: 2rem; line-height: 1.2; }
.section-subtitle { color: #6c757d; margin-bottom: 2rem; font-size: 1rem; }

/* ---- Numbered steps (dark section) ---- */
.step-item { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem; }
.step-num {
    width: 34px; height: 34px;
    border: 2px solid var(--dod-green);
    color: var(--dod-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}
.step-item h6 { color: #fff; font-weight: 600; margin-bottom: .35rem; font-size: 1rem; }
.step-item p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; line-height: 1.6; }

/* ---- Step cards (how-to page) ---- */
.step-card { border: none; border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); height: 100%; }
.step-number {
    width: 48px; height: 48px;
    background: var(--dod-green);
    color: #333;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 1rem;
}

/* ---- Feature cards (How to Submit) ---- */
.feature-card { border: none; border-radius: 1rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); height: 100%; transition: transform .15s; }
.feature-card:hover { transform: translateY(-3px); }
.feature-card .card-img-top { border-radius: 1rem 1rem 0 0; object-fit: cover; height: 200px; }

/* ---- FAQ ---- */
.faq-search { max-width: 540px; }
.accordion-button:not(.collapsed) { background-color: #f3f8e0; color: var(--dod-green-dark); box-shadow: none; }
.accordion-button:focus { box-shadow: none; }
.accordion-item { border: none; border-bottom: 1px solid #dee2e6; border-radius: 0 !important; }
.accordion-item:last-child { border-bottom: none; }

/* ---- Contact ---- */
.contact-info-card { background: var(--dod-dark); color: #fff; border-radius: 1rem; padding: 2rem; }
.contact-info-card a { color: var(--dod-green); }
.contact-info-card a:hover { color: #fff; }

/* ---- Utility ---- */
.text-tarkett { color: var(--dod-green-dark) !important; }

/* ---- How to Submit — alternating sections ---- */
.submit-section { background: #fff; padding: 2rem 0; }
.submit-section-alt { background: #f9f9f9; padding: 2rem 0; }

.submit-text-col { padding: 3rem; }
.submit-text { max-width: 480px; }
.submit-text h2 { font-size: 2rem; font-weight: 700; color: #1a1a1a; line-height: 1.2; margin-bottom: 1rem; }
.submit-text p  { color: rgba(10,10,10,.6); line-height: 1.7; }
.submit-eyebrow { color: #bfbfbf; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .5rem; }

/* ---- Before / After image slider ---- */
.ba-slider {
    position: relative;
    overflow: hidden;
    line-height: 0;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
}
.ba-after {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}
.ba-before {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 50%;
    overflow: hidden;
}
.ba-before img {
    display: block;
    height: 100%;
    width: auto;
    min-width: 100%;
    max-width: none;
    pointer-events: none;
}
.ba-handle-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 3px;
    margin-left: -1.5px;
    background: var(--dod-green);
    pointer-events: none;
    z-index: 10;
}
.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px; height: 40px;
    background: var(--dod-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    z-index: 11;
    color: #fff;
    font-size: .75rem;
}

/* ---- Footer ---- */
.dod-footer {
    background-color: var(--dod-footer);
    color: rgba(255,255,255,.55);
    padding: 3rem 0 1.5rem;
    font-size: 13px;
    text-align: center;
}
.dod-footer a { color: rgba(255,255,255,.55); }
.dod-footer a:hover { color: #fff; text-decoration: none; }
.dod-footer .footer-logo { height: 72px; }
.dod-footer .footer-email {
    color: rgba(255,255,255,.75);
    font-size: 14px;
    margin-top: .5rem;
}
.dod-footer .footer-divider { border-color: rgba(255,255,255,.1); margin: 1.5rem 0 1rem; }
