/* ================================
   KPP DIGITAL LIBRARY THEME
   Phase 1 Base Styling
================================ */

:root {
    --kpp-blue: #0099E5;
    --kpp-gold: #FFC72C;
    --kpp-dark: #1F2937;
    --kpp-white: #FFFFFF;
}

/* Reset Koha wrapper spacing */
#wrapper {
    margin: 0;
    padding: 0;
}

/* HEADER CONTAINER */
#kpp-header {
    background: var(--kpp-blue);
    color: var(--kpp-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 4px solid var(--kpp-gold);
}

/* BRAND SECTION */
#kpp-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

#kpp-brand img {
    height: 65px;
}

#kpp-brand h1 {
    margin: 0;
    font-size: 26px;
}

#kpp-brand p {
    margin: 3px 0 0;
    font-size: 14px;
}

/* NAV LINKS */
#kpp-links a {
    color: var(--kpp-white);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
}

#kpp-links a:hover {
    color: var(--kpp-gold);
}

/* HERO BANNER */

#kpp-hero {
    background-image: url("/custom/images/kpp-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kpp-overlay{

    background:rgba(0,0,0,.45);

    color:white;

    padding:50px;

    text-align:center;

    border-radius:12px;

}

.kpp-overlay h2{

    font-size:42px;

    margin-bottom:20px;

}

.kpp-overlay p{

    font-size:20px;

    margin-bottom:30px;

}

.kpp-button{

    background:#FFC72C;

    color:#1F2937;

    padding:14px 35px;

    border-radius:40px;

    text-decoration:none;

    font-weight:bold;

}

.kpp-button:hover{

    background:white;

}

/* ==============================
   KPP QUICK SERVICES
============================== */

#kpp-services{
    max-width:1200px;
    margin:40px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
    padding:0 20px;
}

.kpp-card{
    background:#ffffff;
    border-radius:12px;
    padding:25px;
    text-align:center;
    text-decoration:none;
    color:#1F2937;
    box-shadow:0 4px 15px rgba(0,0,0,.12);
    transition:transform .25s ease, box-shadow .25s ease;
}

.kpp-card:hover{
    transform:translateY(-6px);
    box-shadow:0 8px 24px rgba(0,0,0,.18);
}

.kpp-card .icon{
    font-size:42px;
    margin-bottom:15px;
}

.kpp-card h3{
    color:#0099E5;
    margin-bottom:12px;
}

.kpp-card p{
    margin:0;
    font-size:15px;
    line-height:1.5;
}

/* ==============================
   Hides the green KOHA image
============================== */
/* Hides the default green Koha image file */
/* Complete reset to block the logo across various Koha versions */
a.navbar-brand img,
#logo a img,
.navbar-header .navbar-brand img {
    display: none !important;
    visibility: hidden !important;
    width: 0px !important;
    height: 0px !important;
    opacity: 0 !important;
}


/* Injects your custom KPP logo graphic behind it */
/*.navbar-brand {
    background: url('/custom/images/kpp-logo.png') no-repeat left center;
    background-size: contain;
    display: inline-block;
    min-width: 120px; /* Adjust this width based on your image dimensions */
  /*  min-height: 40px; /* Keeps the spacing aligned with the Cart and Lists text */
} 
