:root {
  /* Colors - Updated to 'Professional & Friendly Teal' */
  --primary: #2A9D8F;
  /* Sea Teal - Trustworthy, Nature & Friendly */
  --primary-dark: #21867a;
  --secondary: #264653;
  /* Deep Blue/Green - Professional & Strong */
  --accent: #E8F6F3;
  /* Light Mint - Backgrounds (Kept as it fits) */
  --text: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --background: #FAFAFA;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Typography */
  --font-main: 'Outfit', sans-serif;
  --font-size-base: 1rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 2rem;
  --font-size-2xl: 3rem;

  /* Borders */
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

/* Layout */
/* Layout */
.container {
  width: 94%;
  /* Increased from 90% */
  max-width: 1400px;
  /* Increased from 1200px */
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

section {
  padding: var(--spacing-xl) 0;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--secondary);
}

h1 {
  font-size: var(--font-size-2xl);
}

h2 {
  font-size: var(--font-size-xl);
  text-align: center;
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 157, 143, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links .btn {
  color: var(--white) !important;
  /* Ensure button text is always white, overriding link color */
}

.hamburger {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
  border-radius: 0 0 40px 40px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  /* Space between buttons */
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: rotate(0deg) scale(1.02);
}

/* About Section Specifics */
.about-grid {
  gap: var(--spacing-xl);
  /* More space between image and text */
}

.about-grid .hero-image img {
  transform: none;
  /* No rotation for the about image */
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
  /* Softer, larger shadow */
}

.about-grid .hero-content h2 {
  text-align: left;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--secondary);
}

@media (max-width: 600px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Services */
/* Services */
.services-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.services-grid {
  display: flex;
  /* Changed from grid to flex for carousel */
  overflow-x: auto;
  gap: var(--spacing-lg);
  padding: var(--spacing-sm) var(--spacing-xs);
  /* Padding for shadow visibility */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  scroll-behavior: smooth;
  cursor: grab;
}

.services-grid.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  scroll-snap-type: none;
}

/* Hide scrollbar */
.services-grid::-webkit-scrollbar {
  display: none;
}

.service-card {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  text-align: center;
  flex: 0 0 300px;
  /* Fixed width for carousel items */
  scroll-snap-align: center;
  /* Center align helps focus */
}

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

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  display: inline-block;
}

/* Gallery */
#gallery {
  padding-top: 10rem;
  padding-bottom: 8rem;
  /* Added space at the bottom */
}

/* Gallery Wrapper for Buttons (Shared Logic) */
.gallery-wrapper,
.services-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-wrapper:hover .gallery-btn,
.services-wrapper:hover .gallery-btn {
  opacity: 1;
}

/* Gallery Carousel */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  /* Updated padding for cleaner look */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  width: 100%;
  /* Ensure it takes full width */
  scroll-behavior: smooth;
}

/* Navigation Buttons */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  /* Hidden by default for cleaner look, shown on hover */
}

.gallery-wrapper:hover .gallery-btn {
  opacity: 1;
  /* Show on hover */
}

.gallery-btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-btn.prev {
  left: 10px;
  /* Inside the image area slightly */
}

.gallery-btn.next {
  right: 10px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-grid {
  cursor: grab;
  /* Disable scroll snap while dragging for smoother feel, handled in JS */
}

.gallery-grid.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  scroll-snap-type: none;
  /* Disable snap during drag */
}

.gallery-item {
  flex: 0 0 300px;
  border-radius: var(--radius);
  overflow: hidden;
  height: 250px;
  scroll-snap-align: start;
  position: relative;
  /* For absolute positioning of name */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
  pointer-events: none;
  /* Prevents browser image dragging conflict */
  user-select: none;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.pet-name {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  color: white;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Contact */
/* Contact */
.contact-section {
  padding: 0;
  /* Remove padding as card will handle spacing */
  background: transparent;
  width: 100%;
  margin-top: 5rem;
  margin-bottom: 5rem;
  color: var(--text);
  /* Reset color as it's no longer full dark bg */
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Left Side: Info */
.contact-info {
  background-color: var(--primary);
  /* Matched to main orange for harmony */
  padding: 3rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-info h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
}

.contact-item i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 1.2rem;
  font-size: 1rem;
}

.contact-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  margin-right: 8px;
}

/* Right Side: Form */
.contact-form-wrapper {
  padding: 3rem;
}

.new-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #E0E0E0;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--secondary);
  /* Uses the new dark secondary */
  color: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--primary);
}

@media (max-width: 768px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info {
    padding: 2rem;
  }

  .contact-form-wrapper {
    padding: 2rem;
  }
}

/* Footer */
footer {
  background-color: #1a252f;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--spacing-md) 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-btns {
    justify-content: center;
    gap: 1rem;
  }

  .hero-btns .btn {
    padding: 0.8rem 1.2rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }
}
.input-hp { display: none !important; }
