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

/* Base Styles */
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #000; /* Black background */
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
header {
  background: #000;
  box-shadow: 0 2px 4px rgba(255, 59, 48, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  flex-wrap: nowrap;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 15px;
  margin-left: 15px;
  margin-right: 15px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ff3b30; /* Red accent */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #ff3b30; /* Red on hover */
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    #000,
    #ff3b30
  ); /* Gradient from black to red */
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
}

/* Footer */
footer {
  background: #000;
  padding: 20px 0;
  box-shadow: 0 -2px 4px rgba(255, 59, 48, 0.2);
  text-align: center;
  margin-top: auto;
}

footer p {
  color: #fff;
  font-size: 0.9rem;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  /* Optionally reduce logo and nav text sizes for small screens */
  .logo {
    font-size: 1.3rem;
  }

  .nav-links li a {
    font-size: 0.9rem;
    padding: 5px 10px;
  }
}
/* Contact Page Styles */
/* Contact Page Styles */
.contact {
  padding: 60px 20px;
  background: #111;
  color: #fff;
}

.contact h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #ccc;
}

/* Contact Information Styles */
.contact-info p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #ccc;
}

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

/* Contact Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit; /* Ensure same font as the rest of the site */
}

.contact-form button {
  padding: 15px;
  border: none;
  background: #ff3b30;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #e03224;
}

/* About Page Styles */
.about {
  padding: 60px 20px;
  background: #000;
  color: #fff;
}

.about h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #ccc;
}
/* Portfolio Section Styles */
.portfolio {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.portfolio-screenshot {
  max-width: 100%;
  height: auto;
  border: 2px solid #ff3a302c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.about a {
  color: #ff3b30;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.about a:hover {
  color: #fff;
  text-decoration: underline;
}
/* Global Link Styling (outside nav) */
main a,
.contact a,
.portfolio a {
  color: #ff3b30;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

main a:hover,
.contact a:hover,
.portfolio a:hover {
  color: #fff;
  text-decoration: underline;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff3b30;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ff3b30;
  transition: width 0.3s ease;
}

.logo:hover {
  color: #fff;
  transform: translateY(-2px);
}

.logo:hover::after {
  width: 100%;
}
.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ff3b30;
  transition: width 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ff3b30;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}
