/* Custom styles for Olorin Capital website - Compact Version */

/* Navigation Toolbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--olorin-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.nav-logo a {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--text-dark);
}

/* Add top padding to body to account for fixed navbar */
body {
    padding-top: 60px;
}

/* Mobile navigation */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.8em;
    }
    
    .nav-logo a {
        font-size: 1em;
    }
    
    body {
        padding-top: 50px;
    }
}

/* Enhanced typography for better readability - much smaller sizes */
html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.4;
    font-size: 0.8em;
}

/* Professional color adjustments - much smaller hero text */
.banner .content h1 {
    font-weight: 300;
    letter-spacing: -0.02em;
    font-size: 2rem;
}

.banner .content p.major {
    font-size: 0.9em;
    font-weight: 300;
    line-height: 1.5;
    color: #666;
}

/* Image size adjustments - larger images */
.banner .image img {
    max-width: 100%;
    height: auto;
}

.spotlight .image img {
    max-width: 100%;
    height: auto;
    min-width: 300px;
}

/* Ensure images maintain good proportions */
.spotlight .image {
    min-width: 300px;
}

.banner .image {
    min-width: 400px;
}

/* Enhanced button styling - using brand colors */
.button.primary {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-medium) 100%);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    font-size: 0.8em;
    color: var(--olorin-white);
}

.button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background: var(--text-dark);
}

/* Professional section spacing - brand color backgrounds */
section.spotlight {
    padding: 1.5rem 0;
}

section.spotlight:nth-child(odd) {
    background: var(--olorin-off-white-1);
}

section.spotlight:nth-child(even) {
    background: var(--olorin-off-white-2);
}

/* Remove width constraints - let content take full width */
section.spotlight .content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

section.items {
    padding: 1.5rem 0;
    background: var(--olorin-off-white-3);
}

section.items .inner {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Banner section styling */
.banner {
    background: var(--olorin-white);
}

/* Banner section full width */
.banner .content {
    max-width: 100%;
    padding: 0 2rem;
}

/* Enhanced items grid - much smaller padding */
.items article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 6px;
    padding: 1rem;
}

.items article:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Statistics section enhancement - brand colors */
.items .icon {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Professional heading styles - using brand colors */
h1, h2, h3 {
    font-weight: 300;
    color: var(--text-dark);
}

/* Reduce main section title sizes significantly */
section h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

section h3 {
    font-size: 1.2rem;
    color: var(--text-medium);
}

/* Enhanced section headings within content - brand colors */
.spotlight .content h4,
.items .content h4 {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0.5em;
    margin-bottom: 0.2em;
    line-height: 1.2;
}

/* Enhanced content readability - brand colors */
.spotlight .content p {
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--text-medium);
    margin-bottom: 0.8rem;
}

.spotlight .content {
    padding: 1rem 2rem;
    height: auto;
    min-height: auto;
    background: var(--olorin-off-white-1);
}

/* Reduce content div height and spacing - brand colors */
.content {
    margin: 0;
    padding: 0.5rem 2rem;
    height: auto;
    min-height: auto;
    background: var(--olorin-off-white-2);
}

.banner .content {
    padding: 1rem 2rem;
    height: auto;
    min-height: auto;
    background: var(--olorin-white);
}

/* Compact paragraph spacing */
.spotlight .content p:last-child {
    margin-bottom: 0;
}

.spotlight .content p:first-child {
    margin-top: 0;
}

/* Make bold text larger and more prominent - brand colors */
.spotlight .content strong, 
.items .content strong,
.banner .content strong {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
    margin-top: 0.4em;
    margin-bottom: 0.2em;
}

/* Special styling for inline bold text */
.spotlight .content p strong {
    display: inline;
    margin: 0;
    color: var(--text-dark);
}

/* List styling adjustments - brand colors */
.spotlight .content ul {
    margin-top: 0.3rem;
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
}

.spotlight .content li {
    font-size: 0.85em;
    margin-bottom: 0.2rem;
    line-height: 1.3;
    color: var(--text-medium);
}

/* Professional color scheme - Olorin Brand Colors */
:root {
    --olorin-white: #FFFFFF;
    --olorin-off-white-1: #FEFEFE;
    --olorin-off-white-2: #FDFDFD;
    --olorin-off-white-3: #FCFCFC;
    --olorin-off-white-4: #FBFBFB;
    --text-dark: #2a2a2a;
    --text-medium: #4a4a4a;
    --text-light: #6a6a6a;
    --accent-color: #8a8a8a;
    --border-color: #e8e8e8;
}

/* Contact section styling */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Mobile responsiveness improvements - full width on all devices */
@media (max-width: 768px) {
    body {
        font-size: 0.75em;
    }
    
    .banner .content h1 {
        font-size: 1.7rem;
    }
    
    .banner .content p.major {
        font-size: 0.8rem;
    }
    
    section.spotlight {
        padding: 1rem 0;
    }
    
    .items article {
        padding: 0.8rem;
    }
    
    .banner .image img,
    .spotlight .image img {
        max-width: 100%;
        min-width: 250px;
    }
    
    .banner .image {
        min-width: 250px;
    }
    
    .spotlight .image {
        min-width: 250px;
    }
    
    /* Mobile width adjustments - maintain full width but adjust padding */
    section.spotlight .content {
        padding: 0 1rem;
    }
    
    section.items .inner {
        padding: 0 1rem;
    }
    
    .banner .content {
        padding: 0 1rem;
    }
}

/* Portfolio section enhancements - much smaller */
.portfolio-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 1rem;
}

/* Team section professional styling - larger images */
.team-member .content {
    padding: 1rem;
}

.team-member img {
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 100%;
    min-width: 300px;
}

/* Investment focus section - much smaller icons */
.investment-focus .icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

/* Enhanced footer - brand colors */
footer {
    background: var(--olorin-off-white-4);
    color: var(--text-medium);
    padding: 1.5rem 0;
    font-size: 0.85em;
    border-top: 1px solid var(--border-color);
}

footer a {
    color: var(--text-dark);
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-color);
}

/* Additional compact adjustments */
.banner {
    min-height: 70vh;
}

/* Reduce spacing between sections */
section + section {
    margin-top: -1rem;
}

/* Image container adjustments for better display */
.spotlight .image,
.banner .image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight .image img,
.banner .image img {
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive image sizing */
@media (min-width: 768px) {
    .banner .image {
        min-width: 400px;
    }
    
    .spotlight .image {
        min-width: 350px;
    }
}

/* Further width constraints for larger screens - remove constraints, use full width */
@media (min-width: 1200px) {
    section.spotlight .content {
        padding: 0 3rem;
    }
    
    section.items .inner {
        padding: 0 3rem;
    }
    
    .banner .content {
        padding: 0 3rem;
    }
}

/* Medium screen adjustments - full width with adjusted padding */
@media (min-width: 769px) and (max-width: 1199px) {
    section.spotlight .content {
        padding: 0 2.5rem;
    }
    
    section.items .inner {
        padding: 0 2.5rem;
    }
    
    .banner .content {
        padding: 0 2.5rem;
    }
}
