/* =========================================
   KILE'S WORLD FOUNDATION
========================================= */

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

:root {

    --blue: #274c77;
    --gold: #c8a54b;
    --text: #444;
    --light: #faf8f5;
    --white: #ffffff;

    --max-width: 1200px;

}

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;

}

h1,
h2,
h3,
h4 {

    font-family: 'Cormorant Garamond', serif;
    color: var(--blue);
    font-weight: 600;

}

section {

    padding: 90px 25px;

}

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 24px;
}

img {

    max-width: 100%;
    display: block;

}

a {

    text-decoration: none;
    color: inherit;

}

/* ===========================
   HEADER
=========================== */
.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:2rem;
    color:#17375e;
    cursor:pointer;
}


/* ===========================
   HERO
=========================== */

.hero{

    padding:100px 25px;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:70px;

}

.hero-logo{

    width:260px;

    margin-bottom:40px;

}

.hero-image img{

    width:100%;

    border-radius:18px;

    box-shadow:0 20px 60px rgba(0,0,0,.15);

}

/* ---------- Header ---------- */

.site-header{
    position:sticky;
    top:0;
    background:#fff;
    z-index:1000;
    box-shadow:0 2px 18px rgba(0,0,0,.06);
}

.header-container{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    padding:16px 20px;
}

.logo{
    justify-self:start;
}

.logo img{
    height:70px;
    display:block;

}

.nav-links{
    display:flex;
    list-style:none;
    gap:2rem;
    justify-self:center;
}

.nav-links a{
    text-decoration:none;
    color:#1d3557;
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:#d48c00;
}

.donate-btn{
    background:#f58220;
    color:white;
    text-decoration:none;
    padding:14px 28px;
    border-radius:999px;
    font-weight:700;
    transition:.3s;
    justify-self:end;

}

.donate-btn:hover{
    transform:translateY(-2px);
}

/* ---------- Hero ---------- */

.hero{
    padding:100px 0;
    padding-top: 160px;
}

.hero-content{
    transform:translateY(-70px);
}

.hero-image img{
    width:100%;
    max-width:400px;
    height:auto;
    margin:1.5rem auto;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}

.eyebrow{
    color:#d4a017;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:700;
    margin-bottom:15px;
}

.hero h1{
    font-family:"Cormorant Garamond",serif;
    font-size:4rem;
    color:#17375e;
    line-height:1.05;
    margin-bottom:25px;
    text-align:center;

}

.hero-description{
    font-size:1.2rem;
    line-height:1.9;
    color:#555;
    margin-bottom:40px;
    text-align:center;

}

.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:1rem;
    flex-wrap:wrap;
}

.btn-primary{
    background:#f58220;
    color:white;
    padding:16px 34px;
    border-radius:999px;
    text-decoration:none;
    font-weight:700;
}

.btn-secondary{
    border:2px solid #17375e;
    color:#17375e;
    text-decoration:none;
    padding:16px 34px;
    border-radius:999px;
    font-weight:700;
}

.hero-image img{
    width:100%;
    margin-top:2rem;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}
/* ==========================================
   Mission Section
========================================== */

.mission{
    padding:120px 0;
    background:#faf8f4;
}

.mission-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:60px;
    align-items:center;
}

.section-tag{
    display:inline-block;
    margin-bottom:18px;
    color:#d4a017;
    text-transform:uppercase;
    letter-spacing:2px;
    font-weight:700;
    font-size:.85rem;
}

.mission h2{
    font-family:"Cormorant Garamond",serif;
    font-size:3rem;
    color:#17375e;
    line-height:1.1;
    margin-bottom:28px;
}

.mission-card p{
    font-size:1.1rem;
    line-height:2;
    color:#555;
}

.highlight-box{
    background:white;
    border-left:6px solid #f58220;
    border-radius:18px;
    padding:40px;
    box-shadow:0 18px 40px rgba(0,0,0,.08);
}

.highlight-box h3{
    color:#17375e;
    margin-bottom:18px;
    font-size:1.5rem;
}

.highlight-box p{
    line-height:1.9;
    color:#666;
}

@media (max-width:900px){

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

    .mission{
        padding:80px 0;
    }

    .mission h2{
        font-size:2.4rem;
    }

}

/* ==========================================
   In Loving Memory
========================================== */

.memory{
    padding:120px 0;
    background:#fff;
}

.memory-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.memory-image img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.memory-content blockquote{
    font-family:"Cormorant Garamond", serif;
    font-size:2rem;
    line-height:1.4;
    color:#17375e;
    margin:0 0 30px;
    padding-left:28px;
    border-left:4px solid #f58220;
}

.memory-content p{
    font-size:1.08rem;
    line-height:2;
    color:#555;
}

@media (max-width:900px){

    .memory{
        padding:80px 0;
    }

    .memory-grid{
        grid-template-columns:1fr;
        gap:40px;
    }

    .memory-content{
        order:2;
    }

    .memory-image{
        order:1;
    }

    .memory-content blockquote{
        font-size:1.7rem;
    }

}

/* ==========================================
   About Kile
========================================== */

.about{
    padding:120px 0;
    background:#faf8f4;
}

.about .container{
    max-width:900px;
    margin:0 auto;
}

.about-image{
    margin:40px 0 60px;
}

.about-image img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 25px 60px rgba(0,0,0,.12);
}

.about-content p{
    font-size:1.08rem;
    line-height:2;
    color:#555;
    margin-bottom:32px;
}

.about-closing{
    margin-top:60px;
    padding-top:40px;
    border-top:1px solid rgba(0,0,0,.08);

    font-family:"Cormorant Garamond", serif;
    font-size:2rem;
    line-height:1.5;
    color:#17375e;
    text-align:center;
}

.about-signoff{
    margin-top:35px;

    font-family:"Cormorant Garamond", serif;
    font-size:3rem;
    font-weight:600;
    color:#17375e;

    text-align:center;
}

@media (max-width:900px){

    .about{
        padding:80px 0;
    }

    .about-image{
        margin:30px 0 40px;
    }

    .about-content p{
        font-size:1rem;
    }

    .about-closing{
        font-size:1.6rem;
    }

    .about-signoff{
        font-size:2.3rem;
    }

}

/* ==========================================
   Programs
========================================== */

.programs{
    padding:120px 0;
    background:#fff;
}

.programs .container{
    max-width:1200px;
    margin:0 auto;
}

.programs h2{
    font-family:"Cormorant Garamond", serif;
    font-size:3rem;
    color:#17375e;
    margin:15px 0 60px;
}

.program-grid{
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:35px;
}

.program-card{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 18px 40px rgba(0,0,0,.08);
    transition:all .35s ease;
}

.program-card:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 60px rgba(0,0,0,.15);
}

.program-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
}

.program-card h3{
    font-family:"Cormorant Garamond", serif;
    font-size:2rem;
    color:#17375e;
    text-align:center;
    padding:28px 20px 32px;
    margin:0;
}

@media (max-width:900px){

    .programs{
        padding:80px 0;
    }

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

    .program-card img{
        height:260px;
    }

    .programs h2{
        font-size:2.4rem;
    }

}

/* ==========================================
   Contact
========================================== */

.contact{
    padding:120px 0;
    background:#faf8f4;
    text-align:center;
}

.contact .container{
    max-width:900px;
    margin:0 auto;
}

.contact-logo{
    margin-bottom:40px;
}

.contact-logo img{
    width:220px;
    margin:0 auto;
}

.contact-email{
    margin:30px 0 50px;
}

.contact-email a{
    color:#17375e;
    font-size:1.1rem;
    font-weight:500;
    transition:.3s;
}

.contact-email a:hover{
    color:#c8a54b;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:24px;
    margin-bottom:60px;
}

.social-icons a{
    width:58px;
    height:58px;
    border-radius:50%;
    background:#fff;
    color:#17375e;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.3rem;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.social-icons a:hover{
    background:#17375e;
    color:#fff;
    transform:translateY(-4px);
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* ==========================================
   Mobile Navigation
========================================== */

@media (max-width:900px){

    .menu-toggle{
        display:block;
    }

    .nav-links{
    display:none;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;

    position:absolute;
    top:90px;
    left:0;
    width:100%;

    background:#fff;
    padding:25px;
    gap:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

    .nav-links.active{
        display:flex;
    }

    .donate-btn{
        display:none;
    }

    .nav-links li{
    width:100%;
    text-align:center;
}

    .nav-links a{
    display:block;
    text-align:center;
}

}