/* ========================================
   Custom Styles for Sunshine Goat Farm
   ======================================== */

/* Variables */
:root {
  --primary-color: #4CAF50;
  --secondary-color: #8D6E63;
  --accent-color: #FFC107;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
}

/* Font Families */
body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Header & Navigation */
.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.8rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-text {
  color: var(--secondary-color);
}

.hero-btn {
  background: var(--primary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.hero-btn:hover {
  background: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* About Section */
.about-image-placeholder {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Breeds Section */
.breed-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.breed-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Products & Services */
.product-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.product-icon {
  transition: all 0.3s ease;
}

.product-card:hover .product-icon {
  background: var(--primary-color) !important;
  color: white !important;
  transform: scale(1.1);
}

/* Testimonials */
.carousel-item {
  padding: 2rem 1rem;
}

blockquote {
  font-style: italic;
  position: relative;
  padding: 1.5rem;
  background: rgba(76, 175, 80, 0.05);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 10px 10px 0;
}

.testimonial-image-placeholder {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Gallery */
.gallery-item {
  height: 300px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Contact Form */
.card {
  border-radius: 15px !important;
  overflow: hidden;
}

.info-card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Footer */
footer {
  background: var(--dark-color);
}

footer h5 {
  color: white;
  position: relative;
  padding-bottom: 10px;
}

footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
}

footer a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-links a {
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color) !important;
  transform: translateY(-3px);
}

/* Buttons */
.btn-success {
  background: var(--primary-color);
  border: none;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.btn-success:hover {
  background: #45a049;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-success:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
  }
  
  .hero-text {
    font-size: 1.5rem;
  }
  
  .hero-btn {
    padding: 12px 25px;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 5px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .gallery-item {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-text {
    font-size: 1.3rem;
  }
  
  .hero-btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

/* Scroll Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Custom Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Form Styles */
.form-control, .form-select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Card Shadows */
.card-shadow {
  box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

.card-shadow:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
