/* ===================== GLOBAL RESET ===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a;
    color: #b1e5f6;
    line-height: 1.8;
    padding-left: 0px;
    padding-right: 0px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}
.row{
    display: flex;
    
}
/*** Navigation CSS ***/
nav{
    background-color: var(--primary);
    justify-content: space-between;
    align-items:center;
    color:#fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
/* add vertical padding so logo and name aren't flush to the top */
nav{
    padding: 12px 0;
}
nav .menu{
    display:none;
}
nav ul{
    list-style: none;
    gap:50px;
}
nav ul li{
    font-size: 20px;
    transition:0.3s;
    cursor:pointer;
}
nav ul li a {
    text-decoration: none;   /* removes underline */
    color: #088c95;          /* same teal as home */
    transition: 0.3s ease;
}

nav ul li:hover{
    opacity:0.5;
}
nav .logo{
    cursor:pointer;
    width: 100px;
}
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(26, 26, 26, 0.4); /* more transparent */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* logo wrapper and site name beside logo */
.logo-wrap{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-name {
    margin-top: 25px;
    color: var(--accent2);
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    cursor: default;
}


.site-letter {
    display: inline-block;
    transform-origin: center;
}

.site-letter.space {
    width: 0.35rem;
    display: inline-block;
}


.row ul {
    color: #088c95;
    font-size: 25px;
    font-weight: 500;
}

.row{
    display: flex;
    
}
.container {
    padding-left: 20px;
    padding-right: 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

p {
    font-size: 18px;
    line-height: 1.8;
    word-spacing: 2px;
    margin-bottom: 20px;
}

/* ===================== HERO SECTION ===================== */
.project-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 0;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 52px;
    color: #088c95;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 20px;
}

.tools-used {
    font-size: 20px;
    color: #cccccc;
}

.hero-bg {
    flex: 1;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ===================== CASE STUDY SECTIONS ===================== */
.case-section {
    margin-bottom: 80px;
}

.case-section h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #088c95;
    padding-left: 25px;
    position: relative;
    letter-spacing: 1px;
}

.case-section h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 80%;
    background: #088c95;
    border-radius: 2px;
}

.case-section h5 {
    font-size: 20px;
    font-weight: 600;
    color: #088c95;
    margin-top: 40px;
    margin-bottom: 12px;
    padding-left: 14px;
    position: relative;
    letter-spacing: 0.5px;
}

/* subtle accent line */
.case-section h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 70%;
    background: #088c95;
    border-radius: 2px;
}

/* optional subtle underline glow */
.case-section h5::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 14px;
    width: 40px;
    height: 2px;
    background: #088c95;
    opacity: 0.6;
}

/* Paragraph spacing */
.case-section p {
    margin-bottom: 25px;
}

/* ===================== TWO COLUMN LAYOUT ===================== */
.two-columns {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.two-columns .column {
    flex: 1;
    min-width: 300px;
}

/* ===================== GALLERY (3 IMAGES STRAIGHT) ===================== */
.gallery {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
}

.mockup {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    padding: 10px;
    background: #111;
    border-radius: 20px;
}

.mockup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background-color: #111; 
    padding: 10px;
}

.mockup-title {
    text-align: center;
    font-size: 14px;
    color: #aaaaaa;
    margin-top: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ===================== VIDEO SECTION ===================== */
/* .video-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
} */

.video-container video {
    width: 600px;
    height: 600px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 30px auto;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.process-image-row {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    justify-content: center;
    align-items: stretch;
}

/* TABLET */
@media (max-width: 1024px) {
    .process-img img {
        height: 420px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .process-image-row {
        flex-direction: column;
        gap: 20px;
    }

    .process-img {
        min-width: 100%;
        max-width: 100%;
    }

    .process-img img {
        height: auto;
    }
}

/* ===================== FOOTER ===================== */
.site-footer {
    margin-top: 120px;
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Home Icon */
.home-icon {
    color: #cccccc;
    transition: 0.3s ease;
}

.home-icon:hover {
    color: #088c95;
    transform: translateY(-2px);
}

/* Center Text */
.footer-center {
    font-size: 14px;
    color: #888;
}

/* Scroll Button */
.scroll-top {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: #cccccc;
    font-size: 16px;
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #088c95;
    border-color: #088c95;
    color: #ffffff;
}


.process-video-container {
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
}

.process-video-container video {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

/* ===================== PROCESS IMAGE ROW ===================== */

.process-image-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.process-img {
    flex: 1;
    min-width: 280px;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

/* hover effect */
.process-img:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
    .process-img img {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .process-image-row {
        flex-direction: column;
    }

    .process-img img {
        height: auto;
    }
}

/* ===================== RESPONSIVE ===================== */


@media (max-width: 1024px) {
    .project-hero {
        flex-direction: column;
        text-align: center;
    }

    .gallery {
        flex-direction: column;
    }

    .mockup {
        max-width: 100%;
    }

    .two-columns {
        flex-direction: column;
    }
}

@media (max-width: 650px) {
    body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .case-section h4 {
        font-size: 24px;
    }
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

.hero-content h1 {
    font-size: clamp(32px, 6vw, 60px);
}

.hero-description {
    font-size: clamp(14px, 2.5vw, 18px);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mockup {
    max-width: 100%;
}

.mockup img {
    width: 100%;
}

@media (max-width: 768px) {

nav {
    padding: 10px 16px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav .logo {
    width: 60px;
}

.site-name {
    font-size: 14px;
    white-space: nowrap;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu span {
    width: 22px;
    height: 2px;
    background: #088c95;
    display: block;
}

/* Hide nav links initially */
nav ul {
    display: none;
}

/* Dropdown menu style */
nav ul.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(10px);
    padding: 25px 0;
}

nav {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

}

@media (max-width: 1024px) {

.project-hero {
    flex-direction: column;
    text-align: center;
}

.hero-bg {
    max-width: 100%;
}

.gallery {
    grid-template-columns: repeat(2, 1fr);
}

.two-columns {
    flex-direction: column;
    gap: 30px;
}

.footer-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

}

@media (max-width: 768px) {

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.hero-content h1 {
    font-size: 32px;
}

.case-section h4 {
    font-size: 22px;
    padding-left: 15px;
}

.case-section h4::before {
    height: 70%;
}

.gallery {
    grid-template-columns: 1fr;
}

.video-container {
    padding: 0 10px;
}

.two-columns .column {
    min-width: 100%;
}

nav ul {
    display: none;
}

nav .menu {
    display: block;
}

@media (max-width: 768px) {

nav {
    padding: 10px 16px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav .logo {
    width: 60px;
}

.site-name {
    font-size: 14px;
    white-space: nowrap;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu span {
    width: 22px;
    height: 2px;
    background: #088c95;
    display: block;
}

/* Hide nav links initially */
nav ul {
    display: none;
}

/* Dropdown menu style */
nav ul.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(15,15,15,0.95);
    backdrop-filter: blur(10px);
    padding: 25px 0;
}

}
nav {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

}

@media (max-width: 480px) {

.hero-content h1 {
    font-size: 26px;
}

.hero-description {
    font-size: 14px;
}

.tools-used {
    font-size: 13px;
}

.case-section {
    margin-bottom: 50px;
}

.site-name {
    font-size: 14px;
}

nav .logo {
    width: 70px;
}

.scroll-top {
    padding: 6px 10px;
    font-size: 14px;
}

}

@media (max-width: 1024px) {

    nav ul {
        gap: 25px;
    }

    nav ul li a {
        font-size: 16px;
    }

    nav .logo {
        width: 80px;
    }
}

@media (max-width: 1024px) {

    nav ul {
        gap: 25px;
    }

    nav ul li a {
        font-size: 16px;
    }

    nav .logo {
        width: 80px;
    }
}

@media (max-width: 768px) {

    nav {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    nav ul li a {
        font-size: 15px;
    }

    nav .logo {
        width: 70px;
    }
}

@media (max-width: 480px) {

    nav {
        gap: 8px;
    }

    nav ul {
        gap: 14px;
    }

    nav ul li a {
        font-size: 14px;
    }

    nav .logo {
        width: 60px;
    }
}