/*
 Theme Name:   FaithAI Food Truck Child
 Theme URI:    https://faithaifoodtruck.com
 Description:  Child theme for GeneratePress – Food Trucks For Sale directory
 Author:       FaithAI
 Template:     generatepress
 Version:      1.1
*/

/* ============================================================
   DESIGN TOKENS
   Primary:   #1a3c5e  (deep navy)
   Accent:    #f4801a  (burnt orange)
   Highlight: #fbbf24  (amber yellow)
   ============================================================ */

:root {
    --primary:        #1a3c5e;
    --accent:         #f4801a;
    --accent-dark:    #d96a0a;
    --highlight:      #fbbf24;
    --text:           #1f2937;
    --text-muted:     #6b7280;
    --light-bg:       #f8fafc;
    --border:         #e5e7eb;
    --white:          #ffffff;
    --radius:         8px;
    --radius-lg:      14px;
    --shadow-sm:      0 1px 4px rgba(0,0,0,0.07);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.13);
    --font-heading:   'Poppins', sans-serif;
    --font-body:      'Inter', 'Poppins', sans-serif;
    --spacing:        1rem;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.25;
}
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; color: var(--accent-dark); }
img { max-width: 100%; height: auto; }

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing) 0;
}

.skip-link {
    position: absolute; top: -9999px; left: -9999px;
    background: var(--accent); color: #fff;
    padding: var(--spacing); z-index: 9999; font-weight: bold;
}
.skip-link:focus { top: 0; left: 0; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--primary);
    box-shadow: var(--shadow-md);
    position: sticky; top: 0; z-index: 100;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
}
.logo span { color: var(--highlight); }

/* ============================================================
   MAIN CONTENT HEADINGS
   ============================================================ */
.main-content h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin: 1.5rem 0 0.75rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
}
.main-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin: 2rem 0 0.75rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4rem;
}
.center-home-h2 { text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.grooming-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8e 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(244,128,26,0.18);
    border: 1px solid rgba(244,128,26,0.4);
    color: var(--highlight);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero-text-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    border: none;
    margin: 0 0 12px;
}
.hero-text-content h1 span { color: var(--highlight); }
.hero-text-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin: 16px 0 24px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: 50px;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(244,128,26,0.4);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); color: #fff; text-decoration: none; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }

.hero-trust-bar {
    display: flex; gap: 20px; flex-wrap: wrap;
    margin-top: 28px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.trust-item { color: rgba(255,255,255,0.75); font-size: 0.88rem; font-weight: 500; }

.hero-image-content { position: relative; display: flex; justify-content: center; }
.main-hero-img {
    width: 100%; max-width: 480px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}
.floating-card {
    position: absolute; bottom: -16px; left: 16px;
    background: var(--white); border-radius: var(--radius);
    padding: 12px 18px; box-shadow: var(--shadow-md);
    display: flex; align-items: center; gap: 10px;
}
.user-avatar { font-size: 1.8rem; }
.card-info { font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .grooming-hero { padding: 48px 0 40px; }
    .hero-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero-image-content { display: none; }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb-container ol,
.yoast-breadcrumbs {
    display: flex; flex-wrap: wrap; list-style: none;
    padding: 8px 0; margin: var(--spacing) 0;
    font-size: 0.88rem; color: var(--text-muted);
}
.breadcrumb-container li:not(:last-child)::after { content: '›'; margin: 0 0.4rem; }
.breadcrumb-container a, .yoast-breadcrumbs a { color: var(--accent); }
.breadcrumb-container a:hover, .yoast-breadcrumbs a:hover { text-decoration: underline; }

/* ============================================================
   BUTTONS (GENERIC)
   ============================================================ */
.button {
    display: inline-block;
    background: var(--accent); color: #fff;
    padding: 10px 22px; border-radius: 50px;
    font-weight: 600; font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s;
    border: none; cursor: pointer;
}
.button:hover, .button:focus {
    background: var(--accent-dark); color: #fff;
    text-decoration: none; transform: translateY(-1px);
}

/* ============================================================
   INTERNAL LINKS
   ============================================================ */
.internal-links-section { margin: 3rem 0; }
.internal-links-list {
    list-style: none; padding: 0;
    margin-top: var(--spacing);
    column-count: 2; column-gap: 2rem;
}
.internal-links-list li { margin-bottom: 0.5rem; }
.internal-links-list a { color: var(--accent); font-weight: 500; }
.internal-links-list a:hover { text-decoration: underline; }
@media (max-width: 600px) { .internal-links-list { column-count: 1; } }
@media (min-width: 768px) { .internal-links-list.state-links { column-count: 3; } }

/* ============================================================
   CONTACT BOX
   ============================================================ */
.state-contact-box {
    display: flex; flex-direction: column; gap: var(--spacing);
    background: var(--primary); color: #fff;
    padding: 1.5rem; border-radius: var(--radius-lg);
    margin: 2rem 0; box-shadow: var(--shadow-md);
}
.state-contact-box h2 { color: #fff; margin-top: 0; border: none; }
.contact-item { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; }
.contact-item a { color: var(--highlight); }
.contact-item a:hover { text-decoration: underline; }
@media (min-width: 768px) {
    .state-contact-box { flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    background: var(--white); padding: 3rem 2rem;
    max-width: 900px; margin: 2rem auto;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.faq-section h2 { text-align: center; font-size: 1.9rem; }
.faq-section > p { text-align: center; color: var(--text-muted); margin-bottom: 1.5rem; }

.faq-container {
    border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden; margin-top: 1.5rem;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
    font-size: 1.05rem; font-weight: 600;
    padding: 1rem 1.25rem; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--light-bg); transition: background 0.2s;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; font-size: 1.3rem; font-weight: 300;
    color: var(--accent); flex-shrink: 0; margin-left: 12px;
}
.faq-item summary:hover { background: #eef2f7; }
.faq-item[open] summary { background: var(--primary); color: #fff; }
.faq-item[open] summary::after { content: '−'; color: var(--highlight); }
.faq-content { padding: 1rem 1.25rem; color: var(--text-muted); line-height: 1.7; }
@media (max-width: 768px) { .faq-section { padding: 2rem 1rem; } }

/* ============================================================
   SERVICES  (our-services.php)
   ============================================================ */
.services-title {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.1rem);
    margin-bottom: 0.5rem;
}
.services-subtitle {
    display: block; text-align: center;
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--accent); margin-bottom: 6px;
}
.services-intro {
    text-align: center; color: var(--text-muted);
    max-width: 640px; margin: 0 auto 2.5rem; font-size: 1rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex; flex-direction: column; gap: 8px;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-icon {
    width: 48px; height: 48px;
    background: rgba(244,128,26,0.1);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 4px; flex-shrink: 0;
}
.service-icon svg { color: var(--accent); }
.service-name { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin: 0; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; flex-grow: 1; margin: 0; }
.service-link { font-size: 0.88rem; font-weight: 600; color: var(--accent); margin-top: 4px; align-self: flex-start; }
.service-link:hover { text-decoration: underline; }

/* ============================================================
   WHY CHOOSE US  (why-choose-us.php)
   ============================================================ */
.cc-why-section { background: var(--light-bg); padding: 72px 0; margin: 40px 0; }
.cc-why-container {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 60px; align-items: start;
}
.cc-why-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 8px 0 16px; }
.cc-why-description { color: var(--text-muted); line-height: 1.7; margin-bottom: 28px; }
.cc-why-btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

.cc-btn {
    display: inline-block; font-weight: 700;
    padding: 12px 26px; border-radius: 50px;
    font-size: 0.95rem; transition: all 0.2s; text-decoration: none;
}
.cc-btn-primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 14px rgba(244,128,26,0.35);
}
.cc-btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); text-decoration: none; }
.cc-btn-secondary {
    background: transparent; color: var(--primary);
    border: 2px solid var(--primary);
}
.cc-btn-secondary:hover { background: var(--primary); color: #fff; text-decoration: none; }

.cc-features-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 20px;
}
.cc-feature-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--white); padding: 20px;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.cc-feature-item:hover { box-shadow: var(--shadow-md); }
.cc-feature-text h3 { font-size: 1rem; font-weight: 700; color: var(--primary); margin: 0 0 4px; }
.cc-feature-text p { font-size: 0.9rem; color: var(--text-muted); margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .cc-why-container { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   CTA BANNER  (cta-home.php)
   ============================================================ */
.cta-banner-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8e 100%);
    color: #fff; text-align: center; margin: 48px 0;
}
.cta-container { max-width: 760px; margin: 0 auto; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; margin-bottom: 16px; border: none; }
.cta-description { font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.88); margin-bottom: 32px; }
.cta-description strong { color: var(--highlight); }
.cc-btn-primary-white {
    display: inline-block; padding: 16px 36px;
    background: var(--white); color: var(--primary) !important;
    font-size: 1.05rem; font-weight: 700; border-radius: 50px;
    text-decoration: none; box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.cc-btn-primary-white:hover {
    background: var(--highlight); color: var(--primary) !important;
    transform: translateY(-3px); text-decoration: none;
}
@media (max-width: 768px) {
    .cta-banner-section { padding: 56px 20px; }
    .cc-btn-primary-white { display: block; width: 100%; max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   MISC
   ============================================================ */
.price { color: var(--accent); font-weight: 700; font-size: 1.15rem; display: block; margin-bottom: var(--spacing); }

.pagination { margin: 2rem 0; text-align: center; }
.pagination a, .pagination span {
    display: inline-block; margin: 0 3px;
    padding: 7px 14px; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem;
    text-decoration: none; color: var(--text); transition: background 0.15s;
}
.pagination a:hover { background: var(--light-bg); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.truck-featured-image { margin: 2rem 0; }
.truck-featured-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media screen and (max-width: 767px) { .truck-featured-image.responsive-only { display: none; } }

.page-truck-landing .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px; padding: 0;
}
.page-truck-landing .products > div {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 14px;
    box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s;
}
.page-truck-landing .products > div:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.ad-slot { min-height: 0; }
.ad-slot.ad-inline-top { min-height: 90px; }

@media (max-width: 768px) {
    .main-content h1 { font-size: 1.9rem; }
    .main-content h2 { font-size: 1.5rem; }
}
