/*Moving line animation*/
@keyframes movingNeonLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.neon-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #0f0, #0f0, transparent);
    box-shadow: 0 0 10px #0f0, 0 0 20px #0f0;
    animation: movingNeonLine 3s linear infinite;
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #fff;
    text-align: center;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(26, 26, 26, 0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #0ff;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    transform: translateX(-20px);
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #0ff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-links a:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
}

/* Sections */
.section {
    padding: 100px 20px;
    margin-top: 60px;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Home Section */
#home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #222, #121212);
}

#about img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s;
}
#about p{
    font-size: 25px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

#gallery p{
    color: #0ff;
}

.gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.1);
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 400px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #222;
    color: #fff;
}

button {
    background: #0ff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

button:hover {
    background: #ff5500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .section {
        padding: 50px 10px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
    
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        transform: translateX(0);
    }

    .nav-links a {
        display: inline-block;
        width: auto;
        text-align: center;
    }
}
@media screen and (max-width: 768px) {
    #home h1 {
        font-size: 30px;
    }

    #home p {
        font-size: 18px;
    }
}
@media screen and (max-width: 768px) {
    #about img {
        max-width: 80%;
        display: block;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}
@media screen and (max-width: 768px) {
    form {
        width: 90%;
    }
}
