
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}


/* Header & Navigation */
header {
    background: #ffffff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 20px;
        padding-left: 20px;
    }
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li a {
    color: #113761;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 10px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #3498db;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #113761;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 1rem 0;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    nav ul li a {
        font-size: 1.5rem;
    }
}


/* Hero Section */
.hero {
    height: 100vh;
    background-color: #113761;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 60px; 
    gap: 100px;
    flex-direction: column;

    h1 {
        font-size: 30px;
        color: #ffce10;
    }

}


.works {
    display: flex;
    flex-direction: row;
    gap: 50px;
}


.item {
    background: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 350px;
    position: relative;
    overflow: hidden;

    img {
        height: 150px;
    }
    
    .port-details {
        display: flex;
        flex-direction: column;
        color: #113761;
        position: absolute;
        background-color: white;
        padding: 20px;
        transition: all 300ms ease;
        width: 100%;
        align-items: flex-start;
        gap: 10px;
        
    }
}

.item:hover {
    .port-details {
        transform: translateY(-70px);
    }
}



/* Footer */
footer {
    background: #ffffff;
    color: #113761;
    text-align: center;
    padding: 1rem 0;
}



@media (max-width: 600px) {

    header {
        img {
            height: 30px;
        }
    }

    .about {
        padding: 15px;
    }

    .contact {
        padding: 20pxx;
    }
}