/*
Theme Name: My Listing Child - Find a SAP
Theme URI: https://findasap.com
Description: Child theme for Find a SAP directory website
Author: National Online Training
Author URI: https://courtsolutionsonline.com
Template: my-listing
Version: 1.1.0
Text Domain: my-listing-child
*/

/* Import parent theme styles */
@import url("../my-listing/style.css");

/* =====================================================
   Find a SAP Landing Page Styles
   ===================================================== */

/* Color Variables */
:root {
    --findasap-primary: #1e3a5f;
    --findasap-secondary: #c41e3a;
    --findasap-accent: #f5f5f5;
    --findasap-text: #333333;
    --findasap-cta: #2271b1;
    --findasap-white: #ffffff;
}

/* =====================================================
   Hero Section
   ===================================================== */

.findasap-hero {
    background: linear-gradient(135deg, var(--findasap-primary) 0%, #0d1f38 100%);
    background-size: cover;
    background-position: 80% center;
    color: var(--findasap-white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.findasap-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><path d="M0 15 L15 25 L30 15 L45 25 L60 15 L60 30 L0 30 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
    opacity: 0.5;
    pointer-events: none;
}

.findasap-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.findasap-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--findasap-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.findasap-hero .subheadline {
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
}

.findasap-hero-cta {
    margin-bottom: 20px;
}

.findasap-hero-cta .btn-primary {
    display: inline-block;
    background: var(--findasap-secondary);
    color: var(--findasap-white);
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.findasap-hero-cta .btn-primary:hover {
    background: #a01829;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

.findasap-hero-secondary {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* =====================================================
   Empowering Message Section
   ===================================================== */

.findasap-empowering-message {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: var(--findasap-white);
    padding: 20px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.findasap-empowering-message::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.findasap-empowering-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.findasap-empowering-message h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.findasap-empowering-message p {
    font-size: 1.3rem;
    line-height: 1.7;
    opacity: 0.98;
    font-weight: 500;
}

/* =====================================================
   Trust Badges Section
   ===================================================== */

.findasap-trust-badges {
    background: var(--findasap-white);
    padding: 60px 20px;
}

.findasap-trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.trust-badge {
    text-align: center;
    padding: 35px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.trust-badge:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.15);
    border-color: var(--findasap-cta);
}

.trust-badge-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--findasap-primary) 0%, var(--findasap-cta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(30, 58, 95, 0.2));
}

.trust-badge h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--findasap-primary);
}

.trust-badge p {
    font-size: 1rem;
    color: var(--findasap-text);
    line-height: 1.6;
}

/* =====================================================
   How It Works Section
   ===================================================== */

.findasap-how-it-works {
    background: var(--findasap-accent);
    padding: 80px 20px;
}

.findasap-how-it-works .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--findasap-primary);
    margin-bottom: 50px;
    font-weight: 800;
}

.findasap-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .findasap-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .findasap-steps {
        grid-template-columns: 1fr;
    }
}

.findasap-step {
    background: var(--findasap-white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.findasap-step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--findasap-primary) 0%, var(--findasap-cta) 100%);
    color: var(--findasap-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    margin: 0 auto 25px;
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.3);
}

.findasap-step h3 {
    font-size: 1.5rem;
    color: var(--findasap-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.findasap-step p {
    font-size: 1.1rem;
    color: var(--findasap-text);
    line-height: 1.7;
}

/* =====================================================
   Featured SAPs Section (Landing Page)
   Card styles are now in plugin frontend.css
   ===================================================== */

.findasap-featured-section {
    background: var(--findasap-white);
    padding: 80px 20px;
}

.findasap-featured-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--findasap-primary);
    margin-bottom: 50px;
    font-weight: 800;
}

.findasap-featured-section .findasap-featured-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   MyListing Theme Overrides - Site Header
   ===================================================== */

.header-scroll .logo-helper,
.site-header .header-skin--dark,
.site-header .header-scroll .logo-helper {
    background-color: #000000;
}

.site-header .cts-header .header-button,
.site-header .cts-header a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.site-header .cts-header .header-button:hover,
.site-header .cts-header a:hover {
    color: #FECF04;
}

/* Header CTA button - yellow accent */
.site-header .header-button.btn-primary,
.site-header .header-button.btn-filled,
.site-header .cts-header .header-button[data-toggle],
.site-header .cts-header .header-list-an-item {
    background-color: #FECF04 !important;
    color: #000000 !important;
    border: none;
    border-radius: 4px;
    font-weight: 700;
}

.site-header .header-button.btn-primary:hover,
.site-header .header-button.btn-filled:hover,
.site-header .cts-header .header-button[data-toggle]:hover,
.site-header .cts-header .header-list-an-item:hover {
    background-color: #e5bb03 !important;
    color: #000000 !important;
}

/* Mobile menu background */
.mobile-nav,
.mobile-nav-head,
.i-nav .mobile-nav {
    background-color: #000000;
}

.mobile-nav a,
.mobile-nav .user-area a {
    color: #FFFFFF;
}

.mobile-nav a:hover {
    color: #FECF04;
}

/* =====================================================
   MyListing Theme Overrides - Explore/Directory Pages
   ===================================================== */

.explore-head .finder-search .finder-title,
.explore-head h1 {
    color: var(--findasap-primary);
    font-weight: 800;
}

.explore-head .finder-search .form-group input:focus,
.explore-head .finder-search .form-group select:focus {
    border-color: var(--findasap-cta);
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.15);
}

.explore-head .finder-search .buttons-wrapper .btn {
    background: linear-gradient(135deg, var(--findasap-cta) 0%, #1e5a9e 100%);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.explore-head .finder-search .buttons-wrapper .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

/* Override MyListing listing cards on explore pages */
.listing-preview .lf-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.listing-preview .lf-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

/* =====================================================
   MyListing Theme Overrides - Single Listing Page
   ===================================================== */

.single-job_listing .listing-title h1 {
    color: var(--findasap-primary);
    font-weight: 800;
}

.single-job_listing .listing-quick-actions .btn {
    background: linear-gradient(135deg, var(--findasap-cta) 0%, #1e5a9e 100%);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.single-job_listing .listing-quick-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

/* =====================================================
   MyListing Theme Overrides - Footer
   ===================================================== */

.footer-widget-area,
.c27-footer-widget-area {
    background: #000000;
    color: rgba(255, 255, 255, 0.8);
}

.footer-widget-area h4,
.c27-footer-widget-area h4,
.footer-widget-area .widget-title,
.c27-footer-widget-area .widget-title {
    color: #FFFFFF;
    font-weight: 700;
}

.footer-widget-area a,
.c27-footer-widget-area a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-widget-area a:hover,
.c27-footer-widget-area a:hover {
    color: #FECF04;
}

.c27-footer-bottom,
.footer-bottom-area {
    background: #111111;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   Who We Help Section
   ===================================================== */

.findasap-who-we-help {
    background: var(--findasap-primary);
    color: var(--findasap-white);
    padding: 80px 20px;
}

.findasap-who-we-help .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--findasap-white);
    margin-bottom: 50px;
    font-weight: 800;
}

.findasap-professions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.findasap-profession {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.findasap-profession:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.findasap-profession-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.findasap-profession h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--findasap-white);
}

/* =====================================================
   Final CTA Section
   ===================================================== */

.findasap-final-cta {
    background: linear-gradient(135deg, var(--findasap-secondary) 0%, #8b1523 100%);
    color: var(--findasap-white);
    padding: 80px 20px;
    text-align: center;
}

.findasap-final-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.findasap-final-cta h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--findasap-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.findasap-final-cta .subheadline {
    font-size: 1.3rem;
    margin-bottom: 35px;
    line-height: 1.6;
    opacity: 0.95;
}

.findasap-final-cta .btn-primary {
    display: inline-block;
    background: var(--findasap-white);
    color: var(--findasap-secondary);
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.findasap-final-cta .btn-primary:hover {
    background: var(--findasap-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   Footer Trust Section
   ===================================================== */

.findasap-footer-trust {
    background: var(--findasap-accent);
    padding: 40px 20px;
    text-align: center;
}

.findasap-footer-trust-content {
    max-width: 800px;
    margin: 0 auto;
}

.findasap-kitty {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--findasap-primary);
}

.findasap-kitty a {
    color: var(--findasap-secondary);
    text-decoration: none;
}

.findasap-kitty a:hover {
    text-decoration: underline;
}

.findasap-support-hours {
    font-size: 1rem;
    color: var(--findasap-text);
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 768px) {
    .findasap-hero h1 {
        font-size: 2rem;
    }

    .findasap-hero .subheadline {
        font-size: 1.1rem;
    }

    .findasap-hero-cta .btn-primary {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .findasap-trust-badges-grid,
    .findasap-steps,
    .findasap-featured-grid,
    .findasap-professions {
        grid-template-columns: 1fr;
    }

    .findasap-how-it-works .section-title,
    .findasap-featured-section .section-title,
    .findasap-who-we-help .section-title {
        font-size: 2rem;
    }

    .findasap-final-cta h2 {
        font-size: 2rem;
    }

    .findasap-final-cta .subheadline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .findasap-hero {
        padding: 50px 15px;
    }

    .findasap-hero h1 {
        font-size: 1.6rem;
    }

    .findasap-trust-badges,
    .findasap-how-it-works,
    .findasap-featured-section,
    .findasap-who-we-help,
    .findasap-final-cta {
        padding: 50px 15px;
    }

    .trust-badge,
    .findasap-step,
    .findasap-profession {
        padding: 20px 15px;
    }
}

/* =====================================================
   Accessibility Enhancements
   ===================================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
select:focus {
    outline: 3px solid #FECF04;
    outline-offset: 2px;
}

/* Ensure sufficient color contrast - card credentials handled in plugin CSS */

/* Screen reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
