:root {
    --primary-blue: #1101c7;
    --primary-gold: #fac754;
    --black: #0e0e0e;
    --white: #ffffff;
    --grey: #f4f4f4;
    --font-head: 'Rock Salt', cursive;
    --font-body: 'Oswald', sans-serif;
}

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

html, body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--black);
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 { font-family: var(--font-head); text-transform: uppercase; line-height: 1.4; }

h1 { 
    font-size: 3.5rem; color: var(--white); 
    transform: rotate(-2deg); 
    text-shadow: 4px 4px 0px var(--primary-blue); 
}

h2 { font-size: 3rem; margin-bottom: 30px; color: var(--primary-blue); }

p { 
    font-family: 'Oswald'; font-weight: 300; font-size: 1.25rem; 
    line-height: 1.8; margin-bottom: 20px; 
}

.highlight { color: var(--primary-gold); }
.highlight-yellow { color: var(--primary-gold); }
.highlight-white { color: var(--white); text-shadow: 2px 2px 0px var(--black); }
.marker-underline { border-bottom: 6px solid var(--primary-gold); display: inline-block; line-height: 0.8; }

/* --- LAYOUT UTILS --- */
.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 30px; 
    width: 100%; 
}
.section { padding: 100px 0; }
.center { text-align: center; }

/* --- NAVIGATION --- */
.navbar {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 5px solid var(--primary-blue);
    height: 90px; display: flex; align-items: center;
}
.nav-flex { 
    display: flex; justify-content: space-between; align-items: center; 
    width: 100%; position: relative; 
}

/* LOGO */
.logo-wrapper { position: relative; z-index: 1001; }
.big-logo {
    height: 180px; width: auto; 
    padding:4px;
    position: absolute; top: -40px; left: 0; 
    border: 4px solid var(--black); background: white; 
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2);
    transform: rotate(-3deg); transition: 0.3s;
}
.big-logo:hover { transform: rotate(0deg) scale(1.05); }

/* LINKS */
.nav-links { list-style: none; display: flex; gap: 30px; margin-left: 240px; }
.nav-links a { 
    text-decoration: none; color: var(--black); 
    font-weight: 700; text-transform: uppercase; font-size: 1.1rem; letter-spacing: 1px;
}
.btn-donate-nav {
    background: var(--primary-gold); color: var(--black) !important;
    padding: 10px 25px; border: 3px solid var(--black);
    box-shadow: 5px 5px 0px var(--black); transition: 0.2s;
}
.btn-donate-nav:active { box-shadow: 0 0 0; transform: translate(5px, 5px); }
.mobile-toggle { display: none; font-size: 2rem; cursor: pointer; color: var(--black); }

/* --- HERO --- */
.hero {
    height: 95vh; background-size: cover; background-position: center; 
    display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative;
    border-bottom: 12px solid var(--primary-gold); margin-top: 90px;
}
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(17, 1, 199, 0.6); mix-blend-mode: multiply;
}
.hero-content { position: relative; z-index: 2; width: 90%; max-width: 1000px; }
.tagline { color: var(--white); font-weight: 600; letter-spacing: 3px; margin-top: 20px; font-size: 1.6rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary-gold); color: var(--black);
    padding: 15px 40px; font-size: 1.2rem; font-weight: 700;
    text-decoration: none; display: inline-block;
    border: 3px solid var(--black); box-shadow: 6px 6px 0px var(--black);
    margin: 10px; transition: 0.2s;
}
.btn-primary:hover { background: #fff; }

.btn-outline {
    background: transparent; color: var(--white);
    padding: 15px 40px; font-size: 1.2rem; font-weight: 700;
    text-decoration: none; display: inline-block;
    border: 3px solid var(--white); margin: 10px; transition: 0.2s;
}
.btn-outline:hover { background: var(--white); color: var(--primary-blue); }
.btn-text {
    color: var(--black); font-weight: 700; text-decoration: none; font-size: 1.2rem;
    border-bottom: 3px solid var(--primary-gold);
}

/* --- ABOUT --- */
.split-layout { display: flex; gap: 60px; align-items: flex-start; }
.text-content { flex: 1; }
.image-content { flex: 1; }
.image-frame { position: relative; }
.image-frame img { width: 100%; border: 4px solid var(--black); position: relative; z-index: 2; }
.frame-accent {
    position: absolute; top: 25px; left: 25px; width: 100%; height: 100%;
    background: var(--primary-blue); z-index: 1;
}

/* --- BOOK PROMO --- */
.book-promo { margin: 30px 0; padding: 25px; border: 3px dashed var(--primary-blue); background: #f9f9f9; }
.book-flex { display: flex; align-items: center; gap: 20px; }
.book-img-wrapper img { width:200px; border: 2px solid var(--black); box-shadow: 4px 4px 0px var(--primary-gold); }
.book-info h3 { font-size: 1.5rem; color: var(--primary-blue); margin-bottom: 5px; }
.book-info p { font-size: 1rem; margin-bottom: 15px; }
.book-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.small-btn { font-size: 0.9rem; padding: 10px 15px; margin: 0; box-shadow: 3px 3px 0 var(--black); }
.inverted-btn { background: var(--black); color: var(--white); border-color: var(--black); }

.social-icons-row { margin-top: 20px; }
.social-icons-row a { font-size: 2rem; color: var(--black); margin-right: 20px; transition: 0.2s; }
.social-icons-row a:hover { color: var(--primary-blue); }

/* --- SERVICES --- */
.dark-bg { background: var(--black); color: var(--white); }
.white-text { color: var(--white); }
.services-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; margin-top: 50px; 
}
.service-card {
    background: var(--white); color: var(--black); padding: 40px;
    border-bottom: 6px solid var(--primary-gold); transition: 0.3s;
}
.service-card:hover { transform: translateY(-10px); background: #fffde7; }
.service-card i { font-size: 3rem; color: var(--primary-blue); margin-bottom: 20px; }
.kanazi-story { margin-top: 80px; padding: 50px; border: 3px dashed var(--primary-gold); text-align: center; }
.kanazi-story h3 { color: var(--primary-gold); font-size: 2rem; }

/* --- WIDGET AREA --- */
.plugin-container {
    width: 100%;
    border: 4px solid var(--black);
    background: #fff;
    margin-top: 30px; margin-bottom: 30px;
    position: relative;
    padding-bottom: 75%; 
    height: 0;
    overflow: hidden;
}
.snapwidget-widget { 
    position: absolute;
    top: 0; left: 0;
    width: 100% !important; 
    height: 100% !important; 
}
.center-btn-wrapper { text-align: center; }

/* --- CONTACT --- */
.blue-bg { background: var(--primary-blue); color: var(--white); padding-bottom: 120px; }
.contact-wrapper { 
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 0; 
    background: var(--white); border: 6px solid var(--black); 
    box-shadow: 15px 15px 0px var(--black); color: var(--black); width: 100%; 
}
.contact-info {
    padding: 60px; background: var(--primary-gold); 
    border-right: 6px solid var(--black); display: flex; flex-direction: column; justify-content: center;
}

/* FOOTER LINKS (DESKTOP) */
.icon-link {
    display: flex; /* Keeps icon and text together */
    align-items: center;
    margin-bottom: 15px;
    white-space: nowrap; /* Tries to keep on one line */
}
.icon-link a { color: var(--black); text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.icon-link i { width: 30px; flex-shrink: 0; }

.donate-area-footer { border-top: 3px solid var(--black); padding-top: 30px; margin-top: auto; }
.btn-black-outline {
    display: block; width: 100%; text-align: center;
    border: 3px solid var(--black); padding: 10px;
    text-decoration: none; color: var(--black); font-weight: 700;
    margin-bottom: 10px; transition: 0.2s;
}
.btn-black-outline:hover { background: var(--black); color: var(--white); }

.urban-form { padding: 60px; background: var(--white); }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 10px; font-size: 1.1rem; }
.urban-form input, .urban-form textarea {
    width: 100%; padding: 15px 20px; background: var(--grey);
    border: 3px solid var(--black); font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: var(--black);
}
.urban-form input { height: 60px; } 
.urban-form textarea { height: 180px; resize: none; }
.urban-form input:focus, .urban-form textarea:focus { outline: none; background: #fff; border-color: var(--primary-blue); }

.btn-black {
    background: var(--black); color: var(--white);
    width: 100%; padding: 20px; font-weight: 700; font-size: 1.5rem;
    border: none; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.btn-black:hover { background: var(--primary-blue); letter-spacing: 2px; }
footer { background: var(--black); color: var(--white); padding: 40px 0; text-align: center; border-top: 10px solid var(--primary-gold); }

/* =========================================
   MOBILE RESPONSIVENESS (FIXED)
   ========================================= */
@media (max-width: 900px) {
    .container { padding: 0 20px; width: 100%; }
    .split-layout { flex-direction: column; gap: 30px; }
    
    /* 1. Header is SOLID WHITE & FIXED */
    .navbar { 
        height: 100px !important; 
        padding: 0 !important; 
        background: #ffffff !important; 
        overflow: visible; 
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 2. Logo Fixed: WIDTH 140px */
    .big-logo { 
        width: 140px !important; /* Forces it to be visible */
        height: auto !important;
        max-width: none !important; /* Removes restriction */
        position: absolute; 
        top: -40px; 
        left: 70px; 
        transform: translateX(-50%) rotate(-3deg);
        box-shadow: 3px 3px 0px rgba(0,0,0,0.1); 
        border: 2px solid var(--black);
        z-index: 10002;
    }
    
    /* 3. Hamburger Fixed: Top Right */
    .mobile-toggle { 
        display: block; 
        position: fixed; /* Fixed to screen */
        right: 20px; 
        top: 30px; 
        z-index: 10003; 
        color: var(--black);
    }

    .nav-links { 
        display: none; margin-left: 0; position: absolute; top: 100px; left: 0; width: 100%; 
        background: white; text-align: center; padding: 20px; 
        border-bottom: 4px solid var(--primary-blue); 
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links li { margin: 15px 0; }
    
    /* 4. Content Push Down */
    .hero { margin-top: 100px; padding-top: 60px; height: auto; padding-bottom: 80px; }
    
    h1 { font-size: 2.2rem; line-height: 1.3; }
    h2 { font-size: 2.2rem; line-height: 1.2; }
    .marker-underline { line-height: 1.2; border-bottom: 4px solid var(--primary-gold); }

    .contact-wrapper { grid-template-columns: 1fr; width: 100%; margin: 0; box-shadow: 5px 5px 0px var(--black); }
    .contact-info { border-right: none; border-bottom: 4px solid var(--black); padding: 30px 20px; }
    
    /* FIX FOR FOOTER LINKS ON MOBILE */
    .icon-link { font-size: 0.9rem; width: 100%; }
    .icon-link a { font-size: 0.85rem; overflow: hidden; text-overflow: ellipsis; }
    .icon-link i { width: 20px; }

    .urban-form { padding: 30px 20px; }
    .kanazi-story { padding: 20px; }
    
    /* Widget Fix */
    .plugin-container { padding-bottom: 220px; }
    
    /* Book Promo Mobile */
    .book-flex { flex-direction: column; text-align: center; }
    .book-btns { justify-content: center; }
}