/**
 * The Opal Standard of Care™ Page Styles
 * Ivy-tier aesthetic: deep navy, neutral backgrounds, generous spacing
 */

.opal-standard-of-care {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Hero Section */
.opal-hero {
    background: linear-gradient(135deg, #0a1929 0%, #1a2f42 100%);
    color: #ffffff;
    padding: 80px 0;
    position: relative;
}

.opal-hero .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.opal-hero .hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.opal-hero .hero-crest {
    flex: 0 0 200px;
}

.opal-hero .crest-logo {
    max-width: 100%;
    height: auto;
}

.opal-hero .hero-text {
    flex: 1;
}

.opal-hero .hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    margin: 0 0 20px;
    line-height: 1.2;
}

.opal-hero .hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 30px;
    opacity: 0.95;
}

.opal-hero .hero-description,
.opal-hero .hero-mission {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.9;
}

.opal-hero .hero-cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #0a1929;
    border-color: #ffffff;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0a1929;
}

.btn-outline {
    background: transparent;
    color: #0a1929;
    border-color: #0a1929;
}

.btn-outline:hover {
    background: #0a1929;
    color: #ffffff;
}

/* Container */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 40px;
    color: #0a1929;
    text-align: center;
}

section .section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #333;
}

/* What It Is Section */
.opal-what-it-is {
    background: #f8f9fa;
}

.opal-what-it-is .content-block {
    max-width: 900px;
    margin: 0 auto;
}

.opal-what-it-is p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.callout-panel {
    background: #0a1929;
    color: #ffffff;
    padding: 40px;
    margin: 40px 0;
    border-left: 4px solid #d4af37;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.callout-panel .principle-statement {
    font-size: 1.5rem;
    font-style: italic;
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* Quarterly Rhythm Section */
.opal-quarterly-rhythm {
    background: #ffffff;
}

.rhythm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.rhythm-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-top: 3px solid #0a1929;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rhythm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.rhythm-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px;
    color: #0a1929;
}

.rhythm-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    color: #555;
}

.rhythm-footer {
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    margin-top: 40px;
    color: #555;
}

/* Participation Section */
.opal-participation {
    background: #f8f9fa;
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 60px;
}

.participation-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #0a1929;
}

.participation-col p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.participation-col ul {
    list-style: none;
    padding: 0;
}

.participation-col ul li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.participation-col ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #0a1929;
    font-weight: bold;
}

.note-blocks {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.note-block {
    background: #fff;
    padding: 15px 20px;
    border-left: 3px solid #d4af37;
    font-size: 1rem;
}

/* Where the $1 Goes Section */
.opal-dollar-impact {
    background: #ffffff;
}

.opal-dollar-impact .content-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.opal-dollar-impact p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #333;
}

.impact-statement {
    font-size: 1.3rem !important;
    padding: 30px;
    background: #f8f9fa;
    margin: 40px 0 !important;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Nominate Section */
.opal-nominate {
    background: #f8f9fa;
}

.opal-nominate p {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.nomination-form {
    max-width: 800px;
    margin: 50px auto 0;
    background: #ffffff;
    padding: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #0a1929;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a1929;
}

.form-group small {
    margin-top: 6px;
    color: #666;
    font-size: 0.9rem;
}

.nomination-form button[type="submit"] {
    margin-top: 20px;
    width: 100%;
}

/* FAQ Section */
.opal-faq {
    background: #ffffff;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #0a1929;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #1a2f42;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-answer p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Footer Statement */
.opal-footer-statement {
    background: #0a1929;
    color: #ffffff;
    padding: 60px 0;
}

.statement-block {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.statement-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin: 0;
}

.disclaimer-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer-block p {
    margin: 0;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .opal-hero .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .opal-hero .hero-crest {
        flex: 0 0 150px;
    }
    
    .opal-hero .hero-title {
        font-size: 2rem;
    }
    
    .opal-hero .hero-tagline {
        font-size: 1.2rem;
    }
    
    .opal-hero .hero-cta-group {
        justify-content: center;
    }
    
    .participation-grid {
        grid-template-columns: 1fr;
    }
    
    .rhythm-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .nomination-form {
        padding: 30px 20px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .callout-panel .principle-statement {
        font-size: 1.2rem;
    }
}

/* Thin dividers for Ivy-tier aesthetic */
.section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 60px 0;
}

/* Scroll-based animations (optional) */
.rhythm-card,
.participation-col,
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.rhythm-card.animate-in,
.participation-col.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .rhythm-card,
    .participation-col,
    .faq-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

