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

body {
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}

/* Header */
.pre-header {
    text-align: center;
    padding: 0.3rem 0;
    background: #fff;
}

.pre-header img {
    height: 50px;
    margin: 0.3rem auto;
}

.pre-header-text {
    color: #000;
    font-size: 0.75rem;
    margin-top: 0.2rem;
}

.masthead {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
}

.logo img {
    height: 50px;
    margin-right: 0.8rem;
}

.site-title {
    font-size: 1.6rem;
    font-weight: normal;
    color: #000;
}

.nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    padding: 0.4rem 0.8rem;
}

.nav a:hover {
    background: #5F0A30;
    color: #fff;
}

.nav a.active {
    background: #5F0A30;
    color: #fff;
}

/* Hero Section */
.hero {
    background: url('imgs/istanbul_back.jpg') center center/cover;
    height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;
}

.hero-message {
    background: rgba(102, 102, 102, 0.9);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 1.5rem 3rem;
    border-radius: 15px;
    text-align: center;
    max-width: 90%;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.85rem;
    color: #666;
}

.breadcrumb a {
    color: #5F0A30;
    text-decoration: none;
}

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

/* Main Content */
.main {
    padding: 2.5rem 0;
}

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

.content-section h2 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    color: #333;
}

.content-section p {
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 0.9rem;
}

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

.dataset-card {
    background: #fff;
    box-shadow: 1px 3px 5px #ccc;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.dataset-card:hover {
    box-shadow: 1px 3px 6px #999;
}

.dataset-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.dataset-content {
    padding: 1.2rem;
}

.dataset-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.dataset-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    background: #000;
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: #ccc;
}

.contact {
    text-align: right;
}

.contact p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-logos {
    background: #fff;
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.footer-logos img {
    max-height: 120px;
    margin: 1rem;
}

.logos-disclaimer {
    font-size: 0.8rem;
    margin-top: 1rem;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-message {
        font-size: 1.5rem;
        padding: 1rem 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact {
        text-align: left;
    }

    .nav {
        display: none;
    }

    .site-title {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 991px) {
    .site-title {
        font-size: 1.8rem;
    }
    
    .hero-message {
        font-size: 1.8rem;
        padding: 1.5rem 3rem;
    }
}

.dataset-title a {
    color: #333;
    text-decoration: none;
}

.dataset-title a:hover {
    color: #5F0A30;
    text-decoration: underline;
}

.dataset-description a {
    color: #5F0A30;
    text-decoration: underline;
}

.dataset-description a:hover {
    color: #333;
}