/* Over Easy Roofing — Shared Custom CSS */

/* Material Symbols default settings */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* CTA button chrome-finish effect */
.chrome-edge {
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.4), 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Checkered divider strip */
.checker-strip {
    background-image: linear-gradient(45deg, #1c1c17 25%, transparent 25%),
                      linear-gradient(-45deg, #1c1c17 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #1c1c17 75%),
                      linear-gradient(-45deg, transparent 75%, #1c1c17 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
    background-color: #ffffff;
}

/* Order slip perforated/torn bottom edge */
.order-slip-bottom {
    mask-image: radial-gradient(circle at 10px 100%, transparent 10px, white 10px);
    mask-size: 20px 100%;
}

/* Cerated (ticket-punch) top edge */
.cerated-edge {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    -webkit-mask-image:
        radial-gradient(circle at 10px 0%, transparent 9px, black 10px),
        linear-gradient(to bottom, transparent 10px, black 10px);
    -webkit-mask-size: 20px 20px, 100% 100%;
    -webkit-mask-repeat: repeat-x, no-repeat;
    -webkit-mask-position: 0 0, 0 0;
    mask-image:
        radial-gradient(circle at 10px 0%, transparent 9px, black 10px),
        linear-gradient(to bottom, transparent 10px, black 10px);
    mask-size: 20px 20px, 100% 100%;
    mask-repeat: repeat-x, no-repeat;
    mask-position: 0 0, 0 0;
}

/* Cerated (ticket-punch) top AND bottom edges */
.cerated-edge-both {
    -webkit-mask-image:
        radial-gradient(circle at 10px 0%, transparent 9px, black 10px),
        radial-gradient(circle at 10px 100%, transparent 9px, black 10px);
    -webkit-mask-size: 20px 100%, 20px 100%;
    -webkit-mask-repeat: repeat-x, repeat-x;
    -webkit-mask-position: 0 0, 0 0;
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(circle at 10px 0%, transparent 9px, black 10px),
        radial-gradient(circle at 10px 100%, transparent 9px, black 10px);
    mask-size: 20px 100%, 20px 100%;
    mask-repeat: repeat-x, repeat-x;
    mask-position: 0 0, 0 0;
    mask-composite: intersect;
}

/* Retro starburst badge shape */
.starburst {
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
    );
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(252, 249, 241, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.mobile-nav-overlay.open {
    display: flex;
}

/* Recessed form input (carved into the counter) */
.input-recessed {
    background-color: #ebe8e0; /* surface-container-high */
    border: none;
    border-radius: 0.25rem;
    padding: 0.75rem 1rem;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    color: #1c1c17;
    width: 100%;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(28, 28, 23, 0.08);
    transition: box-shadow 0.2s;
}
.input-recessed:focus {
    box-shadow: inset 0 2px 4px rgba(28, 28, 23, 0.08), 0 0 0 2px rgba(175, 16, 26, 0.3);
}
.input-recessed::placeholder {
    color: #5b403d;
    opacity: 0.6;
}

/* Page hero (shorter than homepage hero, shared across inner pages) */
.page-hero {
    background-color: #f6f3eb; /* surface-container-low */
    padding: 5rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

/* CTA band (full-width primary red call-to-action section) */
.cta-band {
    background-color: #af101a; /* primary */
    padding: 4rem 2rem;
    text-align: center;
}

/* Gold/yellow CTA button override */
.btn-gold {
    background-color: #FDB911 !important;
    color: #1C1C17 !important;
}

/* Testimonial ticker */
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-track {
    display: flex;
    animation: ticker-scroll 40s linear infinite;
    width: max-content;
}
.ticker-track:hover {
    animation-play-state: paused;
}
