@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --background: 0 0% 100%;
  --foreground: 222.2 84% 4.9%;
  --text: 222.2 84% 4.9%;
  --card: 240 5% 96%;
  --card-foreground: 222.2 84% 4.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 222.2 84% 4.9%;
  --primary: 222.2 47.4% 11.2%;
  --primary-foreground: 210 40% 98%;
  --secondary: 210 40% 96.1%;
  --secondary-foreground: 222.2 47.4% 11.2%;
  --muted: 210 40% 96.1%;
  --muted-foreground: 215.4 16.3% 46.9%;
  --accent: 210 40% 96.1%;
  --accent-foreground: 222.2 47.4% 11.2%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 210 40% 98%;
  --border: 240 6% 80%;
  --input: 214.3 31.8% 91.4%;
  --ring: 222.2 84% 4.9%;
  --radius: 0.2rem;
  --success: 196 52% 74%;
  --warning: 34 89% 85%;
  --error: 10 100% 86%;
  --mesho-primary: 281 100% 32%;
  --mesho-secondary: 241 56% 41%;
  --mesho-bg: 200 50% 97%;
  --mesho-accent: 32 100% 64%;
  --mesho-text: 200 14% 34%;
  --mesho-footer: 193 54% 31%;
  --mesho-highlight: 32 72% 63%;
  --mesho-muted: 200 12% 48%;
}

.prose {
  --tw-prose-body: var(--text);
  --tw-prose-headings: var(--text);
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39/10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255/10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0/50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.posts-archive-grid img {
  aspect-ratio: 16/9;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: clamp(0.875rem, 1vw + 0.5rem, 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: hsl(var(--mesho-bg));
  color: hsl(var(--mesho-text));
  line-height: 1.5;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: all 0.2s ease-out;
}

input,
textarea,
select {
  font-family: inherit;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

ul,
ol {
  list-style: none;
}

.display {
  font-size: clamp(3.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
}

h1,
.h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--mesho-text));
}

h2,
.h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--mesho-text));
}

h3,
.h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  color: hsl(var(--mesho-text));
}

p,
.body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: hsl(var(--mesho-text));
}

.caption,
.small {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  color: hsl(var(--mesho-muted));
}

.container {
  width: 100%;
  margin-inline: auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1200px;
  }
}

.section {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1440px) {
  .section {
    padding: 8rem 0;
  }
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.masonry {
  column-count: 1;
  column-gap: 1.5rem;
}

@media (min-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: hsl(var(--mesho-primary));
  padding: 1rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #000000;
  opacity: 0.7;
}

.navbar-nav a:hover {
  opacity: 1;
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-nav {
    display: flex;
  }

  .navbar-cta {
    display: inline-flex;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: hsl(var(--mesho-primary));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 1.25rem;
}

.hero-content h1 {
  color: #000000;
  margin-bottom: 1rem;
}

.hero-content p {
  color: #000000;
  opacity: 0.85;
  max-width: 640px;
}

.card {
  background: #ffffff;
  border: 1px solid rgba(46, 138, 165, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--mesho-text));
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 1rem;
  color: hsl(var(--mesho-muted));
  line-height: 1.5;
}

.card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: hsl(var(--mesho-highlight));
  margin-top: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease-out;
}

.btn-primary {
  background-color: hsl(var(--mesho-accent));
  color: #000000;
  border: none;
}

.btn-primary:hover {
  background-color: hsl(var(--mesho-highlight));
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: hsl(var(--mesho-text));
  border: 1.5px solid hsl(var(--mesho-text));
}

.btn-secondary:hover {
  background-color: rgba(74, 91, 102, 0.05);
}

.btn-full {
  width: 100%;
}

@media (min-width: 768px) {
  .btn-full {
    width: auto;
  }
}

.input,
.form-control {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(46, 138, 165, 0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 1rem;
  color: hsl(var(--mesho-text));
}

.input:focus,
.form-control:focus {
  outline: none;
  border-color: hsl(var(--mesho-accent));
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.15);
}

.input::placeholder,
.form-control::placeholder {
  color: hsl(var(--mesho-muted));
}

.search-bar {
  background: #ffffff;
  border: 1px solid rgba(46, 138, 165, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 1rem;
}

.accordion {
  border: 1px solid rgba(46, 138, 165, 0.1);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid rgba(46, 138, 165, 0.1);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: hsl(var(--mesho-text));
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease-out;
}

.accordion-header:hover {
  background-color: rgba(46, 138, 165, 0.05);
}

.accordion-icon {
  transition: transform 0.25s ease-out;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease-out;
  padding: 0 1.5rem;
  color: hsl(var(--mesho-text));
  line-height: 1.75;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding-bottom: 1.25rem;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: rgba(255, 179, 71, 0.1);
  color: hsl(var(--mesho-highlight));
  border-radius: var(--radius);
}

.footer {
  background-color: hsl(var(--mesho-footer));
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease-out;
}

.footer a:hover {
  color: hsl(var(--mesho-accent));
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}