/* Custom Theme Styles for Jeanine's Europe Blog */

:root {
    --primary-blue: #1565c0;
    --dark-blue: #0d47a1;
    --light-blue: #e3f2fd;
    --accent-blue: #1976d2;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
}

.eu-symbol {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.card-panel {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    text-align: center;
    padding: 2rem 1rem !important;
}

.card-panel:hover {
    transform: translateY(-5px);
}

.card-panel i {
    margin-bottom: 1rem;
}

.card-panel h5 {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

/* About Section */
.about-section {
    padding: 5rem 0;
}

.about-section h2 {
    margin-bottom: 2rem;
}

/* Latest Articles */
.latest-articles {
    padding: 5rem 0;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image img {
    height: 200px;
    object-fit: cover;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    text-align: center;
}

/* Navigation */
.brand-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

nav ul a {
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul a:hover {
    color: var(--light-blue) !important;
}

/* Footer */
.footer-copyright {
    padding: 1rem 0;
}

/* Markdown Content */
.markdown-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.markdown-body p {
    margin-bottom: 1.5rem;
}

.markdown-body a {
    color: var(--primary-blue);
    text-decoration: none;
}

.markdown-body a:hover {
    text-decoration: underline;
}

/* Pagination */
.pagination li.active {
    background-color: var(--primary-blue);
}

.pagination li a {
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-section,
    .features-section,
    .about-section,
    .latest-articles,
    .cta-section {
        padding: 3rem 0;
    }
}

/* Materialize Overrides */
.btn, .btn-large {
    background-color: var(--primary-blue);
    border-radius: 4px;
    font-weight: 500;
}

.btn:hover, .btn-large:hover {
    background-color: var(--dark-blue);
}

.card .card-action a:not(.btn):not(.btn-large):not(.btn-small):not(.btn-large) {
    color: var(--primary-blue);
    font-weight: 500;
}