
:root {
    --primary-glow: #00ffff;
    --nav-bg: rgba(10, 10, 10, 0.85);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --text-color: #ffffff;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0)), url('carweb.jpg');
    background-size: cover;
    /*background:  #0000cc;*/
    background-position: center;
    background-attachment: fixed;
    color: var(--text-color);
    scroll: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2%;                                                                                                                                                                                                                                                                %;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    z-index: 10;
}


.logo h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 15px var(--primary-glow);
    transition: var(--transition);
}

.logo h1:hover {
    text-shadow: 0 0 10px var(--primary-glow);
}

.search-box {
    position: relative;
    width: 380px;
    max-width: 100%;
}

.search-box input {
    width: 100%;
    height: 50px;
    padding: 0 60px 0 25px;
    background: var(--glass-bg);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    outline: none;
    color: #ffffff;
    font-size: 15px;
    transition: var(--transition);
}

input::placeholder{
    color: white;
    font-weight: bold;
}

.search-box input:focus {
    border-color: var(--primary-glow);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.search-box button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: var(--primary-glow);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}


.nav-menu {
    display: flex;
    align-items: center;
}

.menu-links {
    display: flex;
    list-style: none;
    gap: 10px;
}

.menu-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
}

.menu-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-glow);
    transition: var(--transition);
    transform: translateX(-50%);
}

.menu-links a:hover {
    color: var(--primary-glow);
}

.menu-links a:hover::after {
    width: 80%;
}


.social-links {
    display: flex;
    gap: 40px;
    margin-top:  50px;
    margin-left: 40px;
}

.social-links a {
    color: var(--text-color);
    font-size: 30px;
    transition: var(--transition);
    margin-bottom: 50px;
    margin-right: 0px;
}

.social-links a:hover {
    color: var(--primary-glow);
    transform: translateY(-8px) scale(1.2);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 8px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition);
}



@media (max-width: 800px) {
    .search-box {
        width: 300px;
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .search-box {
        position: absolute;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        width: 85%;
        z-index: 90;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.60);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-links {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .menu-links a {
        font-size: 24px;
        padding: 15px;
    }

    .social-links {
        display: flex;
    }
}

@media (max-width: 300px) {
    .header {
        padding: 0 20px;
        height: 70px;
    }

    .logo h1 {
        font-size: 20px;
    }
}

  
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}
.typing-section {
    text-align: left;
    padding-left: 40px;
    margin-top: 200px;
    width: 500px;
    height: 500px;
    text-decoration: underline;
   text-decoration-color: #1affff;

}

#typing {
    font-size: 50px;
    font-style: italic;
    font-weight: bold;
    color: crimson;
    border-right: 2px solid #333;
    animation: blink 0.7s infinite;
    
}

@keyframes blink {
    50% { border-color: transparent; }
}
#sec1{
    color: black;
    font-size: 40px;
    text-align: center;
    margin-top: 10px;
   }

   @media(max-width: 768px){
    .menu-links{
        flex-direction: column;
        align-items: center;
    }
    .menu-links li{
        margin: 10px 0;
        width: 100%;
    }

    .menu-links a{
        padding: 15px;
        text-align: center;
        width: 100%;
    }
   }

