/* This is the style for Pearl Skateboards*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  padding: 40px 20px;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #282828;
  background-color: white;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 40px 30px;
  border-bottom: 1px solid #282828;
  text-align: center;
}

.logo {
  max-height: 100px;
  max-width: 75%;
  margin-bottom: 12px;
}

header h1 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.7rem;
  color: #7c7a76;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.tagline {
  margin-top: 10px;
  font-size: .75rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #484444;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  background-color: #92278f;
  border-bottom: 1px solid #282828;
}

nav span {
  padding: 16px 50px;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: white;
}


nav span:hover {
  color: black;
  background-color: #00a79d;
}

.hero {
  position: relative;
  height: 700px;
  background-image: url('images/pearl-hero-main.png');
  background-size: cover; 
  background-position: center top;
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.hero-text h2 {
  font-family: 'Open Sans', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: white;
}

.hero-text p {
  margin-top: 10px;
  font-size: 0.95rem;
  color: white;
  letter-spacing: 0.5px;
}

main {
  display: flex;
  flex-direction: row;
  border-top: 1px solid #282828;
}

.col-left {
  flex: 1;
  padding: 40px 30px;
  border-right: 1px solid #282828;
}

.col-mid {
  flex: 2;
  padding: 40px 30px;
  border-right: 1px solid #282828;
}

.col-right {
  flex: 1;
  padding: 40px 30px;
}

.col-left h3,
.col-mid h3,
.col-right h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  color: #00a79d;
  margin-bottom: 14px;
}

.specs-heading {
  margin-top: 32px;
}

.col-left p,
.col-right p {
  font-size: 0.875rem;
  color: #888;
  line-height: 1.85;
  margin-bottom: 12px;
}

.specs-list {
  list-style: none;
  margin-top: 12px;
}

.specs-list li {
  font-size: 0.82rem;
  color: #888;
  padding: 8px 0;
  border-bottom: 1px solid #1e1e1e;
  line-height: 1.5;
}

.specs-list li strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 2px;
}

.contact-list {
  list-style: none;
  margin-top: 4px;
  margin-bottom: 12px;
}

.contact-list li {
  font-size: 0.85rem;
  color: #888;
  padding: 10px 0;
  border-bottom: 1px solid #1e1e1e;
}

.contact-list li strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 3px;
}

.deck-cards {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.card {
  flex: 1;
}

.card img {
  width: 100%;
}

.card-info {
  padding: 16px;
}

.card h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  color: #92278f;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.78rem;
  color: #777;
  line-height: 1.6;
}

.card .price {
  margin-top: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  color: #777;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  background-color: black;
}

footer p {
  font-size: 0.72rem;
  color: white;
  letter-spacing: 1px;
}

footer .footer-brand {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 4px;
  color: #333;
}


@media (max-width: 600px) {

  body {
    padding: 0;
  }

  .container {
    border: none;
  }

  nav {
    flex-direction: column;
  }

  nav span {
    border-right: none;
    border-bottom: 1px solid #222;
    text-align: center;
    padding: 14px 20px;
  }

  nav span:last-child {
    border-bottom: none;
  }

  main {
    flex-direction: column;
  }

  .col-left,
  .col-mid,
  .col-right {
    flex: 1;
    border-right: none;
    border-bottom: 1px solid #222;
    padding: 32px 20px;
  }

  .col-right {
    border-bottom: none;
  }

  .deck-cards {
    flex-direction: column;
  }

  .card img {
    width: 50%;
  }

  .hero {
    height: 340px;
    padding: 28px 20px;
  }

  .hero-text h2 {
    font-size: 2.6rem;
  }

  header {
    padding: 36px 20px 28px;
  }

  header h1 {
    font-size: 2.8rem;
    letter-spacing: 5px;
  }

  footer {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    text-align: center;
  }

}
