/* ==========================================================================
   GREENWOOD GOLF CLUB — Restaurant Page Styles  (restaurant.html)
   ========================================================================== */


/* --------------------------------------------------------------------------
   MAIN WRAPPER
   -------------------------------------------------------------------------- */

.main {
  max-width: 1200px;
  margin   : 0 auto;
  padding  : 5rem 2rem 7rem;
}


/* --------------------------------------------------------------------------
   INTRO SECTION
   -------------------------------------------------------------------------- */

.intro {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 5rem;
  align-items          : center;
  margin-bottom        : 6rem;
  padding-bottom       : 6rem;
  border-bottom        : 1px solid rgba(184, 149, 58, 0.10);
}

.intro-lbl {
  display       : flex;
  align-items   : center;
  gap           : 0.8rem;
  font-size     : 0.60rem;
  letter-spacing: 0.38em;
  font-weight   : 600;
  color         : var(--gilt);
  margin-bottom : 1.4rem;
}

.intro-lbl::before {
  content   : '';
  flex      : 0 0 22px;
  height    : 1px;
  background: var(--gold);
}

.intro-text h2 {
  font-family  : 'Playfair Display', serif;
  font-size    : clamp(2rem, 4vw, 3.5rem);
  font-weight  : 700;
  line-height  : 1.1;
  color        : var(--linen);
  margin-bottom: 1.5rem;
}

.intro-text h2 em {
  font-style: italic;
  color     : var(--gilt);
}

.intro-text p {
  font-size    : 0.85rem;
  line-height  : 1.95;
  color        : rgba(240, 233, 214, 0.60);
  margin-bottom: 1.2rem;
}

.intro-facts {
  display      : flex;
  gap          : 2rem;
  margin-top   : 2.5rem;
  padding-top  : 2rem;
  border-top   : 1px solid rgba(184, 149, 58, 0.10);
}

.intro-fact big {
  font-family: 'Playfair Display', serif;
  font-size  : 2.5rem;
  font-weight: 900;
  color      : var(--gilt);
  display    : block;
  line-height: 1;
}

.intro-fact small {
  font-size     : 0.58rem;
  letter-spacing: 0.20em;
  color         : rgba(240, 233, 214, 0.40);
  margin-top    : 0.3rem;
  display       : block;
}

/* Image */
.intro-img {
  position: relative;
}

.intro-frame {
  position      : absolute;
  top           : -16px;
  left          : -16px;
  right         : 16px;
  bottom        : 16px;
  border        : 1px solid rgba(184, 149, 58, 0.20);
  pointer-events: none;
  z-index       : 1;
}

.intro-img img {
  width       : 100%;
  aspect-ratio: 4 / 3;
  object-fit  : cover;
  position    : relative;
  z-index     : 2;
  display     : block;
}

.intro-img-ph {
  width            : 100%;
  aspect-ratio     : 4 / 3;
  background-color : #1a0f05;
  position         : relative;
  z-index          : 2;
}


/* --------------------------------------------------------------------------
   SECTION LABEL + TITLE
   -------------------------------------------------------------------------- */

.sec-label {
  display         : flex;
  align-items     : center;
  justify-content : center;
  gap             : 0.8rem;
  font-size       : 0.60rem;
  letter-spacing  : 0.38em;
  font-weight     : 600;
  color           : var(--gilt);
  margin-bottom   : 1.2rem;
}

.sec-label::before,
.sec-label::after {
  content   : '';
  flex      : 0 0 22px;
  height    : 1px;
  background: var(--gold);
}

.sec-title {
  font-family  : 'Playfair Display', serif;
  font-size    : clamp(2rem, 4vw, 3.2rem);
  font-weight  : 700;
  line-height  : 1.1;
  color        : var(--linen);
  text-align   : center;
  margin-bottom: 4rem;
}

.sec-title em {
  font-style: italic;
  color     : var(--gilt);
}


/* --------------------------------------------------------------------------
   GALLERY — MASONRY STYLE
   -------------------------------------------------------------------------- */

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

.gallery-grid {
  display              : grid;
  grid-template-columns: repeat(4, 1fr);
  gap                  : 3px;
}

/* Feature large first item */
.g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g-item:nth-child(6) { grid-column: span 2; }

.g-item {
  position    : relative;
  overflow    : hidden;
  cursor      : pointer;
  background  : var(--pine);
  min-height  : 200px;
}

.g-item:nth-child(1) {
  min-height: 420px;
}

.g-item img {
  width     : 100%;
  height    : 100%;
  object-fit: cover;
  transition: transform 0.60s cubic-bezier(0.4, 0, 0.2, 1);
  display   : block;
}

.g-item-overlay {
  position  : absolute;
  inset     : 0;
  background: linear-gradient(to top, rgba(8, 12, 9, 0.90) 0%, transparent 50%);
  opacity   : 0;
  transition: opacity 0.35s;
}

.g-item:hover img {
  transform: scale(1.07);
}

.g-item:hover .g-item-overlay {
  opacity: 1;
}

.g-zoom {
  position        : absolute;
  top             : 50%;
  left            : 50%;
  transform       : translate(-50%, -50%) scale(0.7);
  width           : 44px;
  height          : 44px;
  background      : rgba(184, 149, 58, 0.20);
  border          : 1px solid rgba(184, 149, 58, 0.40);
  display         : flex;
  align-items     : center;
  justify-content : center;
  color           : var(--gilt);
  font-size       : 0.9rem;
  opacity         : 0;
  transition      : all 0.35s;
}

.g-item:hover .g-zoom {
  opacity  : 1;
  transform: translate(-50%, -50%) scale(1);
}


/* --------------------------------------------------------------------------
   MENU CATEGORIES — full-bleed band
   -------------------------------------------------------------------------- */

.menu-section {
  background    : var(--pine);
  padding       : 6rem 4rem;
  position      : relative;
  overflow      : hidden;
  margin        : 0 -4rem;
  margin-bottom : 7rem;
}

/* Diagonal cuts top and bottom */
.menu-section::before {
  content   : '';
  position  : absolute;
  top       : 0;
  left      : 0;
  right     : 0;
  height    : 80px;
  background: var(--ink);
  clip-path : polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.menu-section::after {
  content   : '';
  position  : absolute;
  bottom    : 0;
  left      : 0;
  right     : 0;
  height    : 80px;
  background: var(--ink);
  clip-path : polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.menu-inner {
  max-width: 1200px;
  margin   : 0 auto;
  position : relative;
}

.menu-grid {
  display              : grid;
  grid-template-columns: repeat(3, 1fr);
  gap                  : 1.5px;
  background           : rgba(184, 149, 58, 0.08);
  border               : 1px solid rgba(184, 149, 58, 0.08);
}

.menu-item {
  background: var(--pine);
  padding   : 2.5rem 2rem;
  position  : relative;
  overflow  : hidden;
  transition: background 0.35s;
}

.menu-item::after {
  content         : '';
  position        : absolute;
  bottom          : 0;
  left            : 0;
  width           : 100%;
  height          : 2px;
  background      : var(--gold);
  transform       : scaleX(0);
  transform-origin: left;
  transition      : transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
  background: rgba(28, 61, 36, 0.80);
}

.menu-item:hover::after {
  transform: scaleX(1);
}

.menu-icon {
  width           : 44px;
  height          : 44px;
  border          : 1px solid rgba(184, 149, 58, 0.30);
  display         : flex;
  align-items     : center;
  justify-content : center;
  margin-bottom   : 1.4rem;
  color           : var(--gold);
  font-size       : 1rem;
  transition      : border-color 0.3s, background 0.3s;
}

.menu-item:hover .menu-icon {
  border-color: var(--gilt);
  background  : rgba(184, 149, 58, 0.08);
}

.menu-item h3 {
  font-family  : 'Playfair Display', serif;
  font-size    : 1.1rem;
  font-weight  : 700;
  color        : var(--cream);
  margin-bottom: 0.6rem;
}

.menu-item p {
  font-size  : 0.76rem;
  color      : rgba(240, 233, 214, 0.45);
  line-height: 1.8;
}


/* --------------------------------------------------------------------------
   OPENING HOURS
   -------------------------------------------------------------------------- */

.hours-section {
  margin-bottom: 7rem;
}

.hours-grid {
  display              : grid;
  grid-template-columns: 1fr 1fr;
  gap                  : 3px;
  background           : rgba(184, 149, 58, 0.06);
  border               : 1px solid rgba(184, 149, 58, 0.06);
}

.hours-item {
  background      : var(--pine);
  padding         : 2.5rem 3rem;
  display         : flex;
  justify-content : space-between;
  align-items     : center;
}

.hours-day {
  font-size     : 0.70rem;
  letter-spacing: 0.22em;
  color         : rgba(240, 233, 214, 0.50);
}

.hours-time {
  font-family: 'Playfair Display', serif;
  font-size  : 1.4rem;
  font-weight: 700;
  color      : var(--gilt);
}


/* --------------------------------------------------------------------------
   RESPONSIVE — RESTAURANT
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .intro {
    grid-template-columns: 1fr;
    gap                  : 3.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-item:nth-child(1) { grid-column: span 2; }
  .g-item:nth-child(6) { grid-column: span 1; }

  .menu-section {
    margin : 0 -2rem;
    padding: 5rem 2rem;
  }

  .menu-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .g-item:nth-child(1) {
    grid-column: span 1;
    grid-row   : span 1;
  }

  .menu-grid       { grid-template-columns: 1fr; }
  .hours-grid      { grid-template-columns: 1fr; }
  .intro-facts     { flex-wrap: wrap; }
}
