/*
 * DCM Home — header override, hero, about, timeline, federal, today sections.
 * Exact replica of home.html styles.
 */

/* ---------- Home header (smaller than site header) ---------- */

.dcm-site .dcm-home-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.dcm-site .dcm-home-header.scrolled {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
}

.dcm-site .dcm-home-header .dcm-logo {
    max-height: 46px;
    max-width: 130px;
}

.dcm-site .dcm-home-header .dcm-menu-toggle {
    width: 34px;
    height: 26px;
}

.dcm-site .dcm-home-header .dcm-menu-toggle span {
    height: 2.5px;
}

.dcm-site .dcm-home-header .dcm-menu-toggle.active span:nth-child(1) {
    transform: translateY(11.75px) rotate(45deg);
}

.dcm-site .dcm-home-header .dcm-menu-toggle.active span:nth-child(3) {
    transform: translateY(-11.75px) rotate(-45deg);
}

/* ---------- Home nav (slide panel, smaller) ---------- */

.dcm-site .dcm-home-nav {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: -10px 0 60px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.dcm-site .dcm-home-nav.open {
    right: 0;
}

.dcm-site .dcm-home-nav a {
    display: block;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    transition: all 0.35s ease;
    opacity: 0;
    transform: translateX(30px);
    font-family: 'DM Sans', sans-serif;
}

.dcm-site .dcm-home-nav.open a {
    opacity: 1;
    transform: translateX(0);
}

.dcm-site .dcm-home-nav.open a:nth-child(1) { transition-delay: 0.15s; }
.dcm-site .dcm-home-nav.open a:nth-child(2) { transition-delay: 0.25s; }

.dcm-site .dcm-home-nav a:hover {
    color: #c0392b;
    padding-left: 12px;
}

.dcm-site .dcm-home-nav a .nav-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 6px;
}

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

.dcm-site .dcm-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.dcm-site .dcm-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.dcm-site .dcm-slide.active {
    opacity: 1;
}

.dcm-site .dcm-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dcm-site .dcm-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.dcm-site .dcm-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.08);
}

.dcm-site .dcm-arrow.prev { left: 20px; }
.dcm-site .dcm-arrow.next { right: 20px; }

.dcm-site .dcm-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #333;
    stroke-width: 2.5;
    fill: none;
}

/* ---------- About ---------- */

.dcm-site .dcm-about {
    padding: 40px 40px 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.dcm-site .dcm-about-header {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.dcm-site .dcm-about-left   { flex-shrink: 0; }

.dcm-site .dcm-about-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin: -10px 0 14px 0;
}

.dcm-site .dcm-about-arrow svg {
    width: 38px;
    height: 38px;
    stroke: #1a1a1a;
    stroke-width: 2;
    fill: none;
}

.dcm-site .dcm-about-right {
    display: flex;
    gap: 28px;
    flex: 1;
    align-items: flex-start;
    justify-content: flex-end;
}

.dcm-site .dcm-about-text { flex: 0 0 260px; }

.dcm-site .dcm-about-subtitle {
    font-size: 30px;
    font-weight: 600;
    margin: -8px 0 18px 0;
    line-height: 1;
}

.dcm-site .dcm-about-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.dcm-site .dcm-about-img {
    flex-shrink: 0;
    width: 364px;
}

.dcm-site .dcm-about-img img {
    width: 100%;
    border-radius: 4px;
}

/* ---------- Timeline ---------- */

.dcm-site .dcm-timeline {
    padding: 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dcm-site .dcm-year {
    font-size: 36px;
    font-weight: 600;
    margin: -10px 0 16px 0;
    line-height: 1;
}

.dcm-site .dcm-timeline-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.dcm-site .dcm-timeline-text {
    flex: 0 0 260px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}

.dcm-site .dcm-timeline-imgs {
    display: flex;
    gap: 18px;
    flex: 1;
}

.dcm-site .dcm-timeline-imgs img {
    flex: 1;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- Federal ---------- */

.dcm-site .dcm-federal {
    padding: 15px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dcm-site .dcm-federal-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.dcm-site .dcm-federal-img {
    flex: 1;
    max-width: 600px;
}

.dcm-site .dcm-federal-img img {
    width: 100%;
    border-radius: 4px;
}

.dcm-site .dcm-federal-text {
    flex: 0 0 320px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}

/* ---------- Today ---------- */

.dcm-site .dcm-today {
    padding: 15px 40px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.dcm-site .dcm-today-title {
    font-size: 36px;
    font-weight: 600;
    margin: -10px 0 16px 0;
    line-height: 1;
}

.dcm-site .dcm-today-row {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.dcm-site .dcm-today-text {
    flex: 0 0 260px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #444;
}

.dcm-site .dcm-today-img { flex: 1; }

.dcm-site .dcm-today-img img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

/* ---------- Scroll animations ---------- */

.dcm-site .blur-scroll {
    transition: filter 0.5s ease;
    will-change: filter;
}

.dcm-site .blur-scroll.blurred {
    filter: blur(3px) !important;
}

.dcm-site .anim-left,
.dcm-site .anim-right {
    opacity: 0;
    transition:
        opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dcm-site .anim-left  { transform: translateX(-150px); }
.dcm-site .anim-right { transform: translateX(150px); }

.dcm-site .anim-left.vis,
.dcm-site .anim-right.vis {
    opacity: 1;
    transform: translateX(0);
}

.dcm-site .d1 { transition-delay: 0.05s; }
.dcm-site .d2 { transition-delay: 0.15s; }
.dcm-site .d3 { transition-delay: 0.25s; }
.dcm-site .d4 { transition-delay: 0.35s; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .dcm-site .dcm-home-header           { padding: 14px 20px; }
    .dcm-site .dcm-home-header .dcm-logo { max-height: 36px; max-width: 100px; }
    .dcm-site .dcm-hero                  { height: 50vh; }
    .dcm-site .dcm-arrow                 { width: 38px; height: 38px; }
    .dcm-site .dcm-arrow svg             { width: 14px; height: 14px; }

    .dcm-site .dcm-about           { padding: 30px 20px 15px; }
    .dcm-site .dcm-about-header    { flex-direction: column; gap: 30px; }
    .dcm-site .dcm-about-right     { flex-direction: column; gap: 20px; }
    .dcm-site .dcm-about-img       { width: 100%; }
    .dcm-site .dcm-about-title     { font-size: 32px; }
    .dcm-site .dcm-about-subtitle  { font-size: 24px; }

    .dcm-site .dcm-timeline        { padding: 15px 20px; }
    .dcm-site .dcm-timeline-row    { flex-direction: column; gap: 20px; }
    .dcm-site .dcm-timeline-text   { flex: none; }
    .dcm-site .dcm-timeline-imgs   { flex-direction: column; }
    .dcm-site .dcm-timeline-imgs img { height: 220px; }

    .dcm-site .dcm-federal         { padding: 15px 20px; }
    .dcm-site .dcm-federal-row     { flex-direction: column; }
    .dcm-site .dcm-federal-text    { flex: none; }

    .dcm-site .dcm-today           { padding: 15px 20px 30px; }
    .dcm-site .dcm-today-row       { flex-direction: column; }
    .dcm-site .dcm-today-text      { flex: none; }

    .dcm-site .dcm-home-nav        { width: 100%; right: -100%; padding: 80px 30px; }
    .dcm-site .dcm-home-nav a      { font-size: 22px; }
}

@media (max-width: 480px) {
    .dcm-site .dcm-hero            { height: 38vh; }
    .dcm-site .dcm-about-title     { font-size: 28px; }
    .dcm-site .dcm-year,
    .dcm-site .dcm-today-title     { font-size: 28px; }
}
