/* Le Charles-Quint — Friterie à Beaumont */

:root {
  --brown-dark: #2b1b12;
  --brown-text: #3e2723;
  --wood: #5d3a1a;
  --gold: #c5a059;
  --gold-bright: #ffc107;
  --gray-panel: #d1d1d1;
  --gray-panel-text: #4a4a4a;
  --cream: #faf7f2;
  --charcoal: #1a1a1b;
  --white: #ffffff;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, sans-serif;

  --section-padding: clamp(2.5rem, 6vw, 4rem);
  --max-width: 42rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--brown-text);
  background-color: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wood);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--gold-bright);
  color: var(--brown-dark);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  top: 0;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  background-image: url("../assets/facade.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 27, 0.55) 0%,
    rgba(43, 27, 18, 0.72) 50%,
    rgba(43, 27, 18, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
}

.hero__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(360px, 85vw);
  aspect-ratio: 1;
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero__logo {
  width: 100%;
  max-width: 280px;
}

.hero__subtitle {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Sections */

.section {
  padding: var(--section-padding) 1.5rem;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__inner--narrow {
  text-align: center;
}

.section__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--brown-dark);
  text-align: center;
}

.section__title-line {
  flex: 1;
  max-width: 5rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 20%,
    var(--gold) 80%,
    transparent
  );
}

/* Hours card */

.hours-card {
  border: 3px solid var(--brown-dark);
  box-shadow:
    inset 0 0 0 2px var(--white),
    0 8px 32px rgba(43, 27, 18, 0.15);
  overflow: hidden;
}

.hours-card__header,
.hours-card__footer {
  padding: 1rem 1.5rem;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  background-color: var(--brown-dark);
}

.hours-card__body {
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  background-color: var(--gray-panel);
}

.hours-row {
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.hours-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-row:first-child {
  padding-top: 0;
}

.hours-row__days {
  margin: 0 0 0.5rem;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hours-row__slots {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 480px) {
  .hours-row__slots {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.dot {
  color: var(--gold);
  padding: 0 0.15em;
}

.hours-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: -0.5rem 0 1.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
}

.hours-status__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hours-status--open .hours-status__label::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: #2e7d32;
  box-shadow: 0 0 6px rgba(46, 125, 50, 0.6);
}

.hours-status--open {
  background-color: var(--gold-bright);
  color: var(--brown-dark);
}

.hours-status--closed {
  background-color: var(--gray-panel);
  color: var(--brown-text);
}

.hours-status__next {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

/* Contact */

.contact {
  background-color: var(--white);
}

.contact__details {
  font-style: normal;
  text-align: center;
  margin-bottom: 2rem;
}

.contact__name {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.contact__details p {
  margin: 0.5rem 0;
}

.contact__link {
  color: var(--brown-text);
  text-decoration: none;
  line-height: 1.7;
}

.contact__link:hover {
  color: var(--wood);
  text-decoration: underline;
}

.contact__phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown-dark);
  text-decoration: none;
}

.contact__phone:hover {
  color: var(--gold);
}

.contact__actions {
  display: flex;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.15s;
}

.btn--primary {
  color: var(--brown-dark);
  background-color: var(--gold-bright);
  border: 2px solid var(--gold);
}

.btn--primary:hover {
  background-color: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

/* Facebook */

.social {
  padding-top: 0;
}

.facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--gold);
  border: 2px solid var(--white);
  box-shadow:
    0 0 0 2px var(--gold),
    0 4px 16px rgba(43, 27, 18, 0.2);
  text-decoration: none;
  transition: transform 0.15s, background-color 0.2s;
}

.facebook-link:hover {
  background-color: var(--gold-bright);
  transform: scale(1.05);
}

.facebook-link__icon {
  width: 1.75rem;
  height: 1.75rem;
  fill: var(--white);
}

.social__label {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-text);
}

/* Footer */

.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  background-color: var(--brown-dark);
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer__address {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 1rem;
}

.site-footer__nav a {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--gold-bright);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}
