/* ============================================
   StudioVeena Equipment Page
   ============================================ */

.sv-equipment-page {
    max-width: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ---- Hero Section ---- */
.sv-eq-hero {
    background: linear-gradient(135deg, #2d1a33 0%, #4a2458 40%, #6b3575 70%, #C730B5 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.sv-eq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(199, 48, 181, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 227, 0, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.sv-eq-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.sv-eq-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 60px 30px;
    position: relative;
    z-index: 1;
}

.sv-eq-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.sv-eq-hero-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 28px 0;
}

.sv-eq-hero-text strong {
    color: #FFE300;
    font-weight: 700;
}

.sv-eq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFE300;
    color: #2d1a33;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 227, 0, 0.25);
    letter-spacing: 0.01em;
}

.sv-eq-cta-btn:hover {
    background: #fff;
    color: #2d1a33;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 227, 0, 0.35);
    text-decoration: none;
}

.sv-eq-cta-btn svg {
    transition: transform 0.3s ease;
}

.sv-eq-cta-btn:hover svg {
    transform: translate(2px, -2px);
}

.sv-eq-hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sv-eq-hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.sv-eq-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ---- Sticky Navigation ---- */
.sv-eq-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

/* Account for WP admin bar */
.admin-bar .sv-eq-nav {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .sv-eq-nav {
        top: 46px;
    }
}

/* Account for sticky site header */
.sticky-header ~ #content .sv-eq-nav,
body.sticky-header .sv-eq-nav {
    top: 75px;
}

.admin-bar.sticky-header .sv-eq-nav,
.admin-bar .sticky-header ~ #content .sv-eq-nav {
    top: 107px;
}

@media (max-width: 782px) {
    .sticky-header ~ #content .sv-eq-nav,
    body.sticky-header .sv-eq-nav {
        top: 56px;
    }
    .admin-bar.sticky-header .sv-eq-nav,
    .admin-bar .sticky-header ~ #content .sv-eq-nav {
        top: 102px;
    }
}

.sv-eq-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    padding: 10px 30px;
    justify-content: center;
}

.sv-eq-nav-link {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #5A5A5A;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.sv-eq-nav-link:hover {
    color: #C730B5;
    background: rgba(199, 48, 181, 0.06);
    text-decoration: none;
}

.sv-eq-nav-link.active {
    color: #C730B5;
    background: rgba(199, 48, 181, 0.1);
}

.sv-eq-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    background: #C730B5;
    border-radius: 3px;
}

/* ---- Section Headers ---- */
.sv-eq-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 30px 40px;
}

.sv-eq-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.sv-eq-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2d1a33;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.sv-eq-section-subtitle {
    font-size: 1.05rem;
    color: #888;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.sv-eq-section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #C730B5, #FFE300);
    margin: 0 auto;
    border-radius: 3px;
}

/* ---- Card Grid ---- */
.sv-eq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Equipment Card ---- */
.sv-eq-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;

    /* Scroll reveal animation */
    opacity: 0;
    transform: translateY(24px);
}

.sv-eq-card.sv-eq-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.sv-eq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(199, 48, 181, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(199, 48, 181, 0.15);
}

.sv-eq-card-image-wrap {
    position: relative;
    padding: 24px 24px 0;
    background: linear-gradient(180deg, #faf8fb 0%, #ffffff 100%);
}

.sv-eq-card-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sv-eq-card:hover .sv-eq-card-image {
    transform: scale(1.03);
}

.sv-eq-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sv-eq-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d1a33;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.sv-eq-card-desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 18px 0;
    flex: 1;
}

.sv-eq-card-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #C730B5;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #C730B5;
    border-radius: 7px;
    transition: all 0.25s ease;
    align-self: stretch;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sv-eq-card-link:hover {
    background: #C730B5;
    color: #ffffff;
    text-decoration: none;
    transform: translateX(2px);
}

.sv-eq-card-link svg {
    transition: transform 0.25s ease;
}

.sv-eq-card-link:hover svg {
    transform: translateX(3px);
}

/* ---- Back to Top ---- */
.sv-eq-back-top-wrap {
    text-align: center;
    padding: 20px 30px 60px;
}

.sv-eq-back-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #C730B5;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(199, 48, 181, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.sv-eq-back-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.sv-eq-back-top:hover {
    background: #a82899;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(199, 48, 181, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .sv-eq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .sv-eq-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
        text-align: center;
    }

    .sv-eq-hero-title {
        font-size: 2.2rem;
    }

    .sv-eq-hero-image {
        order: -1;
    }

    .sv-eq-nav-inner {
        padding: 8px 16px;
        gap: 2px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .sv-eq-nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .sv-eq-section {
        padding: 40px 20px 30px;
    }

    .sv-eq-section-title {
        font-size: 1.6rem;
    }

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

    .sv-eq-card {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sv-eq-hero-title {
        font-size: 1.8rem;
    }

    .sv-eq-hero-text {
        font-size: 1rem;
    }

    .sv-eq-cta-btn {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
}
