/* Ultra-minimal CSS for Josie Astrid Consulting */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.4;
    color: #111;
    background: #fff;
    font-size: 16px;
    margin: 0;
    padding: 0;
    padding-top: 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1000;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-container {
    width: 900px;
    max-width: calc(100% - 2rem);
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 200px;
}

/* Logo */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 180px;
    width: auto;
    display: block;
    transition: transform 0.2s ease;
    margin: 0;
}

.nav-logo:hover {
    transform: scale(1.02);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #000;
}

.nav-links a.active {
    color: #000;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

/* Hero Section */
.hero, .content, .about-content, .contact-content, .home-content {
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero p, .content p {
    font-size: 20px;
    max-width: 60ch;
    color: #555;
    line-height: 1.6;
}

/* Homepage Layout */
.home-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin: 4rem auto 0;
    max-width: 900px;
    padding: 0 1.5rem;
}

.home-image {
    flex: 0 0 300px;
    margin-top: 1rem;
}

.home-image .headshot {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: block;
}

.home-content {
    flex: 1;
    padding-top: 0.5rem;
}

.home-content h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin: 0 0 1.5rem 0;
    color: #111;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.home-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 2rem 0;
    max-width: 90%;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .home-layout {
        flex-direction: column;
        gap: 2.5rem;
        max-width: 600px;
    }
    
    .home-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .home-content h1 {
        font-size: 2rem;
    }
    
    .home-content p {
        max-width: 100%;
    }
}

/* Main Content */
.main {
    padding-top: 20px; /* Restored original padding for proper spacing between navbar and content */
    min-height: calc(100vh - 20px);
    padding-bottom: 80px;
}

/* Main container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Hero section container */
.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* About Page */
.about-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.about-text {
    padding-top: 0;
}

.about-text h1 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    color: #111;
}

.about-text p {
    line-height: 1.7;
    color: #444;
    font-size: 1rem;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
}

.about-image {
    position: sticky;
    top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image .headshot {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Header and Navigation */
.nav {
    padding: 0.25rem 2rem 0.25rem;
    background: white;
    position: relative;
    z-index: 10;
    margin-bottom: -0.5rem;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 30px;
    padding: 0.25rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    padding: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-body {
        gap: 3rem;
    }
    
    .about-content {
        gap: 2.5rem;
        margin-top: -15px;
    }
    
    .about-image img {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .about-body {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-top: 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 0;
    }
    
    .about-text {
        padding-top: 0;
        padding-right: 0;
        order: 2;
    }
    
    .about-text h1 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
    
    .about-text p {
        font-size: 1.05rem;
        line-height: 1.7;
    }
    
    .about-text p:first-of-type {
        margin-top: 0;
    }
    
    .about-image {
        position: static;
        order: 1;
        align-items: center;
        padding: 0.5rem 0 0.25rem;
    }
    
    .about-image img {
        max-width: 260px;
        margin-top: 0;
    }
}

/* Home Page */
.home-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.home-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 45vh;
}

.home-text {
    padding-top: 0;
}

.home-text h1 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    color: #111;
}

/* Contact Page */
.contact-content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: -15px;
    padding: 0 1rem;
}

.contact-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-text {
    padding-top: 0;
}

.contact-text h1 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    color: #111;
}

.contact-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-email {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    transition: border-color 0.2s ease;
}

.contact-email:hover {
    border-color: #666;
}

.linkedin-button {
    display: inline-block;
    margin-top: -16px;
    margin-left: 0;
    color: #111;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.linkedin-button:hover {
    color: #666;
}

.linkedin-button svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Voice Button - Vapi Style */
.voice-btn {
    background: #111;
    color: #fff;
    border: 3px solid #111;
    padding: 1.5rem 4rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: inherit;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.voice-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.voice-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.voice-btn:focus {
    outline: none;
}


.voice-btn-text {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Home content centering and typography */
.home-text {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-text h1 {
    margin-bottom: 1.5rem;
}

.main-paragraph {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 100%;
    text-align: center;
}

.subhead {
    font-size: 1rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0;
    font-weight: 400;
    max-width: 100%;
    text-align: center;
}

.helper-text {
    font-size: 0.9rem;
    color: #888;
    margin-top: 1rem;
    font-style: italic;
}

.voice-btn:disabled {
    background: #ccc;
    color: #666;
    border-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.voice-btn[data-state="connecting"] {
    background: #666;
    border-color: #666;
    color: white;
}

.voice-btn[data-state="connecting"] .voice-btn-text::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.voice-btn[data-state="active"] {
    background: #111;
    border-color: #111;
    color: white;
}

.voice-btn[data-state="active"]:hover {
    background: #333;
    border-color: #333;
}

.voice-btn[data-state="error"] {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.voice-btn[data-state="error"]:hover {
    background: #c82333;
    border-color: #c82333;
}

/* Waveform Visualization */
.waveform-canvas {
    margin: 1rem auto 0;
    display: block;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.call-status {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.voice-btn[data-state="active"] .voice-btn-text::before {
    content: "HANG UP";
}

.voice-btn[data-state="active"] .voice-btn-text {
    font-size: 0;
}

.voice-btn[data-state="active"] .voice-btn-text::before {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Contact Form */
.contact-form-container {
    margin-top: 2rem;
    text-align: left;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #111;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #111;
}

.submit-btn {
    background: #111;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #333;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Form Status Messages */
.form-status {
    margin-top: 1rem;
    text-align: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    color: #333;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    padding: 8px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 400;
    padding: 8px 0;
    display: block;
    transition: color 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #000;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav {
        padding: 8px 0;
    }
    
    .nav-container {
        min-height: 80px;
        padding: 0 20px;
    }
    
    .nav-logo {
        height: 60px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Adjust main content padding for mobile */
    .main {
        padding-top: 5px;
    }
    
    .home-body {
        padding: 0.25rem 1rem;
        min-height: 40vh;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .voice-btn {
        width: auto;
        max-width: 280px;
        padding: 1.5rem 2rem;
        font-size: 1.1rem;
    }
    
    .home-body {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
}
}
