@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

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

/* BASE */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #F0F2F7;
    color: #4A4A4A;
}

/* -------------------------
   WELCOME PAGE
-------------------------- */
.welcome-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.welcome-container {
    text-align: center;
    max-width: 800px;
}

.welcome-container h1 {
    font-size: 48px;
    color: #7B90D1;
    margin-bottom: 30px;
}

.last-name {
    text-transform: capitalize;
    font-weight: normal;
}

.bio {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.work-button {
    display: inline-block;
    padding: 15px 50px;
    background-color: #7B90D1;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    margin-bottom: 50px;
}

/* SOCIAL ICONS */
.social-icons,
.hero-social,
.header-social,
.footer-social {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icons a,
.hero-social a,
.header-social a,
.footer-social a {
    width: 50px;
    height: 50px;
    background-color: #E0E6F0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-social a {
    width: 55px;
    height: 55px;
}

.header-social a,
.footer-social a {
    width: 40px;
    height: 40px;
}

.social-icons img,
.hero-social img,
.header-social img,
.footer-social img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* -------------------------
   HEADER
-------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    background-color: #F0F2F7;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #7B90D1;
    text-decoration: none;
}

nav a.active {
    font-weight: bold;
}

.header-name {
    font-size: 24px;
    color: #7B90D1;
}

/* -------------------------
   HERO
-------------------------- */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h2 {
    font-size: 48px;
    color: #7B90D1;
    margin-bottom: 30px;
}

.hero-profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.hero-profile-img:hover {
    transform: scale(1.05);
}

.hero-bio-columns {
    display: flex;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    text-align: left;
    line-height: 1.6;
}

.bio-column {
    flex: 1;
}

.bio-column p {
    font-size: 16px;
    color: #4A4A4A;
}

@media (max-width: 768px) {
    .hero-bio-columns {
        flex-direction: column;
        gap: 20px;
    }
}

.see-work-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #7B90D1;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.see-work-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 144, 209, 0.3);
}

/* -------------------------
   WORK CARDS (HORIZONTAL)
-------------------------- */
.work {
    padding: 40px 20px 80px;
    max-width: 1100px;
    margin: 0 auto;
}

.work h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    color: #7B90D1;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: normal;
}

.work-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.work-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
    flex: 0 0 45%;
    background-color: #f8f9fc;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f2f7;
}

.card-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 12px;
}

.card-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-info h3 {
    font-size: 28px;
    color: #7B90D1;
    margin-bottom: 15px;
    position: static;
    /* Reset from prev absolute hidden style */
    left: auto;
}

.card-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
}

.card-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tag {
    background-color: #f0f4ff;
    color: #7B90D1;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}

.case-study-button {
    align-self: flex-start;
    background-color: #7B90D1;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.case-study-button:hover {
    background-color: #6a7ebd;
}

@media (max-width: 850px) {
    .work-card {
        flex-direction: column;
    }

    .card-image {
        padding: 40px;
    }

    .card-info {
        padding: 30px;
    }
}

/* -------------------------
   WORK DETAIL PAGES
-------------------------- */
.work-detail {
    padding: 80px 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    color: #7B90D1;
    text-decoration: none;
    font-size: 18px;
}

.back-link:hover {
    text-decoration: underline;
}

.work-detail h1 {
    font-size: 42px;
    color: #7B90D1;
    margin-bottom: 30px;
}

.work-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Standard Detail Images */
.work-image img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 35%;
    /* Reduced from 40% for better viewability */
    max-height: 350px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    object-fit: contain;
}

/* Collage Images (Fix for Social Media Page) */
.work-image-collage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.work-image-collage img {
    width: 100%;
    max-width: 350px;
    /* Specifically makes insta_gabby and banner smaller */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Centers the Behance embed */
.work-image-collage iframe {
    display: block;
    margin: 0 auto;
    border-radius: 12px;
}

/* BUTTONS */
.figma-button,
.site-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: #7B90D1;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.figma-button:hover,
.site-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 144, 209, 0.3);
}

/* -------------------------
   CONTACT
-------------------------- */
.contact {
    background-color: #E0E6F0;
    padding: 80px 50px;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    color: #7B90D1;
    margin-bottom: 20px;
}

.contact p {
    font-size: 20px;
    margin-bottom: 30px;
}

.contact-button {
    padding: 15px 50px;
    background-color: #7B90D1;
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 20px;
}

/* -------------------------
   FOOTER
-------------------------- */
footer {
    background-color: #E0E6F0;
    padding: 60px 20px;
    text-align: center;
    margin-top: 50px;
}

.footer-email-box {
    background-color: #fff;
    display: inline-block;
    padding: 15px 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.footer-email-box a {
    color: #4A4A4A;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-email-box a:hover {
    color: #7B90D1;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 30px;
}

/* Base styles for footer-social a and img are now handled by shared selectors above */

.footer-copyright {
    font-size: 16px;
    color: #4A4A4A;
    margin-top: 20px;
    font-weight: 500;
}

/* -------------------------
   RESPONSIVE
-------------------------- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .work {
        padding: 50px 20px;
    }

    .work-item {
        width: 100%;
        max-width: 400px;
    }

    .work-detail {
        padding: 50px 20px;
    }

    .work-detail h1 {
        font-size: 32px;
    }

    .work-description {
        font-size: 16px;
    }

    /* Make images fill more of the screen on mobile */
    .work-image img,
    .work-image-collage img {
        max-width: 90%;
    }

    /* Specifically for the Figma Slide Embed */
    .work-image iframe {
        width: 100%;
        max-width: 850px;
        /* Gives the slides more room than the photos */
        display: block;
        margin: 0 auto 30px auto;
        aspect-ratio: 16 / 9;
        /* Keeps the slide proportions correct */
    }

    /* Ensure it looks good on mobile */
    @media (max-width: 768px) {
        .work-image iframe {
            height: 300px;
            /* Shrinks the height so it fits on phone screens */
        }
    }

}

/* CASE STUDY hYPE COLLECTIVE APP LAYOUT */

.case-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.case-text {
    max-width: 500px;
}

.case-text h1 {
    font-size: 40px;
    margin-bottom: 15px;
}

.meta {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

.case-image img {
    width: 280px;
    border-radius: 20px;
}

/* SECTIONS */
.case-section {
    margin-top: 80px;
}

.case-section h2 {
    margin-bottom: 20px;
    font-size: 22px;
}

/* FEATURES */
.feature-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    flex: 1;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* BUTTON */
.figma-button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    background: #6c83ff;
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
}

/* EMBED FIX */
.work-image iframe {
    width: 100%;
    border-radius: 12px;
    border: none;
}

/* =========================
   CASE STUDY ONLY STYLES
========================= */

.portfolio-page {
    background: #f5f7fb;
    color: #2c2c2c;
}

/* HEADINGS */
.portfolio-page h1,
.portfolio-page h2,
.portfolio-page h3 {
    color: #5f6fa8;
}

/* DESCRIPTION */
.portfolio-page .work-description {
    color: #6b7280;
    line-height: 1.6;
}

/* META TEXT */
.portfolio-page .meta {
    color: #6b7280;
}

/* BACK LINK */
.portfolio-page .back-link {
    color: #7a8bbd;
    text-decoration: none;
    font-size: 14px;
}

.portfolio-page .back-link:hover {
    text-decoration: underline;
}

/* BUTTON */
.portfolio-page .figma-button {
    background: #7a8bbd;
    color: white;
    border-radius: 25px;
    padding: 12px 22px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s ease;
}

.portfolio-page .figma-button:hover {
    background: #5f6fa8;
}

/* FEATURE CARDS */
.portfolio-page .feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(122, 139, 189, 0.15);
    transition: 0.2s ease;
}

.portfolio-page .feature-card:hover {
    transform: translateY(-4px);
}

/* SECTION HEADINGS */
.portfolio-page .case-section h2 {
    color: #7a8bbd;
}

/* IMAGES */
.portfolio-page .case-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(122, 139, 189, 0.2);
}

/* FIGMA EMBED */
.portfolio-page .work-image iframe {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(122, 139, 189, 0.15);
}

/* FOOTER (only on this page) */
.portfolio-page footer {
    background: #e9edf5;
}
/* =========================
   WANDERLUST JOURNAL SPECIFIC
========================= */

.wl-feature-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
}

.wl-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(122, 139, 189, 0.08);
}

.wl-feature-icon {
    width: 48px;
    height: 48px;
    background-color: #e5eaf7;
    color: #5f6fa8;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.wl-feature-icon svg {
    width: 24px;
    height: 24px;
}

.wl-feature-text {
    font-size: 16px;
    font-weight: 500;
    color: #4A4A4A;
    line-height: 1.4;
}

.wl-image-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 40px 50px 40px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(122, 139, 189, 0.1);
    margin-bottom: 40px;
}

.wl-image-container img {
    width: 100%;
    /* Remove max-width if we want it to span the container, but limit it for large screens */
    height: auto;
    border-radius: 8px;
    margin: 0 auto 40px auto;
    display: block;
}

.wl-button-wrapper {
    text-align: center;
}

.wl-site-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: #7a8bbd;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wl-site-button:hover {
    background-color: #5f6fa8;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wl-image-container {
        padding: 20px;
    }
    .wl-feature-card {
        min-width: 100%;
    }
}

/* =========================
   KINGSWAY THEATER SPECIFIC
========================= */

.kw-feature-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 40px;
}

.kw-feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(122, 139, 189, 0.08);
}

.kw-feature-icon {
    width: 44px;
    height: 44px;
    background-color: #e5eaf7;
    color: #5f6fa8;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.kw-feature-icon svg {
    width: 22px;
    height: 22px;
}

.kw-feature-text {
    color: #4A4A4A;
}

.kw-feature-text h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.kw-feature-text p {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    margin: 0;
}

.kw-showcase-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(122, 139, 189, 0.1);
    margin-bottom: 40px;
    position: relative;
}

.kw-showcase-content {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.kw-showcase-info {
    flex: 0 0 300px;
}

.kw-showcase-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #4A4A4A;
    margin-bottom: 25px;
}

.kw-info-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.kw-info-icon {
    width: 44px;
    height: 44px;
    background-color: #e5eaf7;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    color: #5f6fa8;
}

.kw-info-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.kw-info-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.kw-info-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.kw-info-divider {
    border: 0;
    height: 1px;
    background-color: #eaedf4;
    margin: 20px 0;
}

.kw-showcase-image {
    flex: 1;
    text-align: center;
}

.kw-showcase-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.kw-button-wrapper {
    text-align: center;
}

.kw-site-button {
    display: inline-block;
    padding: 14px 40px;
    background-color: #7a8bbd;
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.kw-site-button:hover {
    background-color: #5f6fa8;
    transform: translateY(-2px);
}

@media (max-width: 850px) {
    .kw-showcase-content {
        flex-direction: column;
    }
    .kw-showcase-info {
        flex: auto;
        width: 100%;
    }
    .kw-feature-card {
        min-width: 100%;
    }
}
