/* --- FONTS --- */
@font-face {
  src: url('../ASSETS/Fonts/Cheque-Regular.otf');
  font-family: 'Cheque';
}
@font-face {
    src: url('../Assets/Fonts/BBHHegarty-Regular.ttf');
    font-family: 'BBHHegarty';
}
@font-face {
    src: url(../Assets/Fonts/AvenirLTProBlack.otf);
    font-family: 'AvenirLTProBlack';
}
@font-face {
    src: url(../Assets/Fonts/AvenirLTProLight.otf);
    font-family: 'AvenirLTProLight';
}
@font-face {
    src: url(/Assets/Fonts/AvenirLTProHeavy.otf);
    font-family: 'AvenirLTProHeavy';
}

/* --- RESET & GLOBAL --- */
:root {
    --primary-text:#fff;
    --primary-text-hover:#3ca6b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    background-color: #0a0a0a;
    overflow-x: hidden;
} 

/* --- PRELOADER --- */
.Preloader {
    background: #000 url('/Web Page/ASSETS/Loading/Infinity@1x-1.0s-200px-200px.gif') no-repeat center center;
    height: 100vh;
    width: 100%;
    position: fixed;
    z-index: 10000;
}

/* --- NAVBAR & HERO --- */
.hero {
    width: 100%;
    height: 10vh; /* Keeps navbar space */
    position: relative;
    padding: 0 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Navbar Style */

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 10px 1%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.342);
    backdrop-filter: blur(15px);
    z-index: 1000;
}

.navbar .logo {
    color: #fff;
    font-size: 34px;
    width: 120px;
    font-weight: 700;
    font-family: 'Cheque', serif;
    text-decoration: none;
}

.navbar .logo:hover {
    color: var(--primary-text-hover);
}

.navbar .logo-img {
    width: 100px;
    margin-left: 10px;
}

.navbar ul li {
    list-style: none;
    display: inline-block;
    margin: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: var(--primary-text);
    font-size: 24px;
    font-weight: 200;
    text-spacing-trim: space-all;
    padding: 6px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar ul li a:hover {
    color: var(--primary-text-hover);
}
/* --- GALLERY GRID --- */
.ab-con {
    padding: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.project-card {
    padding-bottom: 20px;
}

/* --- CARD HEADER (Title + Button) --- */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    border-left: 4px solid #00d2ff;
    padding-left: 10px;
}

.project-title {
    margin: 0;
    font-size: 1.2rem;
    color: #e0e0e0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.expand-btn {
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
    padding: 0 10px;
}

.expand-btn:hover {
    color: #00d2ff;
    transform: scale(1.2);
}

/* --- SLIDER STYLES --- */
.ba-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    
    /* CHANGE THIS LINE FROM 'col-resize' TO 'default' */
    cursor: default; 
}

.ba-slider video {
    width: 100%;
    display: block;
    height: auto;
    user-select: none; 
}

.resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
    border-right: 2px solid rgba(255,255,255,0.5);
    /* Essential for smooth dragging */
    transition: none !important; 
    will-change: width; 
}

.resize video {
    width: auto; /* Allow width to overflow */
    max-width: none; /* Override bootstrap or global limits */
    height: 100%;
    object-fit: cover;
}

.handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    z-index: 10;
    
    /* CHANGE THIS LINE FROM 'ew-resize' TO 'default' */
    cursor: default; 
    
    pointer-events: auto;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: none !important;
    will-change: left; 
}

.handle::after {
    content: '↔';
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

.img-after {
    filter: none;
    width: 100%;
}

/* --- SHOW MORE BUTTON --- */
.hidden-project {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    transition: opacity 0.5s ease;
}

.btn-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: -50px;
    padding-bottom: 0px;
    position: relative;
    z-index: 50;
}



#show-more-btn, #show-less-btn {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid #00d2ff;
    color: #fff;
    font-size: 16px;
    font-family: 'AvenirLTProBlack', sans-serif;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#show-more-btn:hover, #show-less-btn:hover {
    background-color: #00d2ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

#show-less-btn {
    margin-top: 20px;
}


/* --- POPUP MODAL STYLES --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10001; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.95); 
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: 5vh auto;
    width: 90%;
    max-width: 1400px; 
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal-slider-wrapper {
    width: 100%;
    max-height: 100%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
    transition: 0.3s;
}

.close-modal:hover {
    color: #00d2ff;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #000;
        flex-direction: column;
        justify-content: center;
        transition: 0.5s;
    }
    .nav-links.active {
        right: 0;
    }
    .navbar ul li {
        display: block;
        margin: 40px 0;
        text-align: center;
    }
}