/* Home page styles */
.home-main {
  background-color: var(--color-cream);
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  background-color: var(--color-sunny-yellow);
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.15) saturate(1.1);
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 246, 227, 0.15) 0%, rgba(253, 246, 227, 0.35) 60%, rgba(253, 246, 227, 0.75) 100%);
  pointer-events: none;
}

.home-hero-panel {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 2rem 2rem 0;
  padding: 2rem;
  background-color: rgba(253, 246, 227, 0.92);
  backdrop-filter: blur(2px);
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  animation: homeFloat 3s ease-in-out 1;
}

.home-hero-kicker {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  text-align: left;
  max-width: 55ch;
}

.home-hero-panel h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  text-align: left;
  max-width: 15ch;
  overflow-wrap: break-word;
  hyphens: auto;
}

.home-hero-copy {
  margin: 0;
  text-align: left;
  max-width: 55ch;
  font-size: 1.1rem;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.home-hero-actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
  justify-content: center;
}

@keyframes homeFloat {
  0% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-panel {
    animation: none;
  }
}

/* Restaurant Story */
.home-story {
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.home-story-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: center;
}

.home-story-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-story-text h2 {
  margin: 0;
  text-align: left;
  max-width: 20ch;
}

.home-story-lead {
  margin: 0;
  text-align: left;
  max-width: 65ch;
  font-size: 1.1rem;
}

.home-story-unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.home-story-unit h3 {
  margin: 0;
  text-align: left;
}

.home-story-unit p {
  margin: 0;
  text-align: left;
  max-width: 65ch;
}

.home-story-decor {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-sunray {
  position: absolute;
  width: 280px;
  height: 280px;
  background: repeating-conic-gradient(from 0deg, var(--color-sunny-yellow) 0deg 15deg, transparent 15deg 30deg);
  border-radius: var(--radius-full);
  opacity: 0.6;
  transition: transform 0.2s ease-in-out;
}

.home-circle {
  position: absolute;
  border-radius: var(--radius-full);
  border: var(--border-thick);
  transition: transform 0.2s ease-in-out;
}

.home-circle-one {
  width: 140px;
  height: 140px;
  background-color: var(--color-sky-blue);
  top: 20px;
  right: 30px;
}

.home-circle-two {
  width: 90px;
  height: 90px;
  background-color: var(--color-rich-orange);
  bottom: 40px;
  left: 20px;
}

.home-circle-three {
  width: 60px;
  height: 60px;
  background-color: var(--color-sunny-yellow);
  bottom: 10px;
  right: 80px;
}

.home-story-decor:hover .home-sunray {
  transform: rotate(15deg);
}

.home-story-decor:hover .home-circle {
  transform: rotate(10deg);
}

@media (prefers-reduced-motion: reduce) {
  .home-sunray,
  .home-circle {
    transition: none;
  }
  .home-story-decor:hover .home-sunray,
  .home-story-decor:hover .home-circle {
    transform: none;
  }
}

/* Menu Favourites */
.home-menu-favourites {
  background-color: var(--color-sunny-yellow);
}

.home-menu-favourites h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.home-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-dish-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--card-padding);
  margin: 0;
  transition: transform 0.2s ease-in-out;
}

.home-dish-card:hover {
  transform: translateY(-4px) rotate(-1deg);
}

.home-dish-icon {
  font-size: 2.5rem;
  line-height: 1;
  transition: transform 0.2s ease-in-out;
}

.home-dish-card:hover .home-dish-icon {
  transform: scale(1.1);
}

.home-dish-card h3 {
  margin: 0;
  font-size: 1.25rem;
  max-width: 20ch;
}

.home-dish-card p {
  margin: 0;
  max-width: 45ch;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-dish-card,
  .home-dish-icon {
    transition: none;
  }
  .home-dish-card:hover {
    transform: none;
  }
  .home-dish-card:hover .home-dish-icon {
    transform: none;
  }
}

/* Chef Selections */
.home-chef {
  background-color: var(--color-cream);
  border-top: 3px dashed var(--color-deep-brown);
  border-bottom: 3px dashed var(--color-deep-brown);
}

.home-chef h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.home-chef-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.home-chef-dish {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: var(--card-padding);
  background-color: var(--surface-primary);
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.home-chef-icon {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.2s ease-in-out;
}

.home-chef-dish:hover .home-chef-icon {
  transform: rotate(15deg);
}

.home-chef-dish h3 {
  margin: 0;
  text-align: left;
  max-width: 30ch;
}

.home-chef-dish p {
  margin: 0;
  text-align: left;
  max-width: 55ch;
}

.home-chef-note {
  margin: 0 auto;
  text-align: center;
  max-width: 65ch;
  font-style: italic;
  text-decoration: underline wavy var(--color-rich-orange) 2px;
  text-underline-offset: 6px;
  padding-bottom: var(--space-sm);
}

@media (prefers-reduced-motion: reduce) {
  .home-chef-icon {
    transition: none;
  }
  .home-chef-dish:hover .home-chef-icon {
    transform: none;
  }
}

/* Poker Lounge */
.home-poker {
  background-color: var(--color-sky-blue);
}

.home-poker-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-xl);
  align-items: center;
}

.home-poker-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-poker-text h2 {
  margin: 0;
  text-align: left;
}

.home-poker-lead {
  margin: 0;
  text-align: left;
  max-width: 60ch;
  font-size: 1.1rem;
}

.home-poker-unit {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.home-poker-unit h3 {
  margin: 0;
  text-align: left;
}

.home-poker-unit p {
  margin: 0;
  text-align: left;
  max-width: 60ch;
}

.home-poker-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.home-playing-card {
  width: 180px;
  height: 250px;
  background-color: var(--surface-primary);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-rich-orange);
  box-shadow: var(--shadow-subtle);
  transition: transform 0.2s ease-in-out;
}

.home-poker-illustration:hover .home-playing-card {
  transform: rotate(-8deg) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .home-playing-card {
    transition: none;
  }
  .home-poker-illustration:hover .home-playing-card {
    transform: none;
  }
}

/* Social Evening Formats */
.home-formats {
  background-color: var(--color-cream);
}

.home-formats h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.home-formats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-format-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
  padding: var(--card-padding);
  margin: 0;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.home-format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.home-format-yellow {
  background-color: var(--color-sunny-yellow);
}

.home-format-blue {
  background-color: var(--color-sky-blue);
}

.home-format-orange {
  background-color: var(--color-rich-orange);
}

.home-format-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.home-format-card h3 {
  margin: 0;
  max-width: 20ch;
}

.home-format-card p {
  margin: 0;
  max-width: 45ch;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-format-card {
    transition: none;
  }
  .home-format-card:hover {
    transform: none;
    box-shadow: var(--shadow-subtle);
  }
}

/* Private Groups */
.home-private {
  background-color: var(--color-sunny-yellow);
  border-top: 3px dashed var(--color-deep-brown);
  border-bottom: 3px dashed var(--color-deep-brown);
}

.home-private-inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-private-inner h2 {
  margin: 0;
  text-align: left;
}

.home-private-inner p {
  margin: 0;
  text-align: left;
  max-width: 60ch;
}

.home-private-cta {
  align-self: flex-start;
  background-color: var(--color-rich-orange);
  transition: transform 0.2s ease-in-out;
}

.home-private-cta:hover {
  transform: translateY(-2px);
  background-color: var(--color-deep-brown);
  color: var(--color-cream);
}

@media (prefers-reduced-motion: reduce) {
  .home-private-cta {
    transition: none;
  }
  .home-private-cta:hover {
    transform: none;
  }
}

/* Photo Gallery */
.home-gallery {
  background-color: var(--color-cream);
}

.home-gallery h2 {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.home-gallery-intro {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto var(--space-lg);
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.home-gallery-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-radius: 50% / 40%;
  border: var(--border-thick);
  background-color: var(--color-sunny-yellow);
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
}

.home-gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(1.05);
  transition: transform 0.2s ease-in-out;
}

.home-gallery-figure:hover .home-gallery-image {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .home-gallery-image {
    transition: none;
  }
  .home-gallery-figure:hover .home-gallery-image {
    transform: none;
  }
}

/* FAQ */
.home-faq {
  background-color: var(--color-sky-blue);
  border-top: 3px solid var(--color-deep-brown);
}

.home-faq-inner {
  max-width: 800px;
  margin-inline: auto;
}

.home-faq-inner h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.home-faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-faq-item {
  background-color: var(--surface-primary);
  border: var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.home-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  padding: var(--card-padding);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.3;
  color: var(--color-deep-brown);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease-in-out;
}

.home-faq-question:hover {
  background-color: var(--color-sunny-yellow);
  text-decoration: underline wavy var(--color-rich-orange) 2px;
  text-underline-offset: 4px;
}

.home-faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.home-faq-icon::before,
.home-faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-deep-brown);
  transition: transform 0.2s ease-in-out;
}

.home-faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.home-faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.home-faq-item.active .home-faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.home-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.home-faq-answer p {
  margin: 0;
  padding: 0 var(--card-padding) var(--card-padding);
  text-align: left;
  max-width: 65ch;
}

@media (prefers-reduced-motion: reduce) {
  .home-faq-question,
  .home-faq-answer,
  .home-faq-icon::before,
  .home-faq-icon::after {
    transition: none;
  }
}

/* Contact Enquiry */
.home-contact {
  background-color: var(--color-cream);
  border-top: 3px dashed var(--color-deep-brown);
}

.home-contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: var(--space-xl);
  align-items: start;
}

.home-contact-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-contact-info h2 {
  margin: 0;
  text-align: left;
}

.home-contact-info p {
  margin: 0;
  text-align: left;
  max-width: 50ch;
}

.home-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.home-contact-list li {
  margin: 0;
  text-align: left;
}

.home-contact-form {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-contact-form h2 {
  margin: 0;
  text-align: left;
}

.home-contact-form > p {
  margin: 0;
  text-align: left;
  max-width: 60ch;
}

.home-enquiry-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.home-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.home-form-field label {
  margin: 0;
  font-weight: 700;
  text-align: left;
}

.home-form-field input,
.home-form-field textarea {
  width: 100%;
  max-width: 100%;
}

.home-submit-btn {
  align-self: flex-start;
  background-color: var(--color-rich-orange);
  transition: transform 0.2s ease-in-out;
}

.home-submit-btn:hover {
  transform: translateY(-2px);
  background-color: var(--color-deep-brown);
  color: var(--color-cream);
}

@media (prefers-reduced-motion: reduce) {
  .home-submit-btn {
    transition: none;
  }
  .home-submit-btn:hover {
    transform: none;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .home-story-grid,
  .home-poker-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .home-story-decor {
    min-height: 200px;
    order: -1;
  }

  .home-sunray {
    width: 200px;
    height: 200px;
  }

  .home-circle-one {
    width: 100px;
    height: 100px;
  }

  .home-circle-two {
    width: 70px;
    height: 70px;
  }

  .home-circle-three {
    width: 50px;
    height: 50px;
  }

  .home-poker-illustration {
    min-height: 200px;
  }

  .home-playing-card {
    width: 140px;
    height: 200px;
    font-size: 2.5rem;
  }

  .home-menu-grid,
  .home-formats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .home-hero {
    min-height: 70vh;
    align-items: flex-end;
    justify-content: center;
  }

  .home-hero-panel {
    max-width: none;
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    padding: 1.5rem;
    gap: var(--space-sm);
  }

  .home-hero-panel h1 {
    font-size: 1.75rem;
    max-width: 100%;
  }

  .home-hero-copy {
    max-width: 100%;
    font-size: 1rem;
  }

  .home-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .home-hero-actions .btn {
    width: 100%;
  }

  .home-story-grid,
  .home-poker-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .home-story-decor {
    min-height: 150px;
    order: -1;
  }

  .home-sunray {
    width: 150px;
    height: 150px;
  }

  .home-circle-one {
    width: 80px;
    height: 80px;
  }

  .home-circle-two {
    width: 50px;
    height: 50px;
  }

  .home-circle-three {
    width: 40px;
    height: 40px;
  }

  .home-menu-grid,
  .home-formats-grid,
  .home-chef-grid,
  .home-gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .home-dish-card,
  .home-format-card {
    max-width: 100%;
  }

  .home-dish-card p,
  .home-format-card p {
    max-width: 60ch;
  }

  .home-chef-dish {
    max-width: 100%;
  }

  .home-chef-dish p {
    max-width: 60ch;
  }

  .home-gallery-figure {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 3;
    max-width: 100%;
  }

  .home-private-inner {
    max-width: 100%;
  }

  .home-private-inner p {
    max-width: 100%;
  }

  .home-faq-question {
    font-size: 1rem;
    padding: 1rem;
  }

  .home-faq-answer p {
    padding: 0 1rem 1rem;
    max-width: 100%;
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .home-contact-info p,
  .home-contact-form > p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .home-hero-panel {
    padding: 1rem;
  }

  .home-hero-panel h1 {
    font-size: 1.5rem;
  }

  .home-hero-kicker {
    font-size: 0.8rem;
  }

  .home-story-text h2,
  .home-poker-text h2,
  .home-menu-favourites h2,
  .home-chef h2,
  .home-formats h2,
  .home-gallery h2,
  .home-faq-inner h2,
  .home-contact-info h2,
  .home-contact-form h2 {
    font-size: 1.5rem;
  }

  .home-dish-card h3,
  .home-format-card h3,
  .home-chef-dish h3 {
    font-size: 1.2rem;
  }
}
