/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* BODY */

body{
background:#0F172A;
color:#F3F4F6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
    background: #020617; /* deep brown */
    backdrop-filter: blur(10px);
    color: #F3F4F6; /* off-white text */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}


.navbar .logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s;
    height: 0;
    margin-left: 5%;
    font-size: 15px;
}


.navbar .logo:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}
.nav-links li a {
    color: #F3F4F6;
    text-decoration: none;
    transition: 0.3s;
}
.nav-links li a:hover {
    color: #F37021;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #FFF8F0;
}

section{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 15px;
    }

    #nav-logo {
        height: 15px;
        font-size: 15px;
        
    }

    .nav-links {
        padding: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 65px;
        right: -100%;
        flex-direction: column;
        background: #020617; 
        width: 150px;
        padding: 15px 0;
        gap: 0;
        border-radius: 8px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
        transform: translateY(-10px);
        pointer-events: none;
        transition: all 0.3s ease;
    }


    .nav-links.active {
        opacity: 1;
        right: 0;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 20px;
    }

    .nav-links li a {
        color: #F3F4F6;
        display: block;
        font-size: 15px;
        transition: 0.2s;
    }

    .nav-links li a:hover {
        color: #F37021;
    }

    .nav-links li:not(:last-child) {
        border-bottom: 1px solid #1F2937;
    }

    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background: #0F172A;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; 
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

/* Hero Image */
.hero-image {
    align-items: center;
    display: flex;
    justify-content: center;
    flex: 1 2 350px;

}

.hero-image img {
    width: clamp(180px, 50vw, 300px);
    max-width: 320px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid  #F37021;
    animation: imageBlink 3s infinite;
    transition: transform 0.4s ease, box-shadow 0.4s ease;   
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    cursor: pointer;
}

/* Hero Text */
.hero-text {
    flex: 1 1 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    text-align: left;
}

.hero-text h1 {
    font-size: 48px;
    color:  #F3F4F6;
}

.hero-role {
    font-size: 22px;
    color: #4B2E2B;
}

#typing-text {
    color: #F37021;
    font-weight: 600;
    border-right: 3px solid #F37021;
    padding-right: 5px;
}

/* Paragraph */
.hero-text p {
    font-size: 16px;
    color:  #9CA3AF;
    line-height: 1.6;
}

/* Contact Icons */
.hero-contact-icons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.contact-icon-img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s, opacity 0.3s;
    cursor: pointer;
}

.contact-icon-img:hover {
    transform: scale(1.2);
    opacity: 0.8;
}

.contact-icon-img:active {
    transform: scale(0.95);
    opacity: 1;
}

/* CV Button */
.hero-text .btn {
    width: fit-content;
    padding: 12px 28px;
    margin-top: 15px;
    background: #F37021;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-text .btn:hover {
    background: #8C5A3C;
}

/* Animation for image */
@keyframes imageBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@media (max-width: 768px) {
    .hero-image img {
        width: 70%;        /* force it smaller */
        max-width: 350px;  /* hard cap */
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-contact-icons {
        justify-content: center;
    }

    .hero-text .btn {
        align-self: center;
    }
}

/* About Section */
.about{
    padding-top: 60px;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    
}

.about-text {
    flex: 1;
    padding: 40px;

}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color:  #F3F4F6;
    text-align: center;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 20px;
    color:  #9CA3AF;
    line-height: 1.6;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 250px;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #F37021;
    box-shadow: 0 0 80px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 120px rgba(0,0,0,0.35);
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-container {
        flex-direction: column; 
        text-align: center; /* center-align text */
        gap: 30px;
    }

    .about-image img {
        max-width: 250px; /* scale down image on mobile */
    }
}
/* Projects Section */

.projects{
    padding:60px 50px;
    background:#0F172A;
}

.projects h2{
    text-align:center;
    font-size:36px;
    margin-bottom:30px;
    color: #F3F4F6;
}

/* Grid layout */

.project-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    max-width:1100px;
    margin:auto;

}

/* Card */

.project-card{
    background:#020617;
    padding:15px;
    border-radius:12px;
    box-shadow:0 1px 10px #9CA3AF;
    transition:0.3s;
    border-top:5px solid #F37021;
}

.project-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.project-card h3{
    margin-bottom:20px;
    color:#F37021;
}

.project-card p{
    font-size:15px;
    line-height:1.6;
    margin-bottom:15px;
    color: #9CA3AF;
}

/* Tools */

.project-tools{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-bottom:20px;
}

.project-tools span{
    background:#F37021;
    color:#F3F4F6;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    transition:0.3s;
}

/* Button */

.project-btn{
    text-decoration:none;
    background:#F37021;
    color:#FFFFFF;
    padding:8px 16px;
    border-radius:6px;
    font-size:14px;
    transition:0.3s;
}

.project-btn:hover{
    background:#8C5A3C;
}

@media (max-width:768px){

.project-grid{
    grid-template-columns:1fr;
}

}

/* Skills Section */

.skills{
    padding:60px 50px;
    background:#0F172A;
}

.skills h2{
    text-align:center;
    font-size:36px;
    margin-bottom:50px;
    color: #F3F4F6;
}

/* container */

.skills-container{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    max-width:1100px;
    margin:auto;
}

/* category card */

.skill-category{
    background:#020617;
    padding:15px;
    border-radius:12px;
    box-shadow:0 1px 10px #9CA3AF;
    transition:0.3s;
    border-top:5px solid #F37021;
}

.skill-category:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.skill-category h3{
    margin-bottom:20px;
    color: #F37021;
}

/* skill pills */

.skill-items{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.skill-items span{
    background: #F37021;
    color:#F3F4F6;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    transition:0.3s;
}

.skill-items span:hover{
    background:#8C5A3C;
    transform:scale(1.05);
}
/* Skill Bars */

.skill-bar{
    margin-bottom:18px;
}

.skill-bar span{
    font-size:14px;
    color:#F3F4F6;
    display:block;
    margin-bottom:5px;
}

/* bar background */

.progress{
    width:100%;
    height:8px;
    background:#F3F4F6;
    border-radius:20px;
    overflow:hidden;
}

/* bar fill */

.progress-fill{
    height:100%;
    border-radius:20px;
    background:#F37021;
    animation:fillBar 2s ease forwards;
}


/* percentages */

.sql{
    width:75%;
}

.excel{
    width:90%;
}

.powerbi{
    width:85%;
}

.python{
    width:60%;
}

@media (max-width:768px){

.skills-container{
grid-template-columns:1fr;
}

}

@keyframes fillBar{
from{
width:0;
}
}


/* Contact Section */
.contact {
    background-color: #0F172A;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.contact-container {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

/* Heading */
.contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color:  #F3F4F6;
}

.contact-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
    color: #9CA3AF;
}
/* Form layout */
#contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* Inputs */
#contact-form input,
#contact-form textarea {
    width: 100%;
    max-width: 650px;
    padding: 16px;
    border-radius: 10px;
    border: 1.5px solid #F37021;
    font-size: 14px;
    background-color: #020617;
    color: #F3F4F6;
}

/* Message box */
#contact-form textarea {
    min-height: 200px;
    resize: none;
}

/* Button */
#contact-form button {
    width: auto;
    padding: 12px 35px;
    background: linear-gradient(135deg, #F37021, #8C5A3C);
    color:#F3F4F6;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

#contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

#contact-form button:active {
    transform: translateY(1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

#contact-form button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(192,133,82,0.35);
}

@media (max-width: 768px) {

    .contact h2 {
        font-size: 30px;
    }

    #contact-form input,
    #contact-form textarea {
        max-width: 100%;
        font-size: 15px;
    }

}

@media (max-width: 480px) {

    .contact {
        padding: 60px 15px;
    }

    .contact h2 {
        font-size: 26px;
    }

    #contact-form input,
    #contact-form textarea {
        padding: 14px;
        font-size: 14px;
    }

    #contact-form button {
        padding: 10px 28px;
        font-size: 14px;
    }

}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #020617;
    color: #F3F4F6;
}



