/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111;
  line-height: 1.5;
}

/* HERO BANNER */
.hero-banner {
  position: relative;
  height: 70vh;
  min-height: 400px;
  width: 100%;
  background-image: url('./images/elvey-hero.jpg'); /* Add your hero image */
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* HERO CTA BUTTON WITH ANIMATED GRADIENT BORDER */
.hero-cta-wrapper {
  display: inline-block;
  padding: 3px; /* border thickness */
  border-radius: 33px; /* slightly bigger than button */
  background: conic-gradient(#5054f6, #a646f4, #de3cf3, #5054f6);
  animation: rotateBorder 3s linear infinite;
}

.hero-cta {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #0f0f23;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hero-cta:hover {
  transform: scale(1.05);
}

/* Animation for rotating gradient */
@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* PORTFOLIO SECTION */
.portfolio-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
}

/* Categories */
.portfolio-category {
  margin-bottom: 60px;
}

.portfolio-category h3 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Portfolio items grid */
.portfolio-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  display: block;
}

.portfolio-item p {
  padding: 12px 15px;
  font-size: 1rem;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .portfolio-section {
    padding: 60px 15px;
  }
}
