/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #000;
    font-family: 'Inter', sans-serif;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* ANIMATION */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    height: 120px;
    background: #fff;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    z-index: 200;
}

.logo img {
    height: 132px;
    width: auto;
    object-fit: contain;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -25px;
    /* Pulling left heavily to compensate for blank transparent pixels inside the PNG file itself to align with the text box below */
}

.site-footer .logo {
    justify-content: flex-start;
    height: 100px;
    position: relative;
}

.site-footer .logo img {
    height: 132px;
    width: auto;
    left: -10px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 20px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.btn-talk {
    background: #000;
    color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 2px;
}

.close-menu,
.mobile-btn {
    display: none;
}

/* HERO SECTION */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 80px 10%;
    /* Back to 10% to align perfectly with Navbar */
    min-height: auto;
    width: 100%;
}

.hero-text {
    width: 45%;
    /* Tightened back down now that the text is smaller */
    margin-left: -25px;
    /* Shifting explicitly to the left to match the logo visual padding */
    z-index: 10;
}

.badge {
    display: inline-block;
    background: #ffe600;
    color: #000;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
}

h1 {
    font-family: 'Teko', sans-serif;
    font-size: clamp(30px, 4vw, 55px);
    /* Much smaller text to match 80% scale */
    line-height: 0.95;
    font-weight: 700;
    margin-bottom: 40px;
    color: #000;
    text-transform: uppercase;
}

.highlight-bg {
    background: linear-gradient(180deg, transparent 65%, #ffe600 65%);
}

.hero-subtext {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 22px 55px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-black:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: white;
    color: #000;
    border: 2px solid #000;
    padding: 22px 55px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.hero-visual {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding-top: 20px;
}

.hero-visual .main-hero-box {
    width: 100%;
    height: 600px;
    /* Reduced from 750px to match zoomed-out look */
    border: none;
    position: relative;
    background: transparent;
}

.glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(255, 230, 0, 0.3);
    filter: blur(100px);
    z-index: 0;
}

model-viewer {
    outline: none;
}

/* MILESTONES */
.milestone-section {
    padding: 60px 10%;
    background: #fff;
}

.milestone-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 60px;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-number {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #888;
}

/* CLIENTS */
.clients-wave-top,
.clients-wave-bottom {
    line-height: 0;
    width: 100%;
    background: #fff;
}

.clients-wave-top svg,
.clients-wave-bottom svg {
    display: block;
    width: 100%;
    height: 50px;
}

.clients-section {
    padding: 30px 0;
    background-color: #ffe600;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
}

.clients-title {
    font-family: 'Teko', sans-serif;
    font-size: 40px;
    margin-bottom: 20px;
}

.clients-wrapper {
    display: inline-block;
    animation: slide 25s infinite linear;
}

.logo-slide {
    display: inline-block;
}

.logo-slide img {
    height: 45px;
    margin: 0 60px;
    filter: brightness(0);
    opacity: 0.8;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* DARK SHOWCASE */
.dark-showcase {
    background: #0e0e0e;
    color: white;
    padding: 80px 10%;
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.showcase-visual {
    width: 50%;
    height: 500px;
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
}

.showcase-text {
    width: 45%;
}

.showcase-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.yellow-text {
    color: #ffe600;
}

.showcase-text p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 30px;
}

.feature-list {
    display: flex;
    gap: 20px;
}

.feature-list span {
    border: 1px solid #333;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    color: #ffe600;
}

/* DETAIL SHOWCASE */
.detail-section {
    padding: 80px 10%;
    background: #f9f9f9;
}

.detail-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.detail-text {
    width: 30%;
}

.detail-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.stroke-text {
    -webkit-text-stroke: 2px #000;
    color: transparent;
}

.detail-visual {
    width: 65%;
    height: 500px;
}

.detail-visual img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.detail-visual img:hover {
    transform: scale(1.04);
}

/* SCAN DEEP DIVE SECTION (DARK MODE) */
.scan-deep-dive {
    background-color: #050505;
    color: #fff;
    padding: 100px 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-wrapper {
    display: flex;
    width: 100%;
    gap: 60px;
    align-items: center;
    flex-wrap: wrap;
}

.scan-viewer-container {
    flex: 1.5;
    height: 700px;
    background: #111;
    border-radius: 20px;
    position: relative;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.scan-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 230, 0, 0.9);
    color: #000;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 11px;
    z-index: 5;
    letter-spacing: 1px;
}

.scan-toggles {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    border-radius: 50px;
    z-index: 10;
    border: 1px solid #444;
    backdrop-filter: blur(5px);
}

.toggle-scan-btn {
    background: transparent;
    border: none;
    color: #bbb;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.toggle-scan-btn:hover {
    color: #fff;
}

.toggle-scan-btn.active {
    background: #ffe600;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 230, 0, 0.4);
}

.scan-details {
    flex: 1;
}

.detail-header h4 {
    color: #666;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    line-height: 0.9;
    margin-bottom: 20px;
}

.highlight-yellow {
    color: #ffe600;
}

.detail-header p {
    color: #aaa;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.comparison-grid {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.comp-box {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    width: 45%;
    transition: 0.3s;
}

.comp-box h5 {
    margin-bottom: 15px;
    font-size: 26px;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    color: #fff;
}

.comp-box ul {
    list-style: none;
    padding: 0;
}

.footer-links p {
    color: #666;
    font-size: 14px;
    margin: 0;
    margin-left: 100px;
}

.comp-box li {
    color: #999;
    font-size: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot.red {
    background: #ff4444;
    box-shadow: 0 0 5px #ff4444;
}

.dot.green {
    background: #00ff88;
    box-shadow: 0 0 5px #00ff88;
}

.comp-box.highlight {
    border: 1px solid #ffe600;
    background: rgba(255, 230, 0, 0.05);
}

.comp-arrow {
    font-size: 30px;
    color: #333;
}

.software-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666;
    font-size: 14px;
    flex-wrap: wrap;
}

.soft-tag {
    border: 1px solid #333;
    padding: 6px 14px;
    border-radius: 30px;
    color: #fff;
    font-size: 12px;
    background: #151515;
}

/* PREMIUM REELS SECTION */
.reels-section {
    padding: 80px 10%;
    margin-top: 80px;
    /* Physical gap to reveal white page background between sections */
    background: #000;
    /* Black background to separate it from the grey section above */
    position: relative;
    overflow: hidden;
}

.reels-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    perspective: 1000px;
}

.reel-box {
    width: 30%;
    /* Expanded width to fill container */
    height: 650px;
    /* Slightly taller for more impact */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    background: transparent;
    /* Removed black background */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.reel-box .bg-video {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    object-fit: cover;
    filter: blur(40px) brightness(0.6);
    /* Ultra heavy blur to eliminate edges */
    z-index: 0;
}

.reel-box .main-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevents cropping of the shoe/bag */
    z-index: 1;
    transition: transform 0.6s ease;
}

/* Stagger the middle reel */
.reel-center {
    transform: translateY(-40px);
}

/* Hover Effects */
.reel-box:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(255, 230, 0, 0.15);
    border-color: rgba(255, 230, 0, 0.5);
    z-index: 10;
}

.reel-center:hover {
    transform: translateY(-55px) scale(1.02);
}

.reel-box:hover .main-video {
    transform: scale(1.05);
    /* Slight zoom on main video */
}

/* INSPECTOR SECTION */
.inspector-section {
    padding: 80px 10%;
    background: #fff;
}

.inspector-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.inspector-text {
    width: 35%;
}

.inspector-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 30px;
}

.toggle-controls {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    background: #f4f4f4;
    padding: 5px;
    border-radius: 50px;
    width: fit-content;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 12px 25px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: 0.3s;
}

.toggle-btn.active {
    background: #000;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #f4f4f4;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #e9e9e9;
    color: #000;
}

.filter-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.inspector-visual {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.inspector-visual .model-box {
    height: 720px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 5px 10px rgba(0, 0, 0, 0.03);
}

.inspector-controls-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background: #ffffff;
    padding: 15px 40px;
    border-radius: 60px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: fit-content;
    margin: 40px auto 0 auto;
    border: 1px solid #eee;
}

.nav-card {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background: transparent;
    padding: 8px 15px;
    border-radius: 40px;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.nav-card:hover {
    background: #f9f9f9;
    border-color: #eee;
    transform: translateY(-3px);
}

.nav-card img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.model-info-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#model-name {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    color: #000;
}

.scroll-hint {
    font-size: 11px;
    color: #000;
    background: #ffe600;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* SERVICES SECTION */
.services-section {
    background-color: #111111;
    color: #fff;
    padding: 60px 10% 20px 10%;
    position: relative;
}

.services-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.services-text {
    width: 50%;
}

.badge-dark {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffe600;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 230, 0, 0.3);
}

.services-text h2 {
    font-family: 'Teko', sans-serif;
    font-size: 80px;
    line-height: 0.9;
    margin-bottom: 30px;
    color: #fff;
}

.service-subtext {
    font-size: 18px;
    color: #aaa;
    line-height: 1.6;
    margin-bottom: 40px;
}

.service-list {
    list-style: none;
    margin-bottom: 50px;
}

.service-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid #ffe600;
}

.check-icon {
    font-size: 24px;
    color: #ffe600;
    font-weight: bold;
    margin-top: -5px;
}

.service-item h4 {
    font-size: 28px;
    font-family: 'Teko', sans-serif;
    margin-bottom: 5px;
    color: #fff;
}

.service-item p {
    font-size: 18px;
    color: #888;
    line-height: 1.4;
}

.btn-yellow {
    background: #ffe600;
    color: #000;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: 0.3s;
    display: inline-block;
}

.btn-yellow:hover {
    background: #fff;
    transform: translateY(-5px);
}

.services-visual {
    width: 45%;
    position: relative;
}

.service-img-card {
    width: 100%;
    height: 750px;
    /* Aligned closer with text height */
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.floating-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 4px solid #ffe600;
    color: #fff;
    font-size: 18px;
}

.floating-badge span {
    display: block;
    font-size: 36px;
    font-family: 'Teko', sans-serif;
    font-weight: 700;
    color: #ffe600;
    line-height: 1;
}

/* PORTFOLIO GRID */
.works-section {
    padding: 20px 10% 100px 10%;
}

.section-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    border-bottom: 3px solid #000;
    padding-bottom: 10px;
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.work-card {
    cursor: pointer;
    transition: 0.3s;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    height: 380px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.work-card:hover .card-img img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-overlay {
    opacity: 1;
    transform: translateY(0);
}

.work-overlay h3 {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    margin-bottom: 5px;
    line-height: 1;
}

.software-tag {
    color: #ffe600;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ASSET LIBRARY */
.asset-section {
    padding: 100px 10%;
    background-color: #f4f4f4;
    text-align: center;
}

.asset-section h2 {
    font-family: 'Teko', sans-serif;
    font-size: 70px;
    display: inline-block;
    margin-bottom: 10px;
}

.asset-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid #000;
    background: transparent;
    color: #000;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover,
.tab-btn.active {
    background: #ffe600;
    border-color: #ffe600;
    color: #000;
}

.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.asset-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
}

.asset-item:hover {
    transform: translateY(-5px);
}

.asset-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.asset-item:hover img {
    transform: scale(1.1);
}

.asset-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    text-align: left;
    opacity: 0;
    transition: 0.3s;
}

.asset-item:hover .asset-overlay {
    opacity: 1;
}

.asset-overlay h4 {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.view-3d-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffe600;
    color: #000;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: 0.3s;
    transform: scale(0.8);
}

.asset-item:hover .view-3d-btn {
    opacity: 1;
    transform: scale(1);
}

/* FOOTER & LIGHTBOX */
footer {
    text-align: center;
    padding: 100px 20px;
    background: #f9f9f9;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

.controls {
    position: absolute;
    top: 50%;
    width: 95%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.prev-btn,
.next-btn {
    background: none;
    border: none;
    color: white;
    font-size: 60px;
    cursor: pointer;
    pointer-events: auto;
}

/* MODAL */
.model-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

.modal-viewer-container {
    flex: 1;
    position: relative;
    background: #f0f0f0;
}

.modal-info {
    padding: 20px 30px;
    background: #fff;
    border-top: 1px solid #eee;
}

.modal-info h3 {
    font-family: 'Teko', sans-serif;
    font-size: 30px;
    margin: 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #000;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* MOBILE */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 5%;
        justify-content: space-between;
        height: 80px;
    }

    .logo img {
        height: 60px;
        left: -10px;
    }

    .hamburger {
        display: flex;
        z-index: 200;
        transition: 0.2s ease;
    }

    .hamburger.hide {
        opacity: 0;
        pointer-events: none;
    }

    .desktop-btn {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 250;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 30px;
        font-family: 'Teko', sans-serif;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 25px;
        right: 5%;
        font-size: 50px;
        cursor: pointer;
        color: #000;
        z-index: 260;
    }

    .mobile-btn {
        display: inline-block;
        margin-top: 20px;
    }

    .hero-section {
        flex-direction: column-reverse;
        gap: 15px;
        padding: 30px 5%;
        /* Reduced from huge 120px to fit screen nicely */
        text-align: center;
    }

    .hero-visual .main-hero-box {
        width: 100%;
        /* Stretch to screen width sideways */
        max-width: 400px;
        aspect-ratio: 1 / 1;
        /* Automatically snap height to perfectly match width (Equal square) */
        height: auto;
        /* Override the desktop height */
        margin: 0 auto;
        /* Center the box */
    }

    .milestone-section,
    .dark-showcase,
    .detail-container,
    .inspector-container,
    .services-container,
    .asset-section,
    .works-section {
        flex-direction: column-reverse;
        gap: 40px;
        text-align: center;
        padding: 60px 5%;
    }

    .showcase-container {
        flex-direction: column;
    }

    .hero-text,
    .hero-visual,
    .showcase-visual,
    .showcase-text,
    .detail-text,
    .detail-visual,
    .inspector-text,
    .inspector-visual,
    .services-text,
    .services-visual {
        width: 100%;
    }

    h1,
    .services-text h2,
    .asset-section h2 {
        font-size: 60px;
    }

    .hero-buttons,
    .toggle-controls {
        justify-content: center;
    }

    .clients-wave-top svg,
    .clients-wave-bottom svg {
        height: 30px;
    }

    .inspector-controls-bottom {
        gap: 15px;
        padding: 10px 20px;
        width: 90%;
    }

    .nav-card {
        gap: 5px;
        padding: 5px;
    }

    .nav-card img {
        width: 35px;
        height: 35px;
    }

    #model-name {
        font-size: 24px;
    }

    .service-img-card {
        height: 400px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        /* Stack the 3 Showreels vertically so they aren't squeezed */
        gap: 30px;
    }

    .card-img {
        height: 300px;
        /* Leave height alone for the Showreel cards, but stack them */
    }

    .asset-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .asset-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        /* Pack smaller cards nicely on phone */
        gap: 15px;
    }

    .asset-item {
        height: auto;
        aspect-ratio: 4 / 5;
        /* Create a slightly tall nice crop */
    }

    .asset-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* This forces the shoe image to instantly fill all white space */
    }

    .scan-wrapper {
        flex-direction: column;
    }

    .scan-viewer-container {
        width: 100%;
        height: 400px;
    }

    .scan-details {
        width: 100%;
        text-align: center;
    }

    .comparison-grid {
        justify-content: center;
    }

    .software-icons {
        justify-content: center;
    }

    /* INTERACTIVE VIEWER (MODEL MODAL) */
    .modal-content {
        height: auto !important;
        /* Force remove the hardcoded 80vh height so it fits the content perfectly */
        max-height: 90vh;
    }

    .modal-viewer-container {
        flex: none;
        /* Stop it from growing to fill 80vh */
        width: 100%;
        max-width: 400px;
        /* Optional tight fit */
        aspect-ratio: 4 / 3;
        /* Reduced from 1:1 to a shorter landscape rectangle to crop out empty 3D space above/below models */
        margin: 0 auto;
    }
}

/* =========================================
   FOOTER SECTION
   ========================================= */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    padding: 60px 40px;
    font-size: 15px;
    color: #444;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    width: 280px;
    /* Reserve empty physical flex width for the overflowing absolute logo */
}

.site-footer .logo {
    font-size: 64px;
    color: #000;
    font-weight: 800;
}

.footer-links p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #000;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: 0.2s ease;
}

.social-link i {
    font-size: 24px;
}

.social-link:hover {
    color: #000;
    transform: translateY(-2px);
}

.footer-action .btn-schedule {
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.footer-action .btn-schedule:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}