/*
Theme Name: TheRevOpsGuide
Theme URI: https://therevopsguide.com
Author: The RevOps Guide LLC
Author URI: https://therevopsguide.com
Description: Professional revenue operations consulting business theme. Integrates with Assessment Operations plugin for complete business functionality. Version 6.0 - Streamlined Architecture.
Version: 6.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ============================================
   COLOR PALETTE - Blue/Grey Professional with DEPTH
   ============================================ */
:root {
    --primary-blue: #2C5282;        /* Deep professional blue */
    --primary-blue-dark: #1A365D;   /* Darker blue for hover */
    --accent-blue: #4299E1;         /* Bright accent blue */
    
    /* V5 Compatibility Aliases */
    --dark-blue: #1A365D;           /* Alias for primary-blue-dark */
    
    /* UPDATED GREYS FOR BETTER CONTRAST */
    --background-grey: #E8EDF3;     /* Light blue-grey background - CREATES DEPTH */
    --card-white: #FFFFFF;          /* Pure white for content cards - POPS */
    --grey-50: #F7FAFC;             /* V5 - Very light grey */
    --grey-100: #F7FAFC;            /* Very light grey */
    --grey-200: #EDF2F7;            /* Light grey */
    --grey-300: #E2E8F0;            /* Medium-light grey */
    --grey-400: #CBD5E0;            /* Medium grey */
    --grey-500: #A0AEC0;            /* Text grey */
    --grey-600: #718096;            /* Dark text grey */
    --grey-700: #4A5568;            /* Very dark grey */
    --grey-800: #2D3748;            /* Almost black */
    --grey-900: #2D3748;            /* V5 - Alias for grey-800 */
    
    --white: #FFFFFF;
    --success: #48BB78;
    --warning: #ED8936;
    
    /* SHADOW SYSTEM FOR DEPTH */
    --shadow-sm: 0 2px 4px rgba(44, 82, 130, 0.08);
    --shadow-md: 0 4px 12px rgba(44, 82, 130, 0.12);
    --shadow-lg: 0 8px 24px rgba(44, 82, 130, 0.16);
    --shadow-xl: 0 12px 40px rgba(44, 82, 130, 0.2);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--grey-700);
    background-color: var(--background-grey);
}

.site-container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--card-white);
    box-shadow: var(--shadow-xl);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 24px 0;
    box-shadow: var(--shadow-lg);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding h1 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-branding h1 a {
    color: var(--white);
    text-decoration: none;
}

.site-tagline {
    font-size: 14px;
    color: var(--grey-200);
    margin-top: 4px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-navigation {
    background: var(--card-white);
    border-bottom: 3px solid var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 16px 24px;
    color: var(--grey-700);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--primary-blue);
    background: var(--grey-200);
    border-bottom-color: var(--accent-blue);
}

/* Dropdown menus */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    list-style: none;
    z-index: 1000;
    border-top: 2px solid var(--primary-blue);
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--grey-700);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu li a:hover {
    background: var(--grey-200);
    border-left-color: var(--primary-blue);
    color: var(--primary-blue);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    background: var(--card-white);
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--grey-300);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(44, 82, 130, 0.1);
}

.page-subtitle {
    font-size: 20px;
    color: var(--grey-600);
    line-height: 1.8;
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 40px;
    margin: -60px -30px 60px -30px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   DUAL-TRACK SECTIONS
   ============================================ */
.dual-track-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.track-card {
    background: var(--card-white);
    border: 2px solid var(--grey-300);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.track-card:hover {
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.track-number {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.track-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 16px;
}

.track-description {
    font-size: 16px;
    color: var(--grey-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.track-features {
    list-style: none;
    margin-bottom: 24px;
}

.track-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--grey-700);
}

.track-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

.track-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.track-cta:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px) translateY(-2px);
}

/* ============================================
   EXPERIENCE BANNER
   ============================================ */
.experience-banner {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 50%, var(--accent-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 60px 40px;
    margin: 80px -30px;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.experience-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.experience-banner h2 {
    font-size: 36px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.experience-banner p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    margin: 60px 0;
    padding: 40px;
    background: var(--grey-200);
    border-left: 5px solid var(--primary-blue);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.content-section h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.content-section h3 {
    font-size: 24px;
    color: var(--primary-blue-dark);
    margin: 32px 0 16px 0;
}

.content-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--grey-700);
    margin-bottom: 20px;
}

.content-section ul, 
.content-section ol {
    margin: 20px 0 20px 24px;
    color: var(--grey-700);
}

.content-section li {
    margin: 12px 0;
    line-height: 1.8;
}

/* ============================================
   CARDS (For 3-column layouts, etc)
   ============================================ */
.card {
    background: var(--card-white);
    border: 1px solid var(--grey-300);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-blue);
}

.card h3 {
    color: var(--primary-blue-dark);
    font-size: 20px;
    margin-bottom: 12px;
}

.card p {
    color: var(--grey-600);
    line-height: 1.6;
}

/* ============================================
   3-COLUMN GRID
   ============================================ */
.three-column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.button, 
.wp-block-button__link,
button[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.button-secondary {
    background: linear-gradient(135deg, var(--grey-400) 0%, var(--grey-500) 100%);
    color: var(--white);
}

.button-secondary:hover {
    background: linear-gradient(135deg, var(--grey-500) 0%, var(--grey-600) 100%);
}

/* ============================================
   FORMS
   ============================================ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--grey-300);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background: var(--white);
    color: var(--grey-700);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--grey-700);
    font-weight: 600;
}

.form-group {
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--grey-800);
    color: var(--grey-300);
    padding: 60px 0 30px 0;
    margin-top: 80px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--grey-400);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-bottom {
    border-top: 1px solid var(--grey-700);
    padding-top: 30px;
    text-align: center;
    color: var(--grey-500);
    font-size: 14px;
}

/* ============================================
   WORDPRESS BLOCK EDITOR COMPATIBILITY
   ============================================ */
.wp-block-image {
    margin: 30px 0;
}

.wp-block-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.wp-block-quote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 24px;
    margin: 30px 0;
    font-style: italic;
    color: var(--grey-600);
}

.wp-block-separator {
    border: none;
    border-top: 2px solid var(--grey-300);
    margin: 40px 0;
}

/* ============================================
   ASSESSMENT PLUGIN STYLES
   ============================================ */
.revops-assessment-form {
    background: var(--card-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
}

.revops-question {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--grey-300);
}

.revops-question:last-child {
    border-bottom: none;
}

.revops-question label {
    font-size: 18px;
    font-weight: 600;
    color: var(--grey-700);
    margin-bottom: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .nav-menu > li > a {
        padding: 12px 20px;
    }
    
    .dual-track-container {
        grid-template-columns: 1fr;
    }
    
    .three-column-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section h2 {
        font-size: 28px;
    }
    
    .site-main {
        padding: 40px 20px;
    }
    
    .hero-section,
    .experience-banner {
        margin-left: -20px;
        margin-right: -20px;
        padding: 60px 20px;
    }
    
    .content-section {
        padding: 24px;
    }
    
    .track-card {
        padding: 30px 24px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-small { margin-top: 20px; }
.mt-medium { margin-top: 40px; }
.mt-large { margin-top: 60px; }

.mb-small { margin-bottom: 20px; }
.mb-medium { margin-bottom: 40px; }
.mb-large { margin-bottom: 60px; }

.pt-small { padding-top: 20px; }
.pt-medium { padding-top: 40px; }
.pt-large { padding-top: 60px; }

.pb-small { padding-bottom: 20px; }
.pb-medium { padding-bottom: 40px; }
.pb-large { padding-bottom: 60px; }

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .site-header,
    .main-navigation,
    .site-footer {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .site-container {
        box-shadow: none;
    }
}