/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    /* Color Palette */
    --color-navy-dark: #1f2a44;
    --color-navy: #1f2b44;
    --color-text-light: #ffffff;
    --color-text-muted: #d1d5db;
    --color-text-dark: #333333;
    --color-bg-light: #f8f9fa;
    --color-bg-white: #ffffff;
    --color-border: #e5e7eb;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-navy-dark);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-outline-light {
    border-color: var(--color-text-light);
    color: var(--color-text-light);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--color-text-light);
    color: var(--color-navy-dark);
}

.btn-outline-dark {
    border-color: var(--color-navy-dark);
    color: var(--color-navy-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--color-navy-dark);
    color: var(--color-text-light);
}

/* Header */
header {
    background-color: var(--color-navy-dark);
    color: var(--color-text-light);
    padding: 1.5rem 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: flex-start;
    /* Changed from space-between to allow manual spacing */
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: auto;
    /* Pushes everything else to the right */
}

.logo img {
    height: 40px;
    width: auto;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--color-text-light);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--color-navy-dark);
    background-image: url('hero-bg-horizon.png');
    /* Will link to generated image */
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(21, 30, 50, 0.4);
    /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;

    .hero-content {
        position: relative;
        z-index: 1;
        max-width: 1000px;
        /* Increased from 800px to fit text on one line */
        padding: 2rem;
        width: 100%;
    }
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 span {
    color: #e2c08d;
    /* Gold/Beige highlight from screenshot */
    display: block;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .hero h1 {
        white-space: nowrap;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

.service-card {
    padding: 1rem;
    border-right: 1px solid var(--color-border);
}

.service-card:last-child {
    border-right: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    font-weight: 600;
    /* Bold as requested */
}

.service-card h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--color-text-dark);
    margin: 1rem auto 0;
}

.service-card p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.services-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Approach Section - Reusing similar styles */
.approach {
    padding: 6rem 0;
    background-color: var(--color-bg-white);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
}

/* Footer */
footer {
    background-color: var(--color-navy-dark);
    color: var(--color-text-light);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo h2 {
    color: var(--color-text-light);
    font-size: 2rem;
}

.footer-logo span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    font-family: var(--font-body);
    margin-top: 0.5rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 3rem;
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-navy-dark);
        text-align: center;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}