/**************************/
/* HEADER */
/**************************/

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--brand-light-green);

  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
  position: relative;
}

.logo {
  height: 9.2rem;
}

/**************************/
/* BUY ME A COFFEE */
/**************************/
.button-row {
  display: flex; /* row, shrink to content */
  gap: 12px; /* spacing between buttons */
  text-align: center;
}

/**************************/
/* PRIVACY PAGE */
/**************************/

.privacy-policy {
  padding: 20rem 0;
  height: 4.8rem;
  color: #333;
}

.privacy-description {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/**************************/
/* NAVIGATION */
/**************************/

.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4.8rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s;
}

.main-nav-link:hover,
.main-nav-link:active {
  color: var(--brand-darker-green);
}

.main-nav-link.nav-cta:link,
.main-nav-link.nav-cta:visited {
  padding: 1.2rem 3.8rem;
  border-radius: 9px;
  color: #fff;
  background-color: var(--brand-dark-green);
}

/* .main-nav-link.nav-cta:hover, */
.main-nav-link.nav-cta:active {
  background-color: var(--brand-dark-green);
}

.main-nav-link.nav-cta:hover {
  background-color: var(--brand-darker-green);
}

/* MOBILE */
.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;

  display: none;
}

.icon-mobile-nav {
  height: 4.8rem;
  width: 4.8rem;
  color: #333;
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  background-color: rgba(255, 255, 255, 0.97);
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-hero {
  margin-top: 9.6rem;
}

/**************************/
/* HERO SECTION */
/**************************/

.section-hero {
  background-color: var(--brand-light-green);
  padding: 4.8rem 0 9.6rem 0;
}

.hero {
  max-width: 130rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5.6rem;
  align-items: center;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
}

.hero-img {
  width: 90%;
}

.delivered-meals {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 8rem;
}

.delivered-imgs {
  display: flex;
}

.delivered-imgs img {
  height: 4.8rem;
  width: 4.8rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #c1e2fb;
}

.delivered-imgs img:last-child {
  margin: 0;
}

.users-text {
  font-size: 1.8rem;
  font-weight: 600;
  padding-top: 2.2rem;
}

.users-text span {
  color: #1F6AA5;
  font-weight: 700;
}

/**************************/
/* FEATURED IN SECTION */
/**************************/

.section-featured {
  padding: 4.8rem 0 3.2rem 0;
}

.heading-featured-in {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.4rem;
  color: #888;
}

.logos {
  display: flex;
  justify-content: space-around;
}

.logos img {
  height: 3.2rem;
  filter: brightness(0);
  opacity: 50%;
}

/**************************/
/* HOW IT WORKS SECTION */
/**************************/

.section-how {
  padding: 5.6rem 0;
}

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #bab9b9;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}

.step-img-box {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.step-img {
  width: 99%;
}

.canva-logo {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.canva-template {
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1));
}

/**************************/
/* CTA SECTION */
/**************************/

.section-cta {
  /* top / right / bottom / left */
  /* padding: 9.6rem 0 12.8rem 0; */

  /* top / horizontal / left */
  padding: 4.8rem 0 12.8rem;
}

.cta {
  display: grid;
  /* 2/3 = 66.6% + 1/3 = 33.3% */
  /* grid-template-columns: 2fr; */
  /* background-color: #e67e22; */
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
  border-radius: 11px;

  background-image: linear-gradient(to right bottom, #d7edff, #d7edff);
  overflow: hidden;
}

.cta-text-box {
  padding: 4.8rem 6.4rem 6.4rem 6.4rem;
  color: #333;
}

.cta .heading-secondary {
  /* color: #45260a; */
  color: inherit;
  margin-bottom: 3.2rem;
}

.cta-text {
  font-size: 1.8rem;
  line-height: 1.8;
  margin-bottom: 4.8rem;
}

/* .cta-img-box {
  background-image: linear-gradient(
      to right bottom,
      rgba(235, 151, 78, 0.35),
      rgba(230, 125, 34, 0.35)
    ),
    url("../img/eating.jpg");
  background-size: cover;
  background-position: center;
} */

.cta-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3.2rem;
  row-gap: 2.4rem;
}

.cta-form label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.cta-form .full-width {
  grid-column: 1 / -1;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  border: none;
  background-color: #fff;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.cta-form textarea::placeholder,
.cta-form input::placeholder {
  color: #aaa;
}

.cta *:focus {
  outline: none;
  box-shadow: 0 0 0 0.8rem rgba(253, 242, 233, 0.5);
}

/* Make the CSV section span full width */
.cta-form .full-width {
  grid-column: 1 / -1;
}

/* Wrapper for input + button */
.file-input-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 1rem;
  align-items: center;
}

/* Hidden real file input */
.file-input-wrapper input[type="file"] {
  display: none;
}

/* Fake input showing file name */
#file-name-display {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.8rem;
  font-family: inherit;
  color: inherit;
  background-color: #fff;
  border-radius: 9px;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Custom choose file button */
.btn-choose {
  padding: 1.6rem 1.6rem 1.3rem;
  background-color: var(--brand-dark-green);
  color: white;
  font-size: 1.6rem;
  border-radius: 9px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
  margin-top: 1.3rem;
}


.btn-choose:hover {
  background-color: var(--brand-darker-green);
}

/* Make the CSV section span full width */
.cta-form .full-width2 {
  grid-column: 1 / -1;
}

#csv-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}

/**************************/
/* CAROUSEL */
/**************************/

.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-top: 0px;
}

.carousel img {
  width: 100%;
  border-radius: 12px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-darker-green);
  color: white;
  border: none;
  font-size: 15px;
  padding: 10px;
  cursor: pointer;
  border-radius: 20%;
}

.nav.prev {
  left: -40px;
}

.nav.next {
  right: -40px;
}

.nav:hover {
  background: var(--brand-darker-green);
}

.nav:active {
  background: var(--brand-darker-green);
  color: white;
}


/**************************/
/* FOOTER */
/**************************/

.footer {
  padding: 5.8rem 0;
  border-top: 1px solid #eee;
}

.grid--footer {
  grid-template-columns: 2.0fr 1fr 1fr 1fr 1fr;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: block;
  margin-bottom: 2.2rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-icon {
  height: 3.4rem;
  width: 3.4rem;
}

.copyright {
  font-size: 1.0rem;
  line-height: 1.6;
  color: #767676;
  margin-top: 1.2rem;
}

.footer-heading {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2.8rem;
}

.contacts {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.6;
}

.address {
  margin-bottom: 2.4rem;
}

.address-col {
  grid-column: 5;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  text-decoration: none;
  font-size: 1.6rem;
  color: #767676;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #555;
}

/**************************/
/* DEBUG */
/**************************/

/* * {
  outline: 1px solid red;
} */



/**************************/
/* LISTINGS */
/**************************/

.filters{
display:flex;
gap:20px;
margin:40px 0;
}

.city-header{
font-size:28px;
margin-top:60px;
margin-bottom:20px;
border-bottom:2px solid #eee;
padding-bottom:8px;
}

/* .grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
} */

.item{
position:relative;
display:block;
overflow:hidden;
border-radius:10px;
}

.item img{
width:100%;
transition:transform 0.35s ease;
}

.overlay{
position:absolute;
bottom:0;
width:100%;
padding:15px;
background:rgba(0,0,0,0.6);
color:white;
opacity:0;
transition:opacity 0.3s;
}

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

.item:hover .overlay{
opacity:1;
}


/* ************************
/* MARKETPLACE */
/**************************/
.marketplace{
display:grid;
grid-template-columns:250px 1fr;
gap:40px;
max-width:1300px;
margin:auto;
padding:40px;
}

/* Sidebar */

.sidebar h3{
margin-top:20px;
font-size:18px;
}

.sidebar label{
display:block;
margin:8px 0;
font-size:15px;
}

.sidebar input[type="text"]{
width:100%;
padding:8px;
margin-top:8px;
}

/* Listings grid */

/* .listings{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
} */

/* Card */

.card{
text-decoration:none;
color:black;
border-radius:10px;
overflow:hidden;
transition:transform 0.25s ease, box-shadow 0.25s ease;
background:white;
}

.card img{
width:100%;
display:block;
}

.card-info{
padding:12px;
}

.card-info h4{
margin:0;
font-size:16px;
}

/* Hover effect */

.card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);
} */


/*
*/

.how-it-works {
    padding: 4rem 2rem;
    background: #f9f9f9;
}

.how-it-works .container {
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.how-it-works .step {
    margin-bottom: 2rem;
}

.how-it-works .step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.how-it-works .step p,
.how-it-works .step ul {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.how-it-works .step ul {
    list-style: disc inside;
}
