/* DREAMAGE — dreamage-home.css */

/* ── Sections communes ────────────────────────────────────────────────── */
.home-section {
    background: #0a0a0a;
    padding: 70px 0 60px;
}
.home-section-dark {
    background: #060606;
}
.home-section-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 20px;
}
.home-section-header h2 {
    font-size: 32px;
    font-weight: 200;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 8px;
}
.home-section-header h2 em {
    font-style: normal;
    font-weight: 500;
}
.home-section-header p {
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    margin: 0;
}
.home-section-footer {
    text-align: center;
    margin-top: 40px;
}
.btn-see-all {
    display: inline-block;
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.6);
    font-family: 'Kanit', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    padding: 12px 36px;
    text-decoration: none;
    transition: all .3s;
}
.btn-see-all:hover {
    border-color: rgba(255,255,255,.7);
    color: #fff;
    text-decoration: none;
}

/* ── Carrousel ────────────────────────────────────────────────────────── */
.carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}
.carousel-track-outer {
    overflow: hidden;
    width: 100%;
}
.carousel-track {
    display: flex;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
    min-width: 100%;
    display: block;
    text-decoration: none;
}
.carousel-img {
    position: relative;
    overflow: hidden;
    padding-top: 50%;
    background: #111;
}
.carousel-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    transition: transform .6s ease, filter .6s ease;
}
.carousel-slide:hover .carousel-img img {
    transform: scale(1.04);
    filter: brightness(.5);
}
.carousel-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0 40px 36px;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 50%);
}
.carousel-info h3 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin: 0 0 6px;
}
.carousel-info p {
    font-size: 11px;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin: 0;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    font-size: 18px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* ── Posts ────────────────────────────────────────────────────────────── */
.post-card {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
    margin-bottom: 28px;
    transition: border-color .3s;
}
.post-card:hover { border-color: rgba(255,255,255,.18); }
.post-img {
    overflow: hidden;
    max-height: 200px;
}
.post-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: brightness(.8);
    transition: transform .5s, filter .5s;
}
.post-card:hover .post-img img {
    transform: scale(1.04);
    filter: brightness(.65);
}
.post-body {
    padding: 22px 24px 26px;
}
.post-date {
    font-size: 9px;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    margin-bottom: 10px;
}
.post-title {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    margin: 0 0 12px;
    text-transform: uppercase;
}
.post-text {
    font-size: 13px;
    font-weight: 200;
    color: rgba(255,255,255,.45);
    line-height: 1.7;
    margin: 0;
}
.no-posts {
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,.2);
    text-align: center;
    padding: 40px 0;
}

@media (max-width: 767px) {
    .carousel-wrap { padding: 0 44px; }
    .carousel-btn { width: 34px; height: 34px; font-size: 14px; }
    .carousel-info h3 { font-size: 20px; }
}
