/* =========================================
   GLOBAL STYLES
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Nunito:wght@300;400;600&display=swap');

html, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #F7F5F2;
    font-family: 'Nunito', sans-serif;
    color: #0A1A2F;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* Wraps all content except banner */
.page-wrapper {
    padding: 0 40px;
}


/* =========================================
   NAVIGATION
========================================= */

.main-nav {
    background-color: #0A1A2F;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container img.nav-logo {
    height: 150px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #F7F5F2;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: .6px;
    transition: 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #C8A675;
}


/* =========================================
   HERO SECTION
========================================= */

.custom-hero {
    padding: 70px 0;
}

.hero-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.photo-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
}

.hero-image-framed {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.squiggle-frame {
    position: absolute;
    top: -14px;
    left: -14px;
    width: 100%;
    height: 100%;
    border: 4px solid #0A1A2F;
    border-radius: 22px;
    transform: rotate(-4deg);
    z-index: 1;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.photo-wrapper:hover .squiggle-frame {
    transform: rotate(3deg);
}

.intro-right {
    max-width: 420px;
}

.hero-greeting {
    font-size: 32px;
    margin-bottom: 10px;
}

.bio-text {
    font-size: 17px;
    line-height: 1.6;
}


/* =========================================
   Q&A SECTION
========================================= */

.qa-section {
    margin: 50px 0;
}

.qa-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.qa-item {
    margin-bottom: 24px;
}

.qa-item .question {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 6px;
}

.qa-item .answer {
    font-size: 16px;
    line-height: 1.5;
    margin-left: 10px;
}


/* =========================================
   WORK PREVIEW
========================================= */

.work-preview {
    margin: 60px 0;
}

.work-preview h2 {
    text-align: left;
    margin-bottom: 25px;
}

.preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.preview-card {
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    width: 200px;
    text-align: center;
    transition: 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}


/* =========================================
   FULL-WIDTH PHOTO BAND
========================================= */

.photo-band {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.photo-band img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background-color: #0A1A2F;
    color: #F7F5F2;
    padding: 20px 40px;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left,
.footer-right {
    flex: 1;
}

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

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: invert(100%);
    display: block;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .hero-flex {
        flex-direction: column;
        text-align: center;
    }

    .photo-wrapper {
        width: 220px;
        height: 220px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        flex: unset;
    }
}
/* =========================================
   WORK PAGE STYLES
========================================= */

.work-header {
    margin: 60px 0 40px;
    text-align: center;
}

.work-header h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.work-subtitle {
    font-size: 18px;
    color: #0A1A2F;
    opacity: 0.75;
}

/* LARGE GRID */
.work-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.work-box {
    text-decoration: none;
    color: inherit;
    background-color: #ffffff;
    width: 300px;
    height: 260px;
    border-radius: 18px;
    padding: 30px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: 0.3s ease;
}

.work-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

.work-box h2 {
    margin-bottom: 10px;
    font-size: 28px;
}

.work-box p {
    font-size: 16px;
    opacity: 0.8;
}
.work-grid-section {
    margin-bottom: 80px; /* space before footer */
}
.project-section {
    padding: 80px 20px;
}

.offwhite-bg {
    background-color: #f9f8f6;
}

.navy-bg {
    background-color: #1a1a2e;
    color: white;
}

.project-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap; /* ensures responsiveness */
}

.project-content.reverse {
    flex-direction: row-reverse;
}

.project-text {
    flex: 1;
    padding: 20px;
}

.project-media {
    flex: 1;
    padding: 20px;
}

.project-media img,
.project-media iframe {
    width: 100%;
    border-radius: 12px;
}
.triangle-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Top image spans both columns */
.triangle-gallery img:nth-child(1) {
    grid-column: 1 / span 2;
    border-radius: 12px;
}

/* Bottom left image */
.triangle-gallery img:nth-child(2) {
    grid-column: 1 / 2;
    border-radius: 12px;
}

/* Bottom right image */
.triangle-gallery img:nth-child(3) {
    grid-column: 2 / 3;
    border-radius: 12px;
}
.concept-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.concept-img {
    width: 120%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Final campaign - image + video side by side */
.final-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.final-img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-radius: 12px;
}
.project-section {
    padding: 80px 20px;
}

.offwhite-bg { background-color: #f9f8f6; }
.navy-bg { background-color: #1a1a2e; color: white; }

.project-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.project-content.reverse { flex-direction: row-reverse; }

.project-text { flex: 1; padding: 20px; }

.project-media { flex: 1; padding: 20px; }

.project-media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}
/* Spacing before Writing Samples section */
.writing-section {
    margin-top: 80px;
}

/* White button for navy sections */
.white-btn {
    background-color: white;
    color: #1a1a2e;
    padding: 12px 24px;
    border-radius: 999px;  /* this creates a pill/capsule shape */
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: 0.2s ease;
}

.white-btn:hover {
    background-color: #e8e8e8;
}
.contact-buttons {
    display: flex;
    gap: 1rem; /* space between buttons */
    justify-content: center; /* center on the page */
    margin-top: 2rem;
}

.contact-buttons .btn {
    background-color: #001F3F; /* navy background to match nav/footer */
    color: #F5F5F5; /* off-white text */
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 2px solid #F5F5F5; /* optional border to pop */
}

.contact-buttons .btn:hover {
    background-color: #003366; /* slightly lighter navy on hover */
    transform: scale(1.05);
}
.contact-header {
    text-align: center;
}
