/*
Theme Name: BestAmber
Theme URI: https://example.com/bestamber
Author: Amber Team
Author URI: https://example.com
Description: A lightweight, high-performance financial consulting theme.
Version: 1.0.0
Text Domain: finconsult
*/

:root {
    --primary-color: #FFAD60;
    --secondary-color: #2C3E50;
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-grey: #F5F5F5;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Navigation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    font-weight: 500;
    color: var(--secondary-color);
}

/* Language Switcher */
.header-lang-switcher {
    margin-left: 20px;
}

.header-lang-switcher select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: var(--secondary-color);
    font-size: 0.9rem;
    cursor: pointer;
}

.header-lang-switcher select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #ff9f40;
    color: #fff;
}

/* Services Grid */
.services-section {
    padding: 60px 0;
    background-color: var(--light-grey);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget a {
    color: #ddd;
}

/* Footer Copyright Area */
.site-info-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.site-info {
    text-align: left;
    font-size: 0.9rem;
    color: #aaa;
}

.site-info a {
    color: #aaa;
}

.footer-copyright-right {
    text-align: right;
    color: #aaa;
}

.footer-copyright-below {
    text-align: center;
    color: #aaa;
    padding: 10px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-info-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .site-info,
    .footer-copyright-right {
        text-align: center;
        width: 100%;
    }

    .site-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: block;
        margin: 0 auto;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .main-navigation ul.toggled {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
}

/* 语言切换器样式 */
.finconsult-lang-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px; /* 语言选项之间的间距 */
    align-items: center;
}

.finconsult-lang-switcher li {
    display: inline-block;
}

.finconsult-lang-switcher img {
    vertical-align: middle;
}