/* =============================================================
   Bihari Indian Restaurant — Responsive stylesheet 2025
   Brand colours: #ECA270  #C66A2D  #EFB178  #E19651  #530805
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #000;
  background-image: url(images/bg.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

img { border: 0; max-width: 100%; height: auto; }

a:link, a:visited, a:active { color: #ECA270; font-weight: bold; text-decoration: none; }
a:hover { color: #C66A2D; }

p {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 24px;
  margin: 0 0 10px;
  padding: 0;
  text-align: justify;
}

h1 {
  color: #EFB178;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  padding: 12px 30px 6px;
  margin: 0;
}

h2 {
  color: #E19651;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  padding: 4px 30px;
  margin: 0 0 8px;
  text-align: justify;
}

h3 {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  padding: 4px 30px;
  margin: 0;
}

h4 {
  background-color: #90A94D;
  color: #fff;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  padding: 6px;
  margin-bottom: 10px;
}

li {
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 24px;
}

.bold    { font-weight: bold; }
.italic  { font-style: italic; }
.clear   { clear: both; }
.credit  { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 22px; }
.floatright { float: right; margin: 10px 0 10px 20px; }
.menutitle  { color: #E49C5A; font: italic bold 16px "Times New Roman", Times, serif; }


/* ── Layout ──────────────────────────────────────────────────── */
#layout {
  max-width: 900px;
  margin: 0 auto;
}


/* ── Site header ─────────────────────────────────────────────── */
#site-header {
  background-color: #1a0103;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

#site-logo img {
  height: 64px;
  width: auto;
  display: block;
}

#nav-toggle {
  display: none;
  background: none;
  border: 2px solid #ECA270;
  color: #ECA270;
  font-size: 22px;
  line-height: 1;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 3px;
}


/* ── Navigation strip ────────────────────────────────────────── */
#site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #2D0307;
  padding: 4px 10px;
  gap: 0;
}

#site-nav > a,
.nav-drop-btn {
  color: #fff;
  font: italic bold 13px "Times New Roman", Times, serif;
  text-decoration: none;
  padding: 6px 9px;
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

#site-nav > a:hover,
.nav-drop-btn:hover { color: #ECA270; }

#site-nav > a.current { color: #ECA270; }


/* ── Dropdown ────────────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1a0103;
  border: 1px solid #ECA270;
  min-width: 170px;
  z-index: 200;
}

.nav-dropdown.open .nav-drop-menu { display: block; }

.nav-drop-menu a {
  display: block;
  color: #ECA270;
  font: 13px Arial, sans-serif;
  font-weight: normal;
  padding: 8px 14px;
  white-space: nowrap;
}

.nav-drop-menu a:hover {
  color: #C66A2D;
  background: rgba(255,255,255,0.05);
}


/* ── CTA bar (order buttons) ─────────────────────────────────── */
#cta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 20px;
  background-color: #530805;
}

#cta-bar > * { flex: 0 0 auto; }

.gloriafood-button, .glf-button {
  display: inline-block !important;
  padding: 8px 16px !important;
  cursor: pointer;
  text-align: center;
  color: #fff !important;
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-size: 13px !important;
  font-weight: bold;
  border-radius: 3px;
  background-color: #ef8b17;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
  transition: background-color 0.2s;
}

.glf-button:hover { background-color: #C66A2D !important; }


/* ── Hero slideshow (CSS crossfade, all 9 restaurant images) ─── */
#hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: #530805;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideFade 36s infinite;
}

.slide:nth-child(1) { background-image: url(newlands_gallery/1.jpg);  animation-delay: 0s;  }
.slide:nth-child(2) { background-image: url(newlands_gallery/3.jpg);  animation-delay: 4s;  }
.slide:nth-child(3) { background-image: url(newlands_gallery/5.jpg);  animation-delay: 8s;  }
.slide:nth-child(4) { background-image: url(newlands_gallery/7.jpg);  animation-delay: 12s; }
.slide:nth-child(5) { background-image: url(newlands_gallery/9.jpg);  animation-delay: 16s; }
.slide:nth-child(6) { background-image: url(newlands_gallery/11.jpg); animation-delay: 20s; }
.slide:nth-child(7) { background-image: url(newlands_gallery/13.jpg); animation-delay: 24s; }
.slide:nth-child(8) { background-image: url(newlands_gallery/15.jpg); animation-delay: 28s; }
.slide:nth-child(9) { background-image: url(newlands_gallery/17.jpg); animation-delay: 32s; }

@keyframes slideFade {
  0%     { opacity: 0; }
  2.78%  { opacity: 1; }
  8.33%  { opacity: 1; }
  11.11% { opacity: 0; }
  100%   { opacity: 0; }
}


/* ── Content area ────────────────────────────────────────────── */
#content { width: 100%; }

#column2bg {
  background-image: url(images/col2bottom.jpg);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-bottom: 22px;
}

#column2 {
  background-image: url(images/col2bg.jpg);
  background-repeat: repeat-y;
  background-size: 100% auto;
  overflow: hidden;
}

#column2 > img:first-child {
  width: 100%;
  display: block;
}

#column2 p {
  text-align: justify;
  padding: 0 30px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 24px;
}

#column2 td {
  text-align: right;
  padding: 0 15px 0 30px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 24px;
}

#column2 ul {
  padding: 0 30px;
}


/* ── Inner two-column layout ─────────────────────────────────── */
#column2left {
  float: left;
  width: 57%;
  overflow: hidden;
}

#column2right {
  float: right;
  width: 38%;
  overflow: hidden;
}

#column2right img {
  padding: 8px 0;
  display: block;
  width: 100%;
}


/* ── News box ────────────────────────────────────────────────── */
#news {
  background-color: #2D0307;
  padding: 10px 15px 20px;
  margin: 10px 0;
}

#news p {
  font-size: 12px;
  color: #fff;
  text-align: left;
  line-height: 20px;
  padding: 0;
}

#news a             { color: #DAB39E; }
#news a:hover       { color: #DAB39E; text-decoration: underline; }


/* ── Gallery ─────────────────────────────────────────────────── */
#gallery {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  border: 1px solid #000;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

#gallery img { width: 100%; height: 100%; object-fit: cover; }

#gallerythumbs {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}

#galleryleft  { float: left;  width: 32px; height: 67px; cursor: pointer; margin-right: 3px; }
#galleryright { float: left;  width: 32px; height: 67px; cursor: pointer; margin-left: 3px; }

#slider {
  float: left;
  height: 67px;
  width: calc(100% - 70px);
  vertical-align: top;
  text-align: left;
}


/* ── Footer ──────────────────────────────────────────────────── */
#footer {
  clear: both;
  height: 108px;
  background-image: url(images/footer.gif);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}


/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 700px) {

  #nav-toggle { display: block; }

  #site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    background-color: #1a0103;
    padding: 0;
  }

  #site-nav.open { display: flex; }

  #site-nav > a,
  .nav-drop-btn {
    padding: 11px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 15px;
    text-align: left;
  }

  .nav-dropdown { width: 100%; }

  .nav-drop-menu {
    position: static;
    transform: none;
    border: none;
    border-left: 3px solid #ECA270;
    margin-left: 20px;
    min-width: 0;
  }

  .nav-drop-menu a { padding: 8px 16px; }

  #hero { height: 200px; }

  h1 { font-size: 15px; padding: 10px 15px 6px; }
  h2 { font-size: 13px; padding: 4px 15px; }
  h3 { padding: 4px 15px; }

  #column2 p  { padding: 0 15px; }
  #column2 ul { padding: 0 15px 0 30px; }

  #column2left,
  #column2right {
    float: none;
    width: 100%;
  }
}
