﻿/*---------shared css--------- */
body {
}

/* --- Top Navigation (header) --- */
.top-row:first-of-type {
    background-color: rgb(155, 166, 129);
    min-height: 80px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 👈 keep logo + nav on the left */
    flex-wrap: nowrap;
    gap: 20px;
    box-sizing: border-box;
    position: relative;
}

    /* Logo */
    .top-row:first-of-type .logo {
        display: flex;
        align-items: center;
    }

        .top-row:first-of-type .logo img {
            height: 60px; /* keep logo at a consistent size */
            width: auto;
            max-width: 160px;
            flex-shrink: 0;
            object-fit: contain;
        }


    /* Navigation */
    .top-row:first-of-type .navigation {
        display: flex;
        gap: 20px;
        align-items: center;
    }

/* All social icons */
.top-row:nth-of-type(2) a img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

    /* TikTok taller */
    .top-row:nth-of-type(2) a img[alt="TikTok Logo"] {
        height: 70px;
        width: 60px;
    }

/* The Collective logo */
.top-row.social a.social-collective img {
    height: 100px; /* match other social icons vertically */
    width: 160px; /* double width */
    max-width: none; /* override max-width: 60px */
    object-fit: contain;
}

/* Mobile navigation dropdown (hidden by default) */
.navigation {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Navigation links */
a.navigation-links {
    color: white;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 500;
    white-space: nowrap;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    transform: scale(1);
    transform-origin: center;
}

    a.navigation-links:hover,
    a.navigation-links:focus,
    a.navigation-links:active {
        color: white;
        transform: scale(1.05);
        text-decoration: none !important;
    }

/* Hamburger button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 10; /* keeps it above nav */
}

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    /* Animate into X when nav is active */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* --- Social Row --- */
.top-row.social {
    background-color: rgb(155, 166, 129);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    gap: 10px;
}

    .top-row.social a {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: white;
        text-decoration: none;
    }

    .top-row.social img {
        height: 50px;
        width: auto;
        max-width: 60px;
    }

.refine-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* spacing between images + text */
    flex-wrap: nowrap; /* keep everything on one line */
    margin-bottom: 20px;
    border-bottom: 2px solid white; /* white underline */
    padding-bottom: 20px;
}
    .refine-row h2 {
        color: white;
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 600;
        margin: 0;
        text-align: center;
        white-space: nowrap; /* stay on one line */
        text-decoration: none; /* remove underline */
        transition: transform 0.2s ease, color 0.2s ease;
    }
    .refine-row a {
        text-decoration: none; /* ensure anchor never adds underline */
    }
    .refine-row img {
        height: 100px;
        width: auto;
        object-fit: contain;
        border-radius: 10px; /* rounded corners */
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* same shading */
    }

    .refine-row h2 {
        color: white;
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 600;
        margin: 0;
        text-align: center;
        white-space: nowrap; /* force heading onto one line */
    }
        .refine-row h2:hover {
            transform: scale(1.05); /* enlarge slightly */
        }

@media (max-width: 600px) {
    .logo-centered img {
        max-width: 80vw;
        max-height: auto;
    }

    .content-area-beth {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* text first */
    .text-content-beth {
        order: 0 !important;
        width: 100% !important;
        margin: 20px 0 !important;
        text-align: center !important;
    }

    /* both image columns come after the text and stack vertically */
    .image-column-beth {
        order: 1 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        /* small gap between the two image-column blocks */
        .image-column-beth + .image-column-beth {
            margin-top: 8px !important;
        }

        /* images scale nicely on mobile */
        .image-column-beth img {
            width: 90% !important;
            max-width: 420px !important;
            height: auto !important;
            display: block !important;
        }

    img.tep2 {
        display: none !important;
    }
    .refine-row {
        flex-direction: column; /* stack instead of row */
        gap: 15px; /* adjust spacing */
    }

        .refine-row h2 {
            order: 1; /* heading first */
        }

        .refine-row img {
            order: 2; /* images come after */
            height: auto; /* allow natural scaling */
            max-width: 65%; /* fit smaller screens */
        }

    .social-text {
        display: none;
    }

    body {
        overflow-x: hidden; /* prevent horizontal scrollbars */
    }

    /* Force socials row below dropdown */
    .top-row:nth-of-type(2) {
        position: relative;
        z-index: 1 !important;
    }

    /* Dropdown nav panel */
    .navigation {
        position: fixed; /* anchored to viewport */
        top: 80px; /* sits just below header */
        right: 0;
        width: 50% !important; /* only half screen width */
        height: auto; /* just as tall as links */
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background-color: rgb(155, 166, 129);
        border-left: 1px solid white;
        border-radius: 6px 0 0 6px;
        /* stacking */
        z-index: 9999 !important; /* max priority */
        /* animation */
        transform: translateX(100%);
        transition: transform 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
        box-sizing: border-box;
    }

        .navigation.active {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
        }

        /* Links styling */
        .navigation a.navigation-links {
            padding: 14px 18px;
            display: block;
            width: 100%;
            text-align: left;
        }

    /* Header row (logo + hamburger) */
    .top-row.header {
        justify-content: flex-start; /* logo stays left */
        position: relative;
    }

    /* Hamburger in top-right corner */
    .menu-toggle {
        display: flex;
        position: absolute; /* absolute positioning */
        top: 50%; /* vertically center relative to header */
        right: 20px; /* distance from right edge */
        transform: translateY(-50%);
        z-index: 1001; /* above header content */
    }

    .top-row:first-of-type {
        position: relative;
        z-index: 1000; /* keep above nav toggle */
    }

        .top-row:first-of-type .navigation {
            display: none;
            flex-direction: column;
            width: 100%;
            background-color: rgb(155, 166, 129);
            padding: 10px 0;
        }

            .top-row:first-of-type .navigation.active {
                display: flex;
            }

            .top-row:first-of-type .navigation a {
                padding: 10px;
                text-align: center;
                width: 100%;
            }

        .top-row:first-of-type .logo img {
            height: 45px; /* slightly smaller logo on phones */
            max-width: 120px;
        }
    /* Navigation dropdown panel */
    .top-row.header .navigation {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px; /* below header */
        right: 0;
        width: 50%;
        background-color: rgb(155, 166, 129);
        border-left: 1px solid white;
        border-radius: 6px 0 0 6px;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s ease, opacity 0.3s ease;
        z-index: 9999;
    }

        .top-row.header .navigation.active {
            transform: translateX(0);
            opacity: 1;
            pointer-events: auto;
        }

        .top-row.header .navigation a.navigation-links {
            padding: 14px 18px;
            width: 100%;
            text-align: left;
        }

    /* Force social row to stay in one line */
    .top-row.social {
        flex-wrap: nowrap; /* keep all icons on one line */
        justify-content: space-between;
        padding: 10px 5px;
        gap: 5px;
        overflow-x: hidden;
    }

        .top-row.social a {
            flex: 0 1 auto; /* allow shrinking but not too much */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
        }

        /* Regular social icons */
        .top-row.social img {
            max-height: 50px;
            width: auto;
        }

        /* Shrink the Collective logo a bit more */
        .top-row.social a.social-collective img {
            max-height: 33px; /* slightly smaller than others */
            width: auto;
        }
}

/* --- Jodie Section --- */
.jodie-container {
    background-color: rgb(155, 166, 129);
    height: 76.1vh;
    display: flex;
    align-items: center;
    padding: 0 80px;
    gap: 80px;
    overflow: hidden;
}

.jodie-img {
    height: 65vh;
    flex-shrink: 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.jodie-text {
    font-size: clamp(0.9rem, 2vh, 1.4rem);
    color: white;
    max-width: 600px;
    line-height: 1.5;
}

/* --- Contact Container --- */
.contact-container {
    background-color: rgb(155, 166, 129);
    min-height: 76.1vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    box-sizing: border-box;
}

    .contact-container iframe {
        width: 600px;
        height: 450px;
        border: 0;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        flex-shrink: 0;
    }

.contact-info {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 400px;
    text-align: center;
}

    .contact-info h2 {
        margin-bottom: 8px;
        font-size: 22px;
        font-weight: 600;
    }

    .contact-info p {
        margin: 0 0 20px 0;
    }

/* Logo centered above header */
.logo-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; /* allow image to grow beyond container */
    margin-bottom: 20px;
    border-bottom: 2px solid white;
    padding-bottom: 10px;
}

    /* --- Logo image --- */
    .logo-centered img {
        width: 60vw; /* maintain natural width */
        height: auto; /* dramatic large height on desktop */
        max-height: 300px; /* optional cap so it doesn’t explode on ultra-tall screens */
        display: block;
    }

/* --- Content & Image Columns --- */
.content-area-beth {
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* left - center - right */
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content-area {
    flex: 1;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 20px;
}

.image-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

    .image-column img {
        max-height: 30vh;
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.image-column-beth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

    .image-column-beth img {
        max-height: 30vh;
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.text-content {
    color: white;
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

    .text-content h2 {
        margin-bottom: 10px;
        font-size: clamp(18px, 2vw, 22px);
        font-weight: 600;
    }

.text-content-beth {
    color: white;
    font-family: Arial, sans-serif;
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

    .text-content-beth h2 {
        margin-bottom: 10px;
        font-size: clamp(18px, 2vw, 22px);
        font-weight: 600;
    }

/* --- Responsive Layouts --- */
@media (max-width: 900px) {
    .jodie-container {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        height: auto;
    }

    .jodie-img {
        width: calc(100% - 20px);
        height: auto;
    }

    .jodie-text {
        margin-top: 1px;
        text-align: center;
        font-size: clamp(1rem, 2.5vw, 1.2rem);
    }

    .contact-container {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

        .contact-container iframe {
            width: 100%;
            max-width: 600px;
            height: 300px;
        }

    .contact-info {
        text-align: center;
        margin-top: 20px;
    }

    .content-area {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .text-content {
        order: 1;
        margin: 20px 0;
    }

    .text-content-beth {
        order: 1;
        margin: 20px 0;
    }

    .image-column:first-of-type {
        order: 2;
    }

    .image-column:last-of-type {
        order: 3;
    }

    .image-column {
        width: 100%;
    }

        .image-column img {
            max-height: none;
            width: 90%;
        }

        .image-column:first-of-type {
            order: 2;
        }

        .image-column:last-of-type {
            order: 3;
        }

    .image-column-beth {
        width: 100%;
    }

        .image-column-beth img {
            max-height: none;
            width: 90%;
        }

    .logo-centered-beth img {
        width: calc(100% - 20px);
        height: auto;
        max-height: 120px;
    }
}
/*---------shared css end--------- */