/* ===========================
   OKIKIOLA PETS — GOLDEN FINAL
   =========================== */

/* -------- ROOT -------- */
:root {
  --white: #ffffff;
  --black: #0f172a;
  --soft-black: #1e293b;
  --green: #22c55e;
  --green-dark: #16a34a;
  --bg: #f8fafc;
  --muted: #64748b;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* -------- RESET -------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* 🔥 FIX horizontal scroll */
}

a {
  text-decoration: none !important; /* 🔥 FIX underline */
  color: inherit;
}

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

/* -------- BASE -------- */
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--soft-black);
  line-height: 1.7;
}

.container {
  width: min(1100px, 90%);
  margin-inline: auto;
}

/* -------- HEADER -------- */
.header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}

.logo {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--black);
}

/* -------- HERO -------- */
.hero {
  position: relative;
  padding: clamp(4rem, 6vw, 6rem) 0;
  background:
    radial-gradient(circle at top, rgba(34,197,94,0.18), transparent 45%),
    linear-gradient(rgba(15,23,42,0.55), rgba(15,23,42,0.7)),
    url("https://images.unsplash.com/photo-1583512601430-84994dc0c870?auto=format&fit=crop&w=1600&q=60")
    center / cover no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 0.8rem;
}

.hero p {
  color: #e5e7eb;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* Floating visuals (safe) */
.hero-images img {
  position: absolute;
  width: 240px;
  border-radius: var(--radius-lg);
  opacity: 0.95;
  animation: float 6s ease-in-out infinite;
  z-index: 1;
}

.hero-images img:nth-child(1) {
  left: -60px;
  top: 20%;
}

.hero-images img:nth-child(2) {
  right: -60px;
  top: 28%;
  animation-delay: 1.5s;
}

/* Float animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
  100% { transform: translateY(0); }
}

/* -------- BUTTONS (ELITE ENERGY) -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(34,197,94,0.45);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 45px rgba(34,197,94,0.6);
}

.btn-outline {
  border: 1.5px solid #cbd5e1;
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.22);
}

/* WhatsApp emphasis */
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,0.5);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
}

/* -------- HERO CTA -------- */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* -------- SECTIONS -------- */
.section {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--white);
}

.section h3 {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  margin-bottom: 2rem;
}

/* -------- CARDS -------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.8rem 1.6rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(15,23,42,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15,23,42,0.12);
}

.card i {
  color: var(--green);
  width: 30px;
  height: 30px;
  margin-bottom: 0.8rem;
}

/* -------- GALLERY -------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  border-radius: var(--radius-lg);
  transition: transform var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* -------- CTA (FIX VISIBILITY) -------- */
.cta {
  background:
    linear-gradient(135deg, rgba(34,197,94,0.9), rgba(22,163,74,0.95)),
    url("https://images.unsplash.com/photo-1558788353-f76d92427f16?auto=format&fit=crop&w=1600&q=60")
    center / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4.5rem 1rem;
}

.cta h3 {
  font-size: 2.1rem;
  margin-bottom: 0.8rem;
}

.cta p {
  max-width: 520px;
  margin: 0 auto 2rem;
  color: #ecfdf5;
}

/* -------- FOOTER -------- */
.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* -------- MOBILE ENHANCEMENTS -------- */
@media (max-width: 900px) {
  .hero-images img {
    display: none; /* 🔥 FIX overflow + visibility */
  }

  .nav-links {
    display: none; /* hamburger later */
  }
}

@media (max-width: 600px) {
  .hero h2 {
    font-size: 2.1rem;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }
}
