@import url('https://fonts.googleapis.com/css?family=Khand');
@import url('https://fonts.googleapis.com/css?family=Oswald');

html{
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    background-image: url("./img/bg.png");
    color: #f2f2f2;
    padding: 0;
    margin: 0;
    font-family: 'Khand', sans-serif;
    font-weight: lighter;
}

a{
    text-decoration: none;
}

.container{
    width: 80%;
    margin: auto;
}

.home{
    /*background-image: url("./img/title2.png");*/
    background-size: cover;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
}

.img-fluid{
    max-width: 100%;
    height: auto;
}

.top-nav{
    position: absolute;
    text-align: center;
    height: 50px;
    left: 50%;
    margin: 0;
    font-size: 2em;
    transform: translateX(-50%);
}

.top-nav a{
    color: #f2f2f2;
    font-family: 'Khand', sans-serif;
    display: block;
}

.top-nav a img{
    margin-top: -15px;
}

.aside-float{
    text-align: right;
    width: 20%;
    padding: 15px;
}

.nav-side{
    position: sticky;
    top: 0;
}

.nav-side a{
    color: #f2f2f2;
    font-size: 1.2em;
    display: block;
    padding: 10px;
}

.nav-side img{
    vertical-align: middle;
    padding-left: 10px;
}

.items{
    width: 100%;
    padding-left: 10px;
    padding-top: 25px;
}

.menu-items{
    padding: 0;
    list-style: none;
    width: 100%;
}

.item{
    display: flex;
    justify-content: space-between;
    break-inside: avoid;
    border-bottom: #f2f2f2 2px dotted;
    font-size: 1.4em;
}

.content-menu{
    display: inline-flex;
    justify-content: space-between;
    align-content: center;
    width: 100%;
}

.content-side{
    border-left: #f2f2f2 2px solid;
    display: block;
    width: 100%;
}

.header1{
    background-image: url("./img/dishes.png");
    background-size: cover;
}

.header2{
    background-image: url("./img/drinks.png");
    background-size: cover;
}

.header3{
    background-image: url("./img/desserts.png");
    background-size: cover;
}

.header4{
    background-image: url("./img/steak.png");
    background-size: cover;
}

.header5{
    background-image: url("./img/kids.png");
    background-size: cover;
}


.h1{
    font-size: 5em;
    text-align: center;
    border-top: #f2f2f2 2px solid;
    border-bottom: #f2f2f2 2px solid;
}

section h1{
    color: #f2f2f2;
    font-size: 4em;
    margin: 0;
    text-align: center;
    background-color: rgba(37, 28, 15, 0.534);
}

footer{
    padding-top: 60px;
    padding-bottom: 10px;
    text-align: center;
}

footer p{
    margin: 0;
    font-size: 1.2em;
}

footer img{
    width: 50px;
    height: 50px;
    padding-left: 5px;
    padding-right: 5px;
}

* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial;
  }
  
  .header {
    text-align: center;
    padding: 32px;
  }
  
  .row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    -ms-flex: 25%; /* IE10 */
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  
  .column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
  }
  /* ===========================
   Gallery page tweaks
   =========================== */

.gallery-page {
  /* Use your site font again instead of Arial */
  font-family: 'Khand', sans-serif;
  color: #f2f2f2;
}

/* Wrap the gallery content so it doesn't stretch too wide on desktop */
.gallery-page .row {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 8px;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap; /* IE10 */
  gap: 8px;           /* modern spacing between columns */
}

/* Header styling – scales nicely on mobile & desktop */
.gallery-page .header {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
}

.gallery-page .header h1 {
  margin: 0 0 0.25rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-page .header p {
  margin: 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  opacity: 0.85;
}

/* Columns behave like cards with a bit of breathing space */
.gallery-page .column {
  -ms-flex: 25%; /* IE10 */
  flex: 1 1 220px; /* flexible width with a sensible minimum */
  max-width: 25%;
  padding: 0 4px;
}

.gallery-page .column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
  display: block;
  border-radius: 4px;
  /* subtle “print” feel */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Tablet: 2–3 columns depending on space */
@media screen and (max-width: 1024px) {
  .gallery-page .column {
    max-width: 33.333%;
  }
}

/* Small tablets / large phones: 2 columns */
@media screen and (max-width: 800px) {
  .gallery-page .row {
    gap: 6px;
  }
  .gallery-page .column {
    max-width: 50%;
    -ms-flex: 50%;
    flex: 1 1 50%;
  }
}

/* Phones: single column, larger images */
@media screen and (max-width: 600px) {
  .gallery-page .row {
    padding: 0 10px 2rem;
  }
  .gallery-page .column {
    max-width: 100%;
    -ms-flex: 100%;
    flex: 1 1 100%;
  }
  .gallery-page .column img {
    margin-top: 10px;
  }
}

/* Give the footer a bit more breathing space on the gallery page */
.gallery-page footer {
  padding-top: 20px;
}

.chequers-gallery {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.gallery-header p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.gallery-section {
  margin-bottom: 2.5rem;
}

.gallery-section h2 {
  font-size: 1.3rem;
  border-left: 4px solid #17492b; /* Chequers green vibe */
  padding-left: 0.5rem;
  margin-bottom: 0.25rem;
}

.section-intro {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Responsive grid */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-grid figure {
  background: #111;          /* assuming a dark Chequers theme */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;       /* keeps the grid tidy even if photos differ */
  object-fit: cover;
  transition: transform 0.25s ease;
}

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

.gallery-grid figcaption {
  padding: 0.5rem 0.75rem 0.7rem;
  font-size: 0.85rem;
  line-height: 1.3;
  background: rgba(0,0,0,0.7);
}