/* 
    All code & work of this website is property of;
    Author: Mazin Omron
    Website: mazinomron.com
    Copyright © 2025 Mazin Omron All rights reserved.
*/



/* Scrollbar Track */

.project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Urbanist, sans-serif
}

.top-border-line {
    width: 100%;
    height: 1px;
    background-color: #000;
    margin-bottom: 20px
}

.project-header {
    margin-bottom: 40px
}

.project-metadata {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px
}

.metadata-item {
    padding: 0 15px
}

.metadata-item:not(:last-child) {
    border-right: 1px solid #eaeaea
}

.metadata-item h3 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333
}

.metadata-item p {
    color: #7e998a;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px
}

.metadata-icon {
    color: #7e998a;
    font-size: 18px;
    margin-bottom: 5px;
    text-align: right
}

.project-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
    font-family: 'Source Serif Pro', serif
}

.project-subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #7e998a;
    font-family: 'Source Serif Pro', serif
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #666;
    max-width: 900px
}

.numeral-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
    bottom: -5px
}

.numeral-line {
    position: absolute;
    top: 50%;
    width: 25px;
    height: 1px;
    background-color: #000;
    display: inline-block
}

.numeral {
    position: relative;
    display: inline-block;
    font-family: Urbanist, sans-serif;
    font-size: 14px;
    background-color: #7e998a;
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    margin-left: 20px;
    border-radius: 2px
}

.project-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px
}

.project-text {
    flex: 2
}

.project-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
    font-size: 16px
}

.project-text blockquote {
    border-left: 4px solid #7e998a;
    padding: 15px 20px;
    margin: 30px 0;
    background-color: #f8f8f8;
    font-style: italic;
    color: #666;
    font-size: 17px
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #333;
    font-family: Urbanist, sans-serif;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px
}

.section-title i {
    color: #7e998a;
    margin-right: 8px
}

.project-quote {
    font-family: 'Source Serif Pro', serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: #7e998a;
    border-left: 3px solid #7e998a;
    padding: 0 0 0 20px;
    margin: 30px 0
}

.project-details {
    flex: 1;
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 4px;
    align-self: flex-start;
    position: sticky;
    top: 100px
}

.project-details h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
    font-family: 'Source Serif Pro', serif;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px
}

.detail-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea
}

.detail-item:last-child {
    border-bottom: none
}

.detail-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px
}

.detail-value {
    font-size: 24px;
    font-weight: 700;
    color: #7e998a;
    margin-bottom: 5px;
    font-family: 'Source Serif Pro', serif
}

.detail-note {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px
}

.additional-info {
    margin-top: 30px;
    border-top: 1px solid #eaeaea;
    padding-top: 20px
}

.additional-info h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #555
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.services-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eaeaea;
    color: #7e998a;
    font-weight: 500;
    display: flex;
    align-items: center
}

.services-list li:last-child {
    border-bottom: none
}

.services-list li:before {
    content: "•";
    margin-right: 10px;
    color: #7e998a
}

.project-slider-container {
    margin-bottom: 60px;
    position: relative
}

.project-slider-title {
    text-align: center;
    font-size: 24px;
    color: #333;
    font-weight: 600
}

.project-slider-note {
    text-align: center;
    margin-bottom: 20px;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px
}

.project-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    background-color: transparent;
    border-radius: 4px;
    overflow: hidden;
}

.project-slider:active {
    cursor: grabbing;
}

.project-slider-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.project-slider-wrapper:active {
    cursor: grabbing;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.project-slide.current {
    opacity: 1;
    pointer-events: auto;
}

.project-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Smooth transitions when not dragging */
.project-slide:not(.dragging) {
    transition: opacity 0.5s ease, transform 0.3s ease;
}

/* Visual feedback for drag */
.project-slider.dragging .project-slide.current {
    transition: none;
}

/* Mobile optimizations */
@media (max-width: 767px) {
    .project-slider-wrapper {
        height: 400px;
    }
    
    .project-slider {
        touch-action: pan-y pinch-zoom;
    }
}

/* Loading state */
.project-slide img[src=""] {
    opacity: 0;
}

/* Drag indicators */
.project-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 40px;
    background: linear-gradient(to right, rgba(255,255,255,0.3), transparent);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.project-slider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 40px;
    background: linear-gradient(to left, rgba(255,255,255,0.3), transparent);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

.project-slider:hover::before,
.project-slider:hover::after {
    opacity: 1;
}

/* Button styling improvements */
.project-slider-controls {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.project-slider-btn {
    background-color: #2b2e2d;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 80px;
    height: 60px;
    border-radius: 5px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.project-slider-btn:hover {
    background-color: #3a3d3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.project-slider-btn:active {
    transform: translateY(0);
}

/* Accessibility improvements */
.project-slider:focus-within {
    outline: 2px solid #7e998a;
    outline-offset: 2px;
}

/* Performance optimizations */
.project-slide {
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Prevent text selection during drag */
.project-slider.dragging,
.project-slider.dragging * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

@media (max-width:991px) {
    .project-content {
        flex-direction: column
    }
    .project-details {
        position: static;
        width: 100%
    }
    .project-slider-wrapper {
        height: 400px
    }
    .project-slider-btn {
        width: 80px;
        height: 50px
    }
    .project-title {
        font-size: 36px
    }
    .project-subtitle {
        font-size: 20px
    }
    .section-title {
        font-size: 18px
    }
    .project-quote {
        font-size: 18px
    }
}

@media (max-width:767px) {
    .project-metadata {
        grid-template-columns: 1fr;
        gap: 20px
    }
    .metadata-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding-bottom: 20px
    }
    .metadata-icon {
        text-align: left
    }
    .project-slider-wrapper {
        height: 300px
    }
    .project-slider-btn {
        width: 60px;
        height: 40px;
        font-size: 22px
    }
    .project-title {
        font-size: 28px
    }
    .project-subtitle {
        font-size: 18px
    }
    .project-description {
        font-size: 16px
    }
    .section-title {
        font-size: 16px
    }
    .project-quote {
        font-size: 16px;
        padding-left: 15px
    }
    .numeral-container {
        margin-right: 15px
    }
    .numeral {
        font-size: 12px;
        width: 20px;
        height: 20px;
        line-height: 20px
    }
}


