/* PetWide Partners - Custom styles */

:root {
  --moss-green: #6F7F2E;
  --charcoal: #2E2E2C;
  --rust: #C26A2E;
  --charcoal-light: #3d3d3b;
  --moss-light: rgba(111, 127, 46, 0.15);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  overflow-x: hidden;
}

h1, h2, h3, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.navbar {
  background: rgba(46, 46, 44, 0.9);
  transition: background 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(46, 46, 44, 0.98) !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand {
  font-weight: 700;
  color: var(--moss-green) !important;
  font-size: 1.4rem;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin-left: 0.5rem;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--moss-green) !important;
}

.btn-moss {
  background: var(--moss-green);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-moss:hover {
  background: #5a6a24;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 127, 46, 0.4);
}

.btn-rust {
  background: var(--rust);
  color: #fff;
  border: none;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-rust:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 106, 46, 0.4);
}

section {
  padding: 5rem 0;
  min-height: 80vh;
}

.section-title {
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--moss-green);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.scale-in.active {
  opacity: 1;
  transform: scale(1);
}

/* Cards */
.card-custom {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(46, 46, 44, 0.12);
}

.card-custom .card-body {
  padding: 1.5rem;
}

.card-custom h5 {
  color: var(--moss-green);
  font-weight: 600;
}

/* Hero section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/image4.png') center/cover;
  opacity: 0.35;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
}

.hero .lead {
  animation: fadeInUp 1s ease forwards;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .img-float {
  max-height: 70vh;
  object-fit: contain;
}

/* Products section */
#products {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

#products .product-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.4s ease;
  border: 1px solid #eee;
}

#products .product-card:hover {
  border-color: var(--moss-green);
  box-shadow: 0 10px 30px var(--moss-light);
  transform: translateY(-4px);
}

#products .product-card h5 {
  color: var(--charcoal);
  font-weight: 600;
}

/* Services section */
#services {
  background: #fff;
}

#services .service-box {
  background: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  height: 100%;
  transition: all 0.4s ease;
}

#services .service-box:hover {
  background: var(--moss-light);
  transform: scale(1.02);
}

#services .service-box h5 {
  color: var(--moss-green);
}

/* Vet Corner section */
#vet-corner {
  background: linear-gradient(135deg, #f8f9fa 0%, #eee 100%);
}

/* Learnings section */
#learnings {
  background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
}

/* Contact section */
#contact {
  background: var(--charcoal);
  color: #fff;
}

#contact h2 {
  color: #fff;
}

#contact .form-control {
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

#contact .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#contact .form-control:focus {
  border-color: var(--moss-green);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Coming soon badge */
.coming-soon {
  display: inline-block;
  background: var(--rust);
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
  font-size: 0.9rem;
}

footer a {
  color: var(--moss-green);
  text-decoration: none;
}

footer a:hover {
  color: #8a9d3a;
}

/* Image hover effect */
.img-float {
  transition: transform 0.5s ease;
}

.img-float:hover {
  transform: scale(1.03) rotate(1deg);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
