/* Reset & General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: linear-gradient(to bottom right, #ff7eb3, #ff758c, #ff6a00);
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  font-size: 2.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffeb3b;
}

/* Services Section */
#services {
  padding: 2rem;
  text-align: center;
}

.intro-text {
  margin: 1rem 0 2rem;
  font-style: italic;
  color: #fffbe7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
  font-weight: bold;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  background: rgba(255, 235, 59, 0.8);
  color: #000;
}

/* About & Contact */
#about, #contact {
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  margin: 2rem 0;
  border-radius: 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: auto;
}

input, textarea, button {
  padding: 0.8rem;
  border: none;
  border-radius: 10px;
}

textarea {
  resize: none;
}

button {
  background: #ffeb3b;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #ffc107;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Animations */
section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  opacity: 0;
  transform: scale(0.9);
  animation: popUp 0.5s ease forwards;
}

@keyframes popUp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
