/* Partially Generated by Copilot */
/* AI Philosophy Page Specific Styles */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent sections from hiding behind fixed header */
section {
    scroll-margin-top: 400px; /* Account for fixed nav + philosophy header + quick nav */
}

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

/* Mobile menu toggle button - hidden by default */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Quick Navigation */
.quick-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid rgba(226, 92, 4, 0.3);
}

/* Quick Navigation Toggle Button - hidden on desktop */
.quick-nav-toggle {
    display: none !important;
}

.quick-nav-toggle svg {
    transition: transform 0.3s ease;
}

.quick-nav-toggle.active svg {
    transform: rotate(180deg);
}

/* Quick nav items container */
.quick-nav-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 10px 0;
}

.quick-nav-btn {
    padding: 10px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 92, 4, 0.4);
    white-space: nowrap;
}

.quick-nav-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(226, 92, 4, 0.3);
}

.quick-nav-btn:active {
    transform: translateY(0);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Show the hamburger menu button */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Make header relative so dropdown menu positions correctly */
    header {
        position: relative;
    }
    
    /* Position the logo container */
    .logo-container {
        position: relative;
        padding: 15px 60px 15px 20px; /* Add right padding for hamburger button */
    }
    
    /* Dropdown navigation menu */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    /* Show menu when active */
    .main-nav.active {
        max-height: 300px;
    }
    
    /* Stack navigation items vertically */
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
    }
    
    /* Full width nav items with borders */
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    /* Make links full width and add padding */
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }
    
    /* Hamburger animation when menu is active */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Quick nav toggle */
    .quick-nav-toggle {
        display: flex !important;
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        padding: 12px 16px;
        cursor: pointer;
        border-radius: 4px;
        font-size: 1rem;
        margin-bottom: 0;
        align-items: center;
        justify-content: space-between;
    }
    
    .quick-nav {
        margin-top: 15px;
    }
    
    .quick-nav-toggle:hover {
        background: rgba(255, 255, 255, 0.15);
    }
    
    .quick-nav-items {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        flex-direction: column;
        gap: 5px;
        margin-top: 10px;
    }
    
    .quick-nav-items.active {
        max-height: 600px;
    }
    
    .quick-nav-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        margin: 0;
    }
}

/* Make header sticky */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Ensure content starts below sticky header */
.scrollable-content {
    position: relative;
}

/* First section needs extra padding to account for header */
#skeptic {
    padding-top: 80px;
}

/* Philosophy Sections */
.philosophy-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.philosophy-section.alt-bg {
    background-color: var(--light-bg);
}

.philosophy-section h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.content-block ul {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    padding-left: 30px;
}

.content-block li {
    margin-bottom: 12px;
}

.content-block blockquote {
    background-color: rgba(44, 95, 45, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-size: 1.3em;
    font-style: italic;
    color: var(--primary-color);
}

/* Insight Boxes */
.insight-box {
    background-color: #ffffff;
    border-left: 4px solid var(--secondary-color);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.philosophy-section.alt-bg .insight-box {
    background-color: #ffffff;
}

.insight-box h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.insight-box p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
}

.insight-box strong {
    color: var(--secondary-color);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.principle-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.principle-card h3 {
    color: var(--primary-color);
    font-size: 1.7em;
    margin-bottom: 20px;
}

.principle-card p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.principle-card .example {
    background-color: rgba(226, 92, 4, 0.05);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-style: italic;
}

.principle-card .example strong {
    color: var(--secondary-color);
}

/* Value Props Grid */
.value-props {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.value-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.value-card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.value-card ul {
    font-size: 1.05em;
    line-height: 1.7;
    margin-left: 20px;
}

.value-card li {
    margin-bottom: 10px;
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.tool-card {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tool-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.tool-card p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
}

.tool-card strong {
    color: var(--primary-color);
}

/* Call to Action */
.philosophy-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.philosophy-cta h2 {
    font-size: 2.5em;
    margin-bottom: 25px;
    color: #ffffff;
}

.philosophy-cta > .container > p {
    font-size: 1.3em;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    border: 2px solid var(--secondary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: #c74f03;
    border-color: #c74f03;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(226, 92, 4, 0.3);
}

.cta-buttons .btn-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cta-buttons .btn-secondary:hover {
    background-color: #ffffff;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .philosophy-section h2 {
        font-size: 2em;
    }
    
    .content-block p,
    .content-block ul {
        font-size: 1.05em;
    }
    
    .content-block blockquote {
        font-size: 1.15em;
        padding: 20px;
    }
    
    .value-props,
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-cta {
        padding: 60px 20px;
    }
    
    .philosophy-cta h2 {
        font-size: 2em;
    }
    
    .philosophy-cta > .container > p {
        font-size: 1.15em;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}
