/* Original CSS content */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #1e1e2e;
    color: white;
}

/* Navbar */
nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    background-color: #1e1e3e;
}

nav .logo img {
    height: 50px;
    filter: contrast(0%) brightness(100);

}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #61dafb;
}

/* Hero Section */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('../assets/bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../assets/bg.png") no-repeat center center/cover;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #fff;
    padding: 20px;
    width: 31rem;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.lta-button {
    background-color: #3a507b;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.lta-button:hover {
    background-color: white;
    color: #3a507b;
}

.cta-button {
    border: 1px solid;
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #282c34;
    color: #61dafb;
}

/* Features Section */
.features-section {
    padding: 60px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
}

.features-section h2 {
    margin-bottom: 40px;
}

.features-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature {
    width: 30%;
    min-width: 250px;
    border: 1px solid;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: scale(1.05);
}


.feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
}

/* Commands Section */
.commands-section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.279);
    text-align: center;
}

.commands-section h2 {
    margin-bottom: 40px;
    color: #61dafb;
}

.commands-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.command {
    width: 30%;
    min-width: 250px;
    border: 1px solid;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 10px;
}

.command h4 {
    font-size: 20px;
    color: #61dafb;
}

.command p {
    font-size: 14px;
    color: #fff;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    color: #fff;
    border-top: 1px solid;
}

footer .social-links a {
    margin: 0 15px;
    color: #61dafb;
    text-decoration: none;
}


/* Responsive Adjustments */
@media only screen and (max-width: 1200px) {

    /* Tablet adjustments */
    nav ul li {
        margin: 0 10px;
    }

    .container {
        width: 90%;
        padding: 0 20px;
    }

    .content {
        font-size: 1rem;
    }
}

@media only screen and (max-width: 768px) {

    /* Mobile adjustments */
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        padding: 10px 0;
    }

    .container,
    .content {
        width: 100%;
        padding: 0 10px;
    }

    h1,
    h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {

    /* Smaller mobile devices */
    body {
        font-size: 0.9rem;
    }

    .container {
        padding: 5px;
    }

    nav ul li {
        padding: 5px 0;
    }

    h1 {
        font-size: 1.25rem;
    }
}

nav .hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
}

nav ul {
    transition: all 0.3s ease;
}

@media only screen and (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: -50%;
        /* Initially hidden off the left side of the screen */
        width: 50%;
        /* Sidebar width */
        height: 100vh;
        /* Full height of the viewport */
        background-color: #222;
        /* Dark gray background */
        transition: left 0.3s ease;
        /* Smooth slide-in transition */
        z-index: 1000;
        padding: 15px 30px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        /* Optional shadow */
    }

    nav ul.show {
        display: flex;
        right: 0;
        /* When active, the sidebar is visible */
    }

    nav .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        color: white;
    }
}
