html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* Base Styles */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
  padding: 1rem;
}

header {
  background: #222;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

nav a {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ffcc00;
}

main {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}


.grid-gallery img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.grid-gallery img:hover {
  transform: scale(1.05);
}

.map-container {
  margin-top: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
}

.required {
  color: red;
  margin-left: 0.3rem;
}

input, textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
}

button {
  padding: 0.7rem;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #444;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #eee;
  margin-top: 2rem;
}

/* Responsive Layouts */
@media (max-width: 410px) {
  nav a {
    display: block;
    margin: 0.5rem 0;
  }

  .grid-gallery {
    grid-template-columns: 1fr;
  }

  form {
    font-size: 0.9rem;
  }
}

@media (min-width: 1024px) {
  main {
    grid-template-columns: 1fr;
    
  }
}
/* 📱 Tablet-specific layout */
@media (max-width: 1023px) and (min-width: 411px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main"
      "sidebar"
      "footer";
  }
}
#gallery{
flex-wrap: wrap-reverse;

}