* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Cabin', sans-serif;
}

body {
background: url('bg4.jpeg');
background-size: cover;
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;

}

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: linear-gradient(90deg, rgba(199, 170, 119, 1) 0%, rgba(148, 120, 72, 1) 51%, rgba(135, 98, 49, 1) 99%);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav h2 {
    font-size: 20px;
    color: #F9F5F0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #F9F5F0;
    font-weight: bold;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #8F896B;
}

/* Hero Section */
.hero {
display: flex;
align-items: center;
justify-content: center;
padding: 80px;
min-height: 90vh;
gap: 80px;
}

/* Profile Image */
.hero img {
width: 280px;
height: 280px;
border-radius: 50%;
object-fit: cover;
border: 5px solid #c7aa77;
}

/* Text Content */
.hero-content {
max-width: 600px;
}

.hero-content h1 {
font-size: 40px;
margin-bottom: 20px;
color: #F9F5F0;
}

.hero-content p {
line-height: 1.8;
margin-bottom: 15px;
color: #F9F5F0;
}

/* Button */
.btn {
display: inline-block;
margin-top: 20px;
padding: 12px 30px;
background: #c7aa77;
background: linear-gradient(90deg,rgba(199, 170, 119, 1) 0%, rgba(148, 120, 72, 1) 51%, rgba(135, 98, 49, 1) 99%);
color: white;
text-decoration: none;
border-radius: 30px;
font-weight: bold;
transition: 0.3s;
}

.btn:hover {
background: #c7aa77;
}

/* Profile Section */
.profile-section {
  padding: 60px 80px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  margin-bottom: 40px;
  color: white;
}

/* Grid Container */
.profile-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* Makes it responsive on mobile */
}

/* The Image Card */
.profile-card {
  position: relative; /* Needed for the overlay */
  width: 300px;
  height: 400px;
  overflow: hidden; /* Keeps image inside the box */
  border-radius: 15px;
  cursor: pointer;
}

/* The Image Itself */
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* The Overlay (Hidden by default) */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Invisible at first */
  transition: opacity 0.3s ease;
}

.overlay p {
  color: white;
  font-size: 20px;
  font-weight: bold;
}

/* HOVER EFFECTS */

/* Show overlay on hover */
.profile-card:hover .overlay {
  opacity: 1;
}

/* Zoom image slightly on hover */
.profile-card:hover img {
  transform: scale(1.1);
}

.profile-card img {
  border: 3px solid #664a2f;
  border-radius: 10px;
}