*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'poppins',sans-serif;
    background: radial-gradient(circle at top, #111 0%, #000 70%);
    color: #f1f1f1;
    overflow-x: hidden;
}
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
nav{
    max-width: 1300px;
    margin: auto;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
nav h1{
    font-size: 30px;
    font-weight: 700;
    color: #ffd000;
    letter-spacing: 1px;
}
nav span{
    font-size: 13px;
    color: #aaa;
}
nav ul{
    list-style: none;
    display: flex;
    gap: 30px;
}
nav a{
    text-decoration: none;
    color: #eee;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}
nav a::after{
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg,#ffd000,#ff9500);
    transition: 0.3s;
}
nav a:hover {
    color: #ffd000;
}
nav a:hover::after {
    width: 100%;
}
section {
    max-width: 1300px;
    margin: auto;
    padding: 100px 25px;
}
section h2 {font-size: 42px;
    margin-bottom: 25px;
    background: linear-gradient(90deg,#ffd000,#ff9500);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: fadeUp 1s ease forwards;
}
section p {
    max-width: 720px;
    color: #ccc;
    line-height: 1.8;
}
#home {
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}
#home h2 {
    font-size: 55px;
}
#home div a {
    display: inline-block;
    margin-right: 18px;
    padding: 14px 36px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
#home div a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent,rgba(255,255,255,0.4),transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease, opacity 0.6s ease;
}
#home div a:hover::before {
    transform: translateX(100%);
}
#home div a:first-child {
    background: linear-gradient(135deg,#ffd000,#ff9500);
    color: #000;
}
#home div a:last-child {
    border: 2px solid #ffd000;
    color: #ffd000;
}
#home div a:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 208, 0,0.4);
}
#about >div >div {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    padding: 35px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.4s;
}
#about >div >div:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px  rgba(0, 0, 0, 0.6);
}
#about h3 {
    color:#ffd000;
    margin-bottom: 15px;
}
#menu div {
    display: grid;
    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));
    gap: 35px;
}
article {
    background: 
    linear-gradient(145deg,#0f0f0f,#181818);
    border-radius: 20px;
    padding: 35px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
article::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,transparent,rgba(255,208,0,0.15),transparent);
    opacity: 0;
    transition: 0.4s;
}
article:hover::before {
    opacity: 1;
}
article:hover {
    transform: translateY(-15px);
}
article h3 {
    color: #ffd000;
    margin-bottom: 20px;
}
article ul {
    list-style: none;
}
article li {
    padding: 7px 0;
    color: #ddd;
}
#gallery div {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 30px;
}
#gallery img {
    width: 100%;
    border-radius: 20px;
    transition: 0.5s;
}
#gallery img:hover {
    transform: scale(1.08) rotate(-1deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    filter: brightness(1.1);
    transition: transform 0.5s ease,box-shadow 0.5s ease,filter 0.5s ease;
} 
form {
    max-width: 520px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
input, textarea {
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #141414;
    color: #fff;
    outline: none;
}
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(255, 208, 0,0.4);
}
button {
    padding: 14px;
    border-radius: 40px;
    background: linear-gradient(135deg,#ffd000,#ff9500);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
}
button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 208, 0,0.5);
}
footer {
    text-align: center;
    padding: 25px;
    background: #080808;
    color: #777;
}
.reveal {
    opacity: 0;
    transform: translateY(60px);
    animation: fadeUp 1s ease
    forwards;
}
.reveal:nth-last-of-type(2){animation-delay:.2s;}
.reveal:nth-of-type(3){animation-delay: .4s;}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 768px) {
    nav ul {
        display:none;
    }
    #home h2 {
        font-size: 40px;
    }
    section {
        padding: 70px 20px;
    }
}
#home div a:hover {
    transform: translateY(-6px) scale(1.05) rotateZ(-1deg);
    box-shadow: 0 25px 60px rgba(255, 208, 0, 0.5);
    filter: brightness(1.1);
    transition: transform 0.4s ease,box-shadow 0.4s ease, filter 0.4s ease;
}
.success-message {
    display: none;
    margin-top: 20px;
    color: #4caf4c;
    font-weight: bold;
    animation: fadeUp 0.6s ease forwards;
}
#success:target {
    display: block;
}