/* ========================================
   DIAGONAL HERO SLIDER
   Based on 137-diagonal-intro.php
   ======================================== */

.diagonal-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #ffffff;
    color: #0a0a0a;
    font-family: 'Syncopate', 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior: contain;
    touch-action: pan-y pinch-zoom;
}

@media (max-width: 768px) {
    .diagonal-hero {
        touch-action: pan-y;
    }
}

/* Slider Container */
.diagonal-hero .slider-container {
    position: relative;
    width: 120vw;
    height: 100vh;
    transform: rotate(-15deg) scale(1.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2vw;
    z-index: 1;
}

/* Horizontal Vignette - Fade images at edges */
.diagonal-hero .slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0.9) 0%,
            transparent 15%,
            transparent 85%,
            rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Tracks */
.diagonal-hero .track {
    display: flex;
    gap: 2vw;
    width: max-content;
    will-change: transform;
    pointer-events: none;
}

.diagonal-hero .track.reverse {
    flex-direction: row-reverse;
}

/* Cards */
.diagonal-hero .card {
    width: 25vw;
    height: 35vw;
    max-width: 400px;
    max-height: 560px;
    min-width: 200px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    filter: grayscale(100%) brightness(0.5);
    transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

/* Hover Effect - Desktop */
@media (hover: hover) {
    .diagonal-hero .card:hover {
        filter: grayscale(0%) brightness(1);
        transform: scale(1.02);
        z-index: 10;
    }
}

/* Touch Active State - Mobile */
.diagonal-hero .card:active,
.diagonal-hero .card.is-touched {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.02);
    z-index: 10;
}

.diagonal-hero .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    pointer-events: none;
}

.diagonal-hero .card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

.diagonal-hero h3 {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: capitalize;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.05em;
    color: #ffffff;
}

/* Vignette Overlay - Rose Gold Luxe */
.diagonal-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at center,
            transparent 15%,
            rgba(183, 110, 121, 0.15) 40%,
            rgba(218, 165, 145, 0.35) 70%,
            rgba(245, 235, 230, 0.85) 100%);
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

/* Additional subtle rose gold glow */
.diagonal-hero .overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
            rgba(183, 110, 121, 0.08) 0%,
            transparent 60%);
    pointer-events: none;
}

/* Typography Layer with Blend Mode */
.diagonal-hero .typography-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    mix-blend-mode: overlay;
}

.diagonal-hero .main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    margin: 0;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
    letter-spacing: -0.02em;
    color: #0a0a0a;
}

.diagonal-hero .subtitle-wrapper {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.75;
}

.diagonal-hero .line {
    width: 60px;
    height: 1px;
    background: currentColor;
    opacity: 0.6;
}

.diagonal-hero .subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.05em;
    margin: 0;
    color: #0a0a0a;
    font-style: italic;
}

.diagonal-hero .ui {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.5;
    letter-spacing: 0.2em;
    pointer-events: none;
    color: #0a0a0a;
}

/* Responsive */
@media (max-width: 768px) {
    .diagonal-hero .card {
        width: 35vw;
        height: 50vw;
        min-width: 150px;
        min-height: 210px;
    }

    .diagonal-hero .main-title {
        font-size: clamp(2rem, 12vw, 5rem);
    }

    .diagonal-hero .subtitle {
        font-size: 0.6rem;
    }

    .diagonal-hero .line {
        width: 40px;
    }
}