/*
Theme Name: Lions Club
Theme URI: https://www.lions.de/
Description: A modern WordPress theme for Lions Club based on Bootstrap 5, featuring the official Lions Club color scheme of navy blue and gold.
Version: 1.0.0
Author: Lions Club
Author URI: https://www.lions.de/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lions-club
Tags: responsive, bootstrap, lions-club, navy-blue, gold
*/

/* ============================================================
   LIONS CLUB — Design-System
   Farben: https://www.lions.de/ (main.css)
   ============================================================ */

:root {
    --lions-blue:       #00338D;   /* Primary brand blue */
    --lions-blue-dark:  #0D2240;   /* Darker shade for hover states */
    --lions-gold:       #F9C910;   /* Brand gold / yellow */
    --lions-gold-dark:  #e0b200;   /* Darker gold for hover */
    --lions-grey:       #55565A;   /* Body text / secondary */
    --lions-grey-light: #F1F2F5;   /* Light background */
    --lions-white:      #ffffff;
    --lions-border:     #dee2e6;
}

/* ── Global ─────────────────────────────────────────────────── */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--lions-grey);
    line-height: 1.6;
    font-size: 1rem;
}

/* ── Headings ───────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--lions-blue);
    font-weight: 600;
}

/* ── Links ──────────────────────────────────────────────────── */

a {
    color: var(--lions-blue);
    text-decoration: underline;
    font-weight: 500;
}

a:hover,
a:focus {
    color: #000;
    text-decoration: underline;
}

/* ── Bootstrap: btn-primary ─────────────────────────────────── */

.btn-primary {
    background-color: var(--lions-blue);
    border-color:     var(--lions-blue);
    color:            var(--lions-white);
    font-weight:      600;
    border-radius:    3px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:focus-visible {
    background-color: var(--lions-blue-dark);
    border-color:     var(--lions-blue-dark);
    color:            var(--lions-white);
}

.btn-primary:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(0, 51, 141, 0.35);
}

/* ── Bootstrap: btn-secondary ───────────────────────────────── */

.btn-secondary {
    background-color: var(--lions-grey);
    border-color:     var(--lions-grey);
    color:            var(--lions-white);
    font-weight:      600;
    border-radius:    3px;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: #3a3b3f;
    border-color:     #3a3b3f;
    color:            var(--lions-white);
}

/* ── Donation / CTA button (gold) ───────────────────────────── */

.btn-lions-gold,
.btn-lions-primary {
    background-color: var(--lions-gold);
    border-color:     var(--lions-gold);
    color:            var(--lions-blue);
    font-weight:      700;
    border-radius:    3px;
}

.btn-lions-gold:hover,
.btn-lions-gold:focus,
.btn-lions-primary:hover,
.btn-lions-primary:focus {
    background-color: var(--lions-gold-dark);
    border-color:     var(--lions-gold-dark);
    color:            var(--lions-blue);
}

/* ── Bootstrap: btn-outline-primary ────────────────────────── */

.btn-outline-primary {
    color:        var(--lions-blue);
    border-color: var(--lions-blue);
    border-radius: 3px;
    font-weight:  600;
}

.btn-outline-primary:hover,
.btn-outline-primary:active {
    background-color: var(--lions-blue);
    border-color:     var(--lions-blue);
    color:            var(--lions-white);
}

/* ── Header / Navbar ────────────────────────────────────────── */

.site-header {
    background-color: var(--lions-white);
    border-bottom: 1px solid var(--lions-border);
    padding: 0.75rem 0;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.navbar-lions {
    background-color: var(--lions-white) !important;

}

.navbar-lions .nav-link {
    color:       var(--lions-grey) !important;
    font-weight: 500;
    padding:     0.5rem 1rem;
    transition:  color 0.2s ease;
}

.navbar-lions .nav-link:hover,
.navbar-lions .nav-link:focus {
    color: var(--lions-blue) !important;
}

.navbar-lions .nav-link.active {
    color:       var(--lions-blue) !important;
    font-weight: 700;
}

.navbar-lions .dropdown-item {
    color:       var(--lions-grey);
    font-weight: 500;
}

.navbar-lions .dropdown-item:hover,
.navbar-lions .dropdown-item:focus {
    color:            var(--lions-blue);
    background-color: var(--lions-grey-light);
}

.navbar-lions a img {
    max-height:   60px;
    width:        auto;
    margin-right: 0.5rem !important;
}

.site-title-brand {
    font-size:     1.25rem;
    font-weight:   700;
    line-height:   1.2;
    color:         #55565A;
    max-width:     400px;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
}

/* ── Hero Section ───────────────────────────────────────────── */

.hero-section {
    background: linear-gradient(135deg, var(--lions-blue) 0%, var(--lions-blue-dark) 100%);
    color:   var(--lions-white);
    padding: 5rem 0;
    position: relative;
}

.hero-section h1,
.hero-section h2 {
    color:         var(--lions-white);
    font-size:     3rem;
    font-weight:   700;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size:     1.25rem;
    margin-bottom: 2rem;
    color:         rgba(255, 255, 255, 0.9);
}

/* ── Content Sections ───────────────────────────────────────── */

.content-section {
    padding: 4rem 0;
}

/* Section title with gold underline bar */
.section-title {
    color:          var(--lions-blue);
    font-size:      2.25rem;
    font-weight:    700;
    margin-bottom:  1rem;
    position:       relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content:          '';
    position:         absolute;
    bottom:           0;
    left:             0;
    width:            50px;
    height:           4px;
    background-color: var(--lions-gold);
}

/* ── Cards ──────────────────────────────────────────────────── */

.card-lions {
    border:     none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lions:hover {
    transform:  translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.card-lions .card-header {
    background-color: var(--lions-blue);
    color:            var(--lions-white);
    font-weight:      600;
    border-bottom:    none;
}

/* ── Forms ──────────────────────────────────────────────────── */

.form-label {
    font-weight: 600;
    color:       var(--lions-grey);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--lions-blue);
    box-shadow:   0 0 0 0.2rem rgba(0, 51, 141, 0.2);
}

/* ── uni-form ───────────────────────────────────────────────── */

.uni-form {
    padding:          15px;
    background-color: #fefefe;
    border-radius:    2px;
    box-shadow:       rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
                      rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;

    /* Visual separation from surrounding content */
    margin:           2rem 0;
    border-top:       3px solid var(--lions-gold);
}

/* ── Tables ─────────────────────────────────────────────────── */

.table thead th {
    background-color: var(--lions-blue);
    color:            var(--lions-white);
    font-weight:      600;
    border-color:     var(--lions-blue-dark);
}

/* ── Footer ─────────────────────────────────────────────────── */

.site-footer {
    background-color: var(--lions-grey-light);
    border-top:       4px solid var(--lions-gold);
    margin-top:       4rem;
}

/* Widget area */
.footer-widgets {
    padding: 3rem 0 2rem;
}

.site-footer .widget {
    margin-bottom: 0;
}

/* Widget titles */
.footer-widget-title,
.site-footer .widgettitle,
.site-footer h3 {
    color:          var(--lions-blue);
    font-size:      0.8rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom:  1rem;
    padding-bottom: 0.5rem;
    border-bottom:  2px solid var(--lions-gold);
    display:        inline-block;
}

/* Widget links */
.site-footer a {
    color:           var(--lions-grey);
    text-decoration: none;
    font-weight:     400;
    font-size:       0.9rem;
    transition:      color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
    color:           var(--lions-blue);
    text-decoration: underline;
}

/* Widget unordered lists (e.g. Pages widget) */
.site-footer ul {
    list-style: none;
    padding:    0;
    margin:     0;
}

.site-footer ul li {
    padding: 0.2rem 0;
}

.site-footer ul li a::before {
    content:      '›';
    margin-right: 0.4rem;
    color:        var(--lions-gold);
    font-weight:  700;
}

/* Bottom bar */
.footer-bottom {
    background-color: var(--lions-blue-dark);
    color:            rgba(255, 255, 255, 0.7);
    padding:          0.875rem 0;
    font-size:        0.85rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer nav (legal links) */
.footer-nav-list {
    display:     flex;
    flex-wrap:   wrap;
    gap:         0 1.25rem;
    list-style:  none;
    padding:     0;
    margin:      0;
}

.footer-nav-list li a {
    color:           rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size:       0.85rem;
    font-weight:     400;
    transition:      color 0.2s ease;
}

.footer-nav-list li a:hover {
    color:           var(--lions-gold);
    text-decoration: underline;
}

/* Remove the old .copyright class (kept for backwards compat) */
.copyright {
    display: none;
}

/* ── Badges / Labels ────────────────────────────────────────── */

.badge.bg-primary {
    background-color: var(--lions-blue) !important;
}

.badge.bg-warning {
    background-color: var(--lions-gold) !important;
    color:            var(--lions-blue) !important;
}

/* ── Alerts ─────────────────────────────────────────────────── */

.alert-primary {
    background-color: rgba(0, 51, 141, 0.08);
    border-color:     rgba(0, 51, 141, 0.25);
    color:            var(--lions-blue);
}

/* ── Blockquote ─────────────────────────────────────────────── */

blockquote,
.blockquote {
    border-left:  4px solid var(--lions-gold);
    padding-left: 1.25rem;
    color:        var(--lions-grey);
    font-style:   italic;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero-section h1,
    .hero-section h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

input[type=checkbox] {
    -ms-transform: scale(1);
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    padding: 10px;
}
