/* =========================================
   GLOBAL STYLES
   ========================================= */

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fafb;
  color: #111827;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

.title {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}


/* =========================================
   GALLERY PAGE
   ========================================= */

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Tablet / Small Laptop */
@media (min-width: 600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Laptop / Desktop */
@media (min-width: 900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* Gallery Cards */
.gallery-item {
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item p {
  margin: 0;
  padding: 1rem;
  font-weight: 500;
}


/* =========================================
   RECIPES PAGE
   ========================================= */

/*
   Mobile:
   1 column

   Tablet:
   2 equal columns

   Desktop:
   2 equal columns
*/

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Tablet / Desktop */
@media (min-width: 600px) {
  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* =========================================
   RECIPE CARDS
   ========================================= */

.recipe-card {
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/* Recipe Image */
.recipe-card img {
  width: 100%;
  height: auto;
  display: block;
}


/* Recipe Content */
.recipe-content {
  padding: 1.25rem;
}

.recipe-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.recipe-content p {
  margin: 0 0 1rem;
  color: #6b7280;
  line-height: 1.6;
}


/* Recipe Details */
.recipe-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.recipe-details span {
  background: #f3f4f6;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
}


/* =========================================
   SINGLE COLUMN GRID
   ========================================= */
/* =========================================
   CONTACT US PAGE
   ========================================= */

/*
   Mobile:
   1 column

   Tablet:
   1 column

   Desktop:
   1 column
*/

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Tablet / Desktop */
@media (min-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   CONTACT CARDS
   ========================================= */

.contact-card {
  width: 100%;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}


/* contact Image */
.contact-card img {
  width: 100%;
  height: auto;
  display: block;
}




/* Contact Content */
.contact-content {
  padding: 1.25rem;
}

.contact-content h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-content p {
  margin: 0 0 1rem;
  color: #6b7280;
  line-height: 1.6;
}


/* =========================================
   CONTACT US MOBILE ADJUSTMENTS
   ========================================= */

@media (max-width: 599px) {
  .contact-grid {
    gap: 1rem;
  }

  .contact-content {
    padding: 1rem;
  }

  .contact-content h2 {
    font-size: 1.2rem;
  }
} 

/* =========================================
   MOBILE ADJUSTMENTS
   ========================================= */

@media (max-width: 599px) {
  .container {
    padding: 1rem;
  }

  .title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .gallery,
  .recipe-grid {
    gap: 1rem;
  }

  .recipe-content {
    padding: 1rem;
  }

  .recipe-content h2 {
    font-size: 1.2rem;
  }
}