/* ============================================
   DÜNYA MÜZİK — Red Light Management Clone
   Pixel-perfect extraction from redlightmanagement.com
   Adapted: Red #df2627 → Orange #f39220
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: #ffffff;
    color: #222222;
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-top: 0 !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── Red Light Design Token ──
   Consistent page padding: ~9.1vw (174px at 1920px)
   This value is used EVERYWHERE: header, slider, sections, footer
   ============================================ */
:root {
    --rl-primary: #f39220;        /* Red Light red → DM orange */
    --rl-secondary: #e31d88;      /* DM magenta */
    --rl-black: #222222;
    --rl-dark: #444444;
    --rl-white: #ffffff;
    --rl-light: #e9e9e9;
    --rl-gray: #949494;

    /* The master padding — matches Red Light exactly */
    --rl-page-pad: clamp(24px, 9.1vw, 174px);

    --rl-z-header: 99999;
}


/* ============================================
   HEADER — Red Light exact clone
   position: absolute, padding: 48px 174px
   Logo left (h1 inside a), nav absolute right
   White bg space, NOT transparent overlay
   ============================================ */

.dm-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 48px var(--rl-page-pad);
    display: block;
    z-index: var(--rl-z-header);
    background: transparent;
}

/* Sticky state */
.dm-header.is-sticky {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Logo — inline, left aligned */
.dm-header__logo {
    display: inline-block;
    vertical-align: middle;
}

.dm-header__logo-img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* Default: dark logo. Over hero: white logo */
.dm-header__logo-img--white { display: none; }
.dm-header__logo-img--dark { display: inline-block; }

.dm-header--over-hero .dm-header__logo-img--white { display: inline-block; }
.dm-header--over-hero .dm-header__logo-img--dark { display: none; }
.dm-header.is-sticky .dm-header__logo-img--white { display: none !important; }
.dm-header.is-sticky .dm-header__logo-img--dark { display: inline-block !important; }

/* Nav — absolutely positioned, right aligned, vertically centered */
.dm-header__nav {
    position: absolute;
    top: 50%;
    right: var(--rl-page-pad);
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}

/* Nav links — Work Sans 13px/700 uppercase, red(→orange) */
.dm-header__link {
    display: block;
    padding: 0 0 3px;
    margin-right: 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rl-primary);
    line-height: 1.2;
    letter-spacing: normal;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.dm-header__link:last-child {
    margin-right: 0;
}

.dm-header__link:hover {
    opacity: 0.6;
}

/* Hamburger */
.dm-header__hamburger {
    display: none;
    position: absolute;
    top: 50%;
    right: var(--rl-page-pad);
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--rl-z-header) + 1);
}

.dm-header__hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--rl-primary);
    transition: transform 0.3s, opacity 0.3s;
}

.dm-header__hamburger.is-open .dm-header__hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.dm-header__hamburger.is-open .dm-header__hamburger-line:nth-child(2) { opacity: 0; }
.dm-header__hamburger.is-open .dm-header__hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu */
.dm-header__mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--rl-white);
    z-index: var(--rl-z-header);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px var(--rl-page-pad);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.dm-header__mobile-menu.is-open { opacity: 1; visibility: visible; }

.dm-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dm-header__mobile-link {
    font-family: 'Work Sans', sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--rl-black);
    transition: color 0.3s;
}

.dm-header__mobile-link:hover { color: var(--rl-primary); }

.dm-header__mobile-socials {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.dm-header__social-icon { color: var(--rl-gray); transition: color 0.3s; }
.dm-header__social-icon:hover { color: var(--rl-primary); }
.dm-header__social-icon svg { width: 20px; height: 20px; }

/* Header responsive */
@media (max-width: 768px) {
    .dm-header { padding: 20px 24px; }
    .dm-header__logo-img { height: 48px; }
    .dm-header__nav { display: none; }
    .dm-header__hamburger { display: flex; right: 24px; }
    .dm-header__mobile-menu { display: flex; }
}


/* ============================================
   HERO SLIDER CONTAINER
   Padded like Red Light (NOT fullscreen)
   Starts BELOW header (168px)
   ============================================ */

.dm-home .dm-hero-slider {
    margin: 0 var(--rl-page-pad);
}


/* ============================================
   SCROLL INDICATOR — Red Light exact
   Centered, red line + "SCROLL" + arrow
   ============================================ */

.dm-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 50px 0 60px;
    background: var(--rl-white);
}

.dm-scroll-indicator__line {
    width: 1px;
    height: 30px;
    background: var(--rl-primary);
}

.dm-scroll-indicator__text {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rl-primary);
    letter-spacing: 0.05em;
}

.dm-scroll-indicator__arrow {
    color: var(--rl-primary);
    font-size: 14px;
    line-height: 1;
}


/* ============================================
   NEWS SECTION — Gray bg, padded
   ============================================ */

.dm-news-section {
    background: var(--rl-light);
    padding: 80px var(--rl-page-pad) 100px;
}


/* ============================================
   SECTION COMMON — Red Light pattern
   Bar (30x4px) + heading (20px/900/uppercase) + view-all link
   ============================================ */

.dm-section-label {
    display: block;
    width: 30px;
    height: 4px;
    background: var(--rl-primary);
    margin-bottom: 16px;
    border: none;
    font-size: 0;
}

.dm-section-heading {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--rl-primary);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

.dm-view-all {
    display: inline-block;
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--rl-primary);
    letter-spacing: 0.02em;
    margin-bottom: 48px;
    transition: opacity 0.3s;
}

.dm-view-all:hover { opacity: 0.6; }


/* ============================================
   ARTISTS SECTION — Red Light exact
   Same page padding, white bg
   ============================================ */

.dm-artists-section {
    background: var(--rl-white);
    padding: 80px var(--rl-page-pad) 20px;
}


/* ============================================
   FOOTER — Red Light exact
   Red(→orange) bg, padding: 57px 174px
   flex space-between, logo left, links center, copyright right
   ============================================ */

.dm-footer {
    background: var(--rl-primary);
    padding: 57px var(--rl-page-pad);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.dm-footer__logo { display: flex; align-items: center; }

.dm-footer__logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.dm-footer__links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.dm-footer__links a {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.dm-footer__links a:hover { color: var(--rl-white); }

.dm-footer__separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.dm-footer__copy {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .dm-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 24px;
        gap: 16px;
    }
}


/* ============================================
   UTILITY
   ============================================ */

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