
/* Disclaimer: I used ChatGPT to try and implement fonts, but that didn't work (at least for Adam Warren). Most of them are not very legible either (especially JI Burrito), so I abandoned my old fonts. I also had it help me organize my files.

/* ======================================================================================================================================================================================
   FONT CSS STYLING
====================================================================================================================================================================================== */

/* Title Text */
@font-face {
  font-family: 'JI Burrito';
  src: url('../fonts/JIBurrito.woff2') format('woff2'),
       url('../fonts/JIBurrito.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Header Text */
@font-face {
  font-family: 'Adam Warren';
  src: url('../fonts/Adam-Warren.woff2') format('woff2'),
       url('../fonts/Adam-Warren.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Subheader Text */
@font-face {
  font-family: 'Londrina Solid';
  src: url('../fonts/LondrinaSolid-Regular.woff2') format('woff2'),
       url('../fonts/LondrinaSolid-Regular.ttf') format('truetype');
}

/* Body Text */
@font-face {
  font-family: 'Solitreo';
  src: url('../fonts/Solitreo-Regular.woff2') format('woff2'),
       url('../fonts/Solitreo-Regular.ttf') format('truetype');
}

/* ======================================================================================================================================================================================
   BODY CSS STYLING
====================================================================================================================================================================================== */

body {
  margin: 0;
  background-color: #282727;
}

/* ======================================================================================================================================================================================
   HEADER CSS STYLING
====================================================================================================================================================================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background-color: black;
}

.logo {
  height: 110px;
  width: auto;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 12px; /* space between image and text */
  text-decoration: none;
}

.logo-text { /* desktop default for logo text */
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 768px) { 
  .logo {
    height: 60px; /* mobile responsiveness for logo img */
  }  

  .logo-text { /* mobile responsiveness for logo text */
    font-size: 1.1rem;
  }
}

/* ======================================================================================================================================================================================
   NAVIGATION CSS STYLING
====================================================================================================================================================================================== */

.menu-icon {
  display: none;
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: white;
}

.nav-links {
  list-style: none; /* remove bulletpoints */
  display: flex; /* side by side links */
  gap: 24px;
  margin: 0;
  padding-right: 32px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 700;
}

.nav-links a:hover {
  text-decoration: underline;
  color: #FFBB00;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .menu-icon {
    display: block; /* displays the menu at a certain width */
  }
}

.nav {
  display: flex;
  align-items: center;
}

/* ======================================================================================================================================================================================
   TYPOGRAPHY CSS STYLING
====================================================================================================================================================================================== */

nav {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
}

.logo-text {
  font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

h1 {
  font-weight: 50;
  color: white;
  font-family: 'Adam Warren', sans-serif;
}

h2 {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
  color: #FFBB00;
}

p {
  font-family: 'Solitreo', sans-serif;
  color: white;
}

button {
  font-family: Georgia, 'Times New Roman', Times, serif;
  padding: 8px;  
}

/* ======================================================================================================================================================================================
   PRODUCT CARD CSS STYLING
====================================================================================================================================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.products {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 40px;
}

.product-card {
  flex: 1;
  max-width: 300px;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  text-align: center;
}

.product-card img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.product-card button {
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 20px;
    background: #e63946;
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {  /* make mobile product cards stack */
  .products {
    flex-direction: column;
    align-items: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

}

