/* Base Styles */
:root {
    --primary-color: #6b5b95; /* Purple - primary IWD color */
    --secondary-color: #3eb0ac; /* Teal - secondary IWD color */
    --accent-color: #ff6b6b; /* Accent color for highlights */
    --text-color: #333;
    --light-text: #666;
    --very-light-bg: #f9f9f9;
    --light-bg: #f4f4f4;
    --border-color: #ddd;
    --shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--very-light-bg);
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-color);
}

#main-nav {
    padding: 1rem 0;
}

#main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

#nav-links {
    display: flex;
    gap: 1.5rem;
}

#nav-links a {
    padding: 0.5rem 0;
    position: relative;
}

#nav-links a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

#nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 8px;
    text-align: center;
}

.hero h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

/* Feature Section */
.feature-section {
    margin: 3rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

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

.feature-item p {
    margin-bottom: 1rem;
}

/* Quote Section */
.quote-section {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
    border-radius: 8px;
    text-align: center;
}

.quote-section blockquote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

.quote-section cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
}

/* Cards Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

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

.card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    margin-top: 0.8rem;
    transition: var(--transition);
    font-weight: 500;
}

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

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

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

/* Footer */
footer {
    background-color: white;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--secondary-color);
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--light-text);
    text-decoration: underline;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Loading & Error States */
.loading, .error {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 5px;
    margin: 1rem 0;
}

.error {
    border-left: 4px solid #e74c3c;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #main-nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    #nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* Content Sections */
.content-section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.content-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.content-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

/* Note Box */
.note {
    background-color: rgba(107, 91, 149, 0.1); /* Light purple background */
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
}

.note p {
    margin-bottom: 0;
}

/* Highlight */
.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* Image Styles */
.img-container {
    margin: 2rem 0;
    text-align: center;
}

.img-container img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.img-caption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
} 