/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4, #a1c4fd, #c2e9fb);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #222;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* shadow on all text */
}

/* Animate gradient background */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

header {
  background: linear-gradient(135deg, #1e3c72, #2a5298, #6dd5ed, #2193b0);
  color: white;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

nav a:hover {
  color: #ffd700;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

section {
  padding: 3rem 5%;
}

.hero {
  background: rgba(255,255,255,0.85);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.hero h2 {
  font-size: 2.2rem;
  color: #1e3c72;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.buttons {
  margin-top: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: transform 0.3s, background 0.3s;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #dd2476, #ff512f);
}

.services, .portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

footer {
  text-align: center;
  padding: 1.2rem;
  background: linear-gradient(135deg, #2a5298, #1e3c72);
  color: white;
  margin-top: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}
