/*!
Theme Name: InvestWise
Author: Vakarchuk
Author URI: https://vakarchuk.pro/
Description: Custom Wordpress Theme
Version: 1.0.0
Text Domain: iwise
Tags: custom-theme
*/


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

:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5282;
    --accent-color: #3182ce;
    --gold-accent: #d4af37;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* Header */
header {
    background: rgba(26, 58, 82, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    background: linear-gradient(135deg, var(--gold-accent), #f6e05e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-menu a:hover {
    color: var(--gold-accent);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 120px 20px;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.95), rgba(44, 82, 130, 0.95));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,186.7C960,181,1056,139,1152,128C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat;
    background-size: cover;
    animation: wave 20s linear infinite;
}

@keyframes wave {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-50%) translateY(-50%); }
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-accent), #f6e05e);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-wrapper {
    background: var(--white);
    border-radius: 20px;
    margin: -50px auto 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.inner-page {
    margin-top: 200px;
    padding: 40px;
}
.inner-page > h1,
.inner-page > h2,
.inner-page > h3,
.inner-page > h4,
.inner-page > h5,
.inner-page > p:not(:last-child) {
    margin-bottom: 20px;
}
.inner-page > ul,
.inner-page > ol {
    padding-left: 40px;
    margin-bottom: 20px;
}
.inner-page a {
    color: var(--gold-accent);
}


/* Info Section */
.info-section {
    padding: 60px 40px;
}

.info-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--accent-color));
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

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

.info-card .detail {
    display: flex;
    align-items: flex-start;
    margin: 10px 0;
}

.info-card .detail strong {
    color: var(--primary-color);
    min-width: 100px;
    margin-right: 10px;
}

/* Structure Section */
.structure-section {
    background: linear-gradient(135deg, var(--bg-light), #e2e8f0);
    padding: 60px 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.structure-section h2 {
    margin-bottom: 20px;
}
.structure-section h2,
.structure-section p {
    text-align: center;
}

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

.structure-list {
    text-align: left;
    margin: 30px 0;
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.structure-list li {
    margin: 15px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
    list-style: none;
}

.structure-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 18px;
}

/* Funds Section */
.funds-section {
    padding: 60px 40px;
    text-align: center;
}

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

.fund-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fund-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fund-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.fund-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.fund-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.fund-card p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Documents Section Styles */
.doc-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.tab-button:hover {
    background: var(--white);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    border-color: var(--accent-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.document-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doc-icon {
    font-size: 36px;
    margin-bottom: 15px;
    display: inline-block;
}

.document-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.document-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.doc-meta span {
    font-size: 12px;
    color: #a0aec0;
}

.doc-download {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.doc-download:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(49, 130, 206, 0.3);
}

.archive-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--bg-light);
}

.archive-section p {
    color: var(--text-light);
    margin-bottom: 15px;
}

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

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

/* Contact Section */
.contact-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    margin: 40px 0;
}

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

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

.contact-item h3 {
    margin-bottom: 15px;
    color: var(--gold-accent);
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.8;
}

.contact-item a {
    color: var(--gold-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #f6e05e;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--gold-accent);
}

/* Mobile Responsive */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(26, 58, 82, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

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

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .info-section, .structure-section, .funds-section, .contact-section {
        padding: 40px 20px;
    }
}