/* =================================
   SPAN TRAINING — GLOBAL STYLES
   Matching Adobe Express mockups
   Updated: June 2026
================================= */

/* ---- VARIABLES ---- */
:root {
    --font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;

    /* Confirmed brand colours */
    --color-master: #5e1996;
    --color-hair: #f2b6e0;
    --color-business: #2596be;
    --color-tl: #9dfcfc;
    --color-platform: #285b68;
    --color-about: #4e4ea4;

    /* Neutrals */
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray: #6b7280;
    --color-light-gray: #f5f5f7;
    --color-border: #e5e7eb;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-black);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-primary);
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* =====================
   NAVIGATION
   ===================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo img {
    height: 75px;
    width: auto;
}

.nav__menu {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.nav__item {
    position: relative;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-black);
    padding: 0.5rem 0.75rem;
    transition: color 0.2s;
}

.nav__chevron {
    flex-shrink: 0;
    transition: transform 0.2s;
}

.nav__link:hover {
    color: var(--color-master);
}

.nav__item:hover .nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
    margin-top: 0.25rem;
}

.nav__item:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
}

.nav__dropdown a {
    display: block;
    padding: 0.7rem 1.5rem;
    font-size: 0.875rem;
    color: var(--color-black);
    transition: background 0.2s, color 0.2s;
}

.nav__dropdown a:hover {
    background: var(--color-light-gray);
    color: var(--color-master);
}

/* Right side: search + hamburger */
.nav__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav__search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: var(--color-master);
    display: flex;
    align-items: center;
}

.nav__search:hover {
    color: var(--color-black);
}

/* Hamburger toggle (hidden on desktop) */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.nav__toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--color-black);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hamburger open state */
.nav__toggle--open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav__toggle--open span:nth-child(2) {
    opacity: 0;
}

.nav__toggle--open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* =====================
   CAROUSEL
   ===================== */
.carousel {
    margin-top: 74px; /* height of fixed nav */
    position: relative;
    height: 520px;
    overflow: hidden;
    background: var(--color-black);
}

.carousel__container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: flex;
    align-items: center;
}

.carousel__slide--active {
    opacity: 1;
    z-index: 1;
}

.carousel__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content positioning variants */
.carousel__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    max-width: 650px;
}

.carousel__content--left {
    padding-left: 5rem;
    text-align: left;
}

.carousel__content--center {
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.carousel__title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.15;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

/* Coloured underlines */
.carousel__underline {
    display: block;
    width: 320px;
    height: 4px;
    margin-top: 0.75rem;
    border-radius: 2px;
}

.carousel__content--center .carousel__underline {
    margin-left: auto;
    margin-right: auto;
}

.carousel__underline--hair     { background: var(--color-hair); }
.carousel__underline--business { background: var(--color-business); }
.carousel__underline--tl       { background: var(--color-tl); }

.carousel__text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.5;
    margin: 1.5rem 0 2rem;
}

/* "Explore more" buttons with section colours */
.carousel__button {
    display: inline-block;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.carousel__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel__button--hair,
.carousel__button--business,
.carousel__button--tl {
    background: var(--color-master);
    color: var(--color-white);
}

/* Arrows */
.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(94, 25, 150, 0.75); /* company master */
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.carousel__arrow:hover {
    background: rgba(94, 25, 150, 1);
    transform: translateY(-50%) scale(1.08);
}

.carousel__arrow--prev { left: 1.5rem; }
.carousel__arrow--next { right: 1.5rem; }

/* Dot indicators */
.carousel__dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--color-white);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.carousel__dot--active {
    background: var(--color-white);
}


/* =====================
   SECTIONS
   ===================== */
.section {
    padding: 4.5rem 0;
}

.section__title {
    text-align: center;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 0.75rem;
}

.section__subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--color-gray);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}


/* =====================
   CARDS (What We Offer)
   ===================== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    display: block;
    background: var(--color-light-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card__image-wrap {
    padding: 1.5rem 1.5rem 0;
}

.card__image-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.card__body {
    padding: 1.25rem 1.5rem 1.75rem;
}

.card__body h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 0.6rem;
}

.card__body p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.card__link {
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.card__link--hair,
.card__link--business,
.card__link--tl {
    color: var(--color-master);
}


/* =====================
   ABOUT SECTION
   ===================== */
.section--about {
    background: var(--color-light-gray);
    text-align: center;
}

.section--about h2 {
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 1.25rem;
}

.section--about p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-gray);
    max-width: 850px;
    margin: 0 auto;
}

.about__link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-master);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.about__link:hover {
    color: var(--color-black);
}


/* =====================
   FOOTER
   ===================== */
.footer {
    background: #e8e8e8;
    color: var(--color-black);
    padding: 2.5rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer__col h4 {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    color: rgba(0, 0, 0, 0.5);
}

.footer__col p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.7);
}

.footer__bottom {
    padding-top: 1.25rem;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.4);
}


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

/* Tablet and below */
@media (max-width: 1024px) {
    .nav__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0;
    }

    .nav__menu--open {
        display: flex;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__link {
        padding: 0.85rem 2rem;
        font-size: 0.9rem;
        justify-content: space-between;
    }

    .nav__item--has-dropdown .nav__dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        background: var(--color-light-gray);
    }

    .nav__item--has-dropdown.nav__item--expanded .nav__dropdown {
        display: block;
    }

    .nav__dropdown a {
        padding-left: 3rem;
    }

    .carousel {
        height: 400px;
        margin-top: 68px;
    }

    .carousel__title {
        font-size: 2.25rem;
    }

    .carousel__underline {
        width: 220px;
    }

    .carousel__content--left {
        padding-left: 3rem;
    }

    .cards {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav__container {
        padding: 0.6rem 1rem;
    }

    .nav__logo img {
        height: 55px;
    }

    .carousel {
        height: 350px;
        margin-top: 62px;
    }

    .carousel__content--left {
        padding-left: 1.5rem;
        padding-right: 1rem;
    }

    .carousel__content--center {
        padding: 0 1.5rem;
    }

    .carousel__title {
        font-size: 1.75rem;
        letter-spacing: 0.04em;
    }

    .carousel__underline {
        width: 180px;
        height: 3px;
    }

    .carousel__text {
        font-size: 0.95rem;
        margin: 1rem 0 1.25rem;
    }

    .carousel__button {
        padding: 0.55rem 1.25rem;
        font-size: 0.8rem;
    }

    .carousel__arrow {
        width: 36px;
        height: 36px;
    }

    .carousel__arrow--prev { left: 0.75rem; }
    .carousel__arrow--next { right: 0.75rem; }

    .section {
        padding: 3rem 0;
    }

    .section__title {
        font-size: 1.6rem;
    }

    .section__subtitle {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

/* Added 26 Nov 2026 */
.footer__links { margin-bottom: 0.6rem; }
.footer a { color: var(--color-master); text-decoration: underline; }

.footer__col h4 a { color: inherit; text-decoration: none; }
.footer__col h4 a:hover { text-decoration: underline; }
