/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../images/openart-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #ffffff;
    text-align: center;
    padding: 340px 0 320px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Mission Section */
.mission-section {
    background-color: var(--wp--preset--color--background);
}

.mission-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.mission-content > p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--wp--preset--color--text);
}

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

.pillar {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
}

.pillar h3 {
    color: var(--wp--preset--color--primary);
}

/* Investment Focus */
.investment-focus {
    background-color: #f8f9fa;
}

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

.focus-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.focus-item h3 {
    color: var(--wp--preset--color--primary);
}

/* Contact Section */
.contact-section.section {
    background-image: url('../images/contact.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(82, 165, 216, 0.065);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section .section-header h2 {
    color: white;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-section .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.contact-cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }
    
    .contact-content {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
    
    .contact-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .contact-cta .btn {
        width: 50%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .contact-cta .btn {
        width: 50%;
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

/* Investment Approach Section */
.investment-approach .container {
    padding-left: 5rem;
    padding-right: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.investment-approach .approach-cards-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.investment-approach .approach-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s;
    max-width: 85%;
    flex-shrink: 1;
}

.investment-approach .approach-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.investment-approach .card-icon {
    margin-bottom: 1.5rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.investment-approach .card-icon img {
    max-height: 60px;
    width: auto;
}

.investment-approach .card-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #222;
}

.investment-approach .approach-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    margin: 0 auto;
}

.investment-approach .approach-stats {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    width: 100%;
}

.investment-approach .stat-block {
    border-top: 3px solid #222;
    padding-top: 1.5rem;
    width: 100%;
    max-width: none;
    text-align: left;
}

.investment-approach .stat-value {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #111;
    font-family: 'Georgia', serif;
}

.investment-approach .stat-desc {
    font-size: 1rem;
    color: #444;
}

.investment-approach .approach-image {
    height: 100%;
}

.investment-approach .approach-image img {
    width: 100%;
    max-width: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
    object-fit: cover;
    height: 100%;
}

@media (max-width: 900px) {
    .investment-approach .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .investment-approach .approach-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .investment-approach .approach-cards-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    .investment-approach .approach-card {
        width: 100%;
    }
    .investment-approach .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Home Page Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 160px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .hero-cta .btn {
        width: 50%;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mission-pillars {
        grid-template-columns: 1fr;
    }

    .focus-grid {
        grid-template-columns: 1fr;
    }

    .investment-approach .approach-cards-row {
        justify-content: center;
        gap: 1.5rem;
    }
    .investment-approach .approach-card {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0;
    }
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-cta .btn {
        width: 50%;
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
    .investment-approach .approach-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Fade Up Animation */
.fade-up-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-up-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Why Invest Section */
.why-invest-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.why-invest-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 2rem;
}

.why-invest-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ff0000;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-family: 'Georgia', serif;
    position: relative;
}

.why-invest-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #222;
}

.why-invest-underline {
    width: 80px;
    height: 4px;
    background: #ff0000;
    margin-bottom: 1rem;
    border-radius: 2px;
}

.why-invest-content p {
    font-size: 1.08rem;
    color: #444;
    margin: 0;
}

@media (max-width: 800px) {
    .why-invest-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .why-invest-circle {
        margin-bottom: 1rem;
    }
}

.section-separator {
    width: 100%;
    min-height: 600px;
    background-image: url('../images/nature.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0 0 3rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
}
.section-separator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.section-separator-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.section-separator-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}
.section-separator-content p {
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 auto;
    opacity: 0.95;
}
@media (max-width: 600px) {
    .section-separator {
        min-height: 120px;
        padding: 2rem 0;
    }
    .section-separator-content h2 {
        font-size: 1.3rem;
    }
    .section-separator-content p {
        font-size: 1rem;
    }
}

/* Portfolio Hero Section */
.portfolio-hero {
    background: #0c3043;
    color: #fff;
    padding: 160px 0 60px 0;
    text-align: center;
}
.portfolio-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -1px;
}

/* Portfolio Filters */
.portfolio-filters {
    max-width: 1100px;
    margin: 40px auto 24px auto;
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: flex-start;
    font-size: 1.05rem;
}
.portfolio-filters label {
    font-weight: 500;
    color: #18314f;
}
.portfolio-filters select {
    margin-left: 8px;
    padding: 6px 18px 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f8f9fa;
    font-size: 1rem;
    color: #18314f;
    outline: none;
    transition: border 0.2s;
}
.portfolio-filters select:focus {
    border-color: #0c3043;
}

/* Portfolio Table */
.portfolio-table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 60px auto;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 4px 24px rgba(24,49,79,0.06);
    border-radius: 12px;
    overflow: hidden;
    font-size: 1.05rem;
}
.portfolio-table thead tr {
    background: #0c3043;
    color: #fff;
}
.portfolio-table th, .portfolio-table td {
    padding: 18px 20px;
    text-align: left;
}
.portfolio-table th {
    font-weight: 600;
    font-size: 1.08rem;
    border-bottom: 2px solid #e5e7eb;
}
.portfolio-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    transition: background 0.2s;
}
.portfolio-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.portfolio-table tbody tr:hover {
    background: #eaf1fa;
}
.portfolio-table td {
    color: #18314f;
}

@media (max-width: 1200px) {
    .portfolio-table, .portfolio-filters {
        max-width: 98vw;
    }
}
@media (max-width: 700px) {
    .portfolio-hero h1 {
        font-size: 2rem;
    }
    .portfolio-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        font-size: 1rem;
    }
    .portfolio-table th, .portfolio-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
  .btn, .hero-cta .btn, .contact-cta .btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    margin-left: 0;
    margin-right: 0;
    display: block;
  }
}

.btn, button, input[type='submit'] {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .menu-toggle {
    z-index: 1100;
    background: none;
    border: none;
    font-size: 2rem;
    color: red;
    /* Add a subtle background for visibility if needed */
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .main-navigation.toggled {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 320px;
    min-width: 180px;
    height: 100%;
    background: #fff;
    padding: 2rem 1rem;
    z-index: 1000;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: width 0.2s;
  }
}