/*
Theme Name: Chris Bass Multi-Hyphenate
Theme URI: https://chrisabass.com
Author: Chris Bass
Author URI: https://chrisabass.com
Description: Custom WordPress theme for multi-hyphenate creative professional portfolio showcasing learning experience design, voice acting, and creative technology work.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chris-bass-multihyphenate
Tags: portfolio, custom, professional, responsive, accessibility-ready
*/

/*
===============================
TABLE OF CONTENTS
===============================
1. CSS Reset & Base Styles
2. Typography
3. Layout & Structure
4. Header & Navigation
5. Hero Banner (CRITICAL)
6. Content Sections
7. Portfolio & Case Studies
8. Footer
9. Forms & Buttons
10. Utility Classes
11. Responsive Design
===============================
*/

/* ========================================
   1. CSS RESET & BASE STYLES
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: #0082c3;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #005a8a;
}

/* ========================================
   2. TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
    color: #1a1a1a;
}

h2 {
    margin-top: 1.5rem;
}

h3 {
    margin-top: 1.25rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.25px;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #1a1a1a;
}

.secondary-text {
    color: #666;
}

.tertiary-text {
    color: #999;
}

strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
}

/* Body text variations */
.text-large {
    font-size: 1.25rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ========================================
   3. LAYOUT & STRUCTURE
   ======================================== */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 30px 0;
}

.content-section-large {
    padding: 40px 0;
}

/* ========================================
   4. HEADER & NAVIGATION
   ======================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

.site-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.site-title a:hover {
    color: #0082c3;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #1a1a1a;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item a {
    color: #0082c3;
}

/* Dropdown Submenus */
.main-navigation li {
    position: relative;
}

.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    border-top: 3px solid #0082c3;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
    display: flex;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul a {
    padding: 10px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.main-navigation ul ul a:hover {
    background: #f5f5f5;
}

/* Dropdown arrow indicator for parent items */
.main-navigation .menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.7em;
    opacity: 0.6;
}

/* Desktop: Site logo and title layout */
.site-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo-wrapper .custom-logo {
    max-height: 60px;
    width: auto;
}

.site-title-with-logo a {
    color: #1a1a1a;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.site-title-with-logo a:hover {
    color: #0082c3;
}

/* Desktop: Show full version with title and subtitle */
.site-name-short {
    display: none;
}

.site-name-full {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-title-text {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.site-subtitle-text {
    display: none; /* Hide subtitle - just show "CHRIS BASS – Multi-Hyphenate Creative Professional" */
}

/* Hide site title/subtitle in header on homepage only (still in hero) */
.home .site-title-with-logo {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Keep logo visible on homepage */
.home .site-logo-wrapper .custom-logo-link {
    position: static;
    width: auto;
    height: auto;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid #1a1a1a;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: #0082c3;
    border-color: #0082c3;
    color: #ffffff;
}

/* ========================================
   5. HERO BANNER (CRITICAL)
   ======================================== */

/* Remove any theme container padding */
.wp-block-getwid-section__wrapper,
.wp-block-getwid-section__inner-wrapper,
.wp-block-getwid-section__content,
.wp-block-getwid-section__inner-content {
    padding: 0 !important;
    margin: 0 !important;
}

.cb-hero-banner {
    background: linear-gradient(to right, #1a1a1a 0%, #2a2a2a 100%);
    padding: 80px 40px;
    text-align: center;
    margin: 0 0 60px 0;
    margin-top: 0 !important;

    /* Force full width - break out of theme containers */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cb-hero-banner .cb-photo-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 auto 30px;
    border: 6px solid #0082c3;
    overflow: hidden;
}

.cb-hero-banner .cb-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-hero-banner h1 {
    font-size: 3.5em;
    color: white;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
}

.cb-hero-banner .cb-subtitle {
    font-size: 1.3em;
    color: #999;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
    font-weight: 400;
}

.cb-hero-banner .cb-disciplines {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.cb-hero-banner .cb-discipline {
    font-size: 1.2em;
    color: white;
    padding: 15px 30px;
    background: #0082c3;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.cb-hero-banner .cb-discipline:hover {
    background: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,130,195,0.3);
}

/* ========================================
   6. CONTENT SECTIONS
   ======================================== */

.three-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.pillar-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: #ffffff;
}

.pillar-card h3 {
    color: #0082c3;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.pillar-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.pillar-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.pillar-card li {
    padding: 8px 0;
    color: #1a1a1a;
    position: relative;
    padding-left: 25px;
}

.pillar-card li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0082c3;
    font-weight: 700;
}

/* ========================================
   7. PORTFOLIO & CASE STUDIES
   ======================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 40px 0;
}

.portfolio-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-5px);
}

.portfolio-item-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f8f8;
}

.portfolio-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item-image img {
    transform: scale(1.05);
}

.portfolio-item-content {
    padding: 30px;
}

.portfolio-item-content h3 {
    color: #1a1a1a;
    margin-bottom: 15px;
}

.portfolio-item-content p {
    color: #666;
    margin-bottom: 20px;
}

.portfolio-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.portfolio-tag {
    background: #e8f4f8;
    color: #0082c3;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.case-study-header {
    background: #f8f8f8;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.case-study-header h1 {
    margin-bottom: 20px;
}

.case-study-header .subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-section {
    margin: 30px 0;
}

.case-study-section h2 {
    color: #0082c3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0082c3;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.tech-item {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.tech-item strong {
    display: block;
    color: #0082c3;
    margin-bottom: 8px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.screenshot-item img {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.screenshot-caption {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
    font-style: italic;
}

/* ========================================
   8. FOOTER
   ======================================== */

.site-footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: #0082c3;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ========================================
   9. FORMS & BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: #0082c3;
    color: #ffffff;
    border-color: #0082c3;
}

.btn-primary:hover {
    background: #005a8a;
    border-color: #005a8a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,130,195,0.3);
}

.btn-secondary {
    background: transparent;
    color: #0082c3;
    border-color: #0082c3;
}

.btn-secondary:hover {
    background: #0082c3;
    color: #ffffff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a1a;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0082c3;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   10. UTILITY CLASSES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Hero Banner */
    .cb-hero-banner {
        padding: 60px 20px;
    }

    .cb-hero-banner h1 {
        font-size: 2.8em;
        letter-spacing: 1px;
    }

    .cb-hero-banner .cb-subtitle {
        font-size: 1.1em;
    }

    .cb-hero-banner .cb-photo-circle {
        width: 160px;
        height: 160px;
    }

    .cb-hero-banner .cb-disciplines {
        gap: 12px;
    }

    .cb-hero-banner .cb-discipline {
        font-size: 1em;
        padding: 12px 20px;
    }

    /* Navigation */
    .header-container {
        justify-content: space-between;
    }

    .site-branding {
        flex: 1;
    }

    .site-logo-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .site-logo-wrapper .custom-logo-link {
        flex-shrink: 0;
    }

    .site-logo-wrapper .custom-logo {
        max-height: 50px;
        width: auto;
    }

    .site-title-with-logo {
        font-size: 1.3rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .site-title-with-logo a {
        color: #1a1a1a;
        text-decoration: none;
        display: block;
    }

    /* Mobile: Show only short name, hide full name with title/subtitle */
    .site-name-short {
        display: block;
    }

    .site-name-full {
        display: none;
    }

    /* Mobile: Keep homepage title hidden */
    .home .site-title-with-logo {
        position: absolute;
        left: -9999px;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .site-description {
        display: none;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        position: static;
    }

    .main-navigation ul {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        padding: 12px 0;
    }

    /* Mobile submenus - display inline, indented */
    .main-navigation ul ul {
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: 100%;
        background: #f8f8f8;
        border-left: 3px solid #0082c3;
        margin-left: 15px;
    }

    .main-navigation li:hover > ul,
    .main-navigation li:focus-within > ul,
    .main-navigation .menu-item-has-children.toggled > ul {
        display: flex;
    }

    .main-navigation ul ul a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Layout */
    .three-pillars {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Typography */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 40px 0;
    }

    .content-section-large {
        padding: 60px 0;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .cb-hero-banner h1 {
        font-size: 2.2em;
    }

    .cb-hero-banner .cb-discipline {
        font-size: 0.95em;
        padding: 10px 18px;
    }

    .header-container {
        min-height: 60px;
    }

    .site-title {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .pillar-card {
        padding: 30px 20px;
    }

    .portfolio-item-content {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}
