/* ================= GLOBAL STYLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Background */
body {
    font-family: 'Indie Flower', cursive;
    margin: 0;
    padding: 0;
    color: #fff;
    min-height: 100vh;

    /* Background image with dark overlay */
    background: 
      linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url('../img/bgimg.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Optional: blur effect overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    z-index: -1;
}


a {
    text-decoration: none;
    color: #f0f0f0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
}

/* ================= HEADER & NAVIGATION ================= */
header {
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    position: fixed;
    top: 0;
    z-index: 1000;
}

.menu-nav {
    list-style: none;
    display: flex;
    gap: 25px;
}

.menu-nav .nav-item .nav-link {
    font-size: 1rem;
    font-weight: bold;
    transition: 0.3s;
}

.menu-nav .nav-item .nav-link:hover,
.menu-nav .nav-item.current .nav-link {
    color: #ffae00;
}

/* ================= MAIN ABOUT SECTION ================= */
main#about {
    padding: 120px 50px 50px 50px;
    max-width: 1200px;
    margin: auto;
}

.lg-heading {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

.lg-heading .text-secondary {
    color: #ffae00;
}

.sm-heading {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ddd;
}

.about-info {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.bio-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffae00;
    box-shadow: 0px 0px 20px rgba(255, 174, 0, 0.5);
}

.bio {
    max-width: 650px;
    background-color: rgba(30, 30, 30, 0.8);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.6);
}

/* ================= EXPERIENCE SECTION ================= */
#experience {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px 50px 50px;
}

#experience h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #ffae00;
}

.experience-item {
    background-color: rgba(40, 40, 40, 0.85);
    margin-bottom: 25px;
    padding: 20px 25px;
    border-left: 5px solid #ffae00;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 30px rgba(0,0,0,0.6);
}

.experience-item h3 {
    color: #ffae00;
    margin-bottom: 5px;
}

.experience-item .company {
    font-weight: bold;
    margin-bottom: 5px;
    color: #ddd;
}

.experience-item .duration {
    font-style: italic;
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 10px;
}

.experience-item .details {
    color: #eee;
    line-height: 1.5;
}

/* ================= FOOTER ================= */
#main-footer {
    text-align: center;
    padding: 25px 50px;
    background-color: rgba(0,0,0,0.8);
    color: #ddd;
    font-size: 0.9rem;
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 900px) {
    .about-info {
        flex-direction: column;
        align-items: center;
    }

    .bio-image {
        width: 200px;
        height: 200px;
    }

    main#about, #experience {
        padding: 120px 20px 50px 20px;
    }
}

@media (max-width: 500px) {
    .lg-heading {
        font-size: 2.2rem;
    }

    .sm-heading {
        font-size: 1rem;
    }
}
