/*
 * Lodestar Capital Partners - Main Stylesheet
 * Based on Magazine Point WordPress Theme
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: 'Gudea', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Magra', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 20px;
    color: #2c3e50;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

h3 {
    font-size: 1.75em;
}

p {
    margin-bottom: 20px;
}

a {
    color: #cc0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #990000;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background-color: #fff;
    padding: 30px 0 20px;
    border-bottom: 1px solid #e0e0e0;
}

.site-branding .row {
    align-items: center;
}

.logo-col {
    text-align: left;
}

.header-image-col {
    text-align: right;
}

.logo {
    max-width: 100%;
    height: auto;
}

.header-image {
    max-width: 100%;
    height: auto;
}

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

.main-nav {
    background-color: #2c3e50;
    position: relative;
    z-index: 1000;
}

.mobile-menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    color: #cc0000;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    font-family: 'Magra', sans-serif;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    background-color: #1a252f;
    color: #cc0000;
}

.nav-menu li a .fa-home {
    font-size: 1.2em;
    vertical-align: middle;
}

.nav-menu li a .menu-text {
    display: none;
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 250px;
        background-color: #2c3e50;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px 20px;
    }

    .nav-menu li a .menu-text {
        display: inline;
    }
}

/* ==========================================================================
   Main Content
   ========================================================================== */

.site-content {
    padding: 40px 0;
    min-height: 400px;
}

.site-main {
    background-color: #fff;
}

article {
    margin-bottom: 40px;
}

.entry-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #2c3e50;
}

.entry-title {
    color: #2c3e50;
    font-size: 2.5em;
    margin: 0;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content strong,
.entry-content b {
    font-weight: 700;
    color: #2c3e50;
}

.entry-content em,
.entry-content i {
    font-style: italic;
}

/* Custom Bullet Points (for What We Believe page) */
.entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-left: 20px;
}

.entry-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.entry-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #cc0000;
    font-size: 1.5em;
    line-height: 1;
    font-weight: 700;
}

.entry-content ul ul {
    margin-top: 10px;
    margin-left: 20px;
}

.entry-content ul ul li:before {
    content: "◦";
    font-size: 1.2em;
}

/* Investment Examples Image Grid */
.portfolio-grid {
    text-align: left;
    margin: 20px 0;
}

.portfolio-grid img {
    width: 133px;
    height: 93px;
    margin: 5px;
    display: inline-block;
}

/* Contact Page Email */
.contact-email {
    font-size: 1.2em;
    font-weight: 700;
    color: #2c3e50;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.copyright {
    font-size: 14px;
    margin: 0;
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */

.scrollup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 50px;
    height: 50px;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    line-height: 50px;
    border-radius: 5px;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    text-decoration: none;
}

.scrollup:hover {
    background-color: #cc0000;
    color: #fff;
    text-decoration: none;
}

.scrollup.visible {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .entry-title {
        font-size: 2em;
    }

    .nav-menu li a {
        padding: 12px 15px;
        font-size: 15px;
    }
}

/* Mobile (<768px) */
@media (max-width: 767px) {
    .site-header {
        padding: 20px 0 15px;
    }

    .logo-col,
    .header-image-col {
        text-align: center;
        margin-bottom: 15px;
    }

    .entry-title {
        font-size: 1.75em;
    }

    h2 {
        font-size: 1.5em;
    }

    .site-content {
        padding: 20px 0;
    }

    .portfolio-grid img {
        width: 100px;
        height: auto;
        margin: 3px;
    }

    .scrollup {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 20px;
        right: 15px;
        bottom: 15px;
    }
}

/* Large Desktop (≥1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}
