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

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: #111;
  line-height: 1.6;
}

/* Header */
header {
  background: #111;
  padding: 1rem;
  text-align: center;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd700;
}

/* Hero Sections */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 12px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #ffd700;
  color: #111;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #ffae00;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Page-specific backgrounds */
.home-hero {
  background-image: url("images/home-bg.jpg");
}

.about-hero {
  background-image: url("images/about-bg.jpg");
}

.projects-hero {
  background-image: url("images/projects-bg.jpg");
}

.contact-hero {
  background-image: url("images/contact-bg.jpg");
}
