* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .main-content {
    padding: 1em;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .flex-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-direction: row; /* keep horizontal */
    justify-content: center;
    gap: 1em;
  }
  .img-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .img-row {
    grid-template-columns: 1fr;
  }
}

body {
  font-family: sans-serif;
  text-align: center;
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
}

.nav-links a, h1, h2 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.top-bar {
  color: white;
  text-align: center;
  padding: 0.5em 0;
  width: 100%;
  background: linear-gradient(90deg, black, darkred, red, darkred, black);
  background-size: 400% 100%;
  animation: flow-gradient 12s linear infinite;
}

@keyframes flow-gradient {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}


.logo-bar {
  background-color: white;
  text-align: center;
  padding: 1em 0;
}

.logo-bar img{
  height: 60px;
  width: auto;
  margin: auto;
}

.center {
  margin: auto;
}

.nav-bar {
  background-color: #000;
  width: 100%;
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0.75em 0;
  gap: 2em;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #c8102e; /* Pro Electric red */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.img-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* subtle shadow */
}

.info-box {
  background-color: #f5f1e6;
  text-align: center;
  padding: 2em;
  margin: 2em 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-box.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-box h2 {
  margin-bottom: 1em;
  font-size: 1.75rem;
}

.info-box p {
  max-width: 600px;
  margin: 0 auto 1.5em auto;
  font-size: 1.1rem;
  line-height: 1.5;
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.button {
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 0.75em 1.5em;
  border: 2px solid #000;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.button:hover {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

.callout-section {
  text-align: center;
  padding: 2em 1em;
  max-width: 800px;
  margin: 0 auto;
}

.callout-section h2 {
  font-size: 1.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 0.75em;
}

.callout-section p {
  max-width: 750px;
  margin: 0 auto 1.5em auto;
  font-size: 1.05rem;
  line-height: 1.6;
}

.callout-section .button {
  margin-top: 1em;
}

.review-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin: 2em 0;
}

.review-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #c8102e;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.review-circle:hover {
    transform: scale(1.1);
    background-color: #a00;
}

.review-circle.facebook { background-color: #3b5998; }
.review-circle.google { background-color: #db4437; }


footer {
  margin-top: 3em;
  text-align: center;
}

footer img {
  width: 150px;
  height: auto;
  margin-bottom: 1em;
}

footer div:last-child {
  background-color: #000;
  color: #fff;
  padding: 0.75em 1em;
  font-size: 0.85rem;
  width: 100%;
  box-sizing: border-box;
}

/* gallery styling */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 5vw;
  background: #f9f9f9;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  width: 90vmin;
  height: 90vmin;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
}

.hidden {
  display: none;
  pointer-events: none;
}