/* ==========================================================================
   Joucads Communications — site stylesheet
   Brand: Black #000, White #FFF, Pink #FF00AA
   Display font: Impact | Body font: Helvetica LT Pro (via Typekit, see
   index.php <link>) — replace the font-family names below with the exact
   Typekit kit family names once confirmed.
   ========================================================================== */

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-pink: #ff00aa;
    --color-grey-text: #4a4a4a;
    --color-grey-line: #e2e2e2;

    --font-display: Impact, "Arial Narrow Bold", sans-serif;
    --font-body: "helvetica-lt-pro", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --container-width: 1180px;
    --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }
.cta-what-we-do {color: var(--color-pink); text-decoration:underline; font-weight: 600;}
h1, h2, h3 {
    font-weight: normal;
    letter-spacing: 0.01em;
    margin: 0 0 0.5em;
}
 
h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
}
h2 {
    font-family: var(--font-body);
    font-size: clamp(1.6rem, 4vw, 2.25rem);
}
h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
}

p { margin: 0 0 1em; color: var(--color-grey-text); font-size: 1.2rem; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 14px 28px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--pink {
    background: var(--color-pink);
    color: var(--color-white);
}
.btn--pink:hover { background: #d90090; }

.btn--outline {
    background: transparent;
    border-color: var(--color-black);
    color: var(--color-black);
}
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }

.btn--block { display: block; width: 100%; text-align: center; }

/* Header / nav ------------------------------------------------------------ */

.site-header {
    background: var(--color-black);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    display: flex;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    flex-direction: column;
    line-height: 1;
    color: var(--color-white);
}

.site-logo__image{
    width: 10rem;
    height: auto;
}


.site-logo__word {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.01em;
}
.site-logo__sub {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
    margin-top: 2px;
}
.site-logo__tag {
    font-size: 0.5rem;
    letter-spacing: 0.08em;
    border-top: 1px solid var(--color-white);
    margin-top: 4px;
    padding-top: 2px;
    color: #cfcfcf;
}

.nav-toggle {
    background: none;
    border: 0;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.nav-toggle__bar {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    display: block;
}

.site-nav {
    display: none;
    flex-direction: column;
    gap: 0;
}
.site-nav a {
    color: var(--color-white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid #222;
}
.site-nav a.is-active { color: var(--color-pink); }

.site-header.is-open .site-nav {
    display: flex;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-black);
    padding: 8px 24px 16px;
}

.site-header__cta { display: none; }

@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .site-nav {
        display: flex;
        flex-direction: row;
        gap: 32px;
    }
    .site-nav a { border-bottom: 0; padding: 0; }
    .site-header__cta { display: inline-block; }
}

/* Page banner -------------------------------------------------------------- */

.page-banner {
    background: var(--color-pink);
    padding: 13px 0;
}
.page-banner__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.page-banner h1 {
    font-family: var(--font-body);
    font-size: large;
    color: var(--color-white);
    margin: 0;
    text-transform: uppercase;
}

/* Hero ---------------------------------------------------------------------- */

.hero {
    background: var(--color-black);
    color: var(--color-white);
    padding: 64px 0;
}
.hero__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.hero h1 { color: var(--color-white); text-transform: uppercase; }
.hero p { color: #d8d8d8; max-width: 60ch; margin-left: auto; margin-right: auto; }
.hero__actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Generic content sections -------------------------------------------------- */

.section { padding: 56px; }
.section--tight { padding: 40px 0; }
.section--black { background: var(--color-black); color: var(--color-white); }
.section--black h2 { color: var(--color-white); }
.section--black p { color: #d8d8d8; }

.section__intro { max-width: 75ch; margin: 0 auto; }
.section__intro--center { text-align: center; }

.eyebrow-image {
    width: 100%;
    border: 1px solid var(--color-grey-line);
}

/* Card grids ----------------------------------------------------------------- */

.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) {
    .grid--3 { grid-template-columns: repeat(3, 1fr); }
    .grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
    .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.value-card { text-align: center; }
.value-card h3 { margin-bottom: 8px; }
.value-card--orange h3 { color: #f2994a; }
.value-card--blue h3 { color: #2f80ed; }
.value-card--teal h3 { color: #1fd6b0; }

.service-card {
    border: 1px solid var(--color-grey-line);
    padding: 20px;
    height: 100%;
}
.service-card h3 { margin-bottom: 8px; }
.service-card a.service-card__link {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-pink);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
@media (min-width: 700px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
.portfolio-grid img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }

/* Single wide banner image, edge-to-edge, no crop (What We Do top/bottom) --- */
.portfolio-banner { width: 100%; }
.portfolio-banner img { display: block; width: 100%; height: auto; }

/* Service list category blocks (What We Do landing) -------------------------- */

.service-category { margin-bottom: 32px; }
.service-category h3 {
    text-transform: uppercase;
    margin-bottom: 12px;
}
.service-category ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}
.service-category li { margin-bottom: 6px; }
.service-category li a { color: var(--color-pink); text-decoration: underline; }
.service-category li a:hover { color: var(--color-black); }

/* Form ------------------------------------------------------------------------ */

.contact-form { max-width: 640px; margin: 0 auto; }
.form-field {
    margin-bottom: 20px;
}
.form-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 0.9rem;
}
.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--color-black);
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.form-note { text-align: center; margin-bottom: 32px; color: var(--color-grey-text); }

/* Footer ------------------------------------------------------------------------ */

.site-footer { background: var(--color-black); color: var(--color-white); }

.site-footer__cta {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 56px 24px 24px;
}
.site-footer__heading {
    color: var(--color-pink);
    text-transform: uppercase;
    font-size: clamp(2rem, 7vw, 3rem);
}
.site-footer__contacts {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    font-weight: 700;
}
.footer-contact-link { display: inline-flex; font-size: 2.5rem; align-items: center; gap: 8px; }
.footer-contacts__divider { color: #666; }

.site-footer__bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 24px 24px 32px;
    border-top: 1px solid #2a2a2a;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}
@media (min-width: 700px) {
    .site-footer__bottom { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer__col-title { font-weight: 700; margin-bottom: 10px; color: #fff; }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a { color: #cfcfcf; }
.site-footer__links a:hover { color: var(--color-pink); }
.site-footer__address { font-style: normal; color: #cfcfcf; }
.site-logo--footer .site-logo__tag { color: #9a9a9a; }

.site-footer__legal {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 32px;
    font-size: 0.8rem;
    color: #8f8f8f;
}
.site-footer__legal a { text-decoration: underline; }
.site-footer__legal a:hover { color: var(--color-pink); }

/* Floating WhatsApp button -------------------------------------------------- */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 60;
}

/* Legal pages (privacy / terms) --------------------------------------------- */

.legal-content h2 { margin-top: 1.5em; font-size: 1.2rem; text-transform: uppercase; }
.legal-content { max-width: 74ch; }
.legal-content ul { color: var(--color-grey-text); }

/* Service page hero image(s) ------------------------------------------------- */

.service-hero {
    display: flex;
    background: #1a1a1a;
}
.service-hero img {
    flex: 1 1 0;
    width: 100%;
    object-fit: cover;
    max-height: auto;
}

.section__intro h2{
    font-size: 1.2rem;
    font-weight: 600;
}

/* ==========================================================================
   Homepage sections (index.php) — hero layout, companies served,
   testimonials carousel, "what we do" tiles, pricing cards
   ========================================================================== */

.btn--black {
    background: var(--color-black);
    color: var(--color-white);
}
.btn--black:hover { background: #222; }

.section-heading {
    color: var(--color-pink);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* Hero — two-column layout used on the homepage, overrides the centered
   single-column .hero__inner default above */
.hero__flex {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: left;
}
.hero__image { flex: 1 1 380px; max-width: 480px; }
.hero__copy { flex: 1 1 380px; }
.hero__badge {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    font-weight: 700;
    padding: 10px 20px;
    margin-bottom: 16px;
}
.hero__title {
    font-family: var(--font-display);
    text-transform: uppercase;
    line-height: 0.95;
    font-size: clamp(2.5rem, 6vw, 4.25rem);
    margin: 0;
    color: var(--color-white);
}
.hero__title span { display: block; }
.hero__title .is-pink { color: var(--color-pink); }
.hero__title .is-white { color: var(--color-white); }

/* Companies we served */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}
@media (max-width: 900px) { .companies-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .companies-grid { grid-template-columns: repeat(2, 1fr); } }
.companies-grid img {
    width: 60%;
    margin: 0 auto;
}

/* Testimonials carousel */
.testimonials {
    display: flex;
    flex-wrap: wrap;
}
.testimonials__label {
    flex: 0 0 320px;
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 2rem;
}
.testimonials__content { flex: 1 1 380px; padding: 32px 40px; }
.testimonials__nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 12px;
}
.testimonials__nav-btn {
    background: none;
    border: 0;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 4px 10px;
}
.testimonials__nav-btn:hover { color: var(--color-pink); }
.testimonial-slide { display: none; text-align: center; }
.testimonial-slide.is-active { display: block; }
.testimonial-slide__quote { max-width: 640px; margin: 0 auto 20px; }
.testimonial-slide__author { font-weight: 700; color: var(--color-black); }
.testimonials__rule { border: 0; border-top: 3px solid var(--color-pink); margin-top: 24px; }

/* What We Do — image tiles */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.tile {
    position: relative;
    display: block;
    color: var(--color-white);
}
.tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tile__label {
    display: block;
    background: var(--color-black);
    text-align: center;
    padding: 16px;
    font-size: 1.1rem;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 760px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }

/* Why Choose Us team photo */
.why-choose-us__image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto 32px;
    display: block;
}

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
    border: 1px solid var(--color-pink);
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.pricing-card__label { font-size: 1.1rem; margin-bottom: 8px; }
.pricing-card__price {
    color: var(--color-pink);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 16px;
}
.pricing-card__body { flex-grow: 1; margin-bottom: 24px; }
@media (max-width: 760px) { .pricing-grid { grid-template-columns: 1fr; } }
