/* ----------------------------------------
   GLOBAL STYLES
---------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    line-height: 1.6;
    background-image: url("img/background.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

/* ----------------------------------------
   HEADER
---------------------------------------- */
.header {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    color: #fff;
}

.header-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.6);
}

.header p {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
}

/* MENU BUTTON */
#menuBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 22px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ----------------------------------------
   NAVIGATION
---------------------------------------- */
.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: rgba(0,0,0,0.8);
    padding: 10px;
}

.nav a {
    color: #FFD700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover {
    color: #fff;
}

/* ----------------------------------------
   SECTIONS
---------------------------------------- */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
}

.gray {
    background: rgba(0,0,0,0.05);
}

.colored-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 50px 20px;
    margin: 20px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    border-left: 5px solid #FFD700;
    padding-left: 10px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 10px;
}

/* ----------------------------------------
   PROFILE SECTION
---------------------------------------- */
.profile-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.profile-image img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFD700;
}

.profile-info {
    max-width: 600px;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
}

.profile-role {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
}

.profile-bio {
    font-size: 1.1rem;
    line-height: 1.8;
    padding: 15px;
    border-radius: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
}

/* SOCIAL LINKS */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.social-links img:hover {
    transform: scale(1.1);
}

/* ----------------------------------------
   IMAGE GRID
---------------------------------------- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.image-box {
    overflow: hidden;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background: rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.image-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

.image-box img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s;
}

.image-box img:hover {
    transform: scale(1.05);
}

.image-description {
    margin-top: 10px;
    font-weight: 600;
    color: #FFD700;
}

/* ----------------------------------------
   CONTACT SECTION
---------------------------------------- */
.contact-info p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    border-radius: 10px;
}

.contact-icon {
    width: 28px;
    height: 28px;
}

.contact-info a {
    color: #FFD700;
    text-decoration: none;
}

.contact-info a:hover {
    color: #fff;
}

/* ----------------------------------------
   SERVICES
---------------------------------------- */
.service-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-list li {
    background: rgba(255, 215, 0, 0.1);
    border-left: 5px solid #FFD700;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.service-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ----------------------------------------
   SKILLS
---------------------------------------- */
.skill {
    margin-bottom: 20px;
}

.skill p {
    font-weight: 600;
    margin-bottom: 5px;
}

.skill-bar {
    width: 100%;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 25px;
}

.skill-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 10px;
    text-align: right;
    padding-right: 10px;
    line-height: 25px;
    color: #fff;
    font-weight: bold;
    transition: width 2s ease-in-out;
}

/* ----------------------------------------
   FOOTER
---------------------------------------- */
.footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: #fff;
}

/* ----------------------------------------
   RESPONSIVE DESIGN
---------------------------------------- */

/* TABLETS */
@media (max-width: 768px) {

.nav {
    flex-direction: column;
    display: none;
}

.nav.show {
    display: flex;
}

.header h1 {
    font-size: 2.2rem;
}

.header p {
    font-size: 1rem;
}

.profile-container {
    flex-direction: column;
    text-align: center;
}

.profile-name {
    font-size: 2rem;
}

.profile-role {
    font-size: 1.1rem;
}

.profile-bio {
    font-size: 1rem;
}

.image-box img {
    height: 160px;
}

}

/* MOBILE */
@media (max-width: 480px) {

.header {
    padding: 80px 15px;
}

.header h1 {
    font-size: 1.8rem;
}

.header p {
    font-size: 0.9rem;
}

.section {
    padding: 40px 15px;
}

.section-title {
    font-size: 1.5rem;
}

.profile-image img {
    width: 130px;
    height: 130px;
}

.social-links img {
    width: 35px;
    height: 35px;
}

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

.contact-info p {
    font-size: 0.9rem;
}

.skill-bar {
    height: 20px;
}

}