/* General Reset and Body Layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.5;
  background: #f4f4f4;
  color: #333;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Ensure main expands to push footer down */
main {
  flex: 1;
  width: 100%;
  max-width: 1450px;
  margin: auto;
  padding: 20px;
}

/* Header Styling */
header {
  background: linear-gradient(90deg, #353535, #080808);
  color: #fff;
  width: 100%;
  flex: 1;
  max-width: 1420px;
  margin: auto;
  padding: 20px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

/* Navigation Menu */
.nav-menu {
  display: none;
  flex-direction: column;
  background: #353535;
  position: absolute;
  top: 60px;
  right: 0;
  width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 2000;
}

.navbar {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
}

.navbar li {
  padding: 10px;
  text-align: center;
}

.navbar li a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px;
  transition: background 0.3s ease;
}

.navbar li a:hover {
  background: #444;
}

.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: block;
  z-index: 3000;
}

/* Hero Section */
.hero {
  background: url('images/hero-background.jpg') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: #353535;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
}

/* Content and Form Section */
.content, .ad-generator, .partners {
  background: #fff;
  padding: 40px 20px;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(161, 167, 169, 0.866);
}

.content h1, .ad-generator h2, .partners h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #353535;
}

.content p, .ad-generator p {
  margin-bottom: 15px;
  font-size: 18px;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
  font-size: 1.1rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
  color: #555;
}

form input, form select {
  padding: 12px;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 10px;
}

form button {
  padding: 12px;
  background-color: #3498db;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%; /* Full width button */
  margin-top: 20px;
}

form button:hover {
  background-color: #2980b9;
}

/* Partners Section */
.partner-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partner-logos img {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(0%);
}

/* Footer */
footer {
  background: #353535;
  color: #fff;
  text-align: center;
  margin-top: 40px;
  width: 100%;
  flex: 1;
  max-width: 1420px;
  margin: auto;
  padding: 20px;
}
