/* The Musubi Accord - Styles */

/* ===== CSS Variables ===== */
:root {
    /* Colors from logo */
    --indigo: #2d3e50;
    --charcoal: #1a202c;
    --gold: #d4a574;
    --cream: #f5f1e8;
    --white: #ffffff;
    --gray-light: #e8e5dd;
    --gray-mid: #9ca3af;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Layout */
    --max-width: 1200px;
    --border-radius: 8px;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
}

h1, h2, h3, h4 {
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--indigo);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--indigo);
}

p {
    margin-bottom: var(--space-sm);
}

a {
    color: var(--indigo);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

ul {
    list-style: none;
}

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

/* ===== Header & Navigation ===== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: var(--gray-light);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--charcoal) 100%);
    color: var(--white);
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    margin-bottom: var(--space-md);
}

.hero-logo img {
    height: 200px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== Sections ===== */
.section {
    padding: var(--space-xl) var(--space-md);
}

.section-alt {
    background-color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-intro {
    font-size: 1.2rem;
    text-align: center;
    color: var(--gray-mid);
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Mission Section ===== */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.mission-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--gold);
}

.mission-card h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: var(--space-sm);
}

.philosophy {
    background: var(--indigo);
    color: var(--white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    line-height: 1.8;
}

.philosophy strong {
    color: var(--gold);
}

/* ===== Featured Essay Section ===== */
.section-featured {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.essay-feature {
    max-width: 900px;
    margin: 0 auto;
}

.essay-feature > p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--charcoal);
}

.essay-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.highlight {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight strong {
    color: var(--indigo);
    font-size: 1.2rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.highlight p {
    color: var(--gray-mid);
    line-height: 1.6;
    margin-bottom: 0;
}

.essay-cta {
    text-align: center;
    margin-top: var(--space-lg);
}

.btn-essay {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--gold) 0%, #b8935e 100%);
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.btn-essay:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.5);
    color: var(--charcoal);
}

/* ===== Acts Grid ===== */
.acts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.act-card {
    background: var(--cream);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border-top: 3px solid var(--indigo);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.act-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.interlude-card {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-top: 3px solid #667eea;
    border-left: 3px solid #667eea;
    position: relative;
}

.interlude-card::before {
    content: "INTERLUDE";
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #667eea 0%, #4c51bf 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.interlude-card .act-number {
    color: #667eea;
    opacity: 0.5;
}

.act-number {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.3;
}

.act-card h3 {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
}

.act-subtitle {
    font-style: italic;
    color: var(--gray-mid);
    margin-bottom: var(--space-sm);
}

.act-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: var(--space-sm);
}

.status-live {
    background-color: #d1fae5;
    color: #065f46;
}

.status-active {
    background-color: #dbeafe;
    color: #1e40af;
}

.status-dev {
    background-color: #fef3c7;
    color: #92400e;
}

.status-concept {
    background-color: #e0e7ff;
    color: #3730a3;
}

/* ===== Buttons ===== */
.btn-primary,
.btn-secondary,
.btn-framework {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--indigo);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--indigo);
    border: 2px solid var(--indigo);
}

.btn-secondary:hover {
    background-color: var(--indigo);
    color: var(--white);
}

.btn-framework {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--charcoal) 100%);
    color: var(--white);
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-lg);
}

.btn-framework:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.framework-link {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ===== Lyceum Section ===== */
.lyceum-vision {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
    border-left: 4px solid var(--gold);
}

.lyceum-vision blockquote {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--indigo);
}

.lyceum-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.feature {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border-top: 3px solid var(--gold);
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.lyceum-cta {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--charcoal) 100%);
    color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    text-align: center;
}

.lyceum-cta h3 {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.lyceum-cta p {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

/* ===== Get Involved Section ===== */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.involvement-card {
    background: var(--cream);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--indigo);
}

.involvement-card ul {
    margin-top: var(--space-sm);
}

.involvement-card li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--gray-light);
}

.involvement-card li:last-child {
    border-bottom: none;
}

.note {
    font-size: 0.9rem;
    color: var(--gray-mid);
    font-style: italic;
}

/* ===== Philosophy Quote Section ===== */
.philosophy-section {
    background: var(--indigo);
    color: var(--white);
}

.philosophy-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.attribution {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--gold);
}

/* ===== Footer ===== */
footer {
    background-color: var(--charcoal);
    color: var(--white);
    padding: var(--space-lg) var(--space-md) var(--space-md);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

.footer-section ul li {
    padding: var(--space-xs) 0;
}

.footer-section a {
    color: var(--white);
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .nav-links {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    
    .section {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .acts-grid,
    .lyceum-features,
    .involvement-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .philosophy-quote p {
        font-size: 1.2rem;
    }
}
