/* General Styles */
:root {
  --primary-color: #2c3e50;
  /* --secondary-color: #34b7a7; */
  --secondary-color: #9f7963;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --dark-bg: #343a40;
  --white: #ffffff;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Header Styles */
header {
  background-color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  box-shadow: var(--box-shadow);
}

header h1 {
  color: var(--primary-color);
  font-size: 2rem;
}

/* Hero Section */
.hero {
  background-color: var(--dark-bg);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects Section */
.projects {
  padding: 4rem 2rem;
  text-align: center;
}

.projects h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  width: 300px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--light-bg);
}

.project-icon img {
  width: 40px;
  height: 40px;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.project-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Contact Section */
.contact {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--light-bg);
}

.contact h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.contact a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .projects h2 {
    font-size: 2rem;
  }
  
  .project-card {
    width: 100%;
    max-width: 350px;
  }
}

.material-icons.md-48 { font-size: 48px; }

/* 404 Page Styles */
main.error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-container {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.error-icon {
  font-size: 5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.home-button {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: var(--secondary-color);
  color: var(--white);
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.home-button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}
