/* Categories Page Dense Premium Styles */

/* ================= CATEGORY HERO ================= */
.cat-hero {
    position: relative;
    height: 55vh;
    min-height: 400px;
    background-color: var(--color-darker);
    border-bottom: 3px solid var(--color-gold);
}

.cat-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.cat-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

.flex-center-y {
    display: flex;
    align-items: center;
}

.cat-hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    padding: 60px 0;
}

.cat-title {
    font-size: 3.8rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-darker);
}

.cat-subtitle {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.breadcrumbs {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs a {
    color: var(--color-orange);
    text-decoration: none;
    transition: 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-gold);
}

.breadcrumbs .sep {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs .current {
    color: var(--color-darker);
}

/* ================= SPLIT CATEGORY ROWS ================= */
.categories-dense-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.split-cat-row {
    display: flex;
    min-height: 500px;
    align-items: stretch;
}

.split-cat-row.reverse {
    flex-direction: row-reverse;
}

.split-cat-img {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.split-cat-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.split-cat-row:hover .split-cat-img img {
    transform: scale(1.05);
}

.split-cat-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 8%;
    background: #ffffff;
    transition: 0.3s ease;
}

.split-cat-row.reverse .split-cat-text {
    background: #f8f9fa; /* Light grey for alternate rows to separate text visually */
}

.split-cat-row:hover .split-cat-text {
    box-shadow: inset 0 0 0 5px var(--color-orange); /* Adds an inner border on hover */
}

.split-cat-row.reverse:hover .split-cat-text {
    box-shadow: inset 0 0 0 5px var(--color-darker);
}

.split-cat-title {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: var(--color-darker);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.split-cat-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--color-orange);
}

.split-cat-desc {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
}

.cat-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cat-features li {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cat-features li i {
    color: var(--color-gold);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* ================= PREMIUM CTA SECTION ================= */
.cta-dense-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-darker);
    color: #fff;
    overflow: hidden;
    border-top: 2px solid var(--color-gold);
}

.cta-dense-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 25px;
    line-height: 1.1;
}

.cta-dense-desc {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.cta-overlay-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(var(--color-gold) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 1;
}

.z-10 {
    z-index: 10;
}

/* ================= ANIMATIONS ================= */
[data-animate] {
    opacity: 0;
    visibility: hidden;
}

[data-animate].animated {
    opacity: 1;
    visibility: visible;
}

[data-animate="fade-up"] { transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate="fade-up"].animated { transform: translateY(0); }

[data-animate="fade-left"] { transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate="fade-left"].animated { transform: translateX(0); }

[data-animate="fade-right"] { transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate="fade-right"].animated { transform: translateX(0); }

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .split-cat-row, .split-cat-row.reverse {
        flex-direction: column;
    }
    .split-cat-img {
        width: 100%;
        min-height: 350px;
        flex: none;
    }
    .split-cat-text {
        width: 100%;
        padding: 50px 5%;
        flex: none;
    }
    .cat-title {
        font-size: 2.8rem;
    }
    .cta-dense-title {
        font-size: 2.5rem;
    }
    .split-cat-title {
        font-size: 2.2rem;
    }
}
