/*
Theme Name:  Liminal Liftoff
Theme URI:   
Description: A child theme of Underscores (_s)
Author:      eroberts
Author URI:  
Template:    underscores
Version:     1.0.0
License:     
License URI: 
Text Domain: liminal-liftoff
Tags:        custom
*/

/* Colors
   ========================================================================== */

:root {
    --cream: #F6F6DE;
    --purple: #5A3D6D;
    --orange: #DE643B;
    --teal: #8BD1C6;
    --dark-blue: #1A1032;
    --pink: #EB2E6E;
    --green: #A1CF75;
    --yellow: #F1CA47;
}

.purple {
    color: var(--purple);
}

.orange {
    color: var(--orange);
}

.green {
    color: var(--green);
}

.teal {
    color: var(--teal);
}

/* Header
   ========================================================================== */

.site-header {
    background-color: var(--cream);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 2rem;
    height: 80px;
    margin-bottom: 20px;
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 22px 22px;
    
    @media (max-width: 450px) {
        .logo {display: none;}
    }
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-self: start;
}

.logo img {
    height: 60px;
    width: auto;
    margin-right: -0.25rem;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--purple);
    line-height: 1.1;
    text-decoration: none;
    font-family: 'Sedgwick Ave', cursive;
    font-weight: 600;
}

/* Nav */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.main-navigation a {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 0.95rem;
    opacity: 0.5;
}

.main-navigation a.current {
    color: var(--dark-blue);
    font-weight: 600;
    opacity: 1;
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 2px;
}

/* Buy Now button */
#buy-btn {
    background-color: var(--teal);
    color: var(--dark-blue) !important;
    opacity: 1 !important;
    padding: 0.6rem 1.5rem;
    border-radius: 26px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--purple);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

#buy-btn:hover {
    background-color: var(--purple);
    color: var(--cream) !important;
}

/* Footer
   ========================================================================== */

.site-footer {
    background-color: var(--cream);
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: end;
    justify-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.footer-col p {
    color: var(--dark-blue);
    font-size: 0.95rem;
    margin: 0;
}

.footer-col:first-child {
    justify-self: center;
}

@media (max-width: 1000px) {
    .site-footer {
        padding: 1%;
        margin-bottom: 10%;
    }

    .footer-inner {
        display: block;
    }

    .footer-col {
        margin-bottom: 3%;
    }
}

/* Social icons */
.footer-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-icons svg {
    width: 50px;
    height: 50px;
    fill: var(--pink);
    transition: fill 0.2s ease;
}

.footer-icons a:hover svg {
    fill: var(--purple);
}

/* App icon */
.footer-app-icon {
    border-radius: 22px;
    background-color: var(--cream);
}

/* Layout
   ========================================================================== */

html, body {
    height: 100%;
    background: var(--cream)
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content,
.site-content,
.content-area {
    flex: 1;
}

p, a {
    font-family: 'Nunito', sans-serif;
}

/* Hero
   ========================================================================== */

.site-main {
    background-color: var(--cream);
}

.hero {
    position: relative;
    height: 75vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg svg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;

    transform: translateY(400%);
    @media (max-width: 768px) {
        transform: translateY(250%);
    }
}

.hero-title {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin: 0;
}

.hero-title-top {
    font-size: 8rem;
    color: var(--purple);
    font-family: 'Sedgwick Ave', cursive;
}

.hero-title-bottom {
    font-size: 8rem;
    color: var(--orange);
    font-family: 'Sedgwick Ave', cursive;
}

.hero-subtitle {
    color: var(--dark-blue);
    font-size: 1rem;
    margin: 0;
}

.hero-btn {
    text-decoration: none;
    background-color: var(--teal);
    color: var(--dark-blue) !important;
    padding: 0.6rem 1.5rem;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 26px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--purple);
    transition: all 0.25s ease;
    box-shadow: 0 6px 0 var(--purple), 0 10px 20px rgba(0,0,0,0.25);

    margin: 0;
    
    &:hover {
        background-color: var(--purple);
        color: var(--cream) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 0 var(--purple), 0 14px 30px rgba(0,0,0,0.35);
    }
}

.tagline {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(20px, 1.5vw, 32px);
    text-align: center;
    color: var(--orange);
    text-shadow: 1.3px 1.5px 0.5px rgba(0, 0, 0, 0.4);
}

.hero-img {}

/* Descriptions
   ========================================================================== */

.div-row {
    display: flex;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.25);
}

.desc-image-frame {
    background-color: var(--cream);
    margin: 2%;
    gap: 0.75rem;
    height: 100%;
    width: 55%;
}

.desc-image-frame img {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
    max-width: 1280px;
    height: 960px;
}

@media (max-width: 768px) {
    .desc-image-frame {
        width: 100%;
        margin: 0;
    }

    .desc-image-frame img {
        width: 100%;
        height: auto;        /* key change: removes forced cropping */
        max-width: 100%;
        object-fit: contain; /* keeps full image visible */
    }
}

.frame-bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 0.5rem;
    margin-top: -24px;
}

.bar-main {
    height: 10px;
    border-radius: 999px;
    background-color: var(--pink);
    width: 100%;
}

.bar-decorative {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: -13px;
}

.bar-small {
    height: 7px;
    border-radius: 999px;
}

.bar-small--green  { background-color: var(--green);     width: 22%; transform: translateY(-7px); }
.bar-small--dark   { background-color: var(--dark-blue); width: 15%; transform: translateY(6px); }
.bar-small--green2 { background-color: var(--green);     width: 18%; transform: translateY(-7px); }
.bar-small--dark2  { background-color: var(--dark-blue); width: 20%; transform: translateY(6px); }

/* Text */
.desc-text {
    width: 50%;
    padding: 3%;
}

.desc-text-left {
    width: 50%;
    padding: 3%;

    p {
        color: var(--dark-blue);
        line-height: 1.8;
    }
}

.desc-text-left {
    .desc-title-image {
        margin-left: 75%;
        @media (max-width: 2000px) {margin-left: 70%;}
    }
    .desc-block {
        margin-left: 60%;
        font-size: 18px;
    }
}

.desc-text-right {
    width: 50%;
    @media (max-width: 1200px) {width: 100%}
}

.desc-text-orange {
    background-image: url(img/orange-dust.png);
    box-shadow: -10px 0 29px -2px rgba(26, 16, 50, 0.7);
}

.desc-text-purple {
    background-image: url(img/purple-dust.png);
    box-shadow: 10px 0 29px -2px rgba(26, 16, 50, 0.7);
}

.desc-title-image {
    max-width: 380px;
    height: 200px;
}

.desc-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.desc-subheading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    color: var(--purple);
    font-family: 'Sedgwick Ave', cursive;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    @media (max-width: 768px) {
        margin-left: 5%;
    }
}

.heading-star {
    width: clamp(18px, 2vw, 26px);
    height: auto;
    flex-shrink: 0;
}

.desc-text p {
    color: var(--dark-blue);
    line-height: 1.8;
    font-size: 18px;
    padding-left: 1.75rem;
}

.desc-block p {
    font-size: 18px;
    font-family: 'Nunito', sans-serif;
}

/* Responsive */
@media (max-width: 1900px) {
.desc-text-left {
    .desc-title-image {
        margin-left: 25%;
    }
    .desc-block {
        margin-left: 25%;
        font-size: 18px;
    }
}
}

@media (max-width: 1200px) {
    .desc-text-left {
        .desc-title-image {
            margin-left: 0%;
        }
        .desc-block {
            margin-left: 0%;
            font-size: 18px;
        }
    }
}

@media (max-width: 768px) {
    .div-row {
        display: block;
    }

    .desc-text {
        width: 100%;
        padding: 0;
    }

    .desc-text-left {
        width: 100%;
        padding: 0;
    }

    .desc-image-frame {
        width: 100%;
        margin: 0;
        padding: 0;
        margin-top: 2%;
    }

    .desc-text-left {
    .desc-title-image {
        margin-left: 0%;
    }
    .desc-block {
        margin-left: 0%;
    }
    }

    .desc-title-image {
        display: none;
    }

    .logo img {
        display: none;
    }

    .site-header {
        grid-template-columns: 1fr;
        justify-items: center;
        height: auto;
        padding: 1rem;
        gap: 0.75rem;
    }

    .main-navigation {
        justify-content: space-between;
        padding-left: 5%;
        padding-right: 5%;
        flex-wrap: wrap;
        gap: 1rem;

        #buy-btn {
            display: none;
        }
    }

    .site-title span {
        display: none;
    }

    .desc-text p,
    .desc-text-left p {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
}

@media (max-width: 400px) {
    #buy-btn {
        display: none;
    }

    .desc-text {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .desc-text-left {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: left;
    }

    .desc-text p,
    .desc-text-left p {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }
}

/* About Page
   ========================================================================== */

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--cream);
    box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.25);
    background: #F6F6DE;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.about-row--three {
    grid-template-columns: 1fr 1fr 1fr;
}

.about-text {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    font-family: 'Nunito', sans-serif;
    /* background: #F6F6DE; */
}

.about-section {
    box-shadow: 0 10px 15px -5px rgba(0, 0, 0, 0.50);
    background: #F6F6DE;
}

.embed {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    padding: 2rem;
    box-sizing: border-box;
    min-height: 700px;
}

.about-title {
    font-size: 2.2rem;
    font-style: italic;
    color: var(--orange);
    margin: 0 0 0.5rem 0;
    font-family: 'Sedgwick Ave', cursive;
}

.about-subheading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 24px;
    font-weight: 400;
    color: var(--purple);
    margin: 0;
    font-family: 'Sedgwick Ave', cursive;
}

.about-subheading::before {
    content: "★";
    color: var(--yellow);
}

.about-text p {
    color: var(--dark-blue);
    line-height: 1.8;
    font-size: 18px;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.about-p {
    width: 50%;
    @media (max-width: 1500px) {width: 100%;}
}

.feat1-p {
    width: 30%;
    @media (max-width: 2000px) {width: 100%;}
}

/* Feature title panels */
.about-feature-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-height: 200px;
    background: #F6F6DE;
}

.feature-left {
    background-image: url(img/orange-dust.png);
    box-shadow: 10px 0 29px -2px rgba(26, 16, 50, 0.7);
}

.feature-right {
    background-image: url(img/purple-dust.png);
    /* box-shadow: -10px 0 29px -10px rgb(26, 16, 50); */
    box-shadow: -10px 0 29px -2px rgba(26, 16, 50, 0.7);
}

.about-text-right {
    margin-left: 65%;

    @media (max-width: 2400px) {
        margin-left: 45%;
    }
    @media (max-width: 1920px) {
        margin-left: 5%;
    }
    @media (max-width: 768px) {
        margin-left: 0%;
    }
}

.about-feature-title .about-title {
    font-size: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .about-row {
    display: block
}

.about-row--three {
    grid-template-columns: 0;
}
}

/* Reflection */

.reflection {
    background: url(img/purple-dust.png);
    box-shadow: 10px 0 29px -2px rgba(26, 16, 50, 0.7);
}

/* Meet the Team
   ========================================================================== */

.team-page-header {
    background-color: var(--cream);
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.team-page-title {
    font-size: 3rem;
    font-style: italic;
    color: var(--dark-blue);
    margin: 0;
    font-family: 'Sedgwick Ave', cursive;
}

.team-section {
    padding: 2.5rem 3rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px 2px rgba(0, 0, 0, 0.25);
}

.team-section--cream { background-color: var(--cream); }
.team-section--purple { background-image: url(img/purple-dust.png) }
.team-section--peach  { background-image: url(img/orange-dust.png) }

.team-section-title {
    text-align: center;
    font-size: 2rem;
    font-style: italic;
    color: var(--orange);
    margin: 0 0 2rem 0;
    font-family: 'Sedgwick Ave', cursive;
}

.profile-pic {
    border-radius: 100px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.team-grid > div {
    position: relative; 
    width: 350px;
    margin: 0 auto;
}

.card {
    display: block;
    width: 100%;
    height: 350px;
    @media (max-width: 310px) {
        width: 85%;
    }
}

.card-text {
    position: absolute;
    top: 73%;
    left: 57%;
    transform: translate(-50%, -50%);
}

.card-text h3, .card-text h4, .card-text p {
    margin: 0;
    padding: 0;
    width: 375px;
}

/* Grids */
.team-grid {
    display: grid;
    gap: 5%;
    justify-items: center;
}

.team-grid--3 { grid-template-columns: repeat(3, minmax(0, 360px)); justify-content: center; }
.team-grid--4 { grid-template-columns: repeat(4, minmax(0, 280px)); justify-content: center; }

/* Cards */
.team-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 2px 12px rgba(90, 61, 109, 0.1);
}

.team-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background-color: #ddd5f0;
}

.team-card-body {
    padding: 0.75rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-card-name {
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    font-size: 0.95rem;
}

.team-card-role {
    color: var(--dark-blue);
    opacity: 0.6;
    font-size: 0.8rem;
    margin: 0;
}

.team-card-bio {
    font-size: 0.8rem;
    color: var(--dark-blue);
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

/* Social links */
.team-card-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
}

.team-link {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.team-link--b {
    background-color: #aaa;
}

.team-link--a {
    background-color: var(--pink);
}

.team-link--b { transform: translateX(-8px); }
.team-link--a { transform: translateX(4px); }

.hover-carousel {
  display: inline-block;
  overflow: hidden;
}

.hover-carousel img.card {
  transition: transform 0.25s ease, opacity 0.4s ease;
}

.hover-carousel:hover img.card {
  transform: scale(1.01);
}

/* Response */
@media (max-width: 1000px) {
    .team-grid {
        display: block;
        gap: 0;
    }
    .team-section {
        padding: 0;
    }

    .card {
        margin-bottom: 1%;
    }
}