:root {
    --bbc-red: #B80000;
    --text-color: #222222;
    --border-color: #CCCCCC;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #e0e0e0;
}

.header {
    background: #000;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 700;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.nav-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #0066ff, #ffcc00);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #0052cc, #e6b800);
}

.hero {
    position: relative;
    height: 500px;
    background-image: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 1rem;
}

.news-card h3 {
    margin-bottom: 0.5rem;
}

.featured-companies {
    margin-top: 3rem;
    padding: 2rem 0;
    background: #f8f8f8;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.company-card {
    text-align: center;
    padding: 1rem;
}

.company-card img {
    max-width: 150px;
    height: auto;
}

footer {
    background: #222;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.latest-news {
    padding: 2rem 0;
    background-color: #f5f5f5;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.news-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.news-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.news-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-date {
    color: #666;
    font-size: 0.9rem;
}

.news-item h3 {
    margin: 0.5rem 0;
    color: #333;
    font-size: 1.2rem;
}

/* Hero background crossfade (CSS-only) */
.hero {
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 105s infinite steps(1, end);
}

.hero-slide--dawn {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../images/Hero dawn.png');
    animation-delay: 0s;
}

.hero-slide--dusk {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../images/Hero dusk.png');
    animation-delay: 35s;
}

.hero-slide--night {
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('../images/Hero night.png');
    animation-delay: 70s;
}

@keyframes heroFade {
    0% { opacity: 1; }
    33.333% { opacity: 1; }
    33.334% { opacity: 0; }
    100% { opacity: 0; }
}

.news-item p {
    color: #555;
    margin-bottom: 1rem;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .news-slider {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.quick-facts-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
}

.facts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.facts-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.fact-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fact-item h3 {
    color: #495057;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.fact-item p {
    color: #6c757d;
    margin: 0;
}

.fact-item .sub-detail {
    font-size: 0.9rem;
    color: #868e96;
    margin-top: 0.2rem;
}

.fact-item ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #6c757d;
}

.fact-item li {
    margin-bottom: 0.2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .facts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .facts-grid {
        grid-template-columns: 1fr;
    }
}

.overview-intro {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 2rem auto;
}

.center_content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 2rem auto;
}

.center_content_pages {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 2rem auto;
}

.map-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-section h2 {
    color: #333;
    margin-bottom: 1rem;
}

.map-description {
    background-color: #f8f8f8;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.map-description p {
    color: #444;
    line-height: 1.8;
    font-size: 1.1rem;
}

.map-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
} 
