/*
Theme Name: Manhattan Equity Management
Theme URI: https://manhattanequitymanagement.com
Description: A sophisticated, old money aesthetic theme for Manhattan Equity Management. Clean, elegant, and timeless.
Version: 1.0
Author: Manhattan Equity Management
Author URI: https://manhattanequitymanagement.com
*/

:root {
    --color-navy: #1a2332;
    --color-gold: #d4af37;
    --color-cream: #f5f3f0;
    --color-charcoal: #2d3436;
    --color-silver: #95a5a6;
    --color-white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    background-color: var(--color-cream);
    line-height: 1.7;
    font-size: 16px;
    padding-top: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(26, 35, 50, 0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: subtleMove 30s ease-in-out infinite !important;
    animation-play-state: running !important;
}

@keyframes subtleMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(20px, 20px) scale(1.05);
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-navy);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 1.25rem;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}


.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gold);
    text-decoration: none !important;
    letter-spacing: 2px;
    font-weight: 400;
    border-bottom: none !important;
}

.site-logo:hover {
    color: var(--color-white);
    transition: color 0.3s ease;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.main-nav .current-menu-item a,
.main-nav .current_page_item a {
    border-bottom-color: var(--color-gold);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a2332 0%, #2d3e50 100%);
    color: var(--color-cream);
    padding: 12rem 2rem 10rem;
    text-align: center;
    position: relative;
    margin-top: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--color-cream);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: var(--font-serif);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 0.5s ease-out;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadeInUp 0.4s ease-out;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-cream);
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.6s ease-out;
}

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

/* Decorative Line - Hidden */
.decorative-line {
    display: none;
}

/* Sections - full width background wrapper */
.content-section {
    background-color: var(--color-cream);
    padding: 6rem 2rem;
    position: relative;
}

.content-section .section-title,
.content-section .services-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-top: 3px solid var(--color-gold);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease, color 0.4s ease;
    display: inline-block;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    color: var(--color-navy);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-navy);
}

.service-description {
    color: var(--color-charcoal);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    background: var(--color-white);
    padding: 8rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--color-gold);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-item {
    padding: 2.5rem 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--color-cream);
    border-radius: 4px;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.value-item::before {
    content: '◆';
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.3;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
    border-left-color: var(--color-navy);
}

.value-item:hover::before {
    opacity: 0.6;
}

.value-title {
    font-family: var(--font-serif);
    color: var(--color-navy);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-weight: 600;
}

.value-item:hover .value-title {
    color: var(--color-gold);
}

.value-description {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--color-navy);
    color: var(--color-cream);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-text {
    color: var(--color-silver);
    font-size: 0.9rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
