/* ========================================================================
   MARLINSPIKE HALL & PARTNERS - LUXURY ADVISORY AESTHETIC
   Inspired by: Private Banking, Goldman Sachs, Rothschild & Co
   ======================================================================== */

/* ===== COLOR PALETTE ===== 
   Classic luxury: Deep navy, warm gold, refined cream
   EDIT these to change the entire color scheme */
:root {
    --navy-deep: #0a1628;
    --navy: #15264a;
    --navy-soft: #1f3557;
    --navy-light: #2d4468;
    
    --gold: #c9a961;
    --gold-dark: #b8956a;
    --gold-light: #d4b574;
    
    --cream: #f8f6f2;
    --cream-dark: #f0ede7;
    --white: #ffffff;
    
    --text-primary: #0f1419;
    --text-secondary: #4a5568;
    --text-muted: #6b7280;
    
    --border-subtle: rgba(26, 32, 44, 0.08);
    --shadow-elegant: 0 20px 60px rgba(10, 22, 40, 0.15);
    --shadow-card: 0 10px 40px rgba(10, 22, 40, 0.12);
}

/* ===== GLOBAL RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Crimson Text', 'Georgia', serif;
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* ===== NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(
        to bottom,
        rgba(248, 246, 242, 0.95),
        rgba(248, 246, 242, 0.8),
        transparent
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(248, 246, 242, 0.98);
    box-shadow: 0 2px 20px rgba(10, 22, 40, 0.08);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-mark {
    width: 180px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark img {
    width: 100%;
    height: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    font-family: 'Inter', sans-serif;
    align-items: center;
}

.nav-links a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.nav-links a:last-child {
    padding: 0.6rem 1.5rem;
    background: var(--gold);
    color: var(--navy-deep);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a:last-child:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.nav-links a:last-child::after {
    display: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--navy);
}

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

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 3rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at top,
        var(--navy-soft) 0%,
        var(--navy) 40%,
        var(--navy-deep) 100%
    );
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, transparent 30%, rgba(201, 169, 97, 0.03) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    opacity: 0.6;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
}

.hero-logo-display {
    width: 100%;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-main-logo {
    width: 100%;
    height: auto;
    /* Logo displays naturally - no filter needed */
}

.hero-text-center {
    width: 100%;
    max-width: 900px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-family: 'Inter', sans-serif;
    justify-content: center;
}

.hero-badges span {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.3);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 0.9rem;
}

/* ===== HERO CARD ===== */
.hero-visual {
    position: relative;
}

.hero-card {
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.06)
    );
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.card-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--white), var(--cream-dark));
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.card-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.card-text {
    text-align: center;
    margin-bottom: 2rem;
}

.card-text h3 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.card-text p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.card-motto {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-light);
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ===== PHILOSOPHY BANNER ===== */
.philosophy {
    background: var(--white);
    padding: 4rem 2rem;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}

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

.philosophy-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.philosophy-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 6rem 2rem;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 3rem 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
}

.service-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 1rem;
    line-height: 1;
}

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

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
    min-height: 11rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.service-features li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 600;
}

/* ===== APPROACH SECTION ===== */
.approach {
    padding: 6rem 2rem;
    background: var(--navy);
    color: var(--white);
}

.approach .section-title {
    color: var(--white);
}

.approach .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

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

.approach-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.1);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--gold-light);
}

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

.approach-card h3 {
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.approach-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

/* ===== EXPERTISE SECTION ===== */
.expertise {
    padding: 6rem 2rem;
    background: var(--white);
}

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

.expertise-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.expertise-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.expertise-visual {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expertise-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--cream);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.expertise-badge:hover {
    border-color: var(--gold);
    transform: translateX(8px);
}

.badge-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
}

.badge-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-badge > div:last-child {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 6rem 2rem;
    background: var(--cream);
}

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

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.1rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-text {
    font-size: 1.05rem;
    color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--white), var(--cream-dark));
    padding: 6px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-info {
    text-align: right;
}

.footer-copy,
.footer-location {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-location {
    margin-top: 0.25rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
    .hero-logo-display {
        max-width: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .expertise-content {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .hero-logo-display {
        max-width: 350px;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}
