/* ============================================
   SCOPED 3D MODEL CONTAINER STYLES
   All styles below are scoped to .scoped-3d-model-container
   ============================================ */

   .scoped-3d-model-container {
    position: relative;
z-index:0;

    font-family: 'Freudian One' !important;
    overflow-x: hidden;
    overflow-y: visible;
    width: 100%;
    max-width: 100vw;
}

.scoped-3d-model-container .section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


.scoped-3d-model-container .hugeTitle {
    font-family: 'Freudian One' !important;
    font-size: 130px;
    line-height: 120px;
    text-transform: uppercase;
    font-weight: 400;
    color: white !important;
}
.scoped-3d-model-container .section h2,
.scoped-3d-model-container .section h3,
.scoped-3d-model-container .section h4 {
    font-family: 'Freudian One' !important;
    color: white;
}

.scoped-3d-model-container .section--one h2 {
    color: white !important;
}

.scoped-3d-model-container .section p {
    opacity: .9;
    max-width: 800px;
    margin-top: 14px;
    font-family: 'Freudian One' !important;
}

/* Model Section - Fixed position, no scroll movement */
.scoped-3d-model-container .model-section {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: 40vw;
    height: 80vh;
    max-width: 500px;
    max-height: 500px;
    pointer-events: none !important;
    /* Model stays fixed - no scroll movement */
    /* Prevent any scroll-based transforms */
    will-change: transform;
}

/* Ensure model section stays fixed on scroll - override any GSAP transforms */
.scoped-3d-model-container .model-section[style*="transform"] {
    transform: translate(-50%, -50%) !important;
}

.scoped-3d-model-container model-viewer {
    width: 100% !important;
    height: 100% !important;
    max-width: 500px;
    max-height: 500px;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    border-radius: 12px !important;
    backdrop-filter: none !important;
    transform-style: preserve-3d;
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
padding-top:50px;
}

.scoped-3d-model-container model-viewer::part(default-progress-bar),
.scoped-3d-model-container model-viewer::part(default-poster),
.scoped-3d-model-container model-viewer::part(ar-button) {
    display: none !important;
}

/* Model Name Display */
.scoped-3d-model-container .model-name-display {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Freudian One' !important;
    font-size: 24px;
    font-weight: 400;
    color: white;
    text-align: center;
    white-space: nowrap;
    z-index: 11;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scoped-3d-model-container .model-name-display.visible {
    opacity: 1;
}

/* Section 1 Styles */
.scoped-3d-model-container .section--one {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
padding-top:100px;
}



/* Inline styles moved from template */
.scoped-3d-model-container .hero-grid > div:last-child {
    z-index: 10000;
    display: flex;
    flex-direction: column;
}

.scoped-3d-model-container #modelName {
    font-family: 'Freudian One' !important;
    font-weight: 400;
    font-size: 130px;
    line-height: 80px;
}

.scoped-3d-model-container .hero-grid > div:last-child h2 {
    font-family: 'Freudian One' !important;
    font-weight: 400;
    font-size: 22px;
    line-height: 28px;
}

/* Circular Text Animation */
.scoped-3d-model-container .circular-text-container {
    position: absolute;
    bottom: 100px;
    left: 80px;
    width: 200px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
}

.scoped-3d-model-container .circular-text {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: scopedRotate 15s linear infinite;
}

@keyframes scopedRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.scoped-3d-model-container .circular-text text {
    fill: #ffffff;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 1em;
    text-transform: uppercase;
    font-family: 'Freudian One' !important;
    word-spacing: 0.4em;
}

.scoped-3d-model-container .circular-text textPath {
    letter-spacing: 0.2em;
    word-spacing: 0.4em;
}

.scoped-3d-model-container .center-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 32px;
    font-weight: 400;
    font-family: 'Freudian One' !important;
}

.scoped-3d-model-container .see-more-btn {
    padding: 16px 32px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: black;
    transition: all 0.3s ease;
 margin:0;
    align-self: center;
    font-family: 'Freudian One' !important;
}

.scoped-3d-model-container .see-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ripple Background Layer */
.scoped-3d-model-container .ripple-back-layer {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

.scoped-3d-model-container .bg-reveal,
.scoped-3d-model-container .ripple-ring {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.scoped-3d-model-container .bg-reveal {
    z-index: 0;
    clip-path: circle(0% at 50% 50%);
    transition: none;
}

.scoped-3d-model-container .ripple-ring {
    z-index: 1;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    width: 0px;
    height: 0px;
    transform: translate(-50%, -50%);
}

.scoped-3d-model-container .hero-grid {
    display: grid;
    gap: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Social Icons - Hidden by default (Desktop/Tablet) */
.scoped-3d-model-container .social-icons-mobile {
    display: none;
}



/* Tablet Responsive */
@media (max-width: 1024px) {
    .scoped-3d-model-container .social-icons-mobile {
        display: none;
    }
    .scoped-3d-model-container .circular-text-container {
        width: 140px;
        height: 140px;
        bottom: 40px;
        left: 40px;
    }

    .scoped-3d-model-container .circular-text text {
        font-size: 16px;
        letter-spacing: 0.25em;
        word-spacing: 0.4em;
    }

    .scoped-3d-model-container .circular-text textPath {
        letter-spacing: 0.25em;
        word-spacing: 0.4em;
    }

    .scoped-3d-model-container .model-section {
        width: 35vw;
        height: 70vh;
        max-width: 450px;
        max-height: 450px;
    }

    .scoped-3d-model-container model-viewer {
        max-width: 450px;
        max-height: 450px;
    }

    .scoped-3d-model-container .section--one .hugeTitle {
        font-size: clamp(50px, 8vw, 100px) !important;
    }

    .scoped-3d-model-container .section {
        padding: 60px 20px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}


@media (max-width: 786px) {
.scoped-3d-model-container {
            overflow-y: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.scoped-3d-model-container .section--one {
   
            min-height: 50vh;
        padding-top: 120px;
margin-bottom:-40px;
    
}
.scoped-3d-model-container .hero-grid {
   
    gap: 120px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}
.scoped-3d-model-container .section--one .hugeTitle {
        font-family: 'Freudian One' !important;
        font-size: 34px !important;
        line-height: 35px;
        text-transform: uppercase;
        font-weight: 600;
        color: white !important;
letter-spacing: 3px;
    }

.scoped-3d-model-container #modelName {
    font-family: 'Freudian One' !important;
    font-weight: 600;
    font-size: 34px;
    line-height: 20px;
letter-spacing: 3px;
}
.scoped-3d-model-container .hero-grid > div:last-child h2 {
    font-family: 'Freudian One' !important;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
letter-spacing: 3px;
}
.scoped-3d-model-container .see-more-btn {
    padding: 6px 12px;
    
    font-size: 16px;
}


    


.scoped-3d-model-container .circular-text-container {
    position: absolute;
    top:50%;
    left: -10px;
    width: 120px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 10;
    max-width: calc(100vw - 20px);
}

.scoped-3d-model-container .circular-text {
    width: 100%;
    height: 100%;
}

.scoped-3d-model-container .circular-text text {
    fill: #ffffff;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em;
    word-spacing: 0.3em;
    text-transform: uppercase;
    font-family: 'Freudian One' !important;
}

.scoped-3d-model-container .circular-text textPath {
    letter-spacing: 0.2em;
    word-spacing: 0.3em;
}

.scoped-3d-model-container .center-arrow {
    font-size: 20px;
}

/* Social Icons - Mobile Only */
.scoped-3d-model-container .social-icons-mobile {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 10px;
    top: 35%;
    transform: translateY(-50%);
    z-index: 1000;
    gap: 20px;
}

.scoped-3d-model-container .social-icons-mobile .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.scoped-3d-model-container .social-icons-mobile .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.scoped-3d-model-container .social-icons-mobile .social-icon svg {
    width: 20px;
    height: 20px;
}

}
