/* custom-hbh.css - Half Baked Harvest Style Overrides */

:root {
  --hbh-text: #333333;
  --hbh-bg: #fdfdfd;
  --hbh-accent: #7c5c4e; /* Earthy brown/rust */
  --hbh-border: #eaeaea;
  --hbh-font-sans: 'Lato', sans-serif;
  --hbh-font-serif: 'Playfair Display', serif;
}

body {
  font-family: var(--hbh-font-sans);
  color: var(--hbh-text);
  background-color: var(--hbh-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-small, .uk-logo {
  font-family: var(--hbh-font-serif);
  color: #222;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Typography styles */
.uk-logo {
  font-size: 2.2rem;
  letter-spacing: 1px;
}

a, .uk-link {
  color: var(--hbh-accent);
  transition: color 0.3s ease;
}

a:hover, .uk-link:hover {
  color: #5a4034;
  text-decoration: none;
}

/* Buttons */
.uk-button-primary {
  background-color: var(--hbh-accent);
  color: #fff;
  border-radius: 2px !important; /* Sharp edges */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--hbh-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  transition: background-color 0.3s ease;
}

.uk-button-primary:hover {
  background-color: #5a4034;
}

/* Form Inputs */
.uk-input, .uk-textarea {
  border-radius: 2px !important;
  border: 1px solid var(--hbh-border);
  font-family: var(--hbh-font-sans);
}

.uk-input:focus, .uk-textarea:focus {
  border-color: var(--hbh-accent);
}

/* Navbar */
.uk-navbar-container {
  background-color: #fff !important;
  border-bottom: 1px solid var(--hbh-border);
}

.uk-navbar-nav > li > a {
  font-family: var(--hbh-font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  color: #555;
}

.uk-navbar-nav > li > a:hover {
  color: var(--hbh-accent);
}

/* Hero Section */
.hbh-hero {
  background-color: #fff;
  border: 1px solid var(--hbh-border);
  padding: 4rem 2rem;
  text-align: center;
}

.hbh-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hbh-hero p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Recipe Cards */
.hbh-recipe-card {
  text-align: center;
  transition: transform 0.3s ease;
}

.hbh-recipe-card:hover {
  transform: translateY(-5px);
}

.hbh-recipe-card img {
  border-radius: 0; /* Remove rounded corners */
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4/5; /* Portrait style photos */
}

.hbh-recipe-card h3 {
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.hbh-recipe-card .author {
  font-family: var(--hbh-font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  color: #999;
}

/* Recipe Detail Page */
.hbh-recipe-header {
  text-align: center;
  margin-bottom: 3rem;
}

.hbh-recipe-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hbh-recipe-meta {
  font-family: var(--hbh-font-sans);
  letter-spacing: 1px;
  color: #777;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.hbh-recipe-main-image {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 3rem;
}

.hbh-section-title {
  text-align: center;
  border-bottom: 1px solid var(--hbh-border);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Steps and Ingredients */
.hbh-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hbh-step-number {
  font-family: var(--hbh-font-serif);
  font-style: italic;
  color: var(--hbh-accent);
  font-size: 1.2rem;
  margin-right: 10px;
}
