/* ==========================================================================
   TRUMONKAH MEDIA - main stylesheet
   Plain CSS, no build step. Edit freely.
   Sections: 1 Settings  2 Base  3 Layout helpers  4 Header  5 Hero
             6 Clients carousel  7 Creators  8 Works + video modal
             9 Services  10 Testimonials  11 Contact form  12 Footer
             13 About page  14 Floating UI (scroll-top, toasts)  15 Animations
   ========================================================================== */

/* 1. SETTINGS: change brand colours and fonts here ------------------------ */
:root {
    --brand: #ff0000;          /* Red accent */
    --black: #000000;
    --panel: #0d0d0d;          /* services / dark panels */
    --text: #6d6d6d;
    --text-soft: #b5b5b5;      /* paragraph text on dark */
    --text-light: #d9d9d9;     /* footer links */
    --error: #ff4b4b;
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Open Sans", sans-serif;
    --font-button: "Poppins", sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@font-face {
    font-family: "Bebas Neue";
    font-weight: 400;
    font-display: swap;
    src: url("../assets/fonts/bebas-neue.woff2") format("woff2");
}
@font-face {
    font-family: "Open Sans";
    font-weight: 300 800;
    font-display: swap;
    src: url("../assets/fonts/open-sans.woff2") format("woff2");
}
@font-face {
    font-family: "Poppins";
    font-weight: 600;
    font-display: swap;
    src: url("../assets/fonts/poppins-600.woff2") format("woff2");
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    cursor: url("../assets/cursor.png") 8 8, auto;
}

a, button, label { cursor: url("../assets/cursor.png") 8 8, pointer; }
a { color: inherit; text-decoration: none; }
img, video, iframe { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; }

/* 3. LAYOUT HELPERS -------------------------------------------------------- */
.section { position: relative; }
.section-inner { position: relative; z-index: 2; }   /* sits above the grid lines */
.center { text-align: center; }

.eyebrow {
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brand);
}

.heading {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: #ffffff;
    line-height: 0.95;
    letter-spacing: 0.01em;
    font-size: 56px;
}
.heading .line { display: block; }
@media (min-width: 640px) { .heading { font-size: 80px; } }

/* Three faint vertical lines across the page (desktop only) */
.grid-lines { display: none; }
@media (min-width: 1024px) {
    .grid-lines { display: block; position: fixed; inset: 0; z-index: 1; pointer-events: none; }
    .grid-lines span { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.07); }
    .grid-lines span:nth-child(1) { left: 100px; }
    .grid-lines span:nth-child(2) { left: 50%; }
    .grid-lines span:nth-child(3) { right: 100px; }
}
/* Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 15px 52px;
    border: 1px solid;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.hero_buttons {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 30px;
    row-gap: 70px;
}
    
@media (min-width: 640px) {
    .hero_buttons { grid-template-columns: repeat(1, 1fr); }
}
@media (min-width: 1024px) { .hero_buttons { grid-template-columns: repeat(2, 1fr); } }

.btn-light { background: #fff; color: #000; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.btn-outline:hover { background: #fff; color: #000; border-color: #fff; }
.btn:disabled { opacity: 0.6; }

/* 4. HEADER ---------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    height: 70px;
    transition: background-color 0.3s, height 0.3s, box-shadow 0.3s;
}
.site-header .header-inner { position: relative; display: flex; align-items: center; height: 100%; padding: 0 24px; }
.site-header.is-scrolled { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }

.header-logo img { object-fit: contain; transition: width 0.3s, height 0.3s; }
.header-logo .logo-white { width: 70px; height: 58px; }
.header-logo .logo-dark { display: none; width: 84px; height: 80px; }
.site-header.is-scrolled .logo-white { display: none;  }
.site-header.is-scrolled .logo-dark { display: block; width: 84px; height: 80px;  }

.main-nav { display: none; }
.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.3s;
}
.site-header.is-scrolled .nav-link { color: #000; }
/* strike-through line on hover / current page */
.nav-link::after {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    height: 1px; width: 0;
    background: currentColor;
    transition: width 0.25s ease-out;
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }

.menu-toggle { margin-left: auto; color: #fff; display: grid; place-items: center; }
.site-header.is-scrolled .menu-toggle { color: #000; }
.menu-toggle svg { width: 28px; height: 28px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #000;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    animation: fade-in-up 0.4s ease-out both;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fff;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--brand); }

@media (min-width: 1024px) {
    .site-header { height: 100px; }
    .site-header.is-scrolled { height: 70px; }
    .site-header .header-inner { padding: 0 34px; }
    .header-logo .logo-white { width: 84px; height: 80px; }
    .main-nav { display: flex; gap: 62px; position: absolute; left: 50%; transform: translateX(-50%); }
    .menu-toggle, .mobile-menu { display: none !important; }
}

/* 5. HERO ------------------------------------------------------------------ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.3); }
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    animation: fade-in-up 1s var(--ease-out) both;
}
.hero-logo { width: 70px; height: 70px; object-fit: contain; transform: scale(1.45); }
.hero-title { margin-top: 16px; font-family: var(--font-display); font-size: 64px; line-height: 0.9; color: #fff; }
.hero-subtitle { font-family: var(--font-display); font-size: 18px; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.hero .btn { margin-top: 38px; }
@media (min-width: 640px) {
    .hero-title { font-size: 100px; }
    .hero-subtitle { font-size: 20px; }
}

/* 6. CLIENTS CAROUSEL ------------------------------------------------------ */
.clients {
    background: url("../assets/clients-bg.jpg") center / cover;
    padding: 50px 0;
    height: 200pxpx;
}
.clients .section-inner { max-width: 1150px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 16px; }
.carousel-arrow { flex-shrink: 0; color: rgba(255, 255, 255, 0.8); transition: color 0.2s; }
.carousel-arrow:hover { color: #fff; }
.carousel-arrow svg { width: 24px; height: 24px; }
.clients-viewport { flex: 1; overflow: hidden; --per: 2; }
.clients-track { display: flex; }
.clients-item { flex: 0 0 calc(100% / var(--per)); padding: 0 10px; }
.clients-item img { width: 100%; height: 150px; object-fit: contain; margin: 0 auto; }
@media (min-width: 640px) { .clients-item img { height: 210px; } }

/* 7. CREATORS -------------------------------------------------------------- */
.creators { background: #000; padding: 120px 0 100px; }
.creators .section-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; text-align: center; }
.creators .heading { font-size: 48px; }
.creators-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.creator { width: 100%; max-width: 200px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.creator img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.creator img:hover { transform: scale(1.1); }
@media (min-width: 640px) {
    .creators .heading { font-size: 72px; }
    .creators-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .creators .heading { font-size: 64px; }
    .creators-grid { grid-template-columns: repeat(4, 1fr); }
}


/* 8. WORKS ----------------------------------------------------------------- */
.works { background: #000; padding: 90px 0 80px; scroll-margin-top: 70px; }
.works-head { padding: 0 24px; text-align: center; }
.works-head .heading { margin-top: 24px; }
.works-grid { margin-top: 70px; display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .works-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card { position: relative; display: block; width: 100%; aspect-ratio: 466 / 262; overflow: hidden; background: #000; text-align: left; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.work-card:hover img { transform: scale(1.05); }
.work-card .shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color 0.3s; }
.work-card:hover .shade { background: rgba(0, 0, 0, 0.55); }
.work-card .play {
    position: absolute; top: 50%; left: 50%;
    width: 56px; height: 56px;
    color: #fff;
    transform: translate(-50%, -50%);
    transition: transform 0.3s;
}
.work-card:hover .play { transform: translate(-50%, -50%) scale(1.1); }
.work-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 24px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
}
.work-card:hover .work-info { opacity: 1; transform: none; }
.work-info span { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--brand); }
.work-info h4 { font-family: var(--font-display); font-size: 30px; line-height: 1; color: #fff; }
.works-more { margin-top: 100px; text-align: center; }

/* Video popup */
.video-modal {
    position: fixed; inset: 0; z-index: 100;
    display: grid; place-items: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.25s;
}
.video-modal[hidden] { display: none; }
.video-modal.is-open { opacity: 1; }
.video-modal-box { position: relative; width: min(1100px, 92vw); aspect-ratio: 16 / 9; background: #000; }
.video-modal-box iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -44px; right: 0; color: #fff; }
.video-modal-close svg { width: 32px; height: 32px; }

/* 9. SERVICES -------------------------------------------------------------- */
.services { background: var(--panel); padding: 90px 0 100px; }
.services .section-inner { max-width: 1150px; margin: 0 auto; padding: 0 24px; text-align: center; }
.services .heading { margin-top: 70px; font-size: 48px; }
.services-grid { margin-top: 80px; display: grid; grid-template-columns: 1fr; column-gap: 30px; row-gap: 70px; }
.service h5 { font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.service p { margin-top: 16px; font-size: 14px; line-height: 26px; color: var(--text-soft); }
@media (min-width: 640px) {
    .services .heading { font-size: 80px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* 10. TESTIMONIALS --------------------------------------------------------- */
.testimonials { background: #000; padding: 100px 0 90px; }
.testimonials .section-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.testimonials .heading { margin-top: 70px; }
.testimonials-grid {
    margin-top: 90px;
    display: grid;
    align-items: start;
    gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
@media (min-width: 768px) {
    .testimonials-grid { gap: 25px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
.testimonial {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.testimonial[hidden] { display: none; }
.testimonial.is-new { animation: fade-in-up 0.5s ease-out both; }
.testimonial:hover { transform: translateY(-10px); }
.testimonial img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.testimonial .ig-overlay {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(225, 48, 108, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}
.testimonial:hover .ig-overlay { opacity: 1; }
.testimonial .ig-overlay svg { width: 24px; height: 24px; }

.testimonials-actions { font-family: var(--font-button); font-weight: 600; }
.testimonials-more { margin: 30px 0; }
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    border-radius: 30px;
    color: #fff;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pill:hover { transform: translateY(-3px); }
.pill-dark { background: #333; padding: 12px 30px; font-size: 16px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.pill-dark:hover { background: #444; }
.pill-instagram {
    margin-top: 8px;
    padding: 12px 24px;
    font-size: 15px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}
.pill-instagram:hover { box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4); }
.pill svg { width: 16px; height: 16px; }

/* 11. CONTACT FORM --------------------------------------------------------- */
.contact {
    background: url("../assets/contact-bg.jpg") center / cover;
    padding: 90px 0;
    scroll-margin-top: 70px;
}
.contact-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.contact-box { max-width: 1020px; margin: 0 auto; padding: 30px 24px 50px; background: rgba(0, 0, 0, 0.7); }
@media (min-width: 640px) { .contact-box { padding: 30px 30px 50px; } }

.contact-form { display: flex; flex-direction: column; gap: 22px; }
.contact-form[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 15px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #bdbdbd;
}
.field label .req { color: var(--error); }
.field input, .field textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid rgba(201, 201, 201, 0.8);
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a8a8a8; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { margin-top: 4px; font-size: 13px; color: var(--error); }

.btn-form {
    align-self: flex-start;
    padding: 10px 20px;
    border: 1px solid #fff;
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    transition: background-color 0.2s, color 0.2s;
}
.btn-form:hover { background: #fff; color: #000; }
.btn-form:disabled { opacity: 0.6; }

.contact-success { padding: 64px 0; text-align: center; animation: fade-in-up 0.5s ease-out both; }
.contact-success[hidden] { display: none; }
.contact-success h3 { font-family: var(--font-display); font-size: 34px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.contact-success p { margin-top: 8px; font-size: 15px; color: #cfcfcf; }
.contact-success .btn-form { margin-top: 32px; align-self: auto; }

/* 12. FOOTER --------------------------------------------------------------- */
.site-footer { position: relative; background: #000; padding: 60px 0 64px; }
.footer-grid {
    position: relative; z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { width: 62px; height: 62px; object-fit: contain; transform: scale(1.6); }
.footer-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.footer-links { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.footer-link {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: color 0.2s;
}
.footer-link:hover { color: var(--brand); }
.footer-email { margin-top: 20px; }
.socials { margin-top: 20px; display: flex; gap: 6px; }
.social {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #000;
    transition: transform 0.2s;
}
a.social:hover { transform: translateY(-2px); }
.social svg { width: 15px; height: 15px; }

/* 13. ABOUT PAGE ----------------------------------------------------------- */
.page-title {
    height: 340px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 56px;
    background: url("../assets/clients-bg.jpg") center / cover;
}
.page-title-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); }
.page-title h1 {
    width: 100%;
    text-align: center;
    font-family: var(--font-display);
    font-size: 62px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}
@media (min-width: 640px) { .page-title h1 { font-size: 90px; } }

.about-story { background: #000; padding: 110px 0; }
.about-story .section-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; gap: 56px; align-items: center;
}
@media (min-width: 1024px) { .about-story .section-inner { grid-template-columns: 1fr 1fr; } }
.about-story .heading { margin-top: 20px; }
.about-text { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 27px; color: var(--text-soft); }
.about-story .btn { margin-top: 40px; }
.about-visual {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid; place-items: center;
    overflow: hidden;
    background: var(--panel);
}
.about-visual::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(255, 192, 0, 0.14), transparent 65%);
}
.about-visual img { position: relative; width: 70%; object-fit: contain; }

/* 14. FLOATING UI ---------------------------------------------------------- */
.to-top {
    position: fixed; right: 24px; bottom: 80px; z-index: 40;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: #000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top svg { width: 20px; height: 20px; }

.toasts { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
    max-width: 340px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    background: #14532d;
    border: 1px solid #22c55e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    animation: fade-in-up 0.3s ease-out both;
    transition: opacity 0.3s;
}
.toast.is-error { background: #4c0519; border-color: var(--error); }
.toast.is-leaving { opacity: 0; }

/* 15. ANIMATIONS ----------------------------------------------------------- */
@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Word-by-word heading reveal (words are wrapped by js/script.js) */
.word {
    display: inline-block;
    white-space: pre;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.is-in .word { opacity: 1; transform: none; }

/* Blocks that fade in on scroll: add data-reveal="up" or data-reveal="scale" */
.js [data-reveal] {
    opacity: 0;
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js [data-reveal="up"] { transform: translateY(30px); }
.js [data-reveal="scale"] { transform: scale(0.9); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .word, .js [data-reveal] { opacity: 1; transform: none; }
}
