@import url('navigation.css');
@import url('header.css');
@import url('footer.css');

:root {
  --red-primary: #c62c36;
  --text-color: #3A3A3A;
  --footer-bg: #F6F6F6;
  font-size: 20px;
}

* {
  margin: 0;
  padding: 0;
  border: none;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1.2rem;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
}

h1, h2 {
  margin: 1rem 0;
  font-family: 'Playball', cursive;
}

h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 2rem;
}

p {
  padding-bottom: 10px;
}

a {
  color: var(--red-primary);
  text-decoration: none;
}

a:hover {
  color: var(--red-primary);
}

.lets-talk-btn {
  display: inline-block;
  background-color: var(--red-primary);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.lets-talk-btn:hover {
  background-color: #a02329;
  transform: translateY(-2px);
  color: white !important;
}

.section {
  flex: auto;
  padding: 1rem 4rem;
  max-width: 1000px;
  margin: 2rem auto;
  text-align: center;
}

.intro {
  font-size: 1.5rem;
}

.highlight {
  font-family: 'Playball', cursive;
  font-weight: bold;
  border-left: 3px solid var(--red-primary);
  padding-left: 20px;
  margin: 20px 0;
}

/* Collection Cards */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 1rem auto;
  max-width: 1000px;
}

.collection-card {
  position: relative;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px;
}

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

.collection-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
  padding: 15px 25px;
  text-align: center;
  border-radius: 8px;
}

.collection-overlay h3 {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  margin: 0;
  color: var(--text-color);
  text-transform: uppercase;
}

.home-logo {
  display: block;
  margin: 2rem auto;
  max-width: 300px;
  width: 100%;
  height: auto;
}

/* Bio page styles */
.bio-image {
  margin: 2rem 0 3rem 0;
}

.artist-photo {
  max-width: 1000px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Background images for each collection */
.floral-card {
  background-image: url('/images/floral/12_TrainorArt-WildCrazy-Hibiscus-Bush-2021-120-X-80-1024x682.jpeg');
}

.geometric-card {
  background-image: url('/images/geometric/02_TrainorArt-Whats-Your-Favorite-Color-2021-70-X-70-1024x1024.jpg');
}

.hearts-card {
  background-image: url('/images/hearts/Hearts_Trainor_Art_01_RegalWoman80round.jpeg');
}

.organic-card {
  background-image: url('/images/organic/01_TrainorArt-Love-Is-Love-2021-80-X-80-1019x1024.jpeg');
}

/* Utility classes */
.md\:hidden {
  display: none;
}

/* Middle screens */
@media only screen and (max-width: 768px) {
  .background {
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
  }

  h1 {
    font-size: 2rem;
  }

  .navbar a {
    font-size: 1rem;
    padding: 10px;
  }

  .intro {
    font-size: 1.2rem;
  }

  .section {
    padding: 2rem;
  }

  .collections-grid {
    grid-template-columns: 1fr;
  }

  footer {
    text-align: center;
    font-size: 1rem;
  }
}

/* Small screens */
@media only screen and (max-width: 480px) {
  .section {
    padding: 1.4rem;
  }

  .collections-grid {
    max-width: 400px;
  }

  .bg-white {
    padding: 8px;
  }

  .hidden {
    display: none;
  }

  ul {
    list-style: none;
  }

  li:not(:last-child) {
    border-bottom: 1px solid var(--primary-bg);
  }
}
