/* =========================================
   CATALOGUE PAGE — catalogue.css
   Extends style.css. No overrides to shared
   components — only catalogue-page additions.
   ========================================= */

/* ---- Navbar for catalogue page (no hero bg) ---- */
#cat-header {
    width: 100%;
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

#cat-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

#cat-header nav {
    padding: 16px 0;
}

/* Active nav link */
.nav-active {
    color: #ff004f !important;
}

.nav-active::after {
    width: 100% !important;
}

/* ---- Hero ---- */
.cat-hero {
    background: #1a1a1a;
    padding: 72px 10% 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative accent lines */
.cat-hero::before,
.cat-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 1px;
    background: rgba(255,0,79,0.2);
}

.cat-hero::before { top: 0; }
.cat-hero::after  { bottom: 0; }

.cat-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.cat-hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.1;
}

.cat-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cat-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #ff004f;
    color: #ff004f;
    transform: translateY(-3px);
}

/* ---- Section jump dropdown ---- */
.section-jump-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.section-jump-wrapper label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.section-jump-wrapper label i {
    color: #ff004f;
    font-size: 12px;
}

.section-jump-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ff004f' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1.5px solid #ddd;
    border-radius: 50px;
    padding: 9px 40px 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.section-jump-wrapper select:hover,
.section-jump-wrapper select:focus {
    border-color: #ff004f;
    box-shadow: 0 4px 14px rgba(255,0,79,0.12);
    outline: none;
}

/* ---- Catalogue section (flipbook) ---- */
/* Re-use all #catalogue styles from style.css.
   Just tweak padding and header since this page
   has its own hero section above. */
#catalogue {
    padding-top: 64px;
    padding-bottom: 64px;
}

/* Hide the catalogue-header div that homepage uses
   since we have the hero section instead */
.catalogue-header { display: none; }

/* ---- Categories section ---- */
#categories {
    padding: 80px 10%;
    background: #fff;
}

.categories-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.categories-header {
    text-align: center;
    margin-bottom: 56px;
}

.categories-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.categories-header p {
    font-size: 16px;
    color: #888;
}

/* ---- Category Cards Grid ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.cat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255,0,79,0.12);
    border-color: #ff004f;
}

.cat-card:hover .cat-card-icon {
    background: #ff004f;
}

.cat-card:hover .cat-card-icon i {
    color: #fff;
}

.cat-card-icon {
    background: #fff0f3;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.25s;
    border-bottom: 1px solid #fce4e9;
}

.cat-card:hover .cat-card-icon {
    border-bottom-color: #ff004f;
}

.cat-card-icon i {
    font-size: 32px;
    color: #ff004f;
    transition: color 0.25s;
}

.cat-card-body {
    padding: 28px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.cat-card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin-bottom: 20px;
}

/* Feature checklist */
.cat-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}

.cat-features li {
    font-size: 13px;
    color: #444;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.cat-features li:last-child { border-bottom: none; }

.cat-features li i {
    color: #ff004f;
    font-size: 11px;
    flex-shrink: 0;
}

/* Jump link */
.cat-jump {
    font-size: 13px;
    font-weight: 700;
    color: #ff004f;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.2s;
}

.cat-card:hover .cat-jump { gap: 12px; }

.cat-jump i { font-size: 11px; }

/* ---- CTA Strip ---- */
.cat-cta-strip {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cat-cta-text h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.cat-cta-text p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    .cat-hero { padding: 56px 6% 48px; }
    #categories { padding: 60px 6%; }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cat-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 32px 28px;
    }
}

@media (max-width: 600px) {
    .cat-hero h1 { font-size: 32px; }
    .cat-hero p  { font-size: 15px; }

    .categories-header h2 { font-size: 28px; }

    .cat-card-icon { padding: 20px 24px; }
    .cat-card-body { padding: 20px 24px 24px; }

    #categories { padding: 48px 4%; }
}
