/* 
 * DSDIARY Boutique - Homepage CSS
 */

/* ── Hero wrapper ── */
.hero {
    height: calc(100vh - 85px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    overflow: hidden;
}

/* ── Slides container ── */
.slides {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 550px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Individual slide — full-bleed landscape ── */
.slide {
    display: none;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 60px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0,0,0,0.6);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.98);
    overflow: hidden;
}

.slide.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

/* ── Text overlay (for slides without baked-in branding) ── */
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.slide-overlay h1 {
    font-size: 32px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
}

.slide-overlay p {
    font-size: 12px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.65);
    text-transform: uppercase;
    margin: 0;
}

.slide-overlay button {
    background: #fff;
    color: #000;
    border: 1px solid #fff;
    padding: 12px 30px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 4px;
    transition: var(--transition-smooth);
}

.slide-overlay button:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

/* ── Slide dots / indicators ── */
.dots {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}

.dot {
    height: 6px;
    width: 40px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    border-radius: 0;
}

.dot:hover {
    background: rgba(255,255,255,0.45);
}

.dot.active {
    background: #fff;
    width: 60px;
}

/* ── Category cards (future use) ── */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 120px 60px;
    background: #fafafa;
    border-top: 1px solid var(--border-color);
}

.category-card {
    width: 320px;
    height: 400px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: var(--text-color);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero {
        height: calc(100vh - 75px);
        min-height: 460px;
        padding: 15px 0 45px 0;
    }

    .slides {
        height: 100%;
        max-height: 480px;
        padding: 0 12px;
    }

    .slide-overlay {
        padding: 24px 20px;
        gap: 8px;
    }

    .slide-overlay h1 {
        font-size: 22px;
        letter-spacing: 1.5px;
    }

    .slide-overlay p {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .slide-overlay button {
        padding: 10px 22px;
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .categories {
        padding: 40px 15px;
    }

    .dots {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        height: 4px;
        width: 30px;
    }

    .dot.active {
        width: 45px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: calc(100vh - 68px);
        min-height: 400px;
        padding: 10px 0 40px 0;
    }

    .slides {
        height: 100%;
        max-height: 420px;
        padding: 0 8px;
    }

    .slide-overlay {
        padding: 18px 16px;
    }

    .slide-overlay h1 {
        font-size: 18px;
    }

    .slide-overlay p {
        font-size: 9px;
    }

    .slide-overlay button {
        padding: 8px 18px;
        font-size: 9px;
    }

    .dots {
        bottom: 12px;
    }

    .dot {
        width: 24px;
    }

    .dot.active {
        width: 36px;
    }
}
