/* ==========================================
   Detroit Documentary Film Festival 2026
   Main Stylesheet
   ========================================== */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333;
    background-color: #fafafa;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    border-bottom: 3px solid #e74c3c;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.6rem;
    color: #c0392b;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c0392b;
    text-decoration: underline;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 80px;
    width: auto;
    max-width: 300px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu li a {
    color: #ecf0f1;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: #e74c3c;
    color: white;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.page-header h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.header-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-style: italic;
}

/* Hero Section - 优化布局 */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-text h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.theme-title {
    color: #e74c3c;
    font-size: 2.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.festival-dates {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    margin-top: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #2c3e50;
    transform: translateY(-3px);
}

/* Grid Layouts */
.content-grid,
.theme-grid,
.info-grid,
.stats-grid,
.news-grid,
.highlights-grid,
.awards-grid,
.jury-grid,
.dining-categories,
.shooting-locations,
.workshop-grid,
.panel-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.content-grid {
    grid-template-columns: 2fr 1fr;
}

.theme-grid,
.info-grid {
    grid-template-columns: 1fr 1fr;
}

.stats-grid,
.highlights-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.awards-grid,
.jury-grid,
.workshop-grid,
.panel-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.news-grid {
    grid-template-columns: 2fr 1fr;
}

/* Card Components */
.award-category,
.jury-member,
.workshop-item,
.panel-item,
.venue-item,
.stat-item,
.highlight-item,
.news-item,
.theme-section,
.jury-highlight,
.news-preview,
.event-snapshot,
.historical-context,
.festival-info,
.partnerships {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Section Styling */
.theme-section {
    background: #f8f9fa;
}

.jury-highlight {
    background: white;
}

.news-preview {
    background: #f8f9fa;
}

.event-snapshot {
    background: white;
}

.historical-context {
    background: #f8f9fa;
}

.festival-info {
    background: white;
}

.partnerships {
    background: #f8f9fa;
}

/* Statistics */
.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-detail {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Awards Page */
.awards-intro,
.awards-year {
    margin: 3rem 0;
}

.year-intro {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

.award-winner h4 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Jury Page */
.jury-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}

.member-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.member-title {
    color: #e74c3c;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.member-location {
    color: #7f8c8d;
    margin-bottom: 1rem;
}

.member-bio {
    line-height: 1.6;
}

/* News Articles */
.news-article {
    margin: 3rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.article-header {
    padding: 2rem;
    background: #f8f9fa;
}

.article-meta {
    color: #666;
    margin-bottom: 1rem;
}

.category {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 1rem;
}

.article-content {
    padding: 2rem;
}

.article-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 1rem 0;
}

/* Schedule Page */
.schedule-day {
    margin-bottom: 3rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.day-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.day-theme {
    font-style: italic;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.schedule-grid {
    padding: 2rem;
}

.time-slot {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: start;
}

.time {
    font-weight: 700;
    color: #e74c3c;
    font-size: 1.1rem;
}

.event {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #e74c3c;
}

.venue {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Workshops Page */
.workshop-item,
.panel-item {
    border-left: 4px solid #e74c3c;
    margin-bottom: 2rem;
}

.facilitator,
.panelists {
    color: #e74c3c;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.duration,
.level,
.prerequisites {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Guide Page */
.accommodation-grid,
.dining-categories,
.shooting-locations,
.relaxation-categories,
.transportation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.venue-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.price-range,
.community-note {
    color: #e74c3c;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Blockquotes */
blockquote {
    background: #f8f9fa;
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

cite {
    font-weight: 600;
    color: #e74c3c;
    font-style: normal;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .content-grid,
    .theme-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .jury-member {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .time-slot {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .theme-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu li a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .stats-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .theme-title {
        font-size: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .logo img {
        height: 50px;
    }
} 