@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;600;700&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Base styles */
body {
    /* SECTION | Text and Colors */
    /* background-color: var(--colors-bg); */
    /* background: var(--accent); */
    background: var(--bg);
    /* color: var(--colors-text); */
    /* color: var(--bg); */
    color: var(--text);
    font-family: 'Arimo', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    /* font-family: 'Arimo', sans-serif; */

    /* SECTION | Margin - Border - Padding - Max Width */
    margin: 0px 0px 0px 0px;
    border: green solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__hero{
  width: min(1200px, 90vw);
  margin: 24px auto 0;
  text-align: center;
}

.cdc__hero img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.cdc__hero h1{
  margin: 18px 0 6px;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  color: var(--text);
}

.cdc__hero p{
  margin: 0 auto 18px;
  max-width: 900px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ===== NAVBAR (cdc - component div class ===== */
.cdc__navbar {
    /* SECTION | Text and Colors */
    /* background-color: var(--colors-gold); */
    background: var(--accent);
    /* color: var(--bg); */
    color: var(--component);
    font-size: 2rem;

    /* SECTION | Margin - Border - Padding - Max Width */
    margin: 0px 0px 0px 0px;
    border: orchid solid var(--sizes-border);
    padding: 15px 0px 15px 30px;

    /* SECTION | Custom Styles - One Left and Two Right items and add spacing */
    /* TODO zostaw -> odkomentuj */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* gap: 30px; */
    

    /* SECTION | Experimental Styles - FlexBox */

    /* Default Values */
    /* flex-direction: row; */

    /* Custom Values */
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* SECTION | Custom Styles */
}

.cdc__navbar a {
    /* SECTION | Text and Colors */
    color: var(--colors-ink);

    /* SECTION | Margin - Border - Padding - Max Width */
    margin: 0px 0px 0px 0px;
    border: blue solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles - Links look like text buttons */
    text-decoration: none;
    font-weight: 400;

    /* TODO - bylo zakomentowane - zostaw zakomentowane */
    /* position: relative; */

    /* SECTION | Custom Styles */
}

.cdc__navbar__brand {
  /* color: var(--colors-ink); */
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  
  /* padding: 0px 0px 0px 30px; */
  margin: 0px 0px 0px 0px;
  border: blue solid var(--sizes-border);
  padding: 0px 0px 0px 0px;
}

.cdc__navbar__right_side {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0px 30px 0px 0px;
}

.cdc__navbar__right_side a + a {
  position: relative;
  padding-left: 48px;
}

.cdc__navbar__right_side a + a::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2em;
  /* background: var(--colors-ink); */
  background: var(--bg);
  opacity: 0.6;
}





.cdc__welcome_to_coffee_shop_like_at_home {

    /* Section | Text and Colors */
    /* Center text and limit line length for readability */
    /* color: var(--colors-gold); */
    text-align: center;

    /* Section | Margin - Border - Padding - Max Width */
    /* top right bottom left */
    margin: 0 auto;
    border: yellow solid var(--sizes-border);
    /* TODO here - third value does not work to from bottom padding*/
    padding: 40px 0px 0px 0px;
    /* max-width: 1920px; */

    /* SECTION | Custom Styles */
}

.cdc__welcome_to_coffee_shop_like_at_home h1 {

    /* Section | Text and Colors */
    color: var(--colors-gold);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3rem);

    /* Section | Margin - Border - Padding - Max Width */
    margin: 40px 0px 40px 0px;
    border: blue solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__welcome_to_coffee_shop_like_at_home img {

    /* Section | Text and Colors */
    /* Section | Margin - Border - Padding - Max Width */
    margin: 0 auto;
    border: blueviolet solid var(--sizes-border);
    padding: 0px 0px px 0px;
    width: 80%;
    /* width: min(80%, 780px); */
    height: auto;

    /* SECTION | Custom Styles */
    display: block;
}

.cdc__welcome_to_coffee_shop_like_at_home p {

    /* Section | Text and Colors */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--colors-text);
    /* color: #e6e6e6; */

    /* Section | Margin - Border - Padding - Max Width */
    margin: 40px 0px 0px 0px;
    border: white solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__drinks_menu {
    /* Section | Text and Colors */
    /* Center text and limit line length for readability */
    /* color: var(--colors-gold); */
    text-align: center;
    background-color: var(--colors-6);

    /* Section | Margin - Border - Padding - Max Width */
    /* top right bottom left */
    margin: 0 auto;
    border: yellow solid var(--sizes-border);
    padding: 40px 0px 20px 0px;
    /* padding: 40px 0px 40px 0px; */
    max-width: 1920px;

    /* SECTION | Custom Styles */
}

.cdc__drinks_menu h1 {

    /* Section | Text and Colors */
    /* color: var(--colors-gold); */
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3rem);

    /* Section | Margin - Border - Padding - Max Width */
    margin: 0px 0px 28px 0px;
    border: blue solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__drinks_menu p {

    /* Section | Text and Colors */
    font-size: 1rem;
    line-height: 1.6;
    color: var(--colors-text);
    /* color: #e6e6e6; */

    /* Section | Margin - Border - Padding - Max Width */
    margin: 0px 0px 0px 0px;
    border: white solid var(--sizes-border);
    padding: 0px 0px 0px 0px;
    max-width: 900px;

    /* SECTION | Custom Styles */

    /* SECTION | Extra Styles */
    margin: 0 auto 28px;
}

.cdc__menu_grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
    width: 80%;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 1000px;
}

.cdc__card {
    background: var(--surface);
    flex: 1 1 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    padding: 14px;
}

.cdc__card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
}

.cdc__card h3 {
    width: 100%;
    margin: 0;
    font-size: 1.05rem;
    /* color: var(--colors-1); */
    color: var(--text);
}

.cdc__card__caption {
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    text-align: center;
}

.cdc__card__caption p {
    font-size: 0.9rem;
    color: var(--colors-2);
    margin: 0;
    max-width: 200px;
}

.cdc__price {
    color: var(--accent);
    font-weight: 700;
    color: var(--colors-gold);
    letter-spacing: .3px;
}

@media (max-width: 960px) {
    .cdc__card {
        flex: 1 1 calc(50% - 14px); /* 2 w rzędzie */
        max-width: calc(50% - 14px);
    }
}

@media (max-width: 600px) {
    .cdc__card {
        flex: 1 1 100%; /* 1 w rzędzie */
        max-width: 100%;
    }
}


.cdc__pastries_menu {
    /* Section | Text and Colors */
    /* Center text and limit line length for readability */
    /* color: var(--colors-gold); */
    text-align: center;
    background-color: var(--colors-6);

    /* Section | Margin - Border - Padding - Max Width */
    /* top right bottom left */
    margin: 0 auto;
    border: yellow solid var(--sizes-border);
    padding: 40px 0px 20px 0px;
    /* padding: 40px 0px 40px 0px; */
    max-width: 1920px;

    /* SECTION | Custom Styles */
}

.cdc__pastries_menu h1 {

    /* Section | Text and Colors */
    color: var(--text);
    font-weight: 700;
    font-size: clamp(2.2rem, 4.5vw, 3rem);

    /* Section | Margin - Border - Padding - Max Width */
    margin: 0px 0px 28px 0px;
    border: blue solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__pastries_menu p {

    /* Section | Text and Colors */
    font-size: 1rem;
    line-height: 1.6;
    /* color: var(--colors-text); */
    /* color: var(--text); */
    color: var(--colors-text);
    /* color: #e6e6e6; */

    /* Section | Margin - Border - Padding - Max Width */
    margin: 0px 0px 28px 0px;
    border: white solid var(--sizes-border);
    padding: 0px 0px 0px 0px;
    max-width: 900px;

    /* SECTION | Custom Styles */

    /* SECTION | Extra Styles */
    margin: 0 auto 28px;
}



.cdc__footer {

    /* Section | Text and Colors */
    font-size: 2rem;

    /* Section | Margin - Border - Padding - Max Width */
    margin: 40px 0px 0px 0px;
    /* background-color: var(--colors-gold); */
    background: var(--surface);
    color: var(--text);
    padding: 15px 0px 15px 0px;

    /* SECTION | Custom Styles */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}




.cdc__footer a {

    /* Section | Text and Colors */
    text-decoration: none;
    /* color: var(--colors-ink); */
    color: var(--text);
    font-weight: 400;
    /* position: relative; */

    /* Section | Margin - Border - Padding - Max Width */
    margin: 0px 0px 0px 0px;
    border: orchid solid var(--sizes-border);
    padding: 0px 0px 0px 0px;

    /* SECTION | Custom Styles */
}

.cdc__footer a:hover {
    color: var(--accent);
}

/* Links and availability */
a{
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover{
    color: var(--accent-2);
}

a:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.cdc__contact_menu {
  text-align: center;
  margin: 0 auto;
  padding: 40px 0 20px 0;
  max-width: 1920px;
}

.cdc__contact_menu h1 {
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin: 0 0 28px 0;
}

.cdc__contact_menu p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* --- Form Container --- */
.cdc__form {
  max-width: 600px;
  margin: 0 auto 60px auto;
  text-align: left;
  background: transparent;
}

/* --- Input and Textarea --- */
.cdc__form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.cdc__form input,
.cdc__form textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: 'Arimo', sans-serif;
}

.cdc__form input:focus,
.cdc__form textarea:focus {
  outline: 2px solid var(--accent);
}

/* --- Submit Button --- */
.cdc__form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cdc__form button:hover {
  background: var(--accent-2);
}

/* ===============================
   ABOUT PAGE
   =============================== */
.cdc__about_menu{
  text-align: center;
  margin: 0 auto;
  padding: 40px 0 20px 0;
  max-width: 1920px;
}
.cdc__about_menu h1{
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  margin: 0 0 28px 0;
}
.cdc__about_menu p{
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 32px;
}

/* Tables */
.cdc__table{
  width: min(900px, 90vw);
  margin: 0 auto 40px;
  text-align: left;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.cdc__table table{
  width: 100%;
  border-collapse: collapse;
}
.cdc__table__caption{
  text-align: left;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text);
  background: color-mix(in oklab, var(--surface), black 8%);
}
.cdc__table th,
.cdc__table td{
  padding: 14px 18px;
  border-bottom: 1px solid var(--divider);
}
.cdc__table th{
  color: var(--text);
  font-weight: 700;
}
.cdc__table td{
  color: var(--text);
  opacity: .95;
}
.cdc__table td.cdc__muted{
  color: var(--muted);
}

/* Status badge */
.cdc__badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
}
.cdc__badge.is-upcoming{ background: var(--accent); color: var(--bg); }
.cdc__badge.is-past{ background: var(--accent-2); color: var(--text); }

/* Small screens */
@media (max-width: 560px){
  .cdc__table th:nth-child(3),
  .cdc__table td:nth-child(3){ display: none; } /* ukryj kolumnę 'Notes' na bardzo wąskich ekranach */
}


/* ===============================
   LOCATION SECTION
   =============================== */
.cdc__location {
  text-align: center;
  padding: 40px 0 40px 0;
  background: var(--surface);
  color: var(--text);
}

.cdc__location h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 20px;
}

.cdc__location p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 28px auto;
  color: var(--text);
}

.cdc__location img {
  width: 80%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

/* ===============================
   CUSTOMER QUOTES SECTION
   =============================== */
.cdc__quotes {
  text-align: center;
  padding: 60px 0 60px 0;
  background: var(--bg);
  color: var(--text);
}

.cdc__quotes h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--accent);
  margin-bottom: 40px;
}

.cdc__quotes__grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 24px;
  width: 80%;
  max-width: 1000px;
  margin: 0 auto;
}

.cdc__quote {
  background: var(--surface);
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 calc(33.333% - 24px);
  max-width: calc(33.333% - 24px);
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.cdc__quote q {
  font-style: italic;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.cdc__quote cite {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .cdc__quote {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 600px) {
  .cdc__quote {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
