/* Shared by every page; load before the page stylesheet. */
:root {
    --teal: #1a6b6b;
    --teal-mid: #2a8f8f;
    --teal-light: #3db8b8;
    --teal-pale: #eef6f6;
    --teal-muted: #c2e0e0;
    --white: #ffffff;
    --off-white: #f8fafa;
    --soft-gray: #f2f5f5;
    --charcoal: #1e2e2e;
    --text-muted: #4a6060;
    --border: #e0eaea;
}

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

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.6s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

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

.logo-section {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-section:hover {
    opacity: 0.85;
}

.logo {
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--teal);
    transition: all 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-menu.open {
    display: block;
}

.dropdown-menu li a:hover {
    background: var(--teal-pale);
    color: var(--teal);
}

.dropdown:hover .dropdown-toggle {
    color: var(--teal);
}

.hero h1 strong {
    font-weight: 700;
    color: var(--teal);
    display: block;
}

footer {
    background: var(--charcoal);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.created-by {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.45;
}

html {
    scroll-padding-top: 150px;
}

body {
    font-family: 'Crimson Text', serif;
    font-size: 1.125rem;
    color: var(--charcoal);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 1.05rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(26, 107, 107, 0.1);
    list-style: none;
    min-width: 180px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.2rem;
    white-space: nowrap;
    font-size: 1rem;
    color: var(--charcoal);
}

.dropdown-toggle {
    color: var(--charcoal);
    font-size: 1.05rem;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* Hero type, padding and background circle; each page's CSS keeps its own hero layout. */
.hero {
    padding: 10rem 4rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 184, 184, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    animation: fadeInUp 0.9s ease 0.2s both;
}

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

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

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
    color: var(--text-muted);
    font-style: normal;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    background: var(--teal);
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    transition: background 0.2s ease;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--teal-mid);
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 4.2vw, 3.3rem);
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--teal);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

/* Photo with an "Illustrative image" caption; pages set its size and placement. */
.photo-figure {
    margin: 0;
    position: relative;
    z-index: 10;
}

.photo-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.photo-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-top: 3px solid var(--teal-muted);
    transition: box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 8px 28px rgba(26, 107, 107, 0.1);
    border-top-color: var(--teal);
}

.service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
}

@media (max-width: 968px) {
    .nav-links {
        position: fixed;
        top: 124px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border);
        max-height: calc(100vh - 124px);
        overflow-y: auto;
        text-align: center;
    }

    /* Shadow only when open, so the parked menu doesn't shade the left edge. */
    .nav-links.active {
        left: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    .dropdown-menu {
        position: static;
        margin-top: 0.5rem;
        box-shadow: none;
    }

    .hero {
        padding: 9rem 2rem 4rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-container {
        padding: 1rem 2rem;
    }

    .logo {
        width: 92px;
        height: 92px;
    }
}

@media (max-width: 640px) {
    .logo {
        width: 76px;
        height: 76px;
    }

    .nav-links {
        top: 108px;
        max-height: calc(100vh - 108px);
    }

    .hero {
        padding: 8rem 1.5rem 3rem;
    }
}
