/* ── Jaspe Creative — Shared Footer Styles ── */

/* Footer */
        footer {
            background: #0a0a0a;
            color: var(--jaspe-white);
            padding: 36px 5% 20px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
            gap: 30px;
            max-width: 1200px;
            margin: 0 auto 24px;
            align-items: start;
        }

        .footer-brand .logo {
            margin-bottom: 12px;
            display: inline-flex;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.6;
            margin-bottom: 14px;
            font-size: 0.88rem;
        }

        .social-links {
            display: flex;
            gap: 10px;
        }

        .social-links a {
            width: 34px;
            height: 34px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--jaspe-white);
            text-decoration: none;
            transition: var(--transition-smooth);
            font-size: 0.85rem;
        }

        .social-links a:hover {
            background: var(--jaspe-red);
            transform: translateY(-3px);
        }

        .footer-links h4 {
            font-size: 0.95rem;
            margin-bottom: 12px;
            color: var(--jaspe-white);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 8px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: var(--transition-smooth);
            font-size: 0.88rem;
        }

        .footer-links a:hover {
            color: var(--jaspe-red);
            padding-left: 5px;
        }

        /* Legal column: items in one row */
        .footer-links.footer-legal ul {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 8px 16px;
        }

        .footer-links.footer-legal li {
            margin-bottom: 0;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 16px;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.82rem;
        }

        /* Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Mobile Responsive */
        @media (max-width: 968px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background: var(--jaspe-white);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 30px;
                transition: var(--transition-smooth);
            }

            .nav-links.active {
                right: 0;
            }

            .mobile-menu {
                display: flex;
            }

            .mobile-menu.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            .mobile-menu.active span:nth-child(2) {
                opacity: 0;
            }

            .mobile-menu.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }

            .about-grid,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .about-image-accent {
                display: none;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            /* Reduce logo size on medium screens */
            .logo-img {
                height: 72px;
            }
        }

        @media (max-width: 576px) {
            .stats {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .contact-form {
                padding: 30px;
            }

            /* Smaller logo on small screens */
            .logo-img {
                height: 48px;
            }

            /* Smaller loader on small screens */
            .loader-img {
                width: 110px;
                height: 110px;
            }
            .loader-logo {
                height: 88px;
            }
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--jaspe-white);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s, visibility 0.5s;
        }

        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-text {
            font-size: 3rem;
            font-weight: 900;
            color: var(--jaspe-red);
            animation: pulse 1.5s infinite;
        }

        /* Loader image (Jaz) - floating, no circle crop/ring */
        .loader-img {
            width: 160px;
            height: 160px;
            object-fit: contain;
            margin-bottom: 20px;
            filter: drop-shadow(0 16px 20px rgba(0,0,0,0.18));
            animation: loaderFloat 2.4s ease-in-out infinite;
        }

        @keyframes loaderFloat {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(-18px); }
        }

        /* Loader logo (replaces JASPE text) */
        .loader-logo {
            height: 144px;
            width: auto;
            object-fit: contain;
        }

        /* Logo image in header/footer */
        .logo-img {
            height: 110px; /* larger on desktop */
            width: auto;
            object-fit: contain;
            display: inline-block;
            vertical-align: middle;
        }

        .logo-text { 
            display: inline-block;
            vertical-align: middle;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.95); }
        }

        .footer-brand .logo {
            margin-bottom: 20px;
            display: inline-flex;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--jaspe-white);
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .social-links a:hover {
            background: var(--jaspe-red);
            transform: translateY(-3px);
        }

        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 20px;
            color: var(--jaspe-white);
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .footer-links a:hover {
            color: var(--jaspe-red);
            padding-left: 5px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.9rem;
        }

        /* Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s ease-out;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Mobile Responsive */
        @media (max-width: 968px) {
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 100%;
                height: 100vh;
                background: var(--jaspe-white);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 30px;
                transition: var(--transition-smooth);
            }

            .nav-links.active {
                right: 0;
            }

            .mobile-menu {
                display: flex;
            }

            .mobile-menu.active span:nth-child(1) {
                transform: rotate(45deg) translate(5px, 5px);
            }

            .mobile-menu.active span:nth-child(2) {
                opacity: 0;
            }

            .mobile-menu.active span:nth-child(3) {
                transform: rotate(-45deg) translate(7px, -6px);
            }

            .about-grid,
            .contact-content {
                grid-template-columns: 1fr;
            }

            .about-image-accent {
                display: none;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            /* Reduce logo size on medium screens */
            .logo-img {
                height: 72px;
            }
        }

        @media (max-width: 576px) {
            .stats {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-content {
                grid-template-columns: 1fr;
            }

            .contact-form {
                padding: 30px;
            }

            /* Smaller logo on small screens */
            .logo-img {
                height: 48px;
            }

            /* Smaller loader on small screens */
            .loader-img {
                width: 110px;
                height: 110px;
            }
            .loader-logo {
                height: 88px;
            }
        }

        /* Loading Animation */
        .loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--jaspe-white);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.5s, visibility 0.5s;
        }

        .loader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .loader-text {
            font-size: 3rem;
            font-weight: 900;
            color: var(--jaspe-red);
            animation: pulse 1.5s infinite;
        }

        /* Loader image (Jaz) - floating, no circle crop/ring */
        .loader-img {
            width: 160px;
            height: 160px;
            object-fit: contain;
            margin-bottom: 20px;
            filter: drop-shadow(0 16px 20px rgba(0,0,0,0.18));
            animation: loaderFloat 2.4s ease-in-out infinite;
        }

        @keyframes loaderFloat {
            0%, 100% { transform: translateY(0); }
            50%      { transform: translateY(-18px); }
        }

        /* Loader logo (replaces JASPE text) */
        .loader-logo {
            height: 144px;
            width: auto;
            object-fit: contain;
        }

        /* Logo image in header/footer */
        .logo-img {
            height: 110px; /* larger on desktop */
            width: auto;
            object-fit: contain;
            display: inline-block;
            vertical-align: middle;
        }

        .logo-text { 
            display: inline-block;
            vertical-align: middle;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(0.95); }
        }

        /* Scroll to top button */
        .scroll-top-btn {
            position: fixed;
            right: 20px;
            bottom: 96px;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--jaspe-red);
            color: white;
            border: none;
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 4px 16px rgba(196,30,58,0.35);
            z-index: 10001;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        }

        .scroll-top-btn.visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .scroll-top-btn:hover {
            background: #a01830;
            transform: translateY(-3px);
        }