/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #0a0a0a;
  color: #f5f5f5;
  text-align: center;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  background: #ffffff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

/* =====================
   HERO
===================== */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("images/hero-dark.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 1rem;
  opacity: 0.8;
}
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  background-image: url("images/hero-dark.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* Floating Back Button Styling */
.back-to-portfolio {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #0f172a; /* Dark professional color */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999; /* Ensures it stays on top of everything */
  transition: all 0.3s ease;
  font-size: 14px;
}

.back-to-portfolio:hover {
  background: #f97316; /* Changes to your brand orange on hover */
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}
/* Overlay with subtle animation */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0.0), rgba(255,255,255,0.05));
  z-index: 1;
  animation: slide 10s linear infinite;
}

@keyframes slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-content {
  position: relative;
  z-index: 2; /* above overlay */
  max-width: 600px;
  padding: 2rem;
  text-align: center;
}

/* =====================
   CARDS
===================== */
.cards {
  padding: 5rem 1rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #111;
  width: 260px;
  padding: 2rem;
  border-radius: 20px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(255,255,255,0.15);
}

.card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  background: #000;
  padding: 6px;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  opacity: 0.7;
}
.contact {
  background: #111;  /* dark background to match site */
  padding: 4rem 1rem;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  color: #f5f5f5;
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.contact .btn {
  margin: 0.5rem;
  background: #f5f5f5;
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact .btn:hover {
  transform: scale(1.05);
  background: #e6e6e6;
}

/* =====================
   FOOTER
===================== */
footer {
  padding: 1.5rem;
  font-size: 0.85rem;
  background: #000;
  opacity: 0.7;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .card {
    width: 90%;
  }
}
