:root {
  --max-width: 1100px;
  --accent: #007bff;
  --muted: #666;
  --gap: 1rem;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  /* CHANGE 1: Set the entire site background to white */
  background: white;
  color: #222;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Header Section --- */
.site-header {
  background: white;
  color: #222;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

/* --- CORRECTED LOGO STYLES --- */
/* This rule now targets the .logo class from your HTML */
.logo {
  max-width: 400px;  /* Sets a sensible maximum size on large screens */
  width: 100%;       /* Ensures the logo shrinks to fit on smaller screens */
  height: auto;      /* Maintains the aspect ratio as it resizes */
  display: block;
  margin: 0 auto;
}

/* We can remove the old, problematic rule now */
/*
img[src*="NewLogo1.png"] {
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
}
*/


/* --- Hero Section --- */
.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('/logos/header1.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.hero .lead {
  color: #ccc;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #ccc;
  cursor: pointer;
}

.btn--primary {
  background: var(--accent);
  color: white;
  border-color: transparent;
}

/* --- Content Sections --- */
.services,
.projects,
.facebook-feed {
  padding: 3rem 1rem;
  text-align: center;
}

.services h2,
.projects h2,
.facebook-feed h2 {
  margin-bottom: 2rem;
}

/* CHANGE 3: Styles for the new image section under "Services" */
.image-showcase {
  padding: 1rem 0 3rem 0; /* Add some space around the image */
}

.image-showcase img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Consistent rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Consistent shadow */
}


/* --- Project Gallery / Slider --- */
.projects {
  background: white;
  color: #222;
  overflow-x: hidden;
}

.project-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  scrollbar-width: none;
}

.project-slider::-webkit-scrollbar {
  display: none;
}

.project {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background-color: #eee;
}

.project figcaption {
  display: none;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-controls button {
  background: var(--accent);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-controls button:hover {
    background: #0056b3;
}

/* --- Media Queries for Responsive Design --- */
@media(min-width: 700px) {
  .project {
    flex: 0 0 30%;
  }
}

/* --- Footer and Facebook Feed --- */
.facebook-feed {
  padding: 40px 1rem;
  text-align: center;
}

.fb-page {
  display: inline-block;
}

.site-footer {
  padding: 2rem 0;
  text-align: center;
  /* CHANGE 2: Set footer to white and text to dark gray */
  background: black;
  color: var(--muted);
}