/* ================================================================
   BLISSDEZIGN STYLE FIXES v2
   Loaded on every page AFTER style.css to override and extend.
   ================================================================ */

/* ── Footer: Full Styling ────────────────────────────────────────
   This file is the single source of truth for .new-site-footer.
   ────────────────────────────────────────────────────────────── */
footer.new-site-footer,
.new-site-footer {
    background-color: #111111 !important;
    color: #ffffff !important;
    padding: 80px 0 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.new-site-footer a {
    color: #ffffff;
    text-decoration: none;
}

.new-site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.new-site-footer .footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.new-site-footer .footer-nav {
    display: flex;
    gap: 30px;
    font-weight: 500;
    font-size: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.new-site-footer .footer-nav a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s;
}

.new-site-footer .footer-nav a:hover {
    opacity: 0.6;
}

.new-site-footer .footer-social-icons {
    display: flex;
    gap: 25px;
    font-size: 1.3rem;
}

.new-site-footer .footer-social-icons a {
    color: #ffffff;
    transition: opacity 0.3s;
}

.new-site-footer .footer-social-icons a:hover {
    opacity: 0.6;
}

.new-site-footer .footer-middle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 60px;
}

.new-site-footer .footer-middle-row a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s;
}

.new-site-footer .footer-middle-row a:hover {
    color: #ffffff;
}

.new-site-footer .footer-bottom-row {
    text-align: center;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    /* Height = roughly 60% of the text visible + fade */
    max-height: clamp(55px, 11vw, 140px);
    line-height: 0;
}

.new-site-footer .huge-brand-text {
    font-size: clamp(3.5rem, 17vw, 18rem);
    font-weight: 800;
    line-height: 0.85;
    margin: 0;
    padding: 0;
    display: block;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    /* Fades from white at top → transparent at bottom */
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    user-select: none;
}

/* ── Footer: Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .new-site-footer .footer-top-row,
    .new-site-footer .footer-middle-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .new-site-footer .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .new-site-footer .footer-social-icons {
        justify-content: center;
        gap: 20px;
    }

    .new-site-footer .footer-bottom-row {
        max-height: clamp(35px, 13vw, 80px);
    }
}

/* ── Project Cards: Add breathing room before footer ────────── */
/* The section/div that wraps project cards — give it bottom padding */
.portfolio-section,
#work,
.work-projects-wrapper,
#all-projects-container,
#index-projects-container {
    padding-bottom: 80px !important;
}

/* Card itself: extra gap between image and text */
.portfolio-card-large {
    margin-bottom: 60px !important;
}

/* ── Project Cards: Remove arrow icon on mobile ─────────────── */
@media (max-width: 768px) {
    .portfolio-card-icon {
        display: none !important;
    }
}

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-modern {
    background-color: #111111;
    background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
    background-size: 30px 30px;
    color: #ffffff;
    padding: 120px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-modern .cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-modern h2 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.cta-modern p {
    font-size: 1.15rem;
    color: #aaaaaa;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.cta-modern .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 45px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    background: transparent;
}

.cta-modern .btn-outline:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
}

/* ── Custom Cursor ──────────────────────────────────────────── */
/* Hide native cursor on mouse devices */
@media (pointer: fine) {
    *, *::before, *::after { cursor: none !important; }
}

/* Shared base for all cursor parts */
.bd-cursor-dot,
.bd-cursor-ring,
.bd-cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    will-change: transform, width, height, border-radius, background, border-color;
    border-radius: 50%;
}

/* ── Dot: small filled circle, snaps to cursor ── */
.bd-cursor-dot {
    width: 8px;
    height: 8px;
    background: #7c3aed;
    transition: opacity 0.15s ease, transform 0.15s ease;
    mix-blend-mode: difference;
}

/* ── Ring: large lagging outline circle ── */
.bd-cursor-ring {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(124, 58, 237, 0.7);
    background: transparent;
    transition:
        width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        border-radius 0.25s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.25s ease,
        border-color 0.25s ease,
        opacity 0.2s ease;
}

/* ── View label: pill shown over project cards ── */
.bd-cursor-label {
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #000;
    font-family: 'Sen', 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    /* center on cursor point */
    margin-top: 0;
    margin-left: 0;
}

/* Hide everything on touch devices */
@media (pointer: coarse) {
    .bd-cursor-dot,
    .bd-cursor-ring,
    .bd-cursor-label { display: none !important; }
}



/* ── Page Load Fade-in ─────────────────────────────────────── */
@keyframes pageFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body {
    animation: pageFadeIn 0.8s ease forwards;
}

/* ── Testimonial Mobile Fixes ──────────────────────────────── */
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; padding-bottom: 120px; }
    .testimonials-grid-wrapper { max-height: 800px; }
    .testimonials-fade-overlay { height: 200px; }
    .modern-test-card { padding: 30px 24px; border-radius: 8px; }
    .modern-test-text { font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
    .testimonials-title-area h2 { font-size: 2.2rem; }
}

/* ── Remove glow from timeline marker on hover ── */
.timeline-item:hover .timeline-marker {
    box-shadow: none !important;
}
