/* 
   FF Pet Center - Design System
   Base colors extracted from Logo: #5C6BBC, #8B96D7, #C5C5C5
*/

:root {
  /* Colors */
  --color-primary: #FFB400;
  --color-primary-dark: #E6A200;
  --color-primary-light: #FFCA4D;
  
  --color-action: #007BFF;
  --color-action-dark: #0062CC;
  
  --color-accent: #FFB400;
  --color-danger: #E8654B;
  
  --color-surface: #FFFFFF;
  --color-surface-soft: #F9F9F9;
  --color-hero-bg: #FEF6E4;
  
  --color-neutral-900: #1E1A34;
  --color-neutral-700: #4A4A4A;
  --color-neutral-500: #8E8E93;
  --color-neutral-300: #E0E0E0;
  
  --color-text-primary: #1E1A34;
  --color-text-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-section: 96px;
  --spacing-block: 48px;
  --spacing-gap: 24px;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  
  /* Shadow */
  --shadow-card: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 16px 32px rgba(92, 107, 188, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-neutral-700);
  background-color: var(--color-surface);
  line-height: 1.6;
  font-size: 15px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-neutral-900);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-gap);
}

/* Utility Classes */
.bg-primary { background-color: var(--color-primary); color: var(--color-text-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); color: var(--color-text-primary); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-soft { background-color: var(--color-surface-soft); }
.bg-accent { background-color: var(--color-accent); }

.text-white { color: var(--color-text-white) !important; }
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white p { color: var(--color-text-white) !important; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }
.text-center { text-align: center; }

.shadow-card { box-shadow: var(--shadow-card); }
.rounded-img { border-radius: var(--radius-lg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-pill { border-radius: var(--radius-pill); }
.btn-solid-white { background: var(--color-surface); color: var(--color-text-primary); }
.btn-solid-white:hover { background: var(--color-surface-soft); transform: translateY(-2px); }

.btn-solid-primary { background: var(--color-primary); color: var(--color-text-primary); }
.btn-solid-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.btn-action { background: var(--color-action); color: var(--color-text-white); }
.btn-action:hover { background: var(--color-action-dark); transform: translateY(-2px); }

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

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 20px;
  transition: transform var(--transition-fast);
}
.btn-icon:hover { transform: scale(1.05); background: var(--color-primary-dark); }

/* Label */
.label-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* Navbar */
.navbar {
  padding: 24px 0;
  background: transparent;
  width: 100%;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 120px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-action);
  transition: width var(--transition-normal);
}
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-icon {
  font-size: 24px;
  color: var(--color-text-primary);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* Hero Section */
.hero-page-wrapper {
  padding: 40px;
  background: var(--color-accent); /* orange background outside */
  min-height: 100vh;
}
.hero {
  margin-top: 0;
}
.hero-card {
  background: var(--color-hero-bg);
  border-radius: 40px;
  padding: 80px 64px 0 64px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  padding-bottom: 80px;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-neutral-900);
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: var(--color-neutral-700);
  max-width: 480px;
}

.hero-image-wrapper {
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.main-hero-img {
  max-height: 110%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  margin-bottom: -10px; /* pull down to stick to bottom */
}

.bubble {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 4px solid var(--color-hero-bg);
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-1 { width: 80px; height: 80px; top: 10%; left: 15%; animation-delay: 0s; }
.bubble-2 { width: 60px; height: 60px; top: 40%; left: -5%; animation-delay: 1s; }
.bubble-3 { width: 90px; height: 90px; top: 60%; right: 5%; animation-delay: 2s; }
.bubble-4 { width: 70px; height: 70px; bottom: 15%; left: 10%; animation-delay: 3s; }

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features */
.features-bar {
  padding: var(--spacing-block) 0;
  border-bottom: 1px solid var(--color-neutral-300);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.feature-item i {
  font-size: 32px;
  color: var(--color-primary);
  background: var(--color-surface-soft);
  padding: 12px;
  border-radius: var(--radius-md);
}
.feature-text h4 {
  font-size: 16px;
  margin-bottom: 4px;
}
.feature-text p {
  font-size: 13px;
  color: var(--color-neutral-500);
}

/* Section Header */
.section-header {
  margin-bottom: var(--spacing-block);
}
.section-header h2 {
  font-size: 36px;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 16px;
  color: var(--color-neutral-500);
}

/* Products */
.products-section {
  padding: var(--spacing-section) 0;
}

.product-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-img {
  position: relative;
  height: 240px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: white;
  z-index: 10;
}
.badge-accent { background: var(--color-accent); }
.badge-primary { background: var(--color-primary); }

.product-info {
  padding: 24px;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: inline-block;
}
.product-info h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.product-info p {
  font-size: 14px;
  color: var(--color-neutral-500);
  margin-bottom: 16px;
}
.price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

/* Split Layouts (Why Choose Us & Services) */
.why-choose-us, .services-accordion {
  padding: var(--spacing-section) 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-layout.reverse .content-column {
  order: 2;
}
.split-layout.reverse .accordion-column {
  order: 1;
}

.content-column h2 {
  font-size: 36px;
  margin-bottom: 24px;
}
.content-column p {
  font-size: 16px;
  color: var(--color-neutral-500);
  margin-bottom: 32px;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item i {
  font-size: 24px;
  margin-bottom: 8px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-neutral-900);
}
.stat-text {
  font-size: 13px;
  color: var(--color-neutral-500);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 40px;
}
.text-link:hover { gap: 12px; }

.action-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 16px;
}

/* Accordion */
.accordion-item {
  margin-bottom: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}
.accordion-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(92, 107, 188, 0.1);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-neutral-900);
  cursor: pointer;
}
.accordion-header span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-header span i {
  color: var(--color-primary);
  font-size: 24px;
}
.accordion-item.active .accordion-header i.ph-caret-down {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}
.accordion-item.active .accordion-body {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
}
.cta-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 28, 30, 0.7);
}
.cta-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}
.cta-card {
  padding: 48px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  text-align: center;
}
.cta-card h3 {
  font-size: 32px;
  margin-bottom: 16px;
}
.cta-card p {
  color: var(--color-neutral-500);
  margin-bottom: 32px;
}

/* Footer */
.footer {
  padding: 80px 0 24px;
  border-top: 1px solid var(--color-neutral-300);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-logo {
  height: 150px;
  margin-bottom: 24px;
  object-fit: contain;
}
.brand-col p {
  color: var(--color-neutral-500);
  margin-bottom: 32px;
}

.newsletter h4 {
  margin-bottom: 16px;
}
.newsletter form {
  display: flex;
  gap: 8px;
}
.newsletter input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  outline: none;
}
.newsletter input:focus {
  border-color: var(--color-primary);
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 24px;
}
.footer-col a, .footer-col p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-neutral-500);
  margin-bottom: 16px;
}
.footer-col a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-surface-soft);
  border-radius: 50%;
  color: var(--color-neutral-900);
  transition: all var(--transition-fast);
}
.social-icon:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-surface-soft);
  color: var(--color-neutral-500);
  font-size: 14px;
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .split-layout { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .product-carousel { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .hero-image-wrapper { height: auto; padding: 48px 0; }
  .hero-carousel { transform: none; justify-content: center; }
  
  .split-layout.reverse .content-column { order: unset; }
  .split-layout.reverse .accordion-column { order: unset; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-content h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .product-carousel { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .hero-carousel { flex-direction: column; align-items: center; }
  .action-card { flex-direction: column; }
}
