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

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  background: #111;
  color: #e0e0e0;
}

/* HERO BACKGROUND */
.hero {
  background: url("background.jpg") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 2rem;
  border-radius: 1rem;
}

.site-title {
  font-size: 3rem;
  color: #f33;
  margin-bottom: 0.5rem;
}

.tagline {
  color: #ccc;
  margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
  background: #f33;
  color: white;
  border: none;
  padding: 0.7rem 1.5rem;
  margin: 0.5rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #c00;
}

.btn.outline {
  background: transparent;
  border: 2px solid #f33;
  color: #f33;
}

.btn.outline:hover {
  background: #f33;
  color: white;
}

/* LAYOUT */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
}

.profile-pic {
  width: 150px;
  border-radius: 50%;
  border: 3px solid #f33;
}

.contact-info h2 {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: #f33;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

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

.card {
  background: #222;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-align: center;
}

.card img,
.card iframe {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

/* HEADER + FOOTER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #000;
  position: sticky;
  top: 0;
}

.site-header a {
  color: #f33;
  text-decoration: none;
  margin: 0 0.5rem;
}

.site-header a:hover {
  text-decoration: underline;
}

.site-footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reduce-motion * {
  animation: none !important;
  transition: none !important;
}
/* Mobile image fix */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile grid layout */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
