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

body {
  font-family: 'Poppins', sans-serif;
  background: #f0f0f0;
  color: #1a1a1a;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg,#1a1a1a,#333);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

header .logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #fff;
  background: url('https://picsum.photos/80/80?random=1') center/cover no-repeat;
  width: 50px;
  height: 50px;
  display: inline-block;
  border-radius: 12px;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}

header nav a:hover {
  color: #ffcc00;
  transform: scale(1.1);
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url('https://picsum.photos/1920/1080?random=2') center/cover no-repeat;
  background-size: cover;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero h1 {
  font-size: 4em;
  z-index: 1;
  margin-bottom: 20px;
  animation: slideDown 1.5s ease-out;
}

.hero p {
  font-size: 1.5em;
  z-index: 1;
  margin-bottom: 30px;
  animation: fadeIn 2s ease-in;
}

.hero .hero-buttons a {
  padding: 15px 30px;
  margin: 0 10px;
  background: linear-gradient(45deg,#ffcc00,#ff6600);
  color: #1a1a1a;
  font-weight: bold;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  z-index: 1;
}

.hero .hero-buttons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* SECTIONS */
section {
  padding: 100px 50px;
}

h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 50px;
  color: #333;
}

/* SERVICES */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
  margin-bottom: 15px;
}

.service-card:hover {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* TEAM */
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.team-member {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  width: 220px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 25px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-card:hover img {
  transform: scale(1.1);
}

/* CONTACT */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #333;
}

form button {
  padding: 15px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(45deg,#ffcc00,#ff6600);
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 25px;
  background: #1a1a1a;
  color: white;
  margin-top: 50px;
}

/* ANIMATIONS */
@keyframes slideDown {
  from {transform: translateY(-50px); opacity:0;}
  to {transform: translateY(0); opacity:1;}
}

@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
