/* TAZE Dog Wash Design System */
:root {
  --background: hsl(0, 0%, 98.8%);
  --foreground: hsl(0, 0%, 20%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 0%, 20%);

  /* TAZE Brand Colors */
  --primary: hsl(122, 39%, 49%);
  --primary-foreground: hsl(0, 0%, 98%);
  --primary-dark: hsl(120, 50%, 25%);

  --secondary: hsl(120, 43%, 38%);
  --secondary-foreground: hsl(0, 0%, 98%);

  --muted: hsl(210, 40%, 96.1%);
  --muted-foreground: hsl(215.4, 16.3%, 46.9%);

  --accent: hsl(122, 39%, 96%);
  --accent-foreground: hsl(122, 39%, 25%);

  --border: hsl(214.3, 31.8%, 91.4%);
  --input: hsl(214.3, 31.8%, 91.4%);

  --radius: 0.75rem;

  /* TAZE Custom Design Tokens */
  --gradient-header: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-hero: linear-gradient(135deg, hsl(122, 39%, 49%, 0.9), hsl(120, 43%, 38%, 0.9));
  --shadow-elegant: 0 4px 15px hsl(122, 39%, 49%, 0.15);
  --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--gradient-header);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .header-content {
    padding: 1rem 0;
  }
}

/* Logo Container */
.logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 3rem;
  width: auto;
  margin-right: 0.75rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  transition: var(--transition-smooth);
}

@media (min-width: 768px) {
  .logo-img {
    height: 4rem;
    margin-right: 1rem;
  }
}

.logo-container:hover .logo-img {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.875rem;
  }
}

/* Navigation */
.nav-desktop {
  display: none;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-btn {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-btn:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.nav-btn.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: block;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  padding-bottom: 1rem;
}

.nav-mobile.show {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-btn-mobile {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
}

.nav-btn-mobile:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-btn-mobile.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Main Content */
.main-content {
  flex: 1;
  padding-top: 80px;
  /* Account for fixed header */
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero-dog.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 9999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-elegant);
}

.hero-btn:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05) translateY(-4px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-border {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid white;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background-color: white;
  border-radius: 9999px;
  margin-top: 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40%,
  43% {
    transform: translateX(-50%) translateY(-30px);
  }

  70% {
    transform: translateX(-50%) translateY(-15px);
  }

  90% {
    transform: translateX(-50%) translateY(-4px);
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

/* Content Sections */
.section {
  min-height: 100vh;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  opacity: 1;
  animation: none;
}

.section:nth-child(even) {
  background-color: var(--muted);
}

/* Section scroll animation */
.section.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Styles */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-logo {
  width: 18rem;
  height: 18rem;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 1.5rem;
}

/* Highlight Box */
.highlight-box {
  background-color: var(--accent);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.highlight-box h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-foreground);
  margin-bottom: 1rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.check {
  color: var(--primary);
  font-weight: 700;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.step-number {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Info Box */
.info-box {
  background-color: hsl(122, 39%, 96%);
  border-left: 4px solid var(--primary);
  padding: 1rem;
  margin-top: 1.5rem;
  border-radius: 0.25rem;
}

.info-box h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Gallery Styles */
.gallery-container {
  margin-top: 2rem;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  cursor: pointer;
}

@media (min-width: 768px) {
  .carousel-image {
    height: 500px;
  }
}

.zoom-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.carousel-slide:hover .zoom-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 3rem;
  height: 3rem;
  color: white;
}

/* Carousel Controls */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 1rem;
}

.carousel-btn-next {
  right: 1rem;
}

.carousel-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background-color: var(--muted-foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.indicator:hover {
  background-color: var(--secondary);
}

.indicator.active {
  background-color: var(--primary);
}

/* Contact Styles */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item div {
  display: flex;
  flex-direction: column;
}

.contact-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  text-decoration: underline;
}

.hours {
  font-weight: 600;
  color: var(--primary);
}

.address {
  font-weight: 600;
}

.city {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Map Styles */
.map-container h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .map-wrapper {
    height: 400px;
  }
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
  opacity: 0.9;
}

/* Modal Styles */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.modal-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.modal-btn-prev {
  left: -4rem;
}

.modal-btn-next {
  right: -4rem;
}

@media (max-width: 768px) {
  .modal-btn-prev {
    left: -2rem;
  }

  .modal-btn-next {
    right: -2rem;
  }
}

.modal-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.modal-indicators {
  position: absolute;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    padding-top: 70px;
  }

  .section {
    padding: 2rem 0;
    min-height: auto;
  }

  .card {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-content {
    font-size: 1rem;
  }
}

/* Smooth scroll offset for fixed header */
.section {
  scroll-margin-top: 80px;
}

#hero {
  scroll-margin-top: 0;
}