/* ========================================
   Dog Feeding Guide Styles
   ======================================== */

.feeding-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em;
}

/* Back Button */
.back-button {
  display: inline-block;
  margin-bottom: 2em;
  padding: 0.75em 1.5em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Header Section */
.feeding-header {
  text-align: center;
  margin-bottom: 3em;
}

.feeding-header h1 {
  font-size: 3em;
  color: #0078d4;
  margin-bottom: 0.5em;
}

.breed-info-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0078d4 0%, #00a8e8 100%);
  color: white;
  padding: 1em 2em;
  border-radius: 50px;
  font-size: 1.3em;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.download-pdf-btn {
  padding: 1em 2em;
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.download-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(39, 174, 96, 0.4);
}

/* Feeding Content Sections */
.feeding-section {
  background: white;
  border-radius: 12px;
  padding: 2em;
  margin-bottom: 2em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.feeding-section h2 {
  color: #0078d4;
  font-size: 2em;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 3px solid #e0e0e0;
}

.feeding-section h3 {
  color: #333;
  font-size: 1.5em;
  margin: 1.5em 0 0.8em 0;
}

/* Age Stage Cards */
.age-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.age-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.age-card h3 {
  color: #0078d4;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.age-icon {
  font-size: 1.5em;
}

.age-card ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

.age-card li {
  margin-bottom: 0.8em;
  line-height: 1.6;
}

/* Feeding Schedule Table */
.feeding-schedule {
  background: white;
  border-radius: 8px;
  padding: 1.5em;
  margin: 2em 0;
  border: 2px solid #e0e0e0;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1em;
  padding: 1em;
  border-bottom: 1px solid #e0e0e0;
  align-items: center;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row.header {
  background: linear-gradient(135deg, #0078d4 0%, #00a8e8 100%);
  color: white;
  font-weight: bold;
  border-radius: 8px;
  border-bottom: none;
}

.schedule-time {
  font-weight: 600;
  color: #0078d4;
}

.schedule-amount {
  text-align: right;
  font-weight: 600;
}

/* Important Notes */
.important-note {
  background: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 8px;
}

.important-note h4 {
  color: #856404;
  margin-top: 0;
  font-size: 1.2em;
}

.important-note p {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

/* Breed Specific Notes */
.breed-note {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-left: 5px solid #27ae60;
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 8px;
}

.breed-note h4 {
  color: #27ae60;
  margin-top: 0;
  font-size: 1.2em;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2em;
  margin: 2em 0;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.info-icon {
  font-size: 3em;
  text-align: center;
  margin-bottom: 0.5em;
}

.info-card h3 {
  color: #0078d4;
  font-size: 1.3em;
  margin: 0.5em 0;
  text-align: center;
}

.info-card p {
  line-height: 1.8;
  color: #333;
  margin-bottom: 1em;
}

.info-card ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

.info-card li {
  margin-bottom: 0.8em;
  line-height: 1.6;
  color: #555;
}

.info-card li strong {
  color: #0078d4;
}

/* Weight Guidelines Table */
.weight-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.weight-table thead {
  background: linear-gradient(135deg, #0078d4 0%, #00a8e8 100%);
  color: white;
}

.weight-table th,
.weight-table td {
  padding: 1em;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.weight-table tbody tr:hover {
  background: #f5f7fa;
}

.weight-table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .feeding-container {
    padding: 1em;
  }
  
  .feeding-header h1 {
    font-size: 2em;
  }
  
  .breed-info-badge {
    font-size: 1.1em;
    padding: 0.8em 1.5em;
  }
  
  .age-stages {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .schedule-row {
    grid-template-columns: 1fr;
    gap: 0.5em;
  }
  
  .schedule-amount {
    text-align: left;
  }
  
  .weight-table {
    font-size: 0.9em;
  }
  
  .weight-table th,
  .weight-table td {
    padding: 0.7em;
  }
}

@media (max-width: 480px) {
  .feeding-header h1 {
    font-size: 1.5em;
  }
  
  .breed-info-badge {
    font-size: 1em;
  }
}
