/* Portfolio Slider Styles */

.slider-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Loading State */
.loading-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}

.loader {
    border: 4px solid rgba(57, 255, 20, 0.1);
    border-top: 4px solid var(--neon-green);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-state p {
    color: var(--neon-green);
    font-family: var(--font-head);
    font-size: 1.2rem;
}

/* Slider Images */
.slider .image {
    position: absolute;
    width: 70%;
    height: 70%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.4);
    transition: opacity 0.3s ease;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(57, 255, 20, 0.2);
}

.slider .image.current {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

/* Text Overlay - HIDDEN */
.slider .text {
    display: none;
    /* Text overlay disabled per user request */
}

.slider .text h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slider .text p {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-white);
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slider .text .category {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(57, 255, 20, 0.2);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    font-size: 0.9rem;
    margin-bottom: 10px;
    border-radius: 20px;
    font-family: var(--font-head);
}

/* Navigation Points */
.slider .navigation {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
}

.slider .point {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.slider .stat {
    width: 12px;
    height: 12px;
    background: rgba(57, 255, 20, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider .stat:hover {
    background: var(--neon-green);
    transform: scale(1.3);
}

.slider .point[data-current="0"] .stat[data-key="0"],
.slider .point[data-current="1"] .stat[data-key="1"],
.slider .point[data-current="2"] .stat[data-key="2"],
.slider .point[data-current="3"] .stat[data-key="3"],
.slider .point[data-current="4"] .stat[data-key="4"],
.slider .point[data-current="5"] .stat[data-key="5"],
.slider .point[data-current="6"] .stat[data-key="6"],
.slider .point[data-current="7"] .stat[data-key="7"],
.slider .point[data-current="8"] .stat[data-key="8"],
.slider .point[data-current="9"] .stat[data-key="9"] {
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.8);
    transform: scale(1.5);
}

/* Instructions Overlay */
.slider-instructions {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    gap: 30px;
    opacity: 0.6;
}

.slider-instructions div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.slider-instructions svg {
    stroke: var(--neon-green);
}

/* Responsive */
@media (max-width: 768px) {
    .slider {
        height: 70vh;
    }

    .slider .image {
        width: 90%;
        height: 60%;
    }

    .slider .text {
        bottom: 5%;
        left: 5%;
        width: 90%;
    }

    .slider .text h2 {
        font-size: 2rem;
    }

    .slider .text p {
        font-size: 1rem;
    }

    .slider .navigation {
        right: 3%;
    }

    .slider-instructions {
        display: none;
    }
}

/* Error State */
.error-state {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 100;
}

.error-state p {
    color: #ff4444;
    font-family: var(--font-head);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.error-state button {
    padding: 12px 30px;
    background: var(--neon-green);
    color: #000;
    border: none;
    font-family: var(--font-head);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.error-state button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.4);
}

/* Services Menu */
.services-menu {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 50px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu-title {
    display: none;
    /* Hidden but can be shown if needed */
}

.services-menu .filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.services-menu .filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--text-white);
    font-family: var(--font-head);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
    white-space: nowrap;
}

.services-menu .filter-btn:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-green);
    transform: translateY(-2px);
}

.services-menu .filter-btn.active {
    background: var(--neon-green);
    color: #000;
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

@media (max-width: 768px) {
    .services-menu {
        bottom: 20px;
        padding: 15px 20px;
        max-width: 90%;
    }

    .services-menu .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Services Menu Responsive */
@media (max-width: 768px) {
    .services-menu {
        padding: 15px 20px;
    }

    .services-menu ul {
        gap: 15px;
    }

    .services-menu li a {
        font-size: 0.85rem;
        padding: 8px 0;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--neon-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--neon-green);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px var(--neon-green);
}

.lightbox-close svg {
    color: var(--neon-green);
    transition: color 0.3s ease;
}

.lightbox-close:hover svg {
    color: #000;
}

/* Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--neon-green);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav:hover {
    background: var(--neon-green);
    box-shadow: 0 0 20px var(--neon-green);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
    color: var(--neon-green);
    transition: color 0.3s ease;
}

.lightbox-nav:hover svg {
    color: #000;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 2px solid var(--neon-green);
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.3);
}

.lightbox-info {
    text-align: center;
    max-width: 800px;
}

.lightbox-title {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-glow);
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.lightbox-title:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.lightbox-title-link {
    color: var(--neon-green);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.lightbox-title-link::after {
    content: ' 🔗';
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 8px;
}

.lightbox-title-link:hover {
    color: #2ecc11;
    text-shadow: 0 0 15px var(--neon-glow);
}

.lightbox-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.lightbox-info:hover .lightbox-description {
    max-height: 300px;
    opacity: 1;
    margin-top: 10px;
}

/* Lightbox Mobile */
@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .lightbox-close svg {
        width: 24px;
        height: 24px;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-nav svg {
        width: 32px;
        height: 32px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }

    #lightbox-image {
        max-height: 60vh;
    }

    .lightbox-title {
        font-size: 1.2rem;
        padding: 8px 15px;
    }

    .lightbox-description {
        font-size: 0.95rem;
        padding: 12px 15px;
    }

    .lightbox-info:hover .lightbox-description {
        max-height: 200px;
    }
}