:root {
  --primary-color: #d35400; 
  --secondary-color: #34495e; 
  --accent-color: #f1c40f;
  --background-color: #f9f7f3; 
  --text-color: #2c3e50; 
  --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}


h1, h2, h3, h4, h5 {
  font-family: 'Amiri', serif;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

h1 {
  font-size: 58px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

h2 {
  font-size: 32px;
  color: var(--text-color);
}

h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 40px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

h4 {
  font-size: 24px;
  margin-top: 10px;
  color: var(--primary-color);
}

h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 5px;
}

p {
  margin-bottom: 15px;
  font-size: 16px;
}


header {
  margin-bottom: 60px;
}

.img-header {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 30px;
}


.category {
  margin-bottom: 80px;
}


.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}


.card {
  background-color: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card h4, .card h5, .card p {
  padding: 0 20px;
}

.card h4 {
  margin-top: 20px;
}

.card p:last-child {
  padding-bottom: 20px;
}


footer {
  margin-top: 60px;
  text-align: center;
  padding: 30px 0;
  color: var(--secondary-color);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
}


@media (max-width: 990px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  h1 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }
  
  h1 {
    font-size: 42px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .img-header {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .img-header {
    height: 300px;
  }
  
  .container {
    padding: 15px;
  }
}
