/* ===== Hero Section ===== */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 80px;
  min-height: 100vh;
}

.hero-left img {
  width: 300px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(255,0,255,0.5);
}

.hero-right {
  margin-left: 50px;
  max-width: 600px;
}

.hero-right h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #ff00ff, #ff77ff, #aa00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-right p {
  font-size: 1.1rem;
  color: #ddd;
}

/* ===== About Me ===== */
.about-me {
  max-width: 900px;
  margin: -70px auto 40px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #fff;
}

.about-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #9d00ff;
  margin-bottom: 20px;
}

.about-text {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.about-text .highlight {
  font-weight: 600;
  color: #ff0077;
}

/* ===== Skills ===== */
.skills {
  padding: 50px 20px;
  background-color: transparent;
}

.skills-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #9d00ff;
  text-align: center;
  margin-bottom: 40px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.skill-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.skill-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.skill-card h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #9d00ff;
}

.skill-card ul {
  list-style-type: none;
  padding: 0;
  text-align: left;
}

.skill-card ul li {
  margin-bottom: 8px;
  font-size: 0.95em;
  color: #fff;
}

/* ===== Hobbies Section ===== */
.hobbies {
  padding: 50px 20px 80px;
  background-color: transparent; /* same as skills */
  text-align: center;
  color: #fff;
}

.hobbies-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #9d00ff; /* same as skills heading */
  margin-bottom: 15px;
}

.hobbies-intro {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.hobby-card {
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%; /* circular */
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: default;
}

.hobby-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255,255,255,0.1);
}

.hobby-icon {
  font-size: 2.2em;
  margin-bottom: 8px;
  color: #ff4b5c;
}

.hobby-card h3 {
  font-size: 0.95em;
  font-weight: 600;
  color: #fff;
}

/* Scroll Reveal (reuse from your existing scroll animation) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hobby-card {
    width: 100px;
    height: 100px;
  }
}
/* ===== Hobbies Section ===== */
.hobbies {
  padding: 50px 20px 80px;
  background-color: transparent; /* same as skills */
  text-align: center;
  color: #fff;
}

.hobbies-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #9d00ff; /* same as skills heading */
  margin-bottom: 15px;
}

.hobbies-intro {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.hobby-card {
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%; /* circular */
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: default;
}

.hobby-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255,255,255,0.1);
}

.hobby-icon {
  font-size: 2.2em;
  margin-bottom: 8px;
  color: #ff4b5c;
}

.hobby-card h3 {
  font-size: 0.95em;
  font-weight: 600;
  color: #fff;
}

/* Scroll Reveal (reuse from your existing scroll animation) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hobby-card {
    width: 100px;
    height: 100px;
  }
}

/* ===== Gallery Section ===== */
.gallery {
  padding: 20px 20px 40px; /* reduced top + bottom space */
  margin-top: -20px;       /* pull it closer to hobbies */
  text-align: center;
  color: #fff;
}

.gallery-heading {
  font-size: 2.5em;
  font-weight: 700;
  color: #9d00ff;
  margin-bottom: 15px;
}

.gallery-intro {
  font-size: 1.1rem;
  color: #ccc;
  margin: 15px auto 25px auto; /* smaller spacing */
  max-width: 600px;            /* keep it neat */
}

.gallery-container {
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

.gallery-card {
  position: relative;
  width: 200px;
  height: 300px;
  transform: rotate(-5deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery-card:nth-child(2) {
  transform: rotate(3deg);
}
.gallery-card:nth-child(3) {
  transform: rotate(-8deg);
}
.gallery-card:nth-child(4) {
  transform: rotate(6deg);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.gallery-card:hover {
  transform: scale(1.05) rotate(0deg);
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* ===== Footer Section ===== */
.footer {
  text-align: center;
  padding: 60px 20px;
  background: transparent; /* matches your theme */
  color: #fff;
}

.footer h2 {
  font-size: 2em;
  font-weight: 700;
  background: linear-gradient(45deg, #ff00ff, #ff77ff, #aa00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.footer p {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 25px;
}

.contact-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 30px;
  background: linear-gradient(45deg, #9d00ff, #ff0077);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 0, 150, 0.5);
}

