* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

.hero {
  position: relative;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.torn-edge {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(35px, 6vw, 85px);
  display: block;
  z-index: 2;
  pointer-events: none;
}

.torn-edge path {
  fill: white;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.page-content {
  padding-left: clamp(40px, 6vw, 80px);
  padding-right: clamp(40px, 6vw, 80px);

  box-sizing: border-box;
}
.laos-section {
  width: 100%;
  margin: 0;
  box-sizing: border-box;

  padding: 20px 0 55px;
  background-color: white;
  color: #202020;
}

/* Flaga i duży napis LAOS */

.country-title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
  margin: 0 0 25px;
}

.country-title :is(h2, .dish-title) {
  margin: 0;
  font-family: Impact, "Arial Black", sans-serif;
  font-size: clamp(40px, 6vw, 62px);
  line-height: 1;
  letter-spacing: 3px;
  color: #171717;
}

/* Flaga Laosu wykonana w CSS */

.laos-flag {
  position: relative;
  display: block;
  width: clamp(75px, 8vw, 100px);
  flex-shrink: 0;
  aspect-ratio: 3 / 2;

  background: linear-gradient(
    to bottom,
    #ce1126 0%,
    #ce1126 25%,
    #002868 25%,
    #002868 75%,
    #ce1126 75%,
    #ce1126 100%
  );
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.laos-flag::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: clamp(22px, 2.5vw, 28px);
  height: clamp(22px, 2.5vw, 28px);
  border-radius: 50%;
  background-color: white;

  transform: translate(-50%, -50%);
}
.about-title h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15em 0.45em;
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.25rem);
  line-height: 1.25;
}

.about-title-label {
  min-width: 0;
}

.about-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  white-space: nowrap;
}

.about-logo {
  display: block;
  width: clamp(120px, 42vw, 220px);
  height: auto;
}

/* Krótki opis */

.laos-description {
  margin: 0 0 32px;
  text-align: left;
}

.laos-description :is(h3, .dish-tagline) {
  margin: 0 0 7px;
  font-weight: bold;
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: 1px;
}

.laos-description p:not(.dish-tagline) {
  margin: 0;
  font-size: clamp(15px, 2vw, 18px);
  color: #606060;
}
/* Pełny opis potrawy */

.dish-description {
  max-width: 900px;
  margin: 35px 0 50px;
}

.dish-description h2 {
  margin: 24px 0 8px;
  font-size: clamp(21px, 2vw, 27px);
}

.dish-description p {
  margin: 0;
  max-width: 75ch;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
}
.demo-note {
  max-width: 75ch;
  margin: 35px 0 20px;
  padding: 18px 20px;
  border-left: 5px solid #ce1126;
  background-color: #f6f6f6;
  border-radius: 6px;
}

.demo-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  color: #171717;
}

.demo-note p {
  margin: 0;
  line-height: 1.6;
}

/* Lista dań */
.dishes-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;

  margin-top: 45px;
  margin-bottom: 45px;
}

/* Pojedynczy kafelek */

.dish-card {
  position: relative;
  display: block;

  width: 100%;
  aspect-ratio: 4 / 3;

  overflow: hidden;

  background-color: #eeeeee;

  border: 3px solid transparent;
  border-radius: 16px;

  text-decoration: none;

  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

/* Zdjęcie w kafelku */
.dish-card img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.4s ease;
}

/* Nazwa potrawy */

.dish-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 18px 12px;

  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));

  color: white;

  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  text-align: center;

  opacity: 0;
  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Efekt po najechaniu */

.dish-card:hover {
  border-color: #ce1126;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);

  transform: translateY(-5px);
}

.dish-card:hover img {
  transform: scale(1.06);
}

.dish-card:is(:hover, :focus-visible) .dish-card-name {
  opacity: 1;
  transform: translateY(0);
}

/* Obsługa klawiatury */

.dish-card:focus-visible {
  outline: 4px solid #ce1126;
  outline-offset: 4px;
}
@media (max-width: 850px) {
  .dishes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 550px) {
  .dishes-grid {
    grid-template-columns: 1fr;
  }

  .dish-card-name {
    opacity: 1;
    transform: translateY(0);
  }
}

.restaurant-cta {
  position: relative;

  width: 100%;
  margin: 20px 0 70px;
  padding: 80px 30px;
  box-sizing: border-box;

  overflow: hidden;

  background: linear-gradient(135deg, #8f161f, #ce1126);

  color: white;

  border: 4px solid white;
  border-radius: 28px;

  box-shadow: 0 12px 30px rgba(80, 0, 0, 0.22);
}

.restaurant-cta-content {
  position: relative;
  z-index: 2;

  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.cta-label {
  margin: 0 0 20px;

  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.95);
}

.restaurant-cta h2 {
  max-width: 800px;
  margin: 0 auto 25px;

  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.1;
  color: white;
}

.cta-description {
  max-width: 680px;
  margin: 0 auto 40px;

  font-size: clamp(17px, 2.5vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.cta-button {
  display: inline-block;
  padding: 16px 30px;

  background-color: white;
  color: #9f1722;

  font-size: 17px;
  font-weight: bold;
  text-decoration: none;

  border: 2px solid white;
  border-radius: 5px;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.cta-button:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-3px);
}
/* Kafelki na stronie O Slaweb Studio */

.about-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 38px 0 50px;
}

.about-card {
  padding: 28px;
  background-color: #f7f7f7;

  border: 1px solid #e2e2e2;
  border-left: 5px solid #ce1126;
  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.about-card-number {
  display: block;
  margin-bottom: 14px;

  color: #ce1126;
  font-size: 18px;
  font-weight: bold;
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: 1px;
}

.about-card p {
  margin: 0;
  line-height: 1.6;
  color: #4a4a4a;
}
.site-footer {
  background-color: white;
  color: #202020;
  text-align: left;
  padding: 30px clamp(40px, 6vw, 80px);
  margin-top: 40px;
  border-top: 1px solid #dddddd;
}

.site-footer p {
  margin: 6px 0;
  font-size: 0.9rem;
}
.site-footer a {
  color: #202020;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ce1126;
  text-decoration: underline;
}

@media (max-width: 650px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .about-cards {
    grid-template-columns: 1fr;
  }
}
/* Formularz kontaktowy */

.contact-form {
  max-width: 850px;
  margin-top: 30px;
  padding: 30px;

  background-color: #f7f7f7;
  border: 1px solid #e2e2e2;
  border-left: 5px solid #ce1126;
  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.form-field label {
  font-weight: bold;
  color: #333333;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;

  font: inherit;
  color: #222222;
  background-color: white;

  border: 1px solid #767676;
  border-radius: 8px;
  box-sizing: border-box;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid #922029;
  outline-offset: 2px;
}

.form-field [aria-invalid="true"] {
  border-color: #ce1126;
}

.form-error {
  /* Reserve a line so blur validation doesn't move the next click target. */
  min-block-size: 1.5em;
  margin: -4px 0 0;
  color: #922029;
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-button {
  padding: 13px 24px;

  font: inherit;
  font-weight: bold;
  color: white;
  background-color: #ce1126;

  border: 2px solid #ce1126;
  border-radius: 8px;
  cursor: pointer;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.form-button:hover {
  color: #ce1126;
  background-color: transparent;
  transform: translateY(-2px);
}

.form-button[aria-disabled="true"] {
  cursor: progress;
}

.form-status {
  margin: 12px 0 0;
  font-weight: bold;
}

.form-status:empty {
  margin: 0;
}

.form-status:is([data-state="error"], [data-state="validation"]) {
  color: #922029;
}

.form-status[data-state="success"] {
  color: #19643a;
}

@media (max-width: 650px) {
  .contact-form {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .form-error {
    min-block-size: 3em;
  }
}

.hero--laos > .hero-text {
  position: absolute;
  inset: 50% 16px auto;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  text-shadow:
    0 2px 8px #000,
    0 1px 3px #000;
}

.hero--laos > .hero-text h1 {
  margin: 0;
  font-size: clamp(28px, 6vw, 64px);
}

.hero--laos > .hero-text p {
  margin: 6px 0 0;
  color: #fff;
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 600;
}
@media (max-width: 760px) {
  .hero--laos > .hero-text {
    top: 62%;
  }
}

/* Karta kontaktowa w stopce */
.site-footer .studio-contact-card {
  box-sizing: border-box;
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 16px;
  padding: 18px 22px;
  border: 1px solid #ddd;
  border-left: 4px solid #b6242c;
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-style: normal;
  text-align: left;
}

.site-footer .studio-contact-card a {
  justify-self: start;
  padding: 4px 0;
  color: #922029;
  text-decoration: underline;
  text-underline-offset: 3px;
}
