/* ==========================================
   OWLPOINT CAPITAL WEBSITE - STYLES
   ========================================== */

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

:root {
    --purple-light: #46466b;
    --purple-dark: #2e2e4a;
    --text-light: #ffffff;
    --text-gray: #e0e0e0;
    --text-dark: #b0b0c0;
    --accent: #ffffff;
    --accent-subtle: #ffffff;
    --border-light: rgba(255, 255, 255, 0.1);
    --hover-color: #2e2e4a;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0;
    color: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--purple-light);
    color: var(--text-light);
    line-height: 1.65;
    font-size: 1.05rem;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    background-color: var(--purple-light);
    padding: 1.56rem 2.08rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    height: 86.4px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: 0.3s;
}

/* ==========================================
   PAGE HEADER
   ========================================== */

.page-header {
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: 50% 65%;
    background-attachment: fixed;
    background-blend-mode: multiply;
    padding: 5.2rem 2.6rem;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.page-header .container {
    max-width: 100%;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin: 0 auto;
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
    transition: border-color 0.3s ease;
}

.about-card:hover {
    border-color: var(--text-light);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.about-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==========================================
   STRATEGIES SECTION
   ========================================== */

.strategies-preview {
    background-color: var(--purple-light);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.strategy-card {
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.strategy-card:hover {
    border-color: var(--text-light);
}

.strategy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.strategy-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.link:hover {
    opacity: 0.8;
}

/* ==========================================
   INVESTMENT APPROACH
   ========================================== */

.investment-approach {
    background-color: var(--purple-light);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.approach-step {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    transition: border-color 0.3s ease;
}

.approach-step:hover {
    border-color: var(--text-light);
}

.step-number {
    font-size: 3rem;
    color: var(--text-light);
    font-weight: 800;
    margin-bottom: 1rem;
}

.approach-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.approach-step p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ==========================================
   TEAM SECTION
   ========================================== */

.team-section {
    background-color: var(--purple-light);
}

.team-section.alt {
    background-color: var(--purple-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-light);
}

.team-member:hover {
    border-color: var(--text-light);
}

.team-section.alt .team-member {
    background-color: var(--purple-light);
}

.team-member:hover {
    transform: translateY(-5px);
    border-color: var(--text-light);
}

.member-photo {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--purple-light);
    position: relative;
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.team-member .title {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ==========================================
   NEWS SECTION
   ========================================== */

.news-section {
    background-color: var(--purple-light);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background-color: var(--purple-dark);
    background-image: url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.news-card:hover {
    border-color: var(--text-light);
}

.news-card.featured {
    grid-column: 1;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 2rem;
}

.news-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    margin: auto;
}

.news-image svg {
    width: 100%;
    height: 100%;
}

.news-content {
    padding: 2rem;
}

.news-card:not(.featured) {
    padding: 2rem;
}

.news-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 700;
    line-height: 1.4;
}

.news-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.read-more:hover {
    opacity: 0.8;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    background-color: var(--purple-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    background-color: var(--purple-dark);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 2px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Contact form status message */
.form-status {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status:empty {
    display: none;
}

.form-status.success {
    color: #7ee2a8;
}

.form-status.error {
    color: #ff9a9a;
}

.info-card {
    background-color: var(--purple-dark);
    padding: 2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--text-light);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.info-card a {
    color: var(--accent);
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta {
    background-color: var(--purple-light);
    text-align: center;
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   SCROLL FADE-IN (progressive enhancement)
   Content is visible by default. The .will-animate class is added by
   JavaScript only; without JS these rules never apply, so nothing hides.
   ========================================== */

.will-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .will-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--purple-dark);
}

.btn-primary:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--purple-dark);
    border-top: 1px solid var(--border-light);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-section h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--text-light);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
    opacity: 0.7;
}

.back-to-top {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.back-to-top:hover {
    opacity: 0.8;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo img {
        height: 52px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background-color: var(--purple-dark);
        border-bottom: 1px solid var(--border-light);
        padding: 0 2rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 1rem 2rem;
    }

    .nav-menu.active li {
        margin: 1rem 0;
    }

    

    

    .page-header h1 {
        font-size: 2rem;
    }

    /* Tighter vertical rhythm on mobile */
    .section {
        padding: 2.5rem 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .section h2 {
        margin-bottom: 1.5rem;
    }

    .footer {
        margin-top: 2rem;
    }

    .strategies-grid,
    .team-grid,
    .approach-grid,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .news-card.featured {
        grid-template-columns: 1fr;
    }

    

    
}

@media (max-width: 480px) {
    

    .section h2 {
        font-size: 1.8rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    
}
/* Member Profile Pages */
.member-profile {
    background-color: var(--purple-dark);
    min-height: 100vh;
}

.back-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    display: inline-block;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-light);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.profile-photo {
    position: sticky;
    top: 2rem;
}

.profile-photo img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.profile-info h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.profile-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.profile-bio {
    line-height: 1.8;
    color: var(--text-gray);
}

.profile-bio p {
    margin-bottom: 1.5rem;
    text-align: left;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-photo {
        position: relative;
        top: 0;
    }

    .profile-info h1 {
        font-size: 2rem;
    }
}

/* ==========================================
   FULL-PAGE FIXED BACKGROUND
   One static skyline image sits behind the entire site;
   the content glides over it as the user scrolls.
   Implemented with a fixed pseudo-element (renders reliably
   on mobile, unlike background-attachment: fixed).
   ========================================== */

body {
    background-color: var(--purple-dark);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(28, 28, 46, 0.75), rgba(28, 28, 46, 0.75)),
        url('OwlManhattanSkyline.JPG');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Sections go transparent so the fixed image shows through */
.page-header,
.strategies-preview,
.investment-approach,
.news-section,
.contact-section,
.team-section,
.team-section.alt,
.stats,
.newsletter,
.faq-section,
.cta,
.member-profile {
    background-color: transparent;
    background-image: none;
}

.page-header {
    background-attachment: scroll;
}

/* Content boxes become translucent "glass" panels over the image */
.strategy-card,
.about-card,
.approach-step,
.team-member,
.team-section.alt .team-member,
.news-card,
.info-card,
.detail-card,
.faq-item {
    background-color: rgba(37, 37, 60, 0.55);
    background-image: none;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* Keep the sticky nav and footer legible over the moving image */
.navbar {
    background-color: rgba(46, 46, 74, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.footer {
    background-color: rgba(37, 37, 60, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
