/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Roboto', sans-serif;
}
body {
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
h2, h3 {
    font-family: 'Comic Neue', cursive;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 60px 0;
}

/* ===== HEADER & NAVBAR ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.85);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
}
.fullname h2 {
    color: #00f0ff;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.4s;
}
nav ul li a:hover {
    background: #00f0ff;
    color: #0a0a0a;
}

/* ===== HERO SECTION ===== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: linear-gradient(120deg, #1f1f1f, #111, #1f1f1f);
    position: relative;
    overflow: hidden;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero-text {
    max-width: 600px;
    animation: fadeInUp 2s ease forwards;
}
.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00f0ff;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.btn-contact {
    display: inline-block;
    padding: 15px 30px;
    margin-top: 10px;
    font-weight: bold;
    color: #0a0a0a;
    background: #00f0ff;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}
.btn-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(60deg, #ff00ff, #00ffff, #ffff00);
    transition: all 0.5s;
    transform: rotate(45deg);
    z-index: 0;
    opacity: 0.5;
}
.btn-contact:hover::before {
    top: 0;
    left: 0;
}
.btn-contact span {
    position: relative;
    z-index: 1;
}
/* Hero Image */
.hero-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    filter: brightness(2.0);
    animation: floatImage 6s ease-in-out infinite;
}
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(50px);}
    100% { opacity: 1; transform: translateY(0);}
}

/* ===== SECTION STYLING ===== */
section {
    padding: 100px 0;
}
.section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #00f0ff;
}
.section p {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 40px;
    padding: 0 20px;
}
.service-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px #00f0ff;
}

/* ===== PORTFOLIO ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 40px;
    padding: 0 20px;
}
.project-card {
    background: #111;
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    transition: transform 0.4s, box-shadow 0.4s;
}
.project-card img {
    border-radius: 15px;
    max-width: 100%;
    margin-bottom: 15px;
}
.project-card h3 {
    margin-bottom: 10px;
    color: #ff8c00;
}
.project-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}
.coming-soon-btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background: #ff8c00;
    color: #0a0a0a;
    font-weight: bold;
    animation: pulse 2s infinite;
    cursor: not-allowed;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ===== CONTACT ===== */
.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.contact-buttons .btn-contact {
    font-size: 1.1rem;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #fff;
    font-size: 0.95rem;
    border-top: 1px solid #00f0ff;
}
/* --- RESPONSIVE NAVBAR ---*/
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #00f0ff;
    border-radius: 2px;
}

/* Hide menu on small screens initially */
nav ul {
    transition: max-height 0.3s ease;
}
nav ul.mobile-menu {
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    max-height: 0;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-image img {
        width: 200px;
        height: 200px;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        background: rgba(0,0,0,0.95);
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        text-align: center;
        padding: 10px 0;
        max-height: 0;
        overflow: hidden;
    }
    nav ul.show {
        max-height: 500px;
    }
    nav ul li a {
        display: block;
        padding: 12px 0;
    }
    .nav-toggle {
        display: flex;
    }
}

/* Adjust sections for small screens */
@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 1rem;
    }
    .services-grid, .projects-grid {
        gap: 20px;
        padding: 0 10px;
    }
    .section h2 {
        font-size: 2rem;
    }
}
