/* ============================================================
   RIDJY MEDIA — Main Stylesheet
   Consolidates all shared styles. No !important wars.
   ============================================================ */

:root {
    --gold:    #ecc900;
    --gold-dk: #c9ab00;
    --black:   #000000;
    --gray-1:  #111111;
    --gray-2:  #222222;
    --gray-6:  #666666;
    --white:   #ffffff;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body:    'Roboto', sans-serif;
    --radius:  15px;
    --transition: 0.3s ease;
    --shadow:  0 10px 40px rgba(0,0,0,0.5);
    --section-pad: 100px 0;
    --container: min(90%, 1200px);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1;
    letter-spacing: 0.02em;
    color: var(--white);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }

/* ── Container ── */
.rm-container {
    width: var(--container);
    margin-inline: auto;
}

/* ── Marquee shared ── */
.rm-marquee-track {
    background: var(--gold);
    padding: 11px 0;
    overflow: hidden;
}

.rm-marquee-inner {
    display: flex;
    width: max-content;
    animation: rm-scroll 18s linear infinite;
}

.rm-marquee-inner:hover { animation-play-state: paused; }

.rm-marquee-item {
    font-family: var(--font-display);
    font-size: 19px;
    letter-spacing: 0.05em;
    color: var(--black);
    padding: 0 40px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rm-marquee-item span {
    color: var(--black);
    opacity: 0.35;
    margin: 0 14px;
}

@keyframes rm-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Section heading ── */
.rm-section-label {
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    display: block;
}

/* ── Button styles ── */
.rm-btn {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--black);
    padding: 14px 36px;
    border-radius: 4px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
}

.rm-btn:hover {
    background: var(--gold-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236,201,0,0.25);
}

.rm-btn-skew {
    transform: skewX(-12deg);
    border-radius: 6px;
}

.rm-btn-skew span {
    display: inline-block;
    transform: skewX(12deg);
}

.rm-btn-skew:hover {
    transform: skewX(-12deg) translateY(-2px);
}

/* ── Footer ── */
.site-footer {
    background: var(--gray-1);
    border-top: 1px solid var(--gray-2);
    padding: 28px 0;
    text-align: center;
}

.site-footer p {
    font-size: 13px;
    color: var(--gray-6);
    margin: 0;
}

.site-footer a {
    color: var(--gray-6);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}

.site-footer a:hover { color: var(--white); }

/* ── Hero ── */
#hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg video,
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

/* Logo corner — top-left */
.hero-logo-corner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: var(--black);
    padding: 18px 40px 18px 20px;
    border-radius: 0 0 28px 0;
}

.hero-logo-corner img { width: 130px; display: block; }

/* Title — center */
.hero-title-wrap {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeUp 1s ease both;
    animation-delay: 0.2s;
}

.hero-title {
    font-size: clamp(64px, 12vw, 140px);
    font-family: var(--font-display);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 0.92;
}

.hero-title em {
    display: block;
    font-style: normal;
    color: var(--gold);
}

/* CTA corner — bottom-right */
.hero-cta-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 10;
    background: var(--black);
    padding: 14px 18px 14px 28px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-cta-corner a {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.12em;
    background: var(--gold);
    color: var(--black);
    padding: 12px 22px;
    border-radius: 4px;
    transition: background var(--transition);
}

.hero-cta-corner a:hover { background: var(--gold-dk); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── About ── */
#about-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, var(--gold) 0%, var(--black) 380px);
    padding: 0 0 90px;
}

.about-inner {
    width: var(--container);
    margin: 48px auto 0;
    background: var(--black);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    gap: 0;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.about-text {
    padding: 48px 48px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-age {
    font-family: var(--font-display);
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.about-text p { color: rgba(255,255,255,0.82); }

.about-socials {
    display: flex;
    gap: 28px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.about-socials a {
    font-family: var(--font-body);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-6);
    border-bottom: 1px solid var(--gray-2);
    padding-bottom: 3px;
    transition: color var(--transition), border-color var(--transition);
}

.about-socials a:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ── Process ── */
#process-section {
    background: var(--black);
    padding: var(--section-pad);
}

.process-grid {
    width: var(--container);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left: image card */
.process-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    max-width: 380px;
}

.process-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: opacity 0.4s ease;
}

.process-img-wrap img.active { display: block; }

.process-img-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    padding: 14px 20px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
}

.process-img-label h2 {
    font-size: 22px;
    margin: 0;
}

/* Right: steps */
.process-steps { padding-top: 8px; }

.process-step {
    cursor: pointer;
    padding: 18px 0;
    border-bottom: 1px solid var(--gray-2);
    transition: border-color var(--transition);
    user-select: none;
}

.process-step:first-child { border-top: 1px solid var(--gray-2); }

.process-step-num {
    font-family: var(--font-display);
    font-size: 60px;
    color: var(--gray-2);
    line-height: 1;
    transition: color var(--transition), font-size var(--transition);
    display: block;
}

.process-step-body { overflow: hidden; max-height: 0; transition: max-height 0.4s ease; }
.process-step-body p { color: rgba(255,255,255,0.7); padding-top: 12px; font-size: 15px; }

.process-step.active .process-step-num {
    font-size: 80px;
    color: var(--white);
}

.process-step.active { border-color: var(--gold); }
.process-step.active .process-step-body { max-height: 200px; }

.process-step:hover:not(.active) .process-step-num { color: var(--gold); }

/* ── Client logos ── */
#clients-section {
    background: var(--gray-1);
    padding: 52px 0;
    overflow: hidden;
}

.clients-logo-track {
    display: flex;
    width: max-content;
    animation: rm-scroll 24s linear infinite;
    align-items: center;
}

.clients-logo-track:hover { animation-play-state: paused; }

.clients-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
    margin: 0 30px;
    flex-shrink: 0;
}

.clients-logo-item img {
    max-height: 70px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1) invert(0) grayscale(100%) opacity(0.6);
    transition: filter var(--transition);
}

.clients-logo-item:hover img {
    filter: brightness(1.2) grayscale(0%) opacity(1);
}

/* ── Portfolio CTA ── */
#cta-portfolio {
    background: var(--black);
    padding: 80px 0;
    text-align: center;
}

#cta-portfolio .rm-btn-skew {
    font-size: 22px;
    padding: 18px 52px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    :root { --section-pad: 60px 0; }

    .about-inner { grid-template-columns: 1fr; }
    .about-photo { max-height: 320px; overflow: hidden; }
    .about-text { padding: 32px 24px; }

    .process-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-img-wrap { max-width: 100%; aspect-ratio: 4/3; }

    .hero-title { font-size: clamp(52px, 18vw, 90px); }
}
