/* Custom styles for HERO Wealth Child Theme */

/* Additional styles beyond the main style.css */

/* Investment Card Widget Styles */
.hero-investment-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-investment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.hero-investment-card__image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.hero-investment-card__content {
    padding: var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hero-investment-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.hero-investment-card__metrics {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-investment-card__metric {
    text-align: center;
    flex: 1 0 30%;
    margin-bottom: var(--spacing-sm);
}

.hero-investment-card__metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.hero-investment-card__metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-investment-card__description {
    margin-bottom: var(--spacing-md);
}

.hero-investment-card__footer {
    margin-top: auto;
}

/* Team Member Widget Styles */
.hero-team-member {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.hero-team-member__image {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.hero-team-member__image img {
    transition: transform 0.3s ease;
}

.hero-team-member:hover .hero-team-member__image img {
    transform: scale(1.05);
}

.hero-team-member__name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.hero-team-member__title {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.hero-team-member__bio {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    overflow-y: auto;
    padding: var(--spacing-xl);
}

.hero-team-member__bio-inner {
    background-color: var(--accent-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero-team-member__bio-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
}

.hero-team-member__social {
    margin-top: var(--spacing-sm);
}

.hero-team-member__social a {
    display: inline-block;
    margin: 0 5px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--accent-color);
    transition: background-color 0.3s ease;
}

.hero-team-member__social a:hover {
    background-color: var(--secondary-color);
}

/* Testimonial Slider Widget Styles */
.hero-testimonial-slider {
    position: relative;
    padding: 0 var(--spacing-lg);
}

.hero-testimonial {
    background-color: var(--accent-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    margin: 0 var(--spacing-sm);
    box-shadow: var(--box-shadow-md);
    position: relative;
}

.hero-testimonial__content {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-top: var(--spacing-md);
}

.hero-testimonial__content:before {
    content: '"';
    font-size: 5rem;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
}

.hero-testimonial__author {
    display: flex;
    align-items: center;
}

.hero-testimonial__author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--spacing-sm);
}

.hero-testimonial__author-info {
    flex-grow: 1;
}

.hero-testimonial__author-name {
    font-weight: 700;
    margin-bottom: 2px;
}

.hero-testimonial__author-title {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-testimonial-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.hero-testimonial-slider__nav:hover {
    background-color: var(--secondary-color);
}

.hero-testimonial-slider__nav--prev {
    left: 0;
}

.hero-testimonial-slider__nav--next {
    right: 0;
}

/* Investment Metrics Widget Styles */
.hero-investment-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 -15px;
}

.hero-investment-metric {
    flex: 1 0 calc(25% - 30px);
    margin: 0 15px 30px;
    text-align: center;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--box-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-investment-metric:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.hero-investment-metric__icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.hero-investment-metric__value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--primary-color);
}

.hero-investment-metric__label {
    font-size: 1rem;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .hero-investment-metric {
        flex: 1 0 calc(50% - 30px);
    }
}

/* Process Steps Widget Styles */
.hero-process-steps {
    position: relative;
    counter-reset: step;
}

.hero-process-step {
    display: flex;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.hero-process-step:last-child {
    margin-bottom: 0;
}

.hero-process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 70px;
    left: 35px;
    height: calc(100% - 50px);
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.hero-process-step__number {
    flex: 0 0 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.hero-process-step__content {
    flex-grow: 1;
    padding-top: var(--spacing-xs);
}

.hero-process-step__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.hero-process-step__description {
    opacity: 0.8;
}

/* Call to Action Styles */
.hero-cta {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.hero-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

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

.hero-cta__title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-cta__description {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta__button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    padding: 15px 30px;
    border-radius: var(--border-radius-sm);
    font-family: var(--heading-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.hero-cta__button:hover {
    background-color: transparent;
    color: var(--accent-color);
}

/* Header Styles */
.hero-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.hero-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-header__logo {
    max-width: 200px;
}

.hero-header__logo img {
    max-height: 60px;
    width: auto;
}

.hero-header__nav {
    display: flex;
    align-items: center;
}

.hero-header__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-header__menu-item {
    margin: 0 15px;
}

.hero-header__menu-link {
    color: var(--accent-color);
    font-family: var(--heading-font);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.hero-header__menu-link:hover {
    color: var(--secondary-color);
}

.hero-header__menu-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.hero-header__menu-link:hover:after {
    width: 100%;
}

.hero-header__cta {
    margin-left: var(--spacing-md);
}

.hero-header__phone {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    margin-right: var(--spacing-md);
    font-weight: 500;
}

.hero-header__phone i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.hero-header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .hero-header__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        padding: var(--spacing-md);
        flex-direction: column;
    }
    
    .hero-header__menu.active {
        display: flex;
    }
    
    .hero-header__menu-item {
        margin: var(--spacing-xs) 0;
    }
    
    .hero-header__mobile-toggle {
        display: block;
    }
    
    .hero-header__cta {
        display: none;
    }
}

/* Footer Styles */
.hero-footer {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.hero-footer__container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.hero-footer__column {
    flex: 1 0 calc(25% - 30px);
    margin: 0 15px var(--spacing-lg);
}

.hero-footer__logo {
    margin-bottom: var(--spacing-md);
}

.hero-footer__logo img {
    max-height: 60px;
    width: auto;
}

.hero-footer__title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.hero-footer__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.hero-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-footer__menu-item {
    margin-bottom: 10px;
}

.hero-footer__menu-link {
    color: var(--accent-color);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-footer__menu-link:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.hero-footer__contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.hero-footer__contact-icon {
    margin-right: 10px;
    color: var(--secondary-color);
}

.hero-footer__newsletter-form {
    display: flex;
    margin-top: var(--spacing-sm);
}

.hero-footer__newsletter-input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
}

.hero-footer__newsletter-button {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero-footer__newsletter-button:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.hero-footer__social {
    display: flex;
    margin-top: var(--spacing-md);
}

.hero-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.hero-footer__social-link:hover {
    background-color: var(--secondary-color);
}

.hero-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 767px) {
    .hero-footer__column {
        flex: 1 0 calc(50% - 30px);
    }
}

@media (max-width: 479px) {
    .hero-footer__column {
        flex: 1 0 calc(100% - 30px);
    }
}
