/* ==========================================================================
   CANYON VIEW COMMUNITY MANAGEMENT (CVCM) MASTER ENGINE
   Brand Colors: Deep Plum (#593153) & Solid Gold (#E0A951)
   ========================================================================== */

/* --- GLOBAL TYPOGRAPHY & CORE CONFIGURATIONS --- */
.cvcm-master-wrapper {
    font-family: Arial, sans-serif !important;
    color: #2D3748 !important;
    line-height: 1.7 !important;
    background-color: #F8F5F8 !important;
    overflow-x: hidden;
}

.cvcm-master-wrapper p, 
.cvcm-master-wrapper li {
    font-size: 1.25rem !important;
    color: #4A5568 !important;
}

.cvcm-master-wrapper h1, 
.cvcm-master-wrapper h2, 
.cvcm-master-wrapper h3, 
.cvcm-master-wrapper h4, 
.cvcm-master-wrapper h5 {
    font-family: Arial, sans-serif !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    color: #593153;
}

/* --- NATIVE WORDPRESS HEADER & NAVIGATION MENU --- */
.wp-block-site-logo {
    padding-top: 20px;
    padding-bottom: 10px;
    text-align: center;
}

.wp-block-site-logo img {
    transition: transform 0.3s ease !important;
}

.wp-block-site-logo a:hover img {
    transform: scale(1.02) !important;
}

.wp-block-navigation {
    border-bottom: 4px solid #593153 !important;
    padding-bottom: 15px !important;
    background-color: #ffffff !important;
    justify-content: center !important;
}

.wp-block-navigation a {
    color: #593153 !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
    padding: 10px 15px !important;
    transition: color 0.3s ease !important;
    position: relative !important;
}

.wp-block-navigation a:hover {
    color: #E0A951 !important;
}

.wp-block-navigation a::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #E0A951 !important;
    transition: width 0.3s ease, left 0.3s ease !important;
}

.wp-block-navigation a:hover::after {
    width: 100% !important;
    left: 0 !important;
}

/* --- OPTION B UNIFORM CADENCE ROW TRACKS --- */
.cvcm-master-wrapper section {
    padding: 80px 5% !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    border-bottom: 2px solid #e0e0e0;
}

/* --- CORE INTERACTIVE BUTTONS & SWEEP ANIMATIONS --- */
.cvcm-master-wrapper a,
.cvcm-btn-primary {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
}

/* Lead / Proposal Buttons (Solid Gold) */
.cvcm-btn-primary {
    display: inline-block;
    background-color: #E0A951 !important;
    color: #593153 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 36px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 1.15rem !important;
    border: none !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(224, 169, 81, 0.3);
    cursor: pointer;
}

.cvcm-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.6) 50%, transparent 80%);
    transition: left 0.6s ease;
}

.cvcm-btn-primary:hover::after {
    left: 150%;
}

.cvcm-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(224, 169, 81, 0.5);
}

/* Navigation Buttons (Solid Deep Plum) */
.cvcm-btn-secondary {
    display: inline-block;
    background-color: #593153 !important;
    color: #FFFFFF !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px 36px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 1.15rem !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 10px 25px rgba(89, 49, 83, 0.2);
}

.cvcm-btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.4) 50%, transparent 80%);
    transition: left 0.6s ease;
}

.cvcm-btn-secondary:hover::after {
    left: 150%;
}

.cvcm-btn-secondary:hover {
    background-color: #593153 !important;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(89, 49, 83, 0.4);
}

/* Outline Buttons */
.cvcm-btn-outline {
    display: inline-block;
    border: 2px solid #E0A951 !important;
    color: #E0A951 !important;
    background: transparent !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 34px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 1.15rem !important;
}

.cvcm-btn-outline:hover {
    background: rgba(224, 169, 81, 0.1) !important;
    transform: translateY(-4px);
}

/* --- HERO CORE TRACK --- */
.cvcm-hero {
    background: linear-gradient(rgba(89, 49, 83, 0.92), rgba(89, 49, 83, 0.92)), url('https://cvcmhoa.com/wp-content/uploads/2026/04/HOA-street-view-palms-bullhead-city-az.png') no-repeat center center !important;
    background-size: cover !important;
    padding: 100px 5% !important;
    text-align: center;
    border-bottom: 4px solid #E0A951 !important;
}
.cvcm-hero h1 { font-size: 3rem !important; color: #ffffff !important; margin-bottom: 20px !important; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.cvcm-hero p.cvcm-tagline { 
    color: #E0A951 !important; 
    font-weight: 900 !important; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 1.05rem !important; 
    margin-bottom: 15px !important;
    background: linear-gradient(90deg, #E0A951, #ffffff, #E0A951);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
}
.cvcm-hero p.cvcm-lead { color: #FEF5D1 !important; font-size: 1.4rem !important; max-width: 850px; margin: 0 auto 35px auto !important; opacity: 0.95; }
.cvcm-hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* --- SPLITTER INTERACTIVE CARDS --- */
.cvcm-splitter { display: flex; flex-wrap: wrap; gap: 30px; background-color: #F8F5F8; }
.cvcm-split-card { 
    flex: 1 1 45%; 
    padding: 45px; 
    border-radius: 12px; 
    background: #ffffff; 
    box-shadow: 0 10px 30px rgba(89, 49, 83, 0.06); 
    border-top: 6px solid #593153; 
}
.cvcm-split-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(89, 49, 83, 0.12);
}
.cvcm-split-card.resident-track { border-top-color: #E0A951; }
.cvcm-split-card h2 { color: #593153 !important; font-size: 2rem !important; margin-top: 0; margin-bottom: 15px !important; font-weight: 900; }
.cvcm-split-card p { font-size: 1.15rem !important; margin-bottom: 25px !important; color: #555555 !important; }

/* --- SERVICES & PARTNER LAYOUT TRACKS --- */
.cvcm-services-grid { display: flex; flex-direction: column; gap: 40px; max-width: 1000px; margin: 0 auto; }
.cvcm-service-card { background-color: #ffffff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 30px rgba(89, 49, 83, 0.06); border-left: 6px solid #593153; }
.cvcm-service-card.gold-track { border-left-color: #E0A951; }
.cvcm-card-number { background-color: #F8F5F8; width: 60px; height: 60px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; }
.cvcm-card-number span { color: #593153; font-size: 1.8rem; font-weight: 900; }

/* --- PROPERTY PILLARS WITH IMAGE BACKGROUNDS --- */
.cvcm-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.cvcm-pillar-item { height: 350px; border-radius: 12px; position: relative; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); cursor: pointer; }
.cvcm-pillar-item img { transition: transform 0.6s ease; }
.cvcm-pillar-item:hover img { transform: scale(1.05); }
.cvcm-pillar-1 { background: linear-gradient(to top, rgba(89, 49, 83, 0.95) 0%, rgba(0,0,0,0.1) 80%), url('https://cvcmhoa.com/wp-content/uploads/2026/04/HOA-street-view-palms-bullhead-city-az.png') no-repeat center center; background-size: cover; }
.cvcm-pillar-2 { background: linear-gradient(to top, rgba(89, 49, 83, 0.95) 0%, rgba(0,0,0,0.1) 80%), url('https://cvcmhoa.com/wp-content/uploads/2026/04/HOA-clubhouse-pool-bullhead-city-az.png') no-repeat center center; background-size: cover; }
.cvcm-pillar-content { position: absolute; bottom: 40px; left: 40px; right: 40px; color: #ffffff; z-index: 2; }
.cvcm-pillar-badge { display: inline-block; padding: 6px 14px; font-size: 0.85rem !important; font-weight: 900; text-transform: uppercase; border-radius: 4px; margin-bottom: 15px; background-color: #E0A951; color: #593153 !important; }

/* --- OPERATIONAL SUPPORT LAYOUT TRACK --- */
.cvcm-support-grid { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.cvcm-support-left { flex: 1 1 50%; }
.cvcm-support-right { flex: 1 1 40%; text-align: center; }
.cvcm-support-right img { width: 100%; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); display: block; }

/* --- DYNAMIC SLIDESHOW INTERACTIVE TRACK --- */
.cvcm-slideshow-container {
    width: 100%;
    height: 450px;
    position: relative;
    background-color: #000;
    border: 12px solid #ffffff;
    border-bottom: 40px solid #ffffff; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-radius: 4px;
    overflow: hidden;
}
.cvcm-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cvcm-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
    opacity: 0.3;
}
.cvcm-slide img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- SECTION HEADERS & BADGES --- */
.cvcm-section-header { text-align: center; max-width: 800px; margin: 0 auto 50px auto; }
.cvcm-section-header span {
    color: #E0A951;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
}
.cvcm-section-header h2 { font-size: 2.6rem !important; margin-bottom: 15px !important; font-weight: 900; }

/* --- ACCORDIONS & FAQ TOGGLES --- */
.cvcm-accordion-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.cvcm-master-wrapper details { background: #ffffff; border-radius: 8px; border-left: 5px solid #593153; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border-top: 1px solid #eeeeee; border-right: 1px solid #eeeeee; border-bottom: 1px solid #eeeeee; }
.cvcm-master-wrapper details.faq-item { border-left-color: #E0A951; }
.cvcm-master-wrapper summary { padding: 22px 30px; font-size: 1.2rem !important; font-weight: 800; color: #593153 !important; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; outline: none; }
.cvcm-master-wrapper summary::after { content: "+"; color: #E0A951; font-size: 1.6rem; font-weight: bold; transition: transform 0.3s ease; }
.cvcm-master-wrapper details[open] summary::after { content: "−"; color: #593153; }
.cvcm-accordion-content,
.cvcm-acc-content { padding: 0 30px 25px 30px; background: #ffffff; border-top: 1px solid #f0f0f0; }
.cvcm-accordion-content p,
.cvcm-acc-content p { margin-top: 20px !important; font-size: 1.15rem !important; color: #555555 !important; }

/* --- SOFTWARE PARTNERS TRACK ROWS --- */
.cvcm-tool-card {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-left: 6px solid #593153;
    padding: 35px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    box-shadow: 0 8px 25px rgba(89, 49, 83, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cvcm-tool-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(89, 49, 83, 0.1); }
.cvcm-tool-card.gold-border { border-left-color: #E0A951; }
.cvcm-tool-icon { width: 80px; height: 80px; background-color: #F8F5F8; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; }

/* --- BRAND TRUST GRID --- */
.cvcm-trust-section { background-color: #ffffff; border-radius: 12px; padding: 60px 40px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.02); border-bottom: 2px solid #e0e0e0; }
.cvcm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.cvcm-trust-col h3 { color: #593153 !important; font-size: 1.5rem !important; margin-bottom: 20px !important; border-bottom: 3px solid #E0A951; padding-bottom: 10px; display: inline-block; font-weight: 900; }
.cvcm-trust-list { padding-left: 20px !important; }
.cvcm-trust-list li { font-size: 1.1rem !important; margin-bottom: 12px !important; color: #555555 !important; }
.cvcm-trust-list a { color: #E0A951 !important; font-weight: 800; text-decoration: none; }
.cvcm-trust-list a:hover { text-decoration: underline; }

/* --- EVENTS & BLOG SCHEDULE CARD LAYOUTS --- */
.cvcm-schedule-grid, .cvcm-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.cvcm-schedule-card, .cvcm-blog-card { background-color: #ffffff; padding: 35px; border-radius: 12px; border-top: 5px solid #593153; box-shadow: 0 8px 25px rgba(0,0,0,0.03); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cvcm-schedule-card:hover, .cvcm-blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(89, 49, 83, 0.1); }
.cvcm-date-badge, .cvcm-blog-cat { background-color: #E0A951; color: #593153; padding: 6px 14px; font-weight: 900; border-radius: 4px; text-transform: uppercase; font-size: 0.8rem; display: inline-block; margin-bottom: 20px; align-self: flex-start; }
.cvcm-blog-card { background-color: #ffffff; border: 1px solid #e1e1e1; border-top: 5px solid #593153; }
.cvcm-blog-card:hover { border-color: #E0A951; }
.cvcm-read-link { color: #593153; font-weight: 900; text-decoration: none; margin-top: auto; padding-top: 15px; display: inline-block; }
.cvcm-read-link:hover { color: #E0A951; }

/* --- VANESSA'S FOUNDER SPOTLIGHT CARD --- */
.cvcm-founder-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cvcm-founder-img { flex: 1 1 350px; }
.cvcm-founder-img img { width: 100%; max-width: 380px; border-radius: 12px; box-shadow: 0 15px 35px rgba(89, 49, 83, 0.15); display: block; margin: 0 auto; }
.cvcm-founder-card { flex: 2 1 500px; background-color: #FFFFFF; border: 1px solid #E2E8F0; padding: 45px; border-radius: 12px; border-left: 6px solid #E0A951; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.cvcm-founder-card span.badge { color: #E0A951 !important; font-weight: 900 !important; text-transform: uppercase; letter-spacing: 1px; font-size: 0.95rem !important; display: block; margin-bottom: 10px; }

/* --- GLOBAL PROPOSAL & LEAD INTAKE FORMS --- */
.cvcm-form-section { background: linear-gradient(135deg, #593153 0%, #2a1427 100%) !important; border-radius: 12px; padding: 80px 40px !important; color: #FFFFFF !important; text-align: center; border-bottom: 6px solid #E0A951 !important; }
.cvcm-form-wrapper { max-width: 800px; margin: 0 auto; background: #ffffff; padding: 50px 40px; border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,0.2); text-align: left; border-top: 5px solid #E0A951; }
.cvcm-form-grid { display: flex; flex-wrap: wrap; gap: 25px; margin-bottom: 25px; }
.cvcm-form-group { flex: 1 1 45%; min-width: 250px; display: flex; flex-direction: column; }
.cvcm-form-group label { font-weight: 800; margin-bottom: 8px; color: #593153; font-size: 0.95rem; }
.cvcm-form-group input, 
.cvcm-form-group select,
.cvcm-form-group textarea { width: 100%; padding: 16px; border: 2px solid #e0e0e0; border-radius: 6px; box-sizing: border-box; font-size: 1rem; color: #333333; background-color: #FFFFFF; transition: border-color 0.3s ease; outline: none; }
.cvcm-form-group input:focus, 
.cvcm-form-group select:focus,
.cvcm-form-group textarea:focus { border-color: #E0A951; }
.cvcm-form-group textarea { min-height: 120px; resize: vertical; font-family: inherit; }
.cvcm-form-wrapper button[type="submit"] { width: 100%; padding: 18px !important; font-size: 1.25rem !important; margin-top: 20px; }

/* ==========================================================================
   RESPONSIVE LAYOUT ENGINE (FLAWLESS VIEWPORT SCALING)
   ========================================================================== */
@media (max-width: 992px) {
    .cvcm-trust-grid { grid-template-columns: 1fr; gap: 30px; }
    .cvcm-founder-grid { flex-direction: column; gap: 30px; }
    .cvcm-founder-img img { max-width: 100%; }
}

@media (max-width: 768px) {
    .cvcm-master-wrapper p, 
    .cvcm-master-wrapper li { font-size: 1.15rem !important; }
    .cvcm-hero { padding: 80px 20px !important; }
    .cvcm-hero h1 { font-size: 2.2rem !important; }
    .cvcm-hero p.cvcm-lead { font-size: 1.2rem !important; }
    .cvcm-splitter { flex-direction: column; gap: 20px; }
    .cvcm-split-card { padding: 35px 25px; }
    .cvcm-support-grid { flex-direction: column; gap: 30px; }
    .cvcm-pillars-grid { grid-template-columns: 1fr; gap: 20px; }
    .cvcm-pillar-item { height: 280px; }
    .cvcm-section-header h2 { font-size: 2rem !important; }
    .cvcm-master-wrapper summary { padding: 18px 20px; font-size: 1.1rem !important; }
    .cvcm-accordion-content { padding: 0 20px 20px 20px; }
    .cvcm-form-section { padding: 50px 20px !important; }
    .cvcm-form-wrapper { padding: 35px 20px; }
    .cvcm-form-grid { flex-direction: column; gap: 20px; }
}