/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #181818;
  color: #FFFFFF;
}

header {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  background-color: #181818;
  border-bottom: 2px solid #D6D11F;
}

.logo {
  width: 150px;
  height: auto;
}

h1 {
  font-size: 2.2rem;
  margin: 0.5rem 0 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(90deg, rgba(214, 209, 31, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(214, 209, 31, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
}

/*Instagram icon*/
.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 0.4rem;
  filter: invert(100%) brightness(100%);
}

.reservations a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
}

.reservations a:hover {
  color: #D6D11F;
}

.reservations {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
}

.reservations p {
  margin: 0.4rem 0;
  font-size: 1rem;
  letter-spacing: 1px;
}

.reservations p:first-child {
  color: #D6D11F;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.reservations span {
  color: #D6D11F;
  font-weight: bold;
  text-transform: uppercase;
  margin-right: 0.4rem;
}

.reservations p:last-child {
  font-size: 1rem;
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .reservations {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

section {
  background-color: #1C1C1C;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  width: 85%;
  max-width: 44rem;
  box-shadow: 0 0 12px rgba(214, 209, 31, 0.15);
}

section .content {
  display: none; /* hide content by default */
  margin-top: 1rem;
}

section.active .content {
  display: block; /* show when active */
  animation: fadeIn 0.3s ease;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.section-title .arrow {
  transition: transform 0.3s ease, opacity 0.3s ease;
  font-size: 1.2rem;
  opacity: 0.7;
}

/* Rotate when expanded */
.pricelist.active .arrow {
  transform: rotate(180deg);
}

/* Hide arrow completely if section is active on load (like Premium Bottle Service) */
.pricelist.active:first-of-type .arrow {
  opacity: 0;
  pointer-events: none;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section {
  cursor: pointer; /* show it's clickable */
}

/* Premium Bottle Service Background */
.premium-bottle-bg {
  position: relative;
  border: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("../img/premium-bg.png") center/cover no-repeat;
}

.premium-bottle-bg h2 {
  color: #D6D11F;
  border-bottom: 2px solid #D6D11F;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
}

.premium-bottle-bg .price {
  color: #FFD700;
}

.champagne-bottles-bg {
  position: relative;
  border: none;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.7);
  color: #fff;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("../img/champagne-bottles-bg.png") center/cover no-repeat;
}

h2 {
  color: #D6D11F;
  border-bottom: 2px solid #D6D11F;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.4fr; /* article | volume | price */
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #2A2A2A;
}

li:last-child {
  border-bottom: none;
}

.article {
  text-align: left;
}

.volume {
  text-align: center;
  color: #CCCCCC;
  font-size: 0.95rem;
}

.price {
  text-align: right;
  color: #D6D11F;
  font-weight: bold;
}

footer {
  text-align: center;
  padding: 2rem;
  color: #ffffff;
  font-size: 0.85rem;
  border-top: 1px solid #2A2A2A;
  line-height: 1.6;
}

footer p {
  margin: 0.4rem 0;
}
