/* 1. Import Roboto font as specified in the design */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,700;0,900;1,300&display=swap");

/* 2. Global Resets & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Ensures padding stays inside the box */
  font-family: "Roboto", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 3. Hero Section (Header + Top Content) */
.hero {
  background-color: #1f2937; /* Dark background color */
  padding: 20px 15%; /* Horizontal padding to center content */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  color: #f9faf8; /* Logo color */
  font-weight: 900;
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-size: 18px;
  color: #e5e7eb; /* Secondary text color */
}

/* Home / Top Section Layout */
#home {
  background-color: #1f2937;
  padding: 100px 15%;
  display: flex;
  align-items: center;
  gap: 40px;
}

.home-left {
  flex: 1; /* Makes the text container grow */
}

.home-title {
  font-size: 48px;
  color: #f9faf8;
  font-weight: 900;
  margin-bottom: 8px;
}

.home-left p {
  font-size: 18px;
  color: #e5e7eb;
  margin-bottom: 24px;
}

.home-left button {
  background-color: #3882f6; /* Button accent color */
  color: white;
  padding: 10px 32px;
  border: none;
  border-radius: 8px; /* Rounded corners */
  font-weight: bold;
  cursor: pointer;
}

.home-right img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
}

/* 4. Projects Section (Random Information) */
#project {
  padding: 80px 15%;
  text-align: center;
}

#project h1 {
  font-size: 36px;
  color: #1f2937;
  font-weight: 900;
  margin-bottom: 48px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

.card img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 4px solid #3882f6; /* Blue border for project images */
  border-radius: 15px;
  margin-bottom: 12px;
}

.card p {
  max-width: 200px;
  color: #1f2937;
}

/* 5. About / Quote Section */
#about {
  background-color: #e5e7eb; /* Light grey background */
  padding: 100px 20%;
  display: flex;
  flex-direction: column;
}

#about blockquote {
  font-size: 36px;
  font-weight: 300; /* Light font weight for quote */
  color: #1f2937;
  font-style: italic;
}

#about span {
  align-self: flex-end; /* Align attribution to the right */
  font-weight: bold;
  font-size: 24px;
  margin-top: 16px;
}

/* 6. Contact / Call to Action Section */
#contact {
  padding: 100px 15%;
}

.contact-content {
  background-color: #3882f6;
  padding: 50px 80px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.contact-title h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

.contact-button button {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  padding: 8px 32px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* 7. Footer */
.footer {
  background-color: #1f2937;
  color: #f9faf8;
  text-align: center;
  padding: 40px 0;
  margin-top: auto; /* Pushes footer to bottom if content is short */
}
