/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

body {
  background: #efeff2;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #d4217a;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.login-btn, .signup-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn {
  color: #d4217a;
  border: 2px solid #d4217a;
}

.login-btn:hover {
  background: #d4217a;
  color: #fff;
}

.signup-btn {
  background: #d4217a;
  color: #fff;
}

.signup-btn:hover {
  background: #b31b68;
}

/* Hero Section */
.hero-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #fff 0%, #fce4f3 100%);
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 2rem 0 2rem;
  background: linear-gradient(135deg, #fff 0%, #fce4f3 100%);
  max-width: 1200px;
  margin: 0 auto;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  padding-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cta-button, .learn-more-button {
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.cta-button {
  background: #d4217a;
  color: #fff;
}

.cta-button:hover {
  background: #b31b68;
  transform: translateY(-2px);
}

.learn-more-button {
  background: #fff;
  color: #d4217a;
  border: 2px solid #d4217a;
}

.learn-more-button:hover {
  background: #d4217a;
  color: #fff;
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -2px;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-height: 550px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 10px 25px rgba(212,33,122,0.2));
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: scale(1.15);
}

/* Services Section */
.services-section {
  padding: 6rem 2rem;
  background: #fff;
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4217a33, transparent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #fce4f3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: #d4217a;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
}

/* Featured Pets Section */
.featured-pets {
  padding: 6rem 2rem;
  background: #fff;
  position: relative;
}

.featured-pets::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #d4217a33, transparent);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #d4217a;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  margin: 1rem 0 0 0;
}

.pet-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pet-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(212,33,122,0.15);
}

.pet-card:hover .pet-image img {
  transform: scale(1.1);
}

.pet-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #f7f7fa;
}

.pet-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pet-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #d4217a;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(212,33,122,0.2);
}

.pet-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.pet-details h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #333;
}

.pet-details p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.pet-link {
  color: #d4217a;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  transition: all 0.3s ease;
}

.pet-link:hover {
  color: #b31b68;
}

.pet-link i {
  transition: transform 0.3s ease;
}

.pet-link:hover i {
  transform: translateX(5px);
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #d4217a;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: #b31b68;
  transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 2rem;
  background: #f8f9fc;
  position: relative;
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding: 2rem 0;
}

.step {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.step-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 20px rgba(212,33,122,0.15);
}

.step-icon i {
  font-size: 2rem;
  color: #d4217a;
}

.step h3 {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 700;
}

.step p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Footer */
.main-footer {
  background: #fff;
  padding: 4rem 2rem 1rem;
  color: #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
}

.footer-left img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-left p {
  color: #666;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section a {
  display: block;
  color: #666;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d4217a;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.footer-bottom p {
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-section {
    padding: 6rem 2rem 0 2rem;
  }

  .hero-image {
    max-width: 450px;
  }

  .hero-image img {
    max-height: 500px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-left {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .main-nav {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .auth-buttons {
    flex-direction: column;
    width: 100%;
  }

  .login-btn, .signup-btn {
    text-align: center;
  }

  .hero-section {
    flex-direction: column;
    padding: 4rem 1.5rem 0 1.5rem;
    text-align: center;
  }

  .hero-content {
    padding-bottom: 2rem;
  }

  .hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-image img {
    max-height: 450px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .pet-carousel {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .pet-image {
    height: 240px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .how-it-works {
    padding: 4rem 1.5rem;
  }

  .steps-container {
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .step {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .cta-button, .learn-more-button {
    width: 100%;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pet-carousel {
    grid-template-columns: 1fr;
  }

  .hero-image img {
    max-height: 300px;
  }

  .pet-image {
    height: 200px;
  }
}

.about-section {
  padding: 6rem 2rem;
  background: #f8f9fc;
  text-align: center;
  position: relative;
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-section .section-header {
  margin-bottom: 3rem;
}

.about-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.about-section .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #d4217a;
  border-radius: 2px;
}

.about-section .section-header p {
  font-size: 1.2rem;
  color: #666;
  margin: 1rem 0 0 0;
}

.about-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin: 0 0 1.5rem 0;
}

.about-section .mission-statement {
  font-weight: 600;
  color: #444;
  margin: 1.5rem 0 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
