@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px base for easier rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--mepa-primary-color, #00a8e2);
    text-decoration: none;
}

/* Nav linkler icin reset - mepa-megamenu.css'te stillendirilecek */
.mepa-nav-link {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.mepa-text-center { text-align: center; }
.mepa-text-left { text-align: left; }
.mepa-text-right { text-align: right; }

.mepa-mb-1 { margin-bottom: 1rem; }
.mepa-mb-2 { margin-bottom: 2rem; }
.mepa-mb-3 { margin-bottom: 3rem; }

.mepa-mt-1 { margin-top: 1rem; }
.mepa-mt-2 { margin-top: 2rem; }
.mepa-mt-3 { margin-top: 3rem; }

.mepa-hidden { display: none; }
.mepa-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   WORDPRESS SPECIFIC STYLES
   ========================================================================== */

.wp-caption {
    max-width: 100%;
    background: #f9f9f9;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-top: 0.5rem;
}

.alignleft {
    float: left;
    margin: 0 2rem 1rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1rem 2rem;
}

.aligncenter {
    display: block;
    margin: 1rem auto;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}