/* Basic styles for the Automotive Art Gallery */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item h3 {
  margin: 10px;
  font-size: 1.2em;
}

.gallery-item p {
  margin: 10px;
  color: #555;
}

.gallery-item button {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-item button:hover {
  background-color: #0056b3;
}

/* Home Section Styles */
.home {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background-color: #1a1a1a;
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  border-radius: 8px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero button {
  padding: 12px 30px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero button:hover {
  background-color: #0056b3;
}

.welcome-section {
  background-color: white;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
  color: #333;
  margin-bottom: 20px;
}

.seller-signup {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.seller-signup h2 {
  color: #333;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.signup-btn {
  padding: 12px 25px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.signup-btn:hover {
  background-color: #0056b3;
}

/* Navbar Styles */
.main-nav {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-small a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007BFF;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0 15px;
}

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

.nav-links a:hover {
  color: #007BFF;
}

.nav-buttons button {
  margin-left: 10px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.nav-buttons .login-btn {
  background-color: transparent;
  border: 1px solid #007BFF;
  color: #007BFF;
}

.nav-buttons .signup-btn {
  background-color: #007BFF;
  color: white;
}

/* Header Styles */
.main-header {
  background-color: #1a1a1a;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.main-header .logo {
  margin-bottom: 20px;
}

.main-header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.main-header p {
  font-style: italic;
  font-size: 1.1rem;
}

/* Footer Styles */
.main-footer {
  background-color: #222;
  color: #fff;
  padding: 40px 0 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #007BFF;
}

.footer-section p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #007BFF;
}

.social-icons {
  display: flex;
  flex-direction: column;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.social-icon i {
  margin-right: 10px;
  font-size: 1.2rem;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* Content Container Styles */
.content-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Authentication Form Styles */
.auth-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
}

.auth-form h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.auth-form .form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.auth-form .forgot-password {
  color: #007BFF;
  text-decoration: none;
}

.auth-form .forgot-password:hover {
  text-decoration: underline;
}

.auth-form .auth-redirect {
  text-align: center;
  margin-top: 25px;
  font-size: 0.9rem;
}

.auth-form .auth-redirect a {
  color: #007BFF;
  text-decoration: none;
}

.auth-form .auth-redirect a:hover {
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.submit-btn {
  padding: 12px 25px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .welcome-section,
  .seller-signup {
    padding: 25px;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-section {
    width: 100%;
    text-align: center;
  }
  
  .social-icons {
    align-items: center;
  }
  
  .nav-container {
    flex-direction: column;
  }
  
  .nav-links {
    margin: 15px 0;
  }
  
  .nav-buttons {
    margin-top: 15px;
  }
}