/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and Basic Layout */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  background-color: #000000; /* Black background */
  color: #ffffff; /* White text for the body */
  font-family: Arial, sans-serif;
}

/* Header Styling */
header {
  background-color: #1e1e1e; /* Dark grey for the header background */
  color: #e74c3c; /* Red text for headers */
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin: 10px;
}

nav ul li a {
  color: #e74c3c; /* Red for navigation links */
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  color: #ffffff;
  background-color: #e74c3c;
}

/* Section Styling */
section {
  margin: 20px;
  padding: 20px;
  background-color: #3a3a3a; /* Grey background for boxes */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  max-width: 90%; /* Use percentage for fluidity */
  width: 100%;
  text-align: center;
}

/* Hero Section */
#home h1 {
  color: #e74c3c; /* Red text for headers */
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#home p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #e74c3c; /* Red button */
  color: #ffffff; /* White text */
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #f39c12;
}

/* About and Contact Section */
#about,
#contact {
  max-width: 90%; /* Use percentage for fluidity */
  width: 100%;
}

#about h2,
#contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #e74c3c; /* Red text for section headers */
}

#about p,
#contact p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Contact Info */
.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-item span {
  font-size: 1rem;
  margin-right: 10px;
}

.contact-icon {
  font-size: 1.5rem;
  color: #e74c3c; /* Red icons */
}

.contact-item a {
  text-decoration: none;
  color: #ffffff; /* White contact links */
  font-weight: bold;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer Styling */
footer {
  background-color: #1e1e1e; /* Dark grey for footer */
  color: #ffffff; /* White text in footer */
  padding: 20px;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

footer .social-links {
  list-style-type: none;
  padding: 10px 0;
  margin: 10px 0 0;
}

footer .social-links li {
  display: inline-block;
  margin: 0 10px;
}

footer .social-links li a {
  color: #e74c3c; /* Red social links */
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer .social-links li a:hover {
  color: #f39c12;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  #home h1 {
    font-size: 2rem;
  }

  #about h2,
  #contact h2 {
    font-size: 1.5rem;
  }

  #about p,
  #contact p {
    font-size: 0.9rem;
  }

  section {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  #home h1 {
    font-size: 1.5rem;
  }

  #about h2,
  #contact h2 {
    font-size: 1.2rem;
  }

  nav ul li a {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}
