* { margin: 0; padding: 0; box-sizing: border-box; } 
body { 
    background: black; 
    color: goldenrod;
    font-family: 'Arial', sans-serif; 
    line-height: 1.6; }
h1, h2, h3, h4 { 
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase; 
}
p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    text-align: left;
}

.profile-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 4px solid goldenrod;
    object-fit: cover;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

/* BUTTONS */
.btn {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.25s ease,
                color 0.25s ease,
                transform 0.25s ease;
}

.primary {
    background: goldenrod;
    color: black;
}

.secondary {
    border: 1px solid goldenrod;
    color: goldenrod;
}

/* BUTTON HOVER */
.primary:hover {
    background-color: gold;
    color: black;
    transform: translateY(-2px);
}

.secondary:hover {
    background-color: goldenrod;
    color: black;
    transform: translateY(-2px);
}

/* ========== STICKY NAVBAR ========== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px;
    background-color: black;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.navbar a {
    color: goldenrod;
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background-color: gold;
    transition: width 0.25s ease;
}

.navbar a:hover {
    color: gold;
}

.navbar a:hover::after {
    width: 100%;
}

/* SECTIONS */
.section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    background: #111;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* SKILLS */
.skills-list li {
    margin-bottom: 10px;
}

/* PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.project-card {
    background: #111;
    padding: 20px;
    border-radius: 15px;
}

.project-card .btn {
    display: inline-block;
    margin-top: 10px;
}

#services .project-card {
    border: 1px solid rgba(218, 165, 32, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#services .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(218, 165, 32, 0.35);
    border-color: gold;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item {
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.25);
}

.gallery-item p {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
}

.gallery-grid:hover .gallery-item {
    opacity: 0.5;
}

.gallery-grid .gallery-item:hover {
    opacity: 1;
}

/* YOUTUBE */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.video-item {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.25);
}

.video-item p {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #333;
}

/* CONTACT */
.contact p {
    margin-bottom: 12px;
    opacity: 0.85;
}

/* ACHIEVEMENTS */
.achievements-list {
    padding-left: 20px;
}

.achievements-list li {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 16px;
}

/* ABOUT WIDTH FIX */
#about.p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* WHATSAPP BUTTON */
.whatsapp-btn-wrapper {
    margin-top: 25px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 30px;
    background-color: #25D366;
    color: black;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: black;
    color: goldenrod;
    border: 2px solid goldenrod;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    z-index: 2000;
}

.floating-whatsapp:hover {
    background-color: goldenrod;
    color: black;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(218, 165, 32, 0.45);
}

.floating-whatsapp.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .profile-img {
        width: 170px;
        height: 170px;
    }

    .section {
        margin: 40px auto;
    }
}

@media (max-width: 480px) {
    .gallery-grid img {
        height: 180px;
    }
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}
/* ========== LIGHTBOX FULLSCREEN FIX ========== */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;   /* IMPORTANT */
    z-index: 5000;
}

#lightbox.active {
    display: flex;
}

/* Image styling */
#lightbox-img {
    max-width: 90%;
    max-height: 75vh;
    border-radius: 14px;
}

/* Caption BELOW image - centered */
#lightbox-caption {
    margin-top: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: goldenrod;
    letter-spacing: 0.4px;
}

/* Close button */
#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 34px;
    color: goldenrod;
    cursor: pointer;
    user-select: none;
}





