/*
 * Global Styles for My Website
 *
 * This stylesheet defines the typography, layout, and basic components
 * for a simple and modern website. It is intentionally kept minimal
 * so that you can easily extend it or integrate it with a framework
 * like Tailwind or Bootstrap if desired.
 */

/* Import Google Font */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Container */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background-color: #f7f9fc;
  border-bottom: 1px solid #e6e8ee;
}

.site-header .logo {
  font-weight: 600;
  font-size: 1.6rem;
  margin: 0;
  padding: 1rem 0;
}

.site-header .logo a {
  color: #333;
  text-decoration: none;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  font-weight: 500;
}

/* Navigation links */
.site-nav a {
  color: #333;
  text-decoration: none;
  padding: 1rem 0.5rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

/* Change text colour on hover */
.site-nav a:hover {
  color: #007bff;
}

/* Highlight the current page */
.site-nav a.active {
  border-color: #007bff;
  color: #007bff;
}

/* Hero Section */
.hero {
  background-color: #e9f5ff;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* Logo in Hero */
.hero-logo {
  width: 200px;
  max-width: 80%;
  display: block;
  margin: 0 auto 1.5rem auto;
}

.button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #005bb5;
}

/* Features Section */
.features {
  padding: 3rem 0;
  background-color: #f7f9fc;
}

.features h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background-color: #fff;
  border: 1px solid #e6e8ee;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.feature h4 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature p {
  font-size: 0.9rem;
  color: #555;
}

/* Page Headers */
.page-header {
  background-color: #e9f5ff;
  padding: 3rem 0;
  text-align: center;
}

.page-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.page-header p {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* About Page */
.about-content {
  padding: 3rem 0;
}

.about-content h3 {
  font-size: 1.6rem;
  margin-top: 2rem;
  font-weight: 600;
}

.about-content p {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
}

.values-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.values-list li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: #555;
}

/* Contact Page */
.contact-content {
  padding: 3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  align-self: flex-start;
}

/* Footer */
.site-footer {
  background-color: #f7f9fc;
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #e6e8ee;
  font-size: 0.9rem;
}