/* Modern Free Burma Coalition Website Styles */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

.main-wrapper {
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin: 20px auto;
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
}

.logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ffd700;
}

.contact-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Navigation */
.nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: #2a5298;
    color: white;
    transform: translateY(-2px);
}

/* Main Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 2rem;
}

/* Sidebar */
.sidebar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h2 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 0.5rem;
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 0.5rem;
}

.sidebar-links a {
    color: #e0e6ed;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.sidebar-links a:hover {
    color: #ffd700;
}

.sidebar-image {
    width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

.sidebar-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 4px solid #ffd700;
}

.sidebar-quote p {
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.sidebar-quote .author {
    font-size: 0.8rem;
    color: #ffd700;
    font-weight: 500;
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
}

.section {
    margin-bottom: 3rem;
}

.section-title {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #2a5298);
    border-radius: 2px;
}

.highlight-box {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1e3c72;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
}

/* Articles and News */
.articles-grid {
    display: grid;
    gap: 1.5rem;
}

.article-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-title {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #2a5298;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Photo Essays */
.photo-essay {
    margin: 2rem 0;
}

.photo-essay-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.photo-essay-item:nth-child(even) {
    flex-direction: row-reverse;
}

.photo-essay-image {
    flex: 0 0 250px;
}

.photo-essay-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.photo-essay-content {
    flex: 1;
}

.photo-essay-title {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.photo-essay-text {
    color: #555;
    line-height: 1.6;
}

/* Media Section */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.media-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.media-item h4 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.media-item a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 500;
}

.media-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1e3c72;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

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

.footer p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer a {
    color: #ffd700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .sidebar {
        order: -1;
        position: static;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .photo-essay-item {
        flex-direction: column !important;
    }
    
    .photo-essay-image {
        flex: none;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .main-wrapper {
        margin: 10px;
        border-radius: 8px;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .sidebar {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .nav, .sidebar {
        display: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .main-wrapper {
        box-shadow: none;
        margin: 0;
    }
}
