/* --- 1. CSS Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #2c2c2c;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* --- 3. Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #004aad;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e8d9bc;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nav-in {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.nav-brand {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a3328;
}

.nav-menu {
    display: flex;
    gap: 2.4rem;
    list-style: none;
}

.nav-menu a {
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .12em;
    color: white;
    transition: color .2s;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

/* --- 4. Hero Section --- */
.hero {
    height: 100vh;
    padding-top: 51px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero img {
    width: 100%;
    max-width: 320px;
    /* Stops the image from growing out of control */
    height: 320px;
    /* Forces a perfect square */
    object-fit: cover;
    /* Ensures your face isn't stretched or squashed */
    margin-bottom: 1.5rem;
    /* Gives some breathing room below the photo */
}

/* Grouped shared styles for both panes */
.pane-left,
.pane-right {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

/* Only define the differences here */
.pane-left {
    background: #5ce1e6;
}

.pane-right {
    background: #d7feff;
}

.btn {
    display: inline-block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .16em;
    padding: .9rem 2rem;
    border: 1px solid;
    cursor: pointer;
    text-decoration: none;
}

.btn-p {
    background: black;
    border-color: rgb(211, 211, 211);
    color: white
}

.btn-p:hover {
    background: white;
    border-color: slategray;
    color: black;
}

/* --- Social Icons Row --- */
.social-links {
    display: flex;
    gap: 1.8rem;
    /* Controls the horizontal space between the icons */
    justify-content: center;
    /* Keeps them centered under the button */
}

.social-links a {
    color: #000;
    /* Makes the icons black */
    font-size: 1.8rem;
    /* Controls how large the icons are */
    transition: transform 0.2s ease, color 0.2s ease;
}

/* A slight bounce effect when hovering over the icons */
.social-links a:hover {
    color: #555;
    transform: translateY(-3px);
}

/* --- 5. Footer --- */
footer {
    background: green;
    padding: 0.1rem;
}

/* --- 6. Mobile Responsiveness --- */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .pane-left,
    .pane-right {
        padding: 4rem 2rem;
    }
}

@media(max-width:768px) {
    .nav-menu {
        display: none
    }

    .ft-in {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .ft-in {
        grid-template-columns: 1fr
    }
}