/*
Theme Name: Line 1 Striping
Theme URI: https://line1striping.com
Author: Line 1 Striping
Description: Clean, professional WordPress theme for Line 1 Striping — gold + black brand palette, parking lot striping, ADA markings, and fire lane work.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: line-1-striping
*/

/* ============================================================
   Brand palette (from logo)
   ----------------------------------------------------
   --l1s-black     : #0A0A0A   deep black (logo background)
   --l1s-gold      : #E5B834   brand gold (UI accents, CTAs)
   --l1s-gold-deep : #D4A017   deeper gold (hover, borders)
   --l1s-gold-dark : #A07814   dark gold (eyebrow text on white)
   --l1s-gold-soft : #F0C75E   soft highlight gold
   --l1s-cream     : #FAF3DC   pale gold tint (icon backgrounds)
   --l1s-warm-gray : #F4F1E8   section background, warm
   --l1s-off-white : #FAF8F2   warm off-white
   ============================================================ */

/* ============================================================
   Reset & base
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #2a2a2a;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #0A0A0A;
}

h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a {
    color: inherit;
    text-decoration: none;
}

a:hover { color: #0A0A0A; }

/* ============================================================
   Layout
   ============================================================ */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section--dark {
    background: #0A0A0A;
    color: #FAF8F2;
}

.section--dark h2,
.section--dark h3 { color: #ffffff; }

.section--gray {
    background: #F4F1E8;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A07814;
    margin-bottom: 0.75rem;
}

.section__title {
    margin-bottom: 2.5rem;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(8px);
    -webkit-backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #ececec;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-brand__logo {
    height: 52px;
    width: auto;
    display: block;
}

.custom-logo-link img {
    max-height: 52px;
    width: auto;
}

.site-brand__name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0A0A0A;
}

.site-brand__tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #A07814;
    display: none;
}

@media (min-width: 720px) {
    .site-brand__tag { display: inline; }
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2a2a2a;
    transition: color 0.15s ease;
}

.site-nav a:hover { color: #A07814; }

.site-nav .menu-item-cta a {
    background: #E5B834;
    color: #0A0A0A;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.site-nav .menu-item-cta a:hover {
    background: #D4A017;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .site-nav ul { gap: 0.85rem; }
    .site-nav a { font-size: 0.85rem; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: #E5B834;
    color: #0A0A0A;
}

.btn--primary:hover {
    background: #D4A017;
    color: #0A0A0A;
    transform: translateY(-1px);
}

.btn--ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
    border-color: #E5B834;
    color: #E5B834;
}

.btn--dark {
    background: #0A0A0A;
    color: #fff;
}

.btn--dark:hover {
    background: #000000;
    color: #E5B834;
    transform: translateY(-1px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    background: #0A0A0A;
    color: #FAF8F2;
    overflow: hidden;
    padding: 6rem 0 5rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 80px,
        rgba(229, 184, 52, 0.07) 80px,
        rgba(229, 184, 52, 0.07) 88px
    );
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    width: 465px;
    height: 465px;
    background-image: url('assets/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.38;
    pointer-events: none;
    filter: saturate(1.3);
}

@media (max-width: 900px) {
    .hero::after {
        position: static;
        display: block;
        top: auto;
        right: auto;
        transform: none;
        width: min(280px, 70vw);
        height: min(280px, 70vw);
        margin: 2.5rem auto 0;
        opacity: 1;
    }
}

.hero__inner {
    position: relative;
    max-width: 880px;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E5B834;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E5B834;
}

.hero__title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.hero__title .accent {
    color: #E5B834;
}

.hero__sub {
    font-size: 1.2rem;
    color: #d4d4d4;
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero__ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.hero__legacy {
    font-size: 0.85rem;
    color: #9a9a9a;
    letter-spacing: 0.02em;
}

.hero__legacy strong {
    color: #E5B834;
    font-weight: 700;
}

/* ============================================================
   Services grid
   ============================================================ */
.services {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 760px) {
    .services { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 2rem 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.18);
    border-color: #E5B834;
}

.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FAF3DC;
    color: #A07814;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #555;
    font-size: 0.97rem;
    margin: 0;
}

/* ============================================================
   Gallery (services page)
   ============================================================ */
.gallery {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

.gallery__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    background: #0A0A0A;
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.45);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery__item:hover img {
    transform: scale(1.05);
    opacity: 0.55;
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.85) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    text-align: center;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus-visible .gallery__overlay {
    opacity: 1;
}

.gallery__item:focus-visible {
    outline: 3px solid #E5B834;
    outline-offset: 3px;
}

/* On touch devices (no hover), show a permanent gold corner badge */
@media (hover: none) {
    .gallery__overlay {
        opacity: 1;
        background: none;
        place-items: end;
        padding: 0.85rem;
        text-shadow: none;
        font-size: 0;
    }
    .gallery__overlay::before {
        content: "Free Quote \2192";
        background: #E5B834;
        color: #0A0A0A;
        padding: 0.5rem 0.85rem;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }
}

/* ============================================================
   Why choose
   ============================================================ */
.why-grid {
    display: grid;
    gap: 1.25rem 2rem;
    grid-template-columns: 1fr;
}

@media (min-width: 720px) {
    .why-grid { grid-template-columns: 1fr 1fr; }
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.why-item__check {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5B834;
    color: #0A0A0A;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 0.85rem;
    margin-top: 4px;
}

.why-item h3 {
    margin: 0 0 0.25rem;
    font-size: 1.08rem;
    color: #ffffff;
}

.why-item p {
    margin: 0;
    color: #c4c4c4;
    font-size: 0.97rem;
}

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
    background: #E5B834;
    color: #0A0A0A;
    text-align: center;
    padding: 4rem 1.5rem;
}

.cta-band h2 {
    color: #0A0A0A;
    margin-bottom: 0.5rem;
}

.cta-band p {
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    color: #1a1a1a;
}

.cta-band__buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Page (About / Services / Contact)
   ============================================================ */
.page-hero {
    background: #0A0A0A;
    color: #FAF8F2;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        transparent 0,
        transparent 80px,
        rgba(229, 184, 52, 0.07) 80px,
        rgba(229, 184, 52, 0.07) 88px
    );
    pointer-events: none;
}

.page-hero__inner { position: relative; }

.page-hero__tagline {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #FAF8F2;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 2px solid rgba(229, 184, 52, 0.4);
    display: inline-block;
}

.page-hero__tagline .accent {
    color: #E5B834;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-hero__sub {
    font-size: 1.15rem;
    color: #d4d4d4;
    max-width: 640px;
    margin: 0;
}

.page-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: #333;
}

.page-content p { margin-bottom: 1.25rem; }

.page-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* ============================================================
   Contact page
   ============================================================ */
/* Prominent contact display (contact page main section) */
.contact-display {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.contact-display__row {
    padding: 1.75rem 0;
    border-bottom: 1px solid #eaeaea;
}

.contact-display__row:last-of-type {
    border-bottom: none;
}

.contact-display__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #A07814;
    margin-bottom: 0.6rem;
}

.contact-display__value {
    display: inline-block;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0A0A0A;
    text-decoration: none;
    transition: color 0.15s ease;
}

a.contact-display__value:hover {
    color: #D4A017;
}

.contact-display__value--big {
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

.contact-display__ctas {
    margin-top: 2.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    background: #0a0a0a;
    color: #b8b8b8;
    padding: 3rem 0 2rem;
    font-size: 0.95rem;
}

.site-footer__grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
}

@media (min-width: 720px) {
    .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h4 {
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.site-footer a { color: #d4d4d4; }
.site-footer a:hover { color: #E5B834; }

.site-footer__brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.site-footer__tag {
    color: #E5B834;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__bottom {
    border-top: 1px solid #1f1f1f;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #777;
}

/* ============================================================
   Utility
   ============================================================ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
