/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Science+Gothic:wght@100..900&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base */
body{
    background: radial-gradient(circle at top, #1b1b3a, #050507 60%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Main Wrapper */
.protfolio-bhai{
    min-height: 100vh;
    width: 100%;
}

/* ===== Navbar ===== */

.header{
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: linear-gradient(to bottom, rgba(5,5,10,0.92), transparent);
}

.navbar{
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo{
    font-family: 'Science Gothic', system-ui;
    font-size: 28px;
    letter-spacing: 1px;
    color: #ffffff;
}
.logo span{
    color: #ff2a6d;
}

/* Nav List */
.navlist{
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.navlist li a{
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #f2f2f2;
    padding: 6px 4px;
    position: relative;
    transition: .25s ease;
}

.navlist li a::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff2a6d, #ffa62b);
    transition: width .25s ease;
}

.navlist li a:hover::after,
.navlist li a.active::after{
    width: 80%;
}

.navlist li a:hover,
.navlist li a.active{
    color: #ffffff;
}

/* Nav Button */
.nav-btn{
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff2a6d, #ffa62b);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(255,42,109,0.5);
    transition: transform .2s ease, box-shadow .2s ease;
}

.nav-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255,42,109,0.8);
}

/* ===== Hero Section ===== */

.hero-section{
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text{
    flex: 1.2;
}

.hello{
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #c9c9c9;
    margin-bottom: 8px;
}

.hero-text h1{
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 6px;
}
.hero-text h1 span{
    color: #ff2a6d;
}

.hero-text h2{
    font-size: 20px;
    font-weight: 500;
    color: #d0d0d0;
    margin-bottom: 12px;
}

.hero-desc{
    font-size: 14px;
    line-height: 1.7;
    max-width: 460px;
    color: #c0c0c0;
    margin-bottom: 22px;
}

/* Buttons under hero */
.hero-buttons{
    display: flex;
    gap: 14px;
}

.btn{
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: .25s ease;
}

.btn.primary{
    background: linear-gradient(135deg, #ff2a6d, #ffa62b);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(255,42,109,0.5);
}

.btn.primary:hover{
    box-shadow: 0 0 24px rgba(255,42,109,0.8);
    transform: translateY(-1px);
}

.btn.secondary{
    background: transparent;
    color: #ffffff;
    border-color: #ffffff44;
}

.btn.secondary:hover{
    background: #ffffff10;
}

/* Hero Image */
.hero-image{
    flex: 1;
    display: flex;
    justify-content: center;
}

.profile-circle{
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #ff2a6d, #1b1b3a 60%, #050507 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 45px rgba(255,42,109,0.6);
    overflow: hidden;
}

.profile-circle img{
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== Sections ===== */

.section{
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    border-top: 1px solid #ffffff14;
}

.section-alt{
    background: #070712;
    border-top: 1px solid #ffffff14;
    border-bottom: 1px solid #ffffff14;
}

.section h3{
    font-size: 22px;
    margin-bottom: 10px;
}

.section p{
    font-size: 14px;
    color: #c7c7c7;
}

/* Cards (Projects & Services) */
.card-grid{
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card{
    padding: 16px 14px;
    border-radius: 16px;
    background: #ffffff08;
    border: 1px solid #ffffff22;
    box-shadow: 0 10px 26px rgba(0,0,0,0.7);
}

.card h4{
    font-size: 16px;
    margin-bottom: 6px;
}

.card p{
    font-size: 13px;
    color: #d6d6d6;
}

/* ==== Gallery Section ==== */

.gallery-subtitle{
    margin-bottom: 18px;
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px;
}

.gallery-item{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gallery-img-wrapper{
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #ffffff22;
    box-shadow: 0 10px 26px rgba(0,0,0,0.75);
}

.gallery-img-wrapper img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform .3s ease, opacity .3s ease;
}

.gallery-img-wrapper:hover img{
    transform: scale(1.05);
    opacity: 0.95;
}

.gallery-caption{
    font-size: 12px;
    color: #e0e0e0;
}

/* Contact */
.contact-info{
    margin-top: 10px;
    line-height: 1.6;
}

/* Footer */
.footer{
    border-top: 1px solid #ffffff14;
    text-align: center;
    padding: 18px 10px 24px;
    font-size: 13px;
    color: #b0b0b0;
}

/* ===== Responsive ===== */

@media (max-width: 900px){
    .navbar{
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .navlist{
        gap: 1.2rem;
        flex-wrap: wrap;
    }

    .hero-section{
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text,
    .hero-desc{
        max-width: 100%;
    }

    .hero-buttons{
        justify-content: center;
    }

    .card-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .gallery-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 600px){
    .logo{
        font-size: 22px;
    }

    .navlist li a{
        font-size: 11px;
        padding: 4px;
    }

    .hero-text h1{
        font-size: 32px;
    }

    .card-grid{
        grid-template-columns: 1fr;
    }

    .gallery-grid{
        grid-template-columns: 1fr;
    }

    .profile-circle{
        width: 220px;
        height: 220px;
    }

    .profile-circle img{
        width: 180px;
        height: 180px;
    }
}
