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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
}

/* Container and Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.main-content {
    min-width: 0; /* Prevents grid overflow */
}

.sidebar {
    position: sticky;
    top: 2rem;
    /* background: #f8fafc; */
    border-radius: 12px;
    padding: 0.6rem 1rem 1rem 1rem;
    /* border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); */
}

/* Header Styles */
.header {
    margin-bottom: 3rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.025em;
}

.excerpt {
    font-size: 1.25rem;
    font-weight: 400;
    color: #666666;
    line-height: 1.6;
    max-width: 800px;
}

/* Hero Media */
.hero-media {
    margin-bottom: 3rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Content Sections */
.content {
    max-width: none;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #1a1a1a;
}

.content-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #374151;
}

/* Image Styles */
.image-container {
    margin: 2.5rem 0;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
}

.image-caption {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Sidebar Styles */
.key-facts {
    margin-bottom: 2.5rem;
}

.key-facts h3,
.project-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid #1941df;
    padding-bottom: 0.5rem;
}

.facts-list {
    list-style: none;
}

.facts-list li {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #ffffff;
    /* border-radius: 6px; */
    border-left: 3px solid #1941df;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facts-list li:hover {
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.facts-list li strong {
    color: #1a1a1a;
    font-weight: 600;
}

.project-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.project-info .info-item strong {
    color: #1a1a1a;
    font-weight: 600;
    min-width: 80px;
}

.project-info .info-item span {
    color: #374151;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .sidebar {
        position: static;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .excerpt {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .title {
        font-size: 1.75rem;
    }
    
    .excerpt {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.25rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .sidebar {
        padding: 0rem;
    }
    
    .project-info .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-info .info-item span {
        text-align: left;
        margin-left: 0;
        margin-top: 0.25rem;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .sidebar {
        padding: 0rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid #1941df;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .sidebar {
        position: static;
        break-inside: avoid;
    }
    
    .hero-image,
    .content-image {
        break-inside: avoid;
    }
    
    .content-section {
        break-inside: avoid;
    }
}

