body {
  font-family: 'Inter', sans-serif;
  margin: 20px;
}

nav {
    background-color: #f0f0f0;
    padding: 10px;
}

.bold-title {
  font-weight: 700;       /* Makes the text bold */
  font-size: 2.5rem;      /* Large size for a title */
  font-family: 'Inter', sans-serif;  /* Clean, modern font */
  color: #222222;         /* Dark color for good contrast */
  margin: 1rem 0;         /* Space above and below */
  text-align: center;     /* Center the title */
}

/* Increase the size of all headings */
h1 {
  font-size: 2.5rem;  /* Adjust the size as needed */
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 3rem;
}

h6 {
  font-size: 3.5rem;
}

/* Default paragraph style (for desktops and tablets) */
p {
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Mobile-specific styles (screens 480px wide or smaller) */
@media (max-width: 480px) {
  p {
    font-size: 2.5rem;      /* Larger font size for mobile */
    line-height: 3;       /* Slightly more spacing for readability */
  }
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

/* Container for all services */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Each service card */
.service-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  text-align: center;  /* Center all text inside */
  height: 100%;
}

/* Image */
.service-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Description above the price */
.service-description {
  padding: 15px 10px 5px;
  font-size: 2rem;        /* Larger text */
  font-weight: 600;
  background-color: #f9f9f9;
  color: #333;
}

/* Price below the description */
.service-price {
  padding: 10px;
  font-size: 1.2rem;        /* Slightly larger text */
  font-weight: 400;
  background-color: #f9f9f9;
  width: 100%;              /* Stretch to container */
}

/* Entire page wrapper with background image */
.background-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* The background image layer */
.background-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/garage.webp'); /* replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75; /* change to control how faded it looks */
  z-index: -1;
}

/* Main content above the background */
.home-content {
  position: relative;
  z-index: 1;
  padding: 60px 20px;
  color: #000000;
  text-align: center;
}

/* Base styles for the navigation bar (desktop) */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  padding: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 12px 20px; /* space around the text */
  font-size: 2.25rem;     /* default font size */
  font-weight: bold;
  margin: 0 10px;
  border-radius: 5px;
}

nav a:hover {
  background-color: #555;
}

/* Larger nav links and more padding for mobile users */
@media (max-width: 768px) {
  nav {
    flex-direction: column;  /* stack nav items vertically on smaller screens */
    padding: 20px;
  }

  nav a {
    font-size: 5rem;         /* larger font for mobile */
    padding: 40px 70px;        /* more padding for easier tapping */
    margin: 25px 0;            /* more space between links */
    text-align: center;
    width: 100%;               /* make each link take full width */
  }

  nav a:hover {
    background-color: #444;    /* darker background on hover */
  }
}

/* Default focus styles for better visibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
  outline: 3px solid #005FCC;  /* A clear and visible outline */
  outline-offset: 2px;          /* Slight offset for better visibility */
  border: none;                /* Remove default browser outline (if needed) */
}

/* Optional: remove focus outline on mouse hover but keep it for keyboard navigation */
a:hover, button:hover, input:hover, textarea:hover, select:hover {
  outline: none;
}

body {
  background-color: #fff;      /* Light background */
  color: #333;                 /* Dark text for contrast */
}

a {
  color: #005FCC;              /* Blue color for links */
}

a:hover {
  color: #003366;              /* Darker blue on hover */
}

button {
  background-color: #005FCC;   /* Button background */
  color: white;                /* Button text */
}

button:focus {
  background-color: #003366;   /* Darker button on focus */
}

body {
  font-size: 1rem;            /* Use rem units for scalable font sizes */
  line-height: 1.6;           /* Increase line height for better readability */
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

p {
  font-size: 1.125rem;        /* Slightly larger paragraph text */
}

/* Example of flexible, fluid layout using flexbox */
.container {
  display: flex;
  flex-wrap: wrap;  /* Allow items to wrap to next line */
  justify-content: space-between;
}

.item {
  flex: 1;          /* Flex items will grow to fill space */
  padding: 20px;
  min-width: 250px;  /* Ensure readability on small screens */
}

a, button, input, textarea, select {
  padding: 15px 30px;    /* Ensure touchable elements are large */
  font-size: 1rem;       /* Larger font for readability */
}

button {
  background-color: #005FCC;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #003366;
}

button:focus {
  outline: 3px solid #FF6600; /* High contrast for focus */
}

button:active {
  background-color: #001A33; /* Darker on active */
}
