/*
Theme Name: Kopsi Theme
Theme URI: https://kopsifinancial.com
Author: KopsiFinancial
Author URI: https://kopsifinancial.com
Description: A custom WordPress theme for KopsiFinancial with a professional financial service layout.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kopsi-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready
*/

:root {
    --primary-yellow: #ffd700;
    --primary-blue: #003366;
    --light-blue: #1a5490;
    --dark-blue: #001a33;
    --text-color: #333333;
    --bg-light: #f8f9fb;
    --border-color: #e2e2e2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    color: var(--light-blue);
}

.site-header,
.site-footer,
.hero,
.section,
.page-header {
    width: 100%;
}

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    background-color: var(--primary-blue);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.site-branding a {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-yellow);
    letter-spacing: 1px;
}

.main-navigation {
    display: flex;
    list-style: none;
}

.main-navigation a {
    color: #ffffff;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: var(--primary-yellow);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.2rem;
    border-radius: 5px;
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
    background-color: #ffeb4b;
}

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.hero .tagline {
    color: var(--primary-yellow);
    font-weight: 700;
    margin-bottom: 1.75rem;
}

.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-blue);
    font-size: 2rem;
    font-weight: 700;
}

.features-grid,
.services-grid,
.team-grid,
.blog-grid,
.values-grid,
.faq-grid {
    display: grid;
    gap: 30px;
}

.features-grid,
.services-grid,
.team-grid,
.blog-grid,
.values-grid,
.faq-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card,
.team-card,
.blog-card,
.faq-card,
.service-card,
.value-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.team-card:hover,
.blog-card:hover,
.faq-card:hover,
.service-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.feature-icon,
.team-avatar {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3,
.team-card h3,
.blog-card h3,
.faq-card h3,
.value-card h3 {
    color: var(--primary-blue);
    margin-bottom: 18px;
}

.service-card p,
.team-card p,
.blog-card p,
.faq-card p,
.value-card p,
.card p {
    color: #555555;
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: #ffffff;
}

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

.btn-primary:hover {
    background-color: #ffd94f;
}

.btn-secondary:hover {
    background-color: var(--light-blue);
}

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

.cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: #ffffff;
}

.cta h2,
.cta p {
    color: #ffffff;
}

.site-footer {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.site-footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 60px 0 25px;
}

.site-footer h4 {
    color: var(--primary-yellow);
    margin-bottom: 18px;
}

.site-footer p,
.site-footer li a {
    color: #dde2ee;
}

.site-footer li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 15px;
    font-size: 0.95rem;
    color: #c3c9dd;
}

.hero-content,
.card-content,
.contact-content,
.blog-content {
    position: relative;
}

@media (max-width: 900px) {
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    .main-navigation {
        width: 100%;
        justify-content: space-between;
    }
}

.service-detail {
    margin-bottom: 40px;
}

.service-features {
    list-style: none;
    columns: 2;
    column-gap: 40px;
    margin-top: 20px;
}

.service-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    break-inside: avoid;
}

.service-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

.team-values {
    background-color: var(--bg-light);
}

.values-highlight {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.highlight-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.highlight-item h3 {
    color: var(--light-blue);
    margin-bottom: 18px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-container h2 {
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.detail-item h3 {
    color: var(--light-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.detail-item p {
    color: #555555;
    line-height: 1.8;
}

.contact-form-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.form-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 15px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--primary-yellow);
}

.about-content,
.services-detailed,
.team-section,
.blog-section,
.contact-section,
.faq-section {
    background-color: #ffffff;
}

@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .service-features {
        columns: 1;
    }
}
