/* ============================================
   Selvor - Museum-Inspired Educational Website
   Color Palette:
   Primary: #2C3E50
   Accent 1: #8E44AD
   Accent 2: #F39C12
   Secondary: #BDC3C7
   ============================================ */

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

:root {
    --primary: #2C3E50;
    --accent-purple: #8E44AD;
    --accent-orange: #F39C12;
    --secondary: #BDC3C7;
    --light-bg: #F5F3F0;
    --white: #FFFFFF;
    --dark-text: #1A1A1A;
    --border-color: #E8E6E3;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

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

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
    background-color: var(--white);
    border-bottom: 2px solid var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 1.5rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Lato', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 2px;
    transition: var(--transition);
}

.logo:hover {
    color: var(--accent-purple);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-purple);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   Hero Sections
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
    padding: 120px 0 100px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

.article-hero {
    background-color: var(--white);
    padding: 80px 0;
    border-bottom: 2px solid var(--secondary);
}

.article-hero h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.article-meta {
    text-align: center;
    color: #888;
    font-size: 1rem;
    font-style: italic;
}

/* ============================================
   Main Content
   ============================================ */

.site-main {
    min-height: 60vh;
    padding: 2rem 0;
}

/* ============================================
   Sections
   ============================================ */

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--accent-purple), transparent);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery-section {
    background-color: var(--white);
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    padding: 2rem 1.5rem;
    background-color: var(--light-bg);
    font-size: 1.3rem;
    margin: 0;
}

/* ============================================
   Concepts Grid
   ============================================ */

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

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.concept-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--secondary);
    border-top: 4px solid var(--accent-purple);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.concept-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.concept-card h3 {
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.concept-card p {
    color: #666;
    line-height: 1.8;
    flex-grow: 1;
}

/* ============================================
   Featured Section
   ============================================ */

.featured-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.featured-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.featured-text {
    padding-right: 2rem;
}

.featured-text h2 {
    margin-bottom: 2rem;
}

.featured-text p {
    margin-bottom: 1.5rem;
}

.featured-image {
    position: relative;
}

.featured-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 8px solid var(--white);
    background-color: var(--primary);
}

/* ============================================
   Myths Section
   ============================================ */

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

.myths-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.myth-item {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--accent-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.myth-item h3 {
    color: var(--accent-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.myth-item p {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   Explore Section
   ============================================ */

.explore-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a252f 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.explore-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.explore-content p {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* ============================================
   Mission Section
   ============================================ */

.mission-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mission-text h2 {
    margin-bottom: 1.5rem;
}

.mission-text p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* ============================================
   Coverage Grid
   ============================================ */

.what-we-do {
    background-color: var(--light-bg);
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.coverage-item {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.coverage-item h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.coverage-item p {
    color: #666;
}

/* ============================================
   Disclaimer Box
   ============================================ */

.what-we-dont {
    background-color: var(--white);
}

.disclaimer-box {
    background-color: #FFF8DC;
    border-left: 5px solid var(--accent-orange);
    padding: 2.5rem;
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.disclaimer-box p {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Values Grid
   ============================================ */

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--secondary);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.value-card h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
}

/* ============================================
   Blog Section
   ============================================ */

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card h2 {
    font-size: 1.35rem;
    margin: 1.5rem 1.5rem 1rem;
    line-height: 1.5;
}

.blog-card p {
    color: #666;
    margin: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--accent-purple);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.read-more:hover {
    border-bottom-color: var(--accent-orange);
    color: var(--accent-orange);
}

/* ============================================
   Article Content
   ============================================ */

.article-content {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.article-body {
    max-width: 900px;
    margin: 0 auto;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.article-body h2:first-child {
    border-top: none;
    margin-top: 0;
}

.article-body p {
    margin-bottom: 1.5rem;
    color: #444;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
    color: #444;
}

.article-body li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.nav-link {
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--accent-purple);
    color: var(--white);
    text-decoration: none;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-info-section {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-box p {
    color: #666;
}

.contact-box a {
    font-weight: 600;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form-section {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-family: 'Lato', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

.form-error {
    background-color: #ffe6e6;
    color: #c00;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c00;
}

/* ============================================
   Buttons
   ============================================ */

.cta-button, .submit-button {
    background-color: var(--accent-purple);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    border-radius: 2px;
}

.cta-button:hover, .submit-button:hover {
    background-color: var(--accent-orange);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.cta-link {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: var(--accent-purple);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    padding-bottom: 3px;
}

.cta-link:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

/* ============================================
   Contact CTA
   ============================================ */

.contact-cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #e0e0e0;
    margin-bottom: 2.5rem;
}

/* ============================================
   Thank You Section
   ============================================ */

.thank-you-section {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 100px 0;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.thank-you-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* ============================================
   Legal Sections
   ============================================ */

.legal-section {
    background-color: var(--white);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

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

.last-updated {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    color: #555;
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
    color: #555;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section {
    color: #e0e0e0;
}

.footer-title {
    font-family: 'Lato', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-heading {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.8;
    color: #d0d0d0;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-orange);
    text-decoration: none;
    padding-left: 5px;
}

.footer-contact {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.footer-contact a {
    color: #d0d0d0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .featured-layout,
    .mission-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-text {
        padding-right: 0;
    }

    .article-navigation {
        flex-direction: column;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link {
        padding: 0.8rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .hero {
        padding: 40px 0 30px;
    }

    section {
        padding: 40px 0;
    }

    .gallery-grid,
    .concepts-grid,
    .coverage-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
}
