/* ===== GLOBAL ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
    color:#222;
    overflow-x:hidden;
    background:#f5f5f5;
}

/* ===== NAVBAR ===== */
.navbar{
    position:fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    background:rgba(0,0,0,0.4);
    backdrop-filter:blur(8px);
    z-index:1000;
}

.logo img{
    height:40px;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:0.3s;
}

.nav-links a:hover,
.nav-links .active{
    color:#C9A227;
}

.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* ===== HERO ===== */
.project-hero{
    height:40vh;
    background:url("../images/home.png") center/cover no-repeat;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.overlay{
    background:rgba(0,0,0,0.4);
    width:100%;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    text-align:center;
    padding:20px;
}

.overlay h1{
    font-family:'Cormorant Garamond', serif;
    font-size:45px;
    margin-bottom:15px;
    letter-spacing:2px;
    font-weight:700;
}

.overlay p{
    margin-top:15px;
    font-size:18px;
    color:#C9A227;
}

/* ===== DROPDOWN ===== */
.dropdown{
    position:relative;
}

.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:rgba(0,0,0,0.95);
    display:none;
    min-width:200px;
    border-radius:6px;
    overflow:hidden;
}

.dropdown-menu li{
    list-style:none;
}

.dropdown-menu li a{
    display:block;
    padding:10px 15px;
    color:white;
    text-decoration:none;
    transition:0.3s;
}

.dropdown-menu li a:hover{
    background:#C9A227;
    color:black;
}

.dropdown:hover .dropdown-menu{
    display:block;
}

/* ===== TEAM SECTION ===== */
.team-section{
    padding:100px 50px 40px;
}

.team-row{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
    margin-bottom:40px;
}

.team-card{
    width:350px;
    text-align:center;
    transition:0.4s ease;
}

.team-card:hover{
    transform:translateY(-10px);
}

.team-img{
    width:350px;
    height:350px;
    overflow:hidden;
    border-radius:10px;
    background:white;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid #ddd;
}

.team-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    filter:grayscale(100%);
    transition:0.5s ease;
}

.team-card:hover img{
    filter:grayscale(0%);
    transform:scale(1.05);
}

.team-card h3{
    margin-top:20px;
    font-size:18px;
    letter-spacing:1px;
    font-weight:600;
}

.team-card p{
    margin-top:6px;
    font-size:14px;
    color:#d4af37;
    letter-spacing:1px;
}

/* ===== BACK BUTTON ===== */
.back-container{
    padding:20px 8%;
}

.back-btn{
    background:#C9A227;
    color:#000;
    border:none;
    padding:8px 18px;
    border-radius:6px;
    cursor:pointer;
    font-weight:500;
    transition:0.3s;
}

.back-btn:hover{
    background:#000;
    color:#C9A227;
}

/* ===== FOOTER ===== */
.footer{
    background:#111;
    color:#fff;
    padding:60px 80px 20px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:40px;
}

.footer h2,
.footer h3{
    margin-bottom:15px;
    color:#C9A227;
}

.footer p{
    line-height:1.6;
    max-width:300px;
}

.footer-links ul{
    list-style:none;
}

.footer-links ul li{
    margin-bottom:10px;
}

.footer-links a{
    text-decoration:none;
    color:#ccc;
}

.footer-links a:hover{
    color:#C9A227;
}

.social-icons{
    display:flex;
    gap:15px;
    margin-top:10px;
}

.social-icons a{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#222;
    border-radius:50%;
    color:white;
    font-size:18px;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #333;
    font-size:14px;
    color:#aaa;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

    .navbar{
        padding:15px 20px;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        position:absolute;
        top:70px;
        right:20px;
        background:rgba(0,0,0,0.95);
        padding:20px;
        border-radius:8px;
    }

    .nav-links.show{
        display:flex;
    }

    .menu-toggle{
        display:block;
    }

    .overlay h1{
        font-size:35px;
    }

    .overlay p{
        font-size:16px;
    }

    .team-section{
        padding:60px 20px 20px;
    }

    .team-card{
        width:100%;
        max-width:350px;
    }

    .team-img{
        width:100%;
        height:320px;
    }

    .footer-container{
        flex-direction:column;
    }
}