* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

body {

    font-family: 'Inter', sans-serif;

}

.tlo {

    height: 100vh;

    background-image: url("./images/tlo.jpg");
    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    display: flex;

    justify-content: center;

    align-items: center;

}

.overlay {

    background: rgba(0,0,0,0.25);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    padding: 40px;

    text-align: center;

    color: white;

    border-radius: 15px;

}

h1 {

   font-size: 4rem;

    margin-bottom: 20px;

    font-weight: 700;

    letter-spacing: -2px;
}

p {

    font-size: 1.3rem;

    margin-bottom: 30px;

}

.btn {

    text-decoration: none;

    color: white;

    border: 2px solid white;

    padding: 15px 30px;

    border-radius: 50px;

    transition: 0.3s;

}

.btn:hover { 

    background: rgb(255, 255, 255);

    color: black;

}

html {

    scroll-behavior: smooth;

}

.navbar {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    padding: 25px 60px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: rgba(0,0,0,0.35);

    backdrop-filter: blur(10px);

    z-index: 10;

    transition: 0.3s;

}

.navbar.scrolled {

    background: rgba(0,0,0,0.85);

    padding: 18px 60px;

}

.logo {

    color: white;

    text-decoration: none;

    font-size: 1.2rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

}

.navbar nav a {

    color: white;

    text-decoration: none;

    margin-left: 30px;

    font-size: 0.9rem;

    letter-spacing: 1px;

}

.navbar nav a:hover {

    opacity: 0.6;

}

.portfolio {

    background: #111;

    color: white;

    padding: 100px 60px;

}

.portfolio h2 {

    font-size: 3rem;

    margin-bottom: 50px;

    text-align: center;

}

.gallery {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

}

.gallery img {

    width: 100%;

    height: 350px;

    object-fit: cover;

    border-radius: 14px;

    transition: 0.4s ease;

}

.gallery img:hover {

    transform: scale(1.05);

    opacity: 0.9;

}

.about {

    background: #0b0b0b;

    color: white;

    padding: 100px 60px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;

}

.about h2,

.contact h2 {

    font-size: 3rem;

    margin-bottom: 25px;

}

.about p,

.contact p {

    font-size: 1.2rem;

    line-height: 1.7;

}

.about img {

    width: 100%;

    height: 500px;

    object-fit: cover;

    border-radius: 20px;

}

.contact {

    background: #111;

    color: white;

    text-align: center;

    padding: 120px 40px;

}

.contact .btn {

    display: inline-block;

    margin-top: 30px;

}

.lightbox {

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.9);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 100;

}

.lightbox img {

    max-width: 90%;

    max-height: 90%;

    border-radius: 12px;

}

.lightbox.active {

    display: flex;

}

.reveal {

    opacity: 0;

    transform: translateY(40px);

    transition: 0.8s ease;

}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

}

@media (max-width: 768px) {
    .tlo {
        background-image: url("./images/tlo-mobile.png");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #000;
    }

    .about img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .navbar {

        padding: 20px;

        flex-direction: column;

        gap: 15px;

    }

    .navbar.scrolled {

    padding: 15px 20px;

    background: rgba(0,0,0,0.85);

}

    .navbar nav a {

        margin: 0 10px;

        font-size: 0.8rem;

    }

    h1 {

        font-size: 2.4rem;

        line-height: 1;

    }

    .overlay {

        margin: 20px;

        padding: 15px;

    }

    .portfolio {

        padding: 80px 20px;

    }

    .gallery {

        grid-template-columns: 1fr;

    }

    .gallery img {
    
        height: auto;

        display: block;

    }

    .about {

        grid-template-columns: 1fr;

        padding: 80px 20px;

    }


}