/* ===== Color Scheme =====
   White: #FFFFFF
   Dark Wine Red: #7D2D45 (RGB: 125, 45, 69)
   Grayscale: #F8F8F8, #E5E5E5, #CCCCCC, #999999, #666666, #333333, #1A1A1A
*/

:root {
    --color-white: #FFFFFF;
    --color-wine-red: #7D2D45;
    --color-wine-red-light: #9A3F5C;
    --color-wine-red-dark: #5A1F32;
    --color-gray-lightest: #F8F8F8;
    --color-gray-lighter: #E5E5E5;
    --color-gray-light: #CCCCCC;
    --color-gray: #999999;
    --color-gray-dark: #666666;
    --color-gray-darker: #333333;
    --color-black: #1A1A1A;
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-darker);
    background-color: var(--color-white);
    background-image: url('images/trading_background.png');
    background-repeat: repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center top;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Aptos', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-black);
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

strong {
    color: var(--color-wine-red);
    font-weight: 600;
}

/* ===== Header ===== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--color-gray-lighter);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
    max-width: 4000px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--color-gray-darker);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav a:hover {
    color: var(--color-wine-red);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-wine-red);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ===== Hero Section ===== */
.hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(248, 248, 248, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    border-bottom: 1px solid var(--color-gray-lighter);
}

.hero-table {
    width: 100%;
    border-collapse: collapse;
}

.hero-title-cell {
    width: 40%;
    vertical-align: middle;
    padding-right: 2rem;
}

.hero-title-cell h1 {
    color: var(--color-black);
    line-height: 1.2;
}

.hero-profile-cell {
    width: 60%;
    vertical-align: middle;
    padding-left: 2rem;
}

.hero-profile-cell .profile-card {
    margin: 0;
}

/* ===== Services Section ===== */
.services {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: rgba(248, 248, 248, 0.95);
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-gray-lighter);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(125, 45, 69, 0.1);
    border-color: var(--color-wine-red);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-icon a {
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-icon a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.service-icon img {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    color: var(--color-wine-red);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray-darker);
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-wine-red);
    font-weight: bold;
}

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background-color: rgba(248, 248, 248, 0.9);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--color-gray-darker);
    line-height: 1.8;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* ===== Profile Card ===== */
.profile-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(248, 248, 248, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-gray-lighter);
    backdrop-filter: blur(5px);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-gray-lighter);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
}

.profile-info h3 {
    font-size: 1.5rem;
    color: var(--color-wine-red);
    margin-bottom: 0.25rem;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--color-gray-dark);
}

.profile-highlights {
    list-style: none;
}

.profile-highlights li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-gray-darker);
}

.profile-highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-wine-red);
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== Experience Section ===== */
.experience {
    padding: 6rem 0;
    background-color: rgba(248, 248, 248, 0.85);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.experience-item {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-wine-red);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.experience-item h3 {
    color: var(--color-black);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.experience-item .years {
    font-size: 0.875rem;
    font-weight: normal;
    color: var(--color-wine-red);
}

.experience-item ul {
    list-style: none;
}

.experience-item li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-gray-darker);
}

.experience-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-wine-red);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* ===== How We Work Section ===== */
.work-approach {
    padding: 6rem 0;
    background-color: rgba(255, 255, 255, 0.85);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.approach-item {
    text-align: center;
    padding: 2rem 1rem;
}

.approach-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.approach-icon img {
    width: 100%;
    height: 100%;
}

.approach-item p {
    color: var(--color-gray-darker);
    font-weight: 500;
    line-height: 1.6;
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background-color: rgba(248, 248, 248, 0.9);
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
}

.contact-icon img {
    width: 100%;
    height: 100%;
}

.contact-item a {
    font-size: 1.125rem;
    color: var(--color-gray-darker);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--color-wine-red);
}

/* ===== Footer ===== */
.footer {
    padding: 2rem 0;
    background-color: var(--color-gray-darker);
    color: var(--color-white);
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 1rem;
    }

    h2 {
        font-size: 1rem;
    }

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

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-table,
    .hero-table tbody,
    .hero-table tr,
    .hero-table td {
        display: block;
        width: 100%;
    }

    .hero-title-cell,
    .hero-profile-cell {
        padding: 0;
        margin-bottom: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .services,
    .about,
    .leadership,
    .experience,
    .work-approach,
    .contact {
        padding: 4rem 0;
    }

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

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .profile-card {
        padding: 1rem;
    }
}
