/* ---------- BASE ---------- */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background-color: #fafafa;
  color: #333;
  line-height: 1.6;
}

/* ---------- HEADER ---------- */
header {
  background-color: #b22222;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  border-bottom: 3px solid #8b1a1a;
}
header h1 { 
   margin: 0; 
   font-size: 2.2em; /* Title */
  }
header p { 
  margin: 4px 0; 
  font-size: 2.4em;  /* Address */
}

/* ---------- NAVBAR (mobile-first) ---------- */
.navbar {
  background-color: #8b1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.nav-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-list li {
  position: relative;
  width: auto;
  text-align: center;
}
.nav-list a, .dropbtn {
  display: block;
  width: 100%;
  padding: 26px 50px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.65em;
  letter-spacing: 0.6px;
  background: none; border: none;
  font: inherit; cursor: pointer; transition: background 0.3s ease;
  box-sizing: border-box;
}
.nav-list a:hover, .dropbtn:hover {
   background-color: #a52a2a; 
   transform: scale(1.05);
  }

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 10;
  padding: 10px 0;
  border-radius: 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.dropdown-content a {
  display: block;
  width: 100%;
  color: #333;
  padding: 20px 0;
  text-align: center;
  text-decoration: none;
  max-width: 200px;
  margin: 0;
  font-size: 1.5em;
}
.dropdown-content a:hover {
  background: #f1f1f1; 
  color:#8b1a1a;
}
.dropdown:hover .dropdown-content { display: flex; }

/* ---------- LOGO SECTION ---------- */
#logo-display {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: -120px 0 -60px; 
}
.main-logo {
  width: clamp(240px, 50vw, 520px);
  height: auto;
  border-radius: 0;
  background: transparent;
  display: block;
}
/* ====== 3-column layout with side rails (desktop) ====== */
.layout {
  display: grid;
  grid-template-columns: 220px 1fr 220px;   /* left rail | main | right rail */
  gap: 16px;
  align-items: start;
  max-width: 1400px;                        
  margin: 0 auto;
  padding: 10px 12px;
}

/* Side rails */
.rail {
  display: grid;
  gap: 12px;
  position: sticky;                         /* stays in view as you scroll */
  top: 12px;                                /* distance from top when sticking */
  align-content: start;
}

.rail img {
  display: block;
  width: 100%;
  height: 220px;                            /* consistent tiles */
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.85;                            /* slight transparency */
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rail img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Keep your main centered and readable */
.layout main {
  max-width: 700px;                         /* you already use this */
  margin: 0 auto;
}

/* Mobile & tablet: hide rails, go single column */
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 10px;
  }
  .rail { display: none; }
}

/* ---------- MAIN CONTENT ---------- */
main {
  padding: 15px; text-align: center; max-width: 700px; margin: 0 auto;
}
#intro h2 { color: #b22222; font-size: 1.3em; }
#intro p { margin: 10px 0 25px; font-size: 1em; }
#hours h2 { color: #b22222; font-size: 1.2em; margin-bottom: 8px; }


/* ---------- FOOTER ---------- */
footer {
  background: #333;
  color: #fff;
  padding: 28px 10px;
  margin-top: 30px;
  font-size: 1.5em;
  text-align: center;
  border-top: 3px solid #8b1a1a;
}
footer a { 
  color: #f2dcdc;
  text-decoration: none;
 }
footer a:hover {
  text-decoration: underline;
}

/* ---------- DESKTOP NAVBAR ENHANCEMENTS ---------- */
@media (min-width: 700px) {
  .navbar {
    flex-direction: row;
    justify-content: center; 
  }
  .nav-list {
    flex-direction: row;
    width: auto; 
  }
  .nav-list li {
    width: auto; 
  }
  .nav-list a, .dropbtn {
    min-width: 220px;
    font-size: 1.45em;
    padding: 26px 55px;
  }
  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); border-radius: 4px; display: none;
  }
  .dropdown:hover .dropdown-content { display: block; flex-direction: column; }
}
/* ---------- Mobile  ENHANCEMENTS ---------- */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-list li {
    width: 100%;
    text-align: center;
  }
  .nav-list a,
  .dropbtn {
    padding: 16px 12px;
    font-size: 1.1em;
  }
  .nav-list a:hover,
  .dropbtn:hover {
    transform: none;
  }
  .dropdown { position: static; }
  .dropdown-content {
    position: static;
    left: auto;
    right: auto;
    width: 100%;
    box-shadow: none;
    background: #fff;
    padding: 8px 0;
  }
  .dropdown-content a {
    padding: 12px 0;
    font-size: 1em;
  }
  #logo-display {
    margin: 12px 0 -20px;
  }
  .main-logo {
    width: 72vw;            
  }
}


/* ====================================================== */
/*                     GALLERY PAGE                       */
/* ====================================================== */

/* Page header */
.gallery-page {
  padding: 20px 10px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-header {
  text-align: center; margin-bottom: 20px;
}
.gallery-header h2 {
  font-size: 1.8em; color: #b22222; margin-bottom: 6px;
}
.gallery-header p { color: #555; margin: 0; font-size: 1em; }

/* Grid: 1 col (mobile), 2 cols (tablet), 3 cols (large) */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;     /* phones */
  gap: 16px;
  justify-items: center;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } /* tablets */
}
@media (min-width: 1050px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } /* large screens */
}

/* Cards  */
.gallery-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 100%; max-width: 360px;   /* controls card width */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
.gallery-card img {
  display: block; width: 100%; height: 240px; 
  object-fit: cover;
}
.gallery-card figcaption {
  text-align: center; padding: 10px 8px; font-weight: 500;
  color: #333; font-size: 1em; background: #fafafa;
}

@media (min-width: 1050px) {
  .gallery-card img { height: 260px; }
}

