/*
Theme Name: OLSA Preview Theme
Theme URI: https://olsa.example.com
Author: OLSA Team
Author URI: https://olsa.example.com
Description: A clean, modern WordPress starter theme with navy and gold accents.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: olsa-preview
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, blog
*/

:root {
    --olsa-navy: #1a3a6c;
    --olsa-gold: #c8a951;
    --olsa-dark: #0e2144;
    --olsa-light: #f4f6fb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Lato', Arial, sans-serif;
    background: #fff;
    line-height: 1.6;
}

.topbar {
    background: var(--olsa-dark);
    color: rgba(255,255,255,.75);
    font-size: .8rem;
    padding: .35rem 0;
}

.topbar a {
    color: var(--olsa-gold);
    text-decoration: none;
}

.navbar-olsa {
    background: var(--olsa-navy);
    padding: .6rem 0;
}

.navbar-olsa .navbar-brand {
    color: #fff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
}

.navbar-olsa .navbar-brand span {
    color: var(--olsa-gold);
}

.navbar-olsa .nav-link {
    color: rgba(255,255,255,.88) !important;
    font-weight: 600;
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: .5rem .85rem !important;
}

.navbar-olsa .nav-link:hover,
.navbar-olsa .nav-link.active {
    color: var(--olsa-gold) !important;
}

.navbar-olsa .btn-register {
    background: var(--olsa-gold);
    color: var(--olsa-dark) !important;
    border-radius: 999px;
    font-weight: 700;
    padding: .35rem 1.05rem !important;
}

.navbar-olsa .btn-login-cta {
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 999px;
    font-weight: 700;
    padding: .35rem 1.05rem !important;
}

.hero-carousel {
    background: #0e2144;
}

.hero-carousel .carousel-item,
.hero-slide {
    min-height: 480px;
}

.hero-slide {
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(14,33,68,.78) 40%, rgba(14,33,68,.3));
}

.hero-body {
    position: relative;
    z-index: 2;
    color: #fff;
}

.hero-body h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.hero-body h1 span {
    color: var(--olsa-gold);
}

.hero-body p {
    font-size: 1.05rem;
    opacity: .9;
    max-width: 560px;
    margin-bottom: 1.2rem;
}

.btn-hero-primary {
    background: var(--olsa-gold);
    color: var(--olsa-dark);
    border: none;
    border-radius: 25px;
    padding: .55rem 1.6rem;
    font-weight: 700;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.72);
    border-radius: 25px;
    padding: .55rem 1.6rem;
}

.stats-band {
    background: var(--olsa-navy);
    padding: 2.5rem 0;
    color: #fff;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Nunito', sans-serif;
    font-size: 2.3rem;
    line-height: 1;
    color: var(--olsa-gold);
    font-weight: 700;
}

.stat-label {
    font-size: .85rem;
    opacity: .82;
    margin-top: .25rem;
}

.activity-section,
.blog-section {
    background: var(--olsa-light);
    padding: 4rem 0;
}

.messages-section {
    background: #fff;
    padding: 4rem 0;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--olsa-navy);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    margin: 6px auto 0;
    background: var(--olsa-gold);
}

.section-sub {
    color: #6c757d;
    font-size: .95rem;
}

.activity-card,
.message-card,
.blog-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.activity-card .card-icon-wrap {
    background: linear-gradient(135deg, var(--olsa-navy), #2856a0);
    color: #fff;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 110px;
}

.activity-card .card-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: var(--olsa-navy);
}

.btn-card {
    display: inline-block;
    margin-top: .75rem;
    background: var(--olsa-navy);
    color: #fff;
    border-radius: 20px;
    font-size: .85rem;
    padding: .35rem 1rem;
    text-decoration: none;
}

.message-card .msg-header {
    background: linear-gradient(135deg, var(--olsa-navy), #2856a0);
    color: #fff;
    padding: 1.3rem;
    display: flex;
    gap: .9rem;
    align-items: center;
}

.message-card .msg-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--olsa-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.15);
    font-size: 1.35rem;
}

.msg-name {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
}

.msg-role {
    color: var(--olsa-gold);
    font-size: .84rem;
    font-weight: 600;
}

.msg-body {
    padding: 1.4rem;
}

.msg-quote-icon {
    color: var(--olsa-gold);
    font-size: 2.4rem;
    line-height: 1;
}

.msg-text {
    color: #555;
    font-size: .93rem;
}

.blog-thumb,
.blog-thumb-placeholder {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--olsa-navy), #2856a0);
}

.blog-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.35);
    font-size: 2rem;
}

.blog-body {
    padding: 1.2rem 1.3rem;
}

.blog-title {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--olsa-navy);
    margin-bottom: .55rem;
}

.blog-excerpt {
    color: #666;
    font-size: .86rem;
}

.blog-meta {
    font-size: .78rem;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: .65rem;
}

.btn-blog {
    display: inline-block;
    margin-top: .7rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--olsa-navy);
    text-decoration: none;
    border-bottom: 2px solid var(--olsa-gold);
}

.footer-top {
    background: #0e2144;
    color: #ccc;
    padding: 3rem 0 2rem;
}

.footer-top h5 {
    color: var(--olsa-gold);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-top p,
.contact-text {
    color: #aaa;
    font-size: .88rem;
}

.footer-top a {
    color: #bbb;
    text-decoration: none;
}

.footer-top ul {
    list-style: none;
    padding-left: 0;
}

.footer-top ul li {
    margin-bottom: .4rem;
}

.footer-top ul li::before {
    content: '›  ';
    color: var(--olsa-gold);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.social-icons a:hover {
    background: var(--olsa-gold);
}

.social-icons i {
    color: #fff !important;
    font-size: .95rem;
}

.footer-brand {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #fff;
    font-size: 1.3rem;
}

.footer-brand span {
    color: var(--olsa-gold);
}

.footer-bottom {
    background: #08152d;
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    text-align: center;
    padding: .9rem 0;
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item,
    .hero-slide {
        min-height: 340px;
    }

    .navbar-olsa .navbar-collapse {
        margin-top: .5rem;
        padding: .6rem;
        border-radius: .75rem;
        background: rgba(8,21,45,.97);
    }
}