/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #0A0A0A;
    color: #FFFFF0;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ==========================================
   DESIGN SYSTEM: COLOR PALETTE
   ========================================== */

:root {
    /* Primary Colors */
    --obsidian-black: #0A0A0A;
    --charcoal: #2C2C2C;
    --champagne-gold: #D4AF37;
    --ivory-white: #FFFFF0;

    /* Neutral Grays */
    --gray-dark: #404040;
    --gray-medium: #6B6B6B;
    --gray-light: #9E9E9E;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max-width: 1400px;

    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.8s ease;
}

/* ==========================================
   TYPOGRAPHY SYSTEM
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--gray-light);
}

/* ==========================================
   LAYOUT UTILITIES
   ========================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 60px;
}

section {
    padding: var(--section-padding) 0;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--ivory-white);
    margin-bottom: 60px;
    letter-spacing: -0.03em;
}

.section-title.centered {
    text-align: center;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--obsidian-black) 0%, var(--charcoal) 100%);
    background-image: url('assets/images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.hero-title {
    font-size: 6rem;
    font-weight: 600;
    color: var(--ivory-white);
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    animation: fadeInUp 1.2s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--champagne-gold);
    margin-bottom: 48px;
    font-family: var(--font-accent);
    letter-spacing: 0.02em;
    animation: fadeInUp 1.4s ease-out;
}

.ceo-highlight {
    font-size: 1.75rem;
    font-weight: 500;
    color: #E8C547;
    letter-spacing: 0.15em;
    text-shadow: 0 0 20px rgba(232, 197, 71, 0.3);
    font-family: var(--font-display);
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background-color: transparent;
    border: 2px solid var(--champagne-gold);
    color: var(--champagne-gold);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    animation: fadeInUp 1.6s ease-out;
}

.cta-button:hover {
    background-color: var(--champagne-gold);
    color: var(--obsidian-black);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

/* ==========================================
   BIOGRAPHY SECTION
   ========================================== */

.biography-section {
    background-color: var(--charcoal);
    position: relative;
}

.biography-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.biography-content {
    padding-right: 40px;
}

.biography-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 28px;
    color: var(--gray-light);
    font-weight: 300;
}

.biography-visual {
    position: relative;
    height: 600px;
}

.biography-image {
    width: 100%;
    height: 100%;
    background-image: url('assets/images/biography-visual.png');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ==========================================
   ACHIEVEMENTS SECTION
   ========================================== */

.achievements-section {
    background-color: var(--obsidian-black);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.achievement-card {
    position: relative;
    background-color: var(--charcoal);
    padding: 48px 40px;
    border-radius: 2px;
    border-left: 3px solid var(--champagne-gold);
    transition: var(--transition-smooth);
}

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
    border-left-width: 5px;
}

.achievement-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--champagne-gold);
}

.achievement-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--ivory-white);
    line-height: 1.6;
    font-family: var(--font-body);
}

/* ==========================================
   PORTFOLIO SECTION
   ========================================== */

.portfolio-section {
    background-color: var(--charcoal);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
}

.portfolio-card {
    background-color: var(--obsidian-black);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.portfolio-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

.portfolio-image-1 {
    background-image: url('assets/images/portfolio-capital.png');
}

.portfolio-image-2 {
    background-image: url('assets/images/portfolio-trading.png');
}

.portfolio-image-3 {
    background-image: url('assets/images/portfolio-network.png');
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 36px 32px;
}

.portfolio-name {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--ivory-white);
    margin-bottom: 12px;
}

.portfolio-category {
    font-size: 0.9rem;
    color: var(--champagne-gold);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.portfolio-description {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact-section {
    background-color: var(--obsidian-black);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--gray-light);
    margin-bottom: 60px;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--champagne-gold);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-input,
.form-textarea {
    padding: 16px 20px;
    background-color: var(--charcoal);
    border: 1px solid var(--gray-dark);
    border-radius: 2px;
    color: var(--ivory-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--champagne-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

#submit-button {
    align-self: center;
    margin-top: 24px;
}

.form-notification {
    margin-top: 32px;
    padding: 20px 32px;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    display: none;
}

.form-notification.show {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.form-notification.success {
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--champagne-gold);
    color: var(--champagne-gold);
}

.form-notification.error {
    background-color: rgba(220, 38, 38, 0.15);
    border: 1px solid #DC2626;
    color: #FCA5A5;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--obsidian-black);
    padding: 60px 0;
    border-top: 1px solid var(--gray-dark);
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: 300;
}

/* ==========================================
   ANIMATIONS
   ========================================== */

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .biography-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .biography-content {
        padding-right: 0;
    }

    .biography-visual {
        height: 500px;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 40px;
    }

    .biography-text p {
        font-size: 1rem;
    }

    .biography-visual {
        height: 400px;
    }

    .achievement-card {
        padding: 32px 24px;
    }

    .achievement-title {
        font-size: 1.1rem;
    }

    .portfolio-image {
        height: 240px;
    }

    .cta-button {
        padding: 16px 36px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .hero-section {
        background-attachment: scroll;
    }
}