/* ========================================================================
   Arya Projects Showcase Styling
   ======================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

.arya-proj-section {
    position: relative;
    background-color: #03142e; /* Deep Navy Blue from reference */
    padding: 100px 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Hide overflow from background text */
    color: #ffffff;
}

/* Background "PROJECTS" Text */
.arya-proj-bg-text {
    position: absolute;
    top: 50px;
    left: 20px;
    font-size: clamp(100px, 20vw, 250px);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05); /* Faint white outline */
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    z-index: 0;
}

.arya-proj-container {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0px 0px 12%;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

/* Left Column Layout */
.arya-proj-left {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.arya-proj-main-title {
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 40px 0;
    letter-spacing: 1px;
}

/* Tabs */
.arya-proj-tabs {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.arya-proj-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 0;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-block;
    width: fit-content;
}

.arya-proj-tab-btn:hover {
    color: #ffffff;
}

.arya-proj-tab-btn.active {
    color: var(--headerNRJ-orange); /* Orange active state */
    border-bottom: 2px solid #ff5a00;
    padding-bottom: 5px;
}

/* Navigation Buttons */
.arya-proj-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 160px;
}

.arya-proj-nav-btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arya-proj-next {
    background-color: var(--headerNRJ-orange);
    color: #ffffff;
}

.arya-proj-next:hover {
    background-color:var(--headerNRJ-orange);
}

.arya-proj-prev {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.arya-proj-prev:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Right Column (Slider) */
.arya-proj-right {
    flex: 1;
    min-width: 0; /* Important for Swiper inside Flexbox */
}

.arya-proj-slider-wrapper {
    display: none; /* Hidden by default for tabs */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.arya-proj-slider-wrapper.active {
    display: block;
    opacity: 1;
}

/* Project Cards */
.arya-proj-card {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.arya-proj-img-wrap {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.arya-proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.arya-proj-card:hover .arya-proj-img-wrap img {
    transform: scale(1.08); /* Smooth zoom effect */
}

.arya-proj-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.arya-proj-category {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: none;
}

.arya-proj-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.arya-proj-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 25px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arya-proj-readmore {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.arya-proj-readmore:hover {
    color: #ff5a00;
}


/* ========================================================================
   Popup Modal Styling
   ======================================================================== */

.arya-proj-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.arya-proj-modal.active {
    opacity: 1;
    visibility: visible;
}

.arya-proj-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 5, 20, 0.85);
    backdrop-filter: blur(5px);
}

.arya-proj-modal-content-box {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.arya-proj-modal.active .arya-proj-modal-content-box {
    transform: translateY(0);
}

.arya-proj-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 30px;
    color: #333333;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.arya-proj-modal-close:hover {
    color: #ff5a00;
}

.arya-proj-modal-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.arya-proj-modal-left {
    flex: 1 1 50%;
}

.arya-proj-modal-left img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.arya-proj-modal-right {
    flex: 1 1 50%;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.arya-proj-modal-right h2 {
    color: #03142e;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.arya-proj-modal-details {
    color: #555555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.arya-proj-modal-details p {
    margin-bottom: 15px;
}

.arya-proj-btn-contact {
    display: inline-block;
    background-color: #ff5a00;
    color: #ffffff;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    text-align: center;
    width: fit-content;
}

.arya-proj-btn-contact:hover {
    background-color: #e04e00;
    color: #ffffff;
}

/* ========================================================================
   Responsive Styling
   ======================================================================== */
@media (max-width: 991px) {
    .arya-proj-left {
        flex: 1 1 100%;
        align-items: center;
        text-align: center;
    }
    
    .arya-proj-tabs {
        flex-direction: row;
        justify-content: center;
    }

    .arya-proj-nav {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .arya-proj-modal-grid {
        flex-direction: column;
    }

    .arya-proj-modal-left {
        height: 300px;
    }
    
    .arya-proj-modal-right {
        padding: 30px;
    }
}
