/* ==========================================================================
   Restoran Šašavac — plain CSS
   ========================================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: "cirilic-font";
  src: url("../assets/fonts/Alice-Regular.woff2") format("woff2"),
       url("../assets/fonts/Alice-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- Colors (custom properties) ---- */
:root {
  --background: #f7f3ea;
  --text: #333333;
  --text-secondary: #1a1a1a;

  --heading: #A0522D;
  --dark-red: #7B1F1F;
  --dark-purple: #280b0b;

  --header-bg: #f7f3ea;
  --footer-bg: #4B2E2E;
  --footer-text: #FFFFFF;
  --header-text: #7B1F1F;

  --button-bg: #7b1f1f;
  --button-text: #FFFFFF;
  --button-hover: #a52f2f;

  --accent-red: #7b1f1f;
  --accent-wood: #8B5E3C;
  --beige: #f5f0e6;
}

/* ---- Reset / base ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "cirilic-font", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

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

body {
  background-color: var(--beige);
  color: var(--text);
}

img {
  max-width: 100%;
}

/* ---- Flex utilities ---- */
.flex { display: flex; }
.flex-row { flex-direction: row; }
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

/* ==========================================================================
   Header / NavBar
   ========================================================================== */
.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  background-color: var(--beige);
  flex-wrap: wrap;
  padding: clamp(0.75rem, 3vw, 1.25rem) clamp(1rem, 4vw, 2rem);
}

.header .logo,
.header .nav {
  display: flex;
  align-items: center;
}

.header .logo {
  display: flex;
  align-items: center;
}

.header .logo img {
  display: block;
  width: clamp(130px, 44vw, 262px);
  height: auto;
}

.header .nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.header .nav ul {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(0.5rem, 1.6vw, 2.5rem);
  flex-wrap: nowrap;
}

.header .nav ul li a {
  display: inline-block;
  padding: 0.6rem clamp(0.25rem, 0.6vw, 0.5rem);
  font-size: clamp(0.9rem, 1.35vw, 1.05rem);
  color: var(--dark-purple);
}

.header .nav ul li a:hover,
.header .nav ul li a.active {
  color: var(--accent-red);
}

/* ---- Mobile nav toggle (hamburger) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--dark-purple);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .header {
    position: relative;
  }

  .header .logo {
    order: 0;
  }

  .nav-toggle {
    display: flex;
    order: 1;
    margin-left: auto;
  }

  .header {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
  }

  .header .logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .header .nav {
    order: 2;
    flex: 1 1 100%;
    justify-content: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .header .nav.nav--open {
    max-height: 600px;
  }

  .header .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .header .nav ul li a {
    display: block;
    width: 100%;
    padding: 0.85rem 0.25rem;
  }

  .header .nav ul li.language-select {
    padding: 0.5rem 0.25rem;
  }

  .header .nav .language-select__content {
    position: static;
    animation: none;
    margin-top: 0.5rem;
    box-shadow: none;
    border: none;
    padding: 0;
  }
}

/* ---- Language select ---- */
.language-select {
  position: relative;
}

.language-select__trigger {
  display: flex;
  align-items: center;
  height: 35px;
  font-size: 14px;
  gap: 8px;
  padding: 8px 12px;
  background-color: transparent;
  border: none;
  color: var(--header-text);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.language-select__trigger[data-state="open"] {
  border-color: var(--accent-red);
  border-width: 2px;
}

.language-select__trigger-icon {
  font-size: 1.2rem;
  color: var(--accent-red);
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
}

.language-select__trigger-text {
  letter-spacing: 0.03em;
}

.language-select__trigger-chevron {
  width: 12px;
  height: 8px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--header-text);
}

.language-select__trigger[data-state="open"] .language-select__trigger-chevron {
  transform: rotate(180deg);
}

.language-select__content {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 160px;
  background-color: var(--header-bg);
  border: 1px solid rgba(123, 31, 31, 0.1);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(123, 31, 31, 0.15);
  padding: 8px 0;
  z-index: 1000;
  animation: slideIn 0.2s ease-out;
}

.language-select__content[hidden] {
  display: none;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.language-select__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--header-text);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
}

.language-select__item:hover {
  background-color: rgba(123, 31, 31, 0.08);
}

.language-select__item--active {
  background-color: rgba(123, 31, 31, 0.12);
  color: var(--accent-red);
  font-weight: 600;
}

.language-select__flag {
  width: 24px;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.language-select__item-label {
  font-size: 14px;
  text-transform: uppercase;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.accent-button {
  padding: 20px 30px;
  font-size: 16px;
  background-color: var(--button-bg);
  color: var(--button-text);
  border: none;
  cursor: pointer;
}

.accent-button.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
}

.accent-button:hover {
  background-color: var(--button-hover);
}

/* ==========================================================================
   Home page
   ========================================================================== */
.banner {
  width: 100%;
  background: url("../assets/images/restaurant/hero-exterior-mobile.webp");
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 701px) {
  .banner {
    background-image: url("../assets/images/restaurant/hero-exterior.webp");
  }
}

.home-about {
  padding: 50px 10vw;
  gap: 4rem;
  justify-content: center;
}

.home-about__content {
  flex: 1 1 55%;
  max-width: 55%;
}

.home-about__label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--dark-red);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-about__title {
  margin: 0 0 1.25rem;
  color: var(--heading);
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.05;
}

.home-about__text {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.75;
}

.home-about__text--secondary {
  color: var(--text-secondary);
}

.home-about__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 0.5rem 0 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(139, 94, 60, 0.25);
  border-bottom: 1px solid rgba(139, 94, 60, 0.25);
}

.home-about__highlight {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.home-about__highlight-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--heading);
  line-height: 1;
}

.home-about__highlight-label {
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.home-about__image-wrapper {
  width: 35%;
  max-width: 100%;
}

.home-about__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 2px solid rgba(139, 94, 60, 0.25);
  object-fit: cover;
}

@media (max-width: 768px) {
  .home-about__content,
  .home-about__image-wrapper {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
  }
}

.amenities {
  padding: 4rem 10vw;
  background-color: var(--beige);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  padding: 0.5rem 2.5rem;
}

.amenity-card + .amenity-card {
  border-left: 1px solid rgba(139, 94, 60, 0.3);
}

.amenity-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--button-bg);
}

.amenity-card__icon svg {
  width: 56px;
  height: 56px;
}

.amenity-card__title {
  position: relative;
  margin: 0;
  padding-bottom: 1.1rem;
  color: var(--heading);
  font-size: clamp(1.4rem, 1.9vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.amenity-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--button-bg);
}

.amenity-card__text {
  margin: 0;
  max-width: 30ch;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .amenities__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .amenity-card {
    padding: 2rem 0;
  }

  .amenity-card + .amenity-card {
    border-left: none;
    border-top: 1px solid rgba(139, 94, 60, 0.3);
  }
}

.reservation-banner {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.reservation-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.reservation-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 600px;
  padding: 2rem;
}

.reservation-banner__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.reservation-banner__description {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin: 0 0 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

.reservation-banner__button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--button-bg);
}

.reservation-banner__button:hover {
  background-color: var(--button-hover);
  border-color: var(--button-hover);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .reservation-banner {
    height: 400px;
  }

  .reservation-banner__content {
    padding: 1.5rem;
  }
}

/* ---- Specialties slider ---- */
.specialties {
  padding: 5rem 10vw 1rem;
}

.specialties__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.specialties__label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--dark-red);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.specialties__title {
  margin: 0 0 1.5rem;
  color: var(--heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 1.5rem;
}

.specialties__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--button-bg);
  border-radius: 2px;
}

.specialties__description {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.specialties-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.specialties-slider__track {
  display: flex;
  width: 100%;
  height: 480px;
  transition: transform 0.6s ease;
}

.specialties-slider__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}

.specialties-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 24px;
  object-fit: contain;
  background-color: var(--dark-purple);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .specialties-slider__slide img {
    padding: 12px;
  }
}

.specialties-slider__link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(40, 11, 11, 0.6);
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.specialties-slider__slide:hover .specialties-slider__link {
  opacity: 1;
}

.specialties-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(40, 11, 11, 0.5);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.specialties-slider__arrow svg {
  width: 22px;
  height: 22px;
}

.specialties-slider__arrow:hover {
  background-color: var(--button-bg);
}

.specialties-slider__arrow--prev {
  left: 16px;
}

.specialties-slider__arrow--next {
  right: 16px;
}

@media (max-width: 768px) {
  .specialties-slider__arrow {
    width: 36px;
    height: 36px;
  }

  .specialties-slider__arrow svg {
    width: 18px;
    height: 18px;
  }
}

.specialties-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.specialties-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.specialties-slider__dot.is-active {
  background-color: #ffffff;
}

@media (max-width: 768px) {
  .specialties {
    padding: 3rem 1rem 0.5rem;
  }

  .specialties-slider__track {
    height: 320px;
  }
}

/* ==========================================================================
   Menu page
   ========================================================================== */
.menu-page {
  width: 100%;
  min-height: calc(100vh - 100px - 300px);
  padding: 4rem 2rem;
  background-color: var(--background);
}

.menu-page__header {
  text-align: center;
  margin-bottom: 4rem;
}

.menu-page__label {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--button-bg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.menu-page__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--heading);
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 1.5rem;
}

.menu-page__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--button-bg);
  border-radius: 2px;
}

.menu-page__description {
  font-size: 1rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.menu-page__container {
  width: min(1000px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.menu-section {
  display: flex;
  flex-direction: column;
}

.menu-section__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--heading);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0 0 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid rgba(123, 31, 31, 0.3);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.menu-section__chevron {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--button-bg);
  transition: transform 0.3s ease;
}

.menu-section__title[aria-expanded="true"] .menu-section__chevron {
  transform: rotate(180deg);
}

.menu-section__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.menu-section__body--open {
  grid-template-rows: 1fr;
}

.menu-section__body-inner {
  overflow: hidden;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
}

.menu-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.menu-item__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item__name {
  font-size: 1.1rem;
  color: var(--dark-purple);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.menu-item__description {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
  opacity: 0.8;
}

.menu-item__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--button-bg);
  white-space: nowrap;
  padding-top: 0.2rem;
}

.menu-section__note {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.75;
  font-style: italic;
  margin: 1.5rem 0 0;
}

@media (max-width: 768px) {
  .menu-page {
    padding: 2rem 1rem;
  }

  .menu-page__header {
    margin-bottom: 3rem;
  }

  .menu-page__container {
    gap: 3rem;
  }

  .menu-item__header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .menu-item__price {
    align-self: flex-start;
  }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page {
  width: 100%;
  min-height: calc(100vh - 100px - 300px);
  padding: 4rem 2rem;
  background-color: var(--background);
}

.contact-page__header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-page__label {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--button-bg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-page__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--heading);
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 1.5rem;
}

.contact-page__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--button-bg);
  border-radius: 2px;
}

.contact-page__container {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-page__map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-page__info-title {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  color: var(--heading);
  margin: 0 0 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(123, 31, 31, 0.3);
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
}

.contact-info-item__icon {
  font-size: 1.5rem;
  color: var(--button-bg);
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
}

.contact-info-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-info-item__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  margin: 0;
  letter-spacing: 0.01em;
}

.contact-info-item__text {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

.contact-info-item__link {
  font-size: 0.95rem;
  color: var(--button-bg);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-item__link:hover {
  color: var(--dark-red);
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-hours__item {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .contact-page__container {
    grid-template-columns: 1fr;
  }

  .contact-page__map {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .contact-page {
    padding: 2rem 1rem;
  }

  .contact-page__header {
    margin-bottom: 3rem;
  }

  .contact-page__container {
    gap: 2rem;
  }

  .contact-page__map {
    height: 300px;
  }

  .contact-info-item {
    gap: 1rem;
  }

  .contact-info-item__icon {
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   About page (placeholder)
   ========================================================================== */
.about-page {
  width: 100%;
  min-height: calc(100vh - 100px - 300px);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--heading);
}

/* ==========================================================================
   Gallery page
   ========================================================================== */
.gallery-page {
  width: 100%;
  min-height: calc(100vh - 100px - 300px);
  padding: 4rem 2rem;
  background-color: var(--background);
}

.gallery-page__header {
  text-align: center;
  margin-bottom: 3rem;
}

.gallery-page__label {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--button-bg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.gallery-page__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--heading);
  margin: 0 0 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 1.5rem;
}

.gallery-page__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--button-bg);
  border-radius: 2px;
}

.gallery-page__description {
  font-size: 1rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.gallery-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item--video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.gallery-item--video::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #ffffff;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .gallery-page {
    padding: 2rem 1rem;
  }
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 5, 5, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__content {
  width: min(90vw, 1100px);
  max-height: 85vh;
}

.lightbox__image,
.lightbox__video {
  display: block;
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__image[hidden],
.lightbox__video[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox__close:hover {
  background-color: var(--button-bg);
}

.lightbox__close svg {
  width: 22px;
  height: 22px;
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox__arrow:hover {
  background-color: var(--button-bg);
}

.lightbox__arrow svg {
  width: 24px;
  height: 24px;
}

.lightbox__arrow--prev {
  left: 20px;
}

.lightbox__arrow--next {
  right: 20px;
}

@media (max-width: 640px) {
  .lightbox__arrow {
    width: 40px;
    height: 40px;
  }

  .lightbox__arrow--prev {
    left: 8px;
  }

  .lightbox__arrow--next {
    right: 8px;
  }

  .lightbox__close {
    top: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--dark-red);
  color: var(--footer-text);
  padding: 3rem 2rem 2rem;
}

.footer .logo {
  display: block;
  width: fit-content;
  margin-bottom: 1rem;
}

.footer .logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: min(1200px, 100%);
  margin: 0 auto 2rem;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer__section {
  flex: 1 1 280px;
  min-width: 250px;
}

.footer__about {
  flex: 1 1 350px;
}

.footer__subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1.2rem;
  letter-spacing: 0.02em;
}

.footer__description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.footer__content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.footer__link:hover {
  opacity: 0.8;
}

.footer__info {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer__icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  width: 1.1em;
  height: 1.1em;
}

.footer__bottom {
  width: 100%;
  text-align: center;
}

.footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1.5rem;
  }

  .footer__container {
    flex-direction: column;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .footer__section,
  .footer__about {
    flex: 1 1 100%;
  }
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background-color: var(--button-bg);
  color: var(--button-text);
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

address {
  font-style: normal;
}

.menu-section__heading {
  margin: 0;
  font: inherit;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 100vh;
  padding: 2rem;
  text-align: center;
}

.not-found h1 {
  color: var(--heading);
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
}

/* ==========================================================================
   Video section
   ========================================================================== */
.video-section {
  padding: 4rem 10vw 1rem;
}

.video-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.video-section__label {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--dark-red);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.video-section__title {
  margin: 0 0 1rem;
  color: var(--heading);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.video-section__description {
  margin: 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: #1a0d0d;
  border: 1px solid var(--accent-wood);
  border-radius: 4px;
  overflow: hidden;
}

.video-embed__play {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.video-embed__play img,
.video-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.video-embed__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 9vw, 96px);
  height: clamp(64px, 9vw, 96px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background-color: rgba(123, 31, 31, 0.92);
  color: #fff;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.video-embed__icon svg {
  width: 45%;
  height: 45%;
  margin-left: 6%;
}

.video-embed__play:hover .video-embed__icon,
.video-embed__play:focus-visible .video-embed__icon {
  background-color: var(--button-hover);
  transform: translate(-50%, -50%) scale(1.06);
}

.video-embed__play:focus-visible {
  outline: 3px solid var(--button-bg);
  outline-offset: -3px;
}
