:root {
    --primary: #21468b; /* Dutch blue */
    --secondary: #ffb347; /* pastel orange */
    --accent: #f8c245; /* warm yellow */
    --light: #fff9eb; /* cream white */
    --dark: #33332d; /* off black */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--accent);
}

/* Logo link styling */
a.logo {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

a.logo:hover {
    color: white;
}

a.logo span {
    color: var(--accent);
}

.pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10,10 L90,10 L90,90 L10,90 Z" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.4;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent);
}

/* CTA Button in Navigation */
.cta-button {
    background-color: var(--accent);
    color: var(--dark) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: pulse 2s infinite;
}

.cta-button:hover {
    background-color: white;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Common page elements */
.page-title {
    max-width: 1200px;
    margin: 3rem auto 1rem;
    padding: 0 1rem;
    color: var(--secondary);
    font-size: 2.5rem;
    text-align: center;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    font-size: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-right: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
}

/* Add more space between adjacent buttons */
.btn + .btn {
    margin-top: 0.2rem;
}

/* Home page specific styles */
.hero {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

h1 span {
    color: var(--secondary);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

/* Features Section */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Cultural Section */
.cultural-section {
    background-color: #ffb347; /* pastel orange */
    color: var(--dark);
    padding: 4rem 1rem;
}

.cultural-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cultural-title {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.cultural-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cultural-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    transition: transform 0.3s;
}

.cultural-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.cultural-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

/* Testimonials */
.testimonials {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Phrase Section */
.phrase-section {
    background-color: var(--primary);
    color: white;
    padding: 2rem 1rem;
}

.phrase-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.phrase-title {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.phrase-box {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.phrase-card {
    width: 100%;
    height: 150px;
    perspective: 1000px;
    cursor: pointer;
}

.phrase-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.phrase-card .phrase-card-inner.flipped {
    transform: rotateY(180deg);
}

.phrase-card-front, .phrase-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.phrase-card-front {
    color: var(--dark);
    background-color: white;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

.phrase-card-front p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.phrase-card-front small {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #999;
}

.phrase-card-back {
    transform: rotateY(180deg);
    color: var(--secondary);
    background-color: var(--secondary);
    border-radius: 8px;
}

.phrase-card-back small {
    margin-top: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.phrase-dutch {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

/* Blog styles */
.blog-container {
    max-width: 1200px;
    margin: 2rem auto 4rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

.blog-summary {
    margin-bottom: 1.5rem;
    color: var(--dark);
    opacity: 0.9;
}

.read-more {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid var(--primary);
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Blog detail view */
.blog-detail-container {
    max-width: 900px;
    margin: 3rem auto 4rem;
    padding: 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-detail-header {
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.back-button {
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.back-button:hover {
    text-decoration: underline;
}

.blog-detail-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.blog-detail-date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-detail-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.blog-detail-content {
    line-height: 1.8;
}

/* Markdown Styling */
.blog-detail-content h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

.blog-detail-content h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin: 1.5rem 0 1rem;
}

.blog-detail-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin: 1.2rem 0 0.8rem;
}

.blog-detail-content p {
    margin-bottom: 1rem;
}

.blog-detail-content strong,
.blog-detail-content b {
    font-weight: 600;
    color: var(--primary);
}

.blog-detail-content em,
.blog-detail-content i {
    font-style: italic;
    color: var(--secondary);
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 1rem 0 1rem 2rem;
}

.blog-detail-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 1.5rem 0;
    background-color: rgba(248, 194, 69, 0.1);
    border-radius: 0 8px 8px 0;
}

.blog-detail-content code {
    background-color: #f1f1f1;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.blog-detail-content pre {
    background-color: #333;
    color: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-detail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.blog-detail-content th,
.blog-detail-content td {
    border: 1px solid #ddd;
    padding: 0.75rem;
    text-align: left;
}

.blog-detail-content th {
    background-color: rgba(0, 94, 169, 0.1);
    font-weight: 600;
}

.blog-detail-content tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* Blog view toggling */
#blogContent {
    display: none;
}

#blogGrid {
    display: grid;
}

/* Footer */
footer { 
    padding: 1rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent);
}

.footer-links h3 {
    margin-bottom: 1rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.copyright {
    max-width: 1200px;
    margin: 1rem auto 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
}

.mobile-menu-toggle span {
    display: none;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle span {
        display: block;
    }
    
    header .header-container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }
    
    #main-nav {
        display: none;
        width: 100%;
    }
    
    #main-nav.active {
        display: block;
    }

    nav ul {
        margin-top: 1.5rem;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    nav ul li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem;
    }
    
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
        display: inline-block;
        margin-top: 0.5rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-detail-title {
        font-size: 2rem;
    }
    
    .back-button {
        position: static;
        margin-bottom: 1rem;
        justify-content: center;
    }
} 