/* =========================================================
   BASE VARIABLES
   ========================================================= */
:root {
  --accent: #ff7a59;
  --accent-2: #103252;
  --bg1: linear-gradient(180deg, #f6fbff 0%, #fffaf3 100%);
  --card: #ffffff;
  --muted: #7b8794;
  --radius: 18px;
  --container: 1200px;
}

/* =========================================================
   GLOBAL RESET
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI",
               Roboto, "Helvetica Neue", Arial;
  background: var(--bg1);
  color: #10202b;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--container);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(6, 12, 24, 0.08);
  z-index: 999;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent-2);
}

.nav-links {
  flex: 1;
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-links a {
  color: #213642;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.nav-links a:hover {
  background: rgba(16, 50, 82, 0.04);
  transform: translateY(-3px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 999px;
  border: 1px solid rgba(16, 50, 82, 0.06);
  padding: 2px 6px;
  transition: all 0.18s ease;
}

.search-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.08);
}

#search {
  min-width: 160px;
  padding: 8px 10px;
  border: none;
  border-radius: 999px;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-btn,
.clear-search-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.18s ease;
  color: var(--muted);
}

.search-btn:hover,
.clear-search-btn:hover {
  background: rgba(16, 50, 82, 0.04);
  color: var(--accent-2);
}

/* =========================================================
   SECTIONS / LAYOUT
   ========================================================= */
.section {
  padding: 110px 0;
  margin-top: 20px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 18px;
  text-align: center;
  color: var(--accent-2);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  max-width: var(--container);
  margin: 40px auto;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #f5fcff, #fffaf8);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(16, 40, 60, 0.05);
}

.hero-left {
  flex: 1;
  padding: 18px;
}

.kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}

.hero h1 {
  font-size: 46px;
  line-height: 1.02;
  margin-bottom: 12px;
  color: var(--accent-2);
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.lead {
  max-width: 520px;
  margin-bottom: 18px;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 122, 89, 0.14);
  transition: transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-6px);
}

.btn.ghost {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid rgba(16, 50, 82, 0.06);
}

/* Hero Right */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1.2 / 1;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f2fbff);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 20, 40, 0.06);
  animation: float 6s ease-in-out infinite;
}

.hero-card img {
  width: 110%;
  transform: translateY(4%) rotate(-4deg);
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* =========================================================
   PETS GRID
   ========================================================= */
.section-pets .pets-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pet-card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.04);
  transition: transform 0.18s ease;
}

.pet-card:hover {
  transform: translateY(-8px);
}

.pet-card img {
  width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.pet-card h3 {
  margin-bottom: 8px;
  color: var(--accent-2);
}

/* =========================================================
   SHOP TABS
   ========================================================= */
.tabs {
  max-width: var(--container);
  margin: 26px auto;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(6, 20, 40, 0.05);
}

.tabs input[type="radio"] {
  display: none;
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 50, 82, 0.06);
  background: transparent;
  font-weight: 700;
  color: var(--accent-2);
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  background: rgba(16, 50, 82, 0.04);
  transform: translateY(-4px);
}

/* Active Tabs */
#tab-all:checked ~ .tabs-nav label[for="tab-all"],
#tab-dogs:checked ~ .tabs-nav label[for="tab-dogs"],
#tab-cats:checked ~ .tabs-nav label[for="tab-cats"],
#tab-birds:checked ~ .tabs-nav label[for="tab-birds"],
#tab-fish:checked ~ .tabs-nav label[for="tab-fish"],
#tab-small:checked ~ .tabs-nav label[for="tab-small"],
#tab-access:checked ~ .tabs-nav label[for="tab-access"] {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(255, 122, 89, 0.12);
  transform: translateY(-6px);
}

/* Panels */
.tabs-content {
  position: relative;
  min-height: 300px;
}

.panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.32s ease;
}

#tab-all:checked ~ .tabs-content .panel-all,
#tab-dogs:checked ~ .tabs-content .panel-dogs,
#tab-cats:checked ~ .tabs-content .panel-cats,
#tab-birds:checked ~ .tabs-content .panel-birds,
#tab-fish:checked ~ .tabs-content .panel-fish,
#tab-small:checked ~ .tabs-content .panel-small,
#tab-access:checked ~ .tabs-content .panel-access {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  padding: 12px;
}

.product {
  background: linear-gradient(180deg, #ffffff, #fbfeff);
  padding: 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.04);
  transition: transform 0.18s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 20, 30, 0.08);
}

.product img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.product h4 {
  font-size: 16px;
  color: var(--accent-2);
}

.product .price {
  font-weight: 800;
  color: var(--accent-2);
}

.product .add {
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
}

/* =========================================================
   ABOUT & CONTACT
   ========================================================= */
.section-about,
.section-contact {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.about-container, .contact-container {
  max-width: var(--container);
  margin: 0 auto;
}

.about-header, .contact-header {
  text-align: center;
  margin-bottom: 48px;
}

.about-header h2, .contact-header h2 {
  font-size: 36px;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.about-subtitle, .contact-subtitle {
  font-size: 18px;
  color: var(--muted);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.about-section {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.04);
}

.about-section h3 {
  color: var(--accent-2);
  margin-bottom: 16px;
  font-size: 22px;
}

.about-section p {
  color: var(--muted);
  line-height: 1.8;
}

.about-section ul {
  list-style: none;
  padding: 0;
}

.about-section ul li {
  color: var(--muted);
  padding: 8px 0;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.stat-box {
  background: linear-gradient(135deg, var(--accent), rgba(255, 122, 89, 0.8));
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.2);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

.contact-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-box {
  background: var(--card);
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.04);
  transition: all 0.18s ease;
}

.contact-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(10, 20, 30, 0.08);
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.contact-box h3 {
  color: var(--accent-2);
  margin-bottom: 12px;
  font-size: 18px;
}

.contact-box p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0;
}

.contact-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.18s ease;
}

.contact-box a:hover {
  text-decoration: underline;
}

.contact-detail {
  font-size: 12px !important;
  opacity: 0.8;
}

.contact-form-section {
  background: var(--card);
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 20, 30, 0.04);
}

.contact-form-section h3 {
  color: var(--accent-2);
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(16, 50, 82, 0.08);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.1);
}

.faq-section {
  background: linear-gradient(135deg, #f5fcff, #fffaf8);
  padding: 48px;
  border-radius: 20px;
  margin-top: 48px;
}

.faq-section h3 {
  text-align: center;
  color: var(--accent-2);
  margin-bottom: 32px;
  font-size: 28px;
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 5px 15px rgba(10, 20, 30, 0.04);
}

.faq-item h4 {
  color: var(--accent-2);
  margin-bottom: 12px;
  font-size: 16px;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.Registration {
  margin-top: 20px;
  align-items: center;
  display: flex;
  justify-content: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  margin-top: 40px;
  padding: 28px;
  text-align: center;
  color: #8aa0b0;
  background: linear-gradient(
    180deg,
    rgba(16, 50, 82, 0.04),
    rgba(16, 50, 82, 0.02)
  );
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .section-pets .pets-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    flex-direction: column;
    padding: 22px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-right {
    margin-top: 12px;
  }
}

@media (max-width: 680px) {
  .nav {
    padding: 10px;
  }

  .nav-links,
  #search {
    display: none;
  }

  .section-pets .pets-grid {
    grid-template-columns: 1fr;
  }

  .product img {
    height: 140px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }

  .faq-section {
    padding: 24px;
  }

  .about-section,
  .contact-form-section {
    padding: 20px;
  }
}
