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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s, color 0.3s;
  line-height: 1.6;
}

/* Variables (default light mode) */
:root {
  --mud-brown: #6B4226;
  --dusky-brown: #4A2C1C;
  --light-bg: #fdfdfd;
  --dark-bg: #1a1a1a;
  --light-text: #222;
  --dark-text: #ddd;

  --primary-color: var(--mud-brown);
  --secondary-color: var(--dusky-brown);
  --bg-color: var(--light-bg);
  --text-color: var(--light-text);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--primary-color);
  color: white;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

header nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover,
header nav a.active {
  color: #ffd580;
}

/* Theme toggle button */
#theme-toggle {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: white;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--secondary-color);
  color: white;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
}

/* Services */
.services {
  padding: 3rem 2rem;
  text-align: center;
}

.services h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-color);
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.service-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

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

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  background: var(--primary-color);
  color: white;
  margin-top: 2rem;
}
/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--bg-color);
  color: var(--text-color);
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid var(--primary-color);
  outline: none;
}
/* Full Hero */
.full-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--mud-brown), var(--dusky-brown));
  color: white;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  border-radius: 16px;
  animation: float 4s ease-in-out infinite;
}

/* Floating pet image */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Highlight Section */
.highlight {
  background: url("../assets/images/handcraft-bg.jpg") center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
}

.highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.highlight-text {
  position: relative;
  z-index: 2;
}

.highlight h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img img {
  max-width: 50%;        /* Keeps image inside container */
  height: auto;          /* Maintains aspect ratio */
  object-fit: contain;   /* Ensures no distortion */
  border-radius: 16px;
  animation: float 4s ease-in-out infinite;
}

/* On smaller screens, center image nicely */
@media (max-width: 768px) {
  .hero-img img {
    max-width: 60%;
    margin-top: 2rem;
  }
}
.service-card img {
  width: 100%;
  height: 220px;          /* Adjust image height (consistent size) */
  object-fit: cover;      /* Crop image neatly, no stretch */
  border-radius: 10px;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card img:hover {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}


#pet-cafes
.places-tabs {
  text-align: center;
  margin: 2rem 0;
}

.places-tabs button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.places-tabs button:hover {
  background: var(--secondary-color);
}

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

.place-card {
  background: var(--bg-color);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.place-card a {
  display: inline-block;
  margin-top: 0.8rem;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
}
.service-card {
  display: block;
  text-decoration: none;
  color: inherit;
}