/* ===== Global Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode',
                 'Lucida Grande', 'Lucida Sans',
                 Arial, sans-serif;
}

body {
    background-color: #0b1d3a; /* navy background for contact page */
}

/* ===== Navigation ===== */
nav {
    height: 80px;
    background: rgb(0, 0, 39);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 2rem;
}

nav a {
    color: #fff;
    font-size: 1rem;
    padding: 0 1.5rem;
    text-decoration: none;
}

nav a:hover {
    color: darkgray;
}

/* ===== Business Card (Horizontal) ===== */
.contact-card.horizontal {
    background-color: #ffffff;
    padding: 3rem;
    max-width: 720px;   /* wider card */
    width: 100%;
    border-radius: 14px;

    display: flex;
    align-items: center;
    gap: 2.5rem;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.6s ease-out;
}

/* ===== Contact Page Wrapper ===== */
.contact-page {
    min-height: calc(100vh - 80px); /* full screen minus nav */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Headshot */
.contact-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

/* Right side content */
.contact-content {
    flex: 1;
    text-align: left;
}

.contact-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.4rem;
    color: rgb(0, 0, 39);
}

.contact-content h2 {
    font-size: 1.1rem;
    font-weight: normal;
    color: #555;
}

/* Divider */
.contact-divider {
    height: 1px;
    background-color: #ddd;
    margin: 1.5rem 0;
}

/* Contact info */
.contact-info p {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.contact-info span {
    display: block;
    font-weight: 600;
    color: rgb(0, 0, 39);
    margin-bottom: 4px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Mobile Styles ===== */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 0.5rem;
    }

    nav a {
        padding: 0.5rem;
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 2.5rem 2rem;
    }

    .contact-card h1 {
        font-size: 1.9rem;
    }

    .contact-card h2 {
        font-size: 1rem;
    }
}
