/* ============================================================
   GOLDEN GIRAFFE — Main Stylesheet
   Branding · Design · Websites · Marketing
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
body {
  background-color: rgb(245, 240, 232);
  color: #2C241B;
  overflow-x: hidden;
  cursor: none;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: rgb(245, 240, 232); }
::-webkit-scrollbar-thumb { background: #C9961A; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #F0C84A; }

/* ── Section Backgrounds ──────────────────────────────────── */
.bg-brand-white  { background-color: #FFFFFF; }
.bg-brand-cream  { background-color: rgb(245, 240, 232); }
.bg-brand-mid    { background-color: #E8DCC8; }
.bg-brand-dark   { background-color: #2C241B; }

/* ============================================================
   FLOATING BACKGROUND ICONS
   ============================================================ */
.bg-icon {
  position: absolute;
  z-index: 0;
  opacity: 0.13;
  pointer-events: none;
  font-size: 8rem;
  color: #C9961A;
}

.bg-icon-sm {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  font-size: 2rem;
  opacity: 0.25;
  color: #C9961A;
}

.bg-icon-xs {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  font-size: 1.2rem;
  opacity: 0.30;
  color: #C9961A;
}

/* ============================================================
   CARD HOVER EFFECTS
   ============================================================ */
.hover-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}
.hover-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: -2px 20px 25px -5px rgba(0,0,0,0.1),
              0 8px 10px -6px rgba(0,0,0,0.1);
  border-color: #C9961A;
}

/* ── Service card tilt (applied by JS) ─────────────────────── */
.service-card, .why-card, .price-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Button Hover ─────────────────────────────────────────── */
.btn-hover {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-hover:hover::after {
  transform: translateX(100%);
}
.btn-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background-color: #F0C84A;
  color: #000;
}

/* ── Link Underline Animation ─────────────────────────────── */
.link-hover { position: relative; }
.link-hover::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #F0C84A;
  transition: width 0.3s ease;
}
.link-hover:hover::after { width: 100%; }

/* ── Icon Hover Animations ────────────────────────────────── */
.icon-bounce:hover i {
  animation: bounce 0.5s infinite alternate;
  color: #F0C84A;
}
.icon-rotate:hover i {
  animation: spin 1s linear infinite;
  color: #F0C84A;
}

/* ── Navbar scroll shrink ─────────────────────────────────── */
nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  background: linear-gradient(to right, #c9bba6, #ede8df) !important;
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-img {
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 4px rgba(201,150,26,0.3));
}
.logo:hover .logo-img {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 0 12px rgba(201,150,26,0.7));
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-ring {
  width: 30px;
  height: 30px;
  border: 2px solid rgba(201,150,26,0.7);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: #F0C84A;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}
.cursor-ring.hovered {
  width: 50px;
  height: 50px;
  border-color: #F0C84A;
  background: rgba(240,200,74,0.08);
}

/* ============================================================
   SHIMMER / GRADIENT TEXT
   ============================================================ */
.shimmer-text {
  background: linear-gradient(90deg, #C9961A 0%, #F0C84A 30%, #E2C7A0 60%, #C9961A 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 3s linear infinite;
}

.hero-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(201,150,26,0.25), transparent);
  background-size: 200% 100%;
  animation: shimmer-slide 2.5s linear infinite;
}

/* ── Glow Pulse Button ────────────────────────────────────── */
.glow-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
}

/* ── Animated decorative line ─────────────────────────────── */
.animated-line {
  background: linear-gradient(90deg, transparent, #C9961A, transparent);
  background-size: 200% 100%;
  animation: shimmer-slide 2s linear infinite;
}

/* ============================================================
   MORPHING BLOB
   ============================================================ */
.morph-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: morph-blob 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   PULSE RINGS
   ============================================================ */
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201,150,26,0.35);
  animation: pulse-expand 2.5s ease-out infinite;
  pointer-events: none;
}

/* ============================================================
   SPARKLE ICONS  (absolutely placed decorations)
   ============================================================ */
.sparkle-dec {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: sparkle-pop 3s ease-in-out infinite;
  color: #C9961A;
}
.sparkle-dec:nth-child(even) { animation-delay: 1.5s; }
.sparkle-dec.gold-light { color: #E2C7A0; }

/* ============================================================
   ORBIT CLUSTER
   ============================================================ */
.orbit-wrap {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  animation: orbit-spin 14s linear infinite;
  opacity: 0.18;
  color: #C9961A;
  font-size: 1.1rem;
}
.orbit-item:nth-child(2) {
  animation: orbit-spin 14s linear -4.6s infinite;
}
.orbit-item:nth-child(3) {
  animation: orbit-spin 14s linear -9.3s infinite;
}

/* ============================================================
   SECTION SMALL FLOAT ICONS  (positioned in corners / edges)
   ============================================================ */
.sec-icon {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  color: #C9961A;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes bounce {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-22px) rotate(6deg); }
}

@keyframes float-b {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%       { transform: translateY(-15px) rotate(-5deg) scale(1.05); }
  66%       { transform: translateY(-8px) rotate(8deg) scale(0.97); }
}

@keyframes float-x {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(18px); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%       { transform: translate(12px, -18px) rotate(8deg); }
  50%       { transform: translate(5px, -30px) rotate(-4deg); }
  75%       { transform: translate(-10px, -12px) rotate(5deg); }
}

@keyframes morph-blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  25%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  50%       { border-radius: 50% 60% 30% 60% / 30% 60% 70% 40%; }
  75%       { border-radius: 60% 40% 60% 30% / 60% 30% 40% 70%; }
}

@keyframes pulse-expand {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(201,150,26,0.4),  0 0 20px rgba(201,150,26,0.1); }
  50%       { box-shadow: 0 0 25px rgba(201,150,26,0.7), 0 0 50px rgba(201,150,26,0.3),
                          0 0 80px rgba(201,150,26,0.1); }
}

@keyframes text-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes shimmer-slide {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes sparkle-pop {
  0%, 100% { transform: scale(0) rotate(0deg); opacity: 0; }
  30%       { transform: scale(1.2) rotate(90deg); opacity: 1; }
  60%       { transform: scale(0.9) rotate(180deg); opacity: 0.8; }
  80%       { transform: scale(1) rotate(270deg); opacity: 0.5; }
}

@keyframes orbit-spin {
  0%   { transform: rotate(0deg)   translateX(55px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(55px) rotate(-360deg); }
}

@keyframes icon-pop {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.35) rotate(-12deg); }
  60%  { transform: scale(0.9)  rotate(6deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes spin-slow  { to { transform: rotate(360deg); } }
@keyframes spin-rev   { to { transform: rotate(-360deg); } }

@keyframes counter-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes neon-flicker {
  0%, 89%, 91%, 93%, 100% { opacity: 1; }
  90%, 92% { opacity: 0.5; }
}

/* ── Tailwind-compat animation helpers ──────────────────── */
.animate-float          { animation: float   6s ease-in-out infinite; }
.animate-float-b        { animation: float-b 7s ease-in-out infinite; }
.animate-float-delayed  { animation: float   6s ease-in-out 3s infinite; }
.animate-float-x        { animation: float-x 5s ease-in-out infinite; }
.animate-drift          { animation: drift   9s ease-in-out infinite; }
.animate-drift-2        { animation: drift   11s ease-in-out 4s infinite; }
.animate-spin-slow      { animation: spin-slow 12s linear infinite; }
.animate-spin-rev       { animation: spin-rev  16s linear infinite; }
.animate-morph          { animation: morph-blob 9s ease-in-out infinite; }
.animate-glow           { animation: glow-pulse 2.5s ease-in-out infinite; }
.animate-neon           { animation: neon-flicker 5s linear infinite; }
.animate-sparkle        { animation: sparkle-pop 3s ease-in-out infinite; }

/* ============================================================
   LOGO UPDATE — Navy heading colour, section BG pattern, font
   ============================================================ */

/* 1 ── Slightly larger base font size (16 px → ~17.3 px) ─── */
html {
  font-size: 108%;
}

/* 2 ── All headings — deep navy rgb(0,0,83) ───────────────── */
h1.text-brand-darkbg,
h2.text-brand-darkbg,
h3.text-brand-darkbg,
h4.text-brand-darkbg,
h5.text-brand-darkbg,
h6.text-brand-darkbg {
  color: #000053;
}

/* GG Logo & Tagline image — deep navy blue on light gradient nav */
.logo-tagline-img {
  height: 7.75rem !important;
  object-fit: contain;
  filter: brightness(0) invert(8%) sepia(100%) saturate(2000%) hue-rotate(220deg) brightness(0.85);
  mix-blend-mode: normal;
}

/* 3 ── Section background images (white sections → White.png, cream/brown sections → brown.png) */
section,
.hero,
footer {
  isolation: isolate;
}

/* White background sections */
section.bg-brand-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../image/White.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* opacity: 0.07; */
  pointer-events: none;
  z-index: -1;
}

/* ============================================================
   WARM GRADIENT THEME
   Replace all navy/blue backgrounds with: #dbd1bd → #ffffff
   ============================================================ */

/* 1 ── Gradient on every formerly-navy element ───────────── */
nav,
.hero,
.bg-brand-darkbg,
.bg-brand-darkbg\/90,
footer {
  background: linear-gradient(to right, #dbd1bd, #ffffff) !important;
}

/* 2a ── Section/hero headings → deep navy on gradient ───── */
.hero h1,
.bg-brand-darkbg h2,
.bg-brand-darkbg h3,
.bg-brand-darkbg h4,
.bg-brand-darkbg\/90 h2,
.bg-brand-darkbg\/90 h3,
.bg-brand-darkbg\/90 h4 {
  color: #000053 !important;
}

/* 2b ── Formerly-light text → dark on warm gradient ─────── */
/* nav .text-\[\#E8DCC8\], — removed so nav link colours set in HTML are respected */
.hero .text-\[\#F8F1E8\],
.hero .text-\[\#D8C7B2\],
.hero .text-\[\#E8DCC8\],
.bg-brand-darkbg .text-\[\#F8F1E8\],
.bg-brand-darkbg .text-\[\#D8C7B2\],
.bg-brand-darkbg .text-\[\#E8DCC8\],
.bg-brand-darkbg .text-\[\#BFAE9A\],
footer .text-\[\#BFAE9A\],
footer .text-\[\#7B6B5F\],
footer .text-\[\#A08B74\],
footer .text-\[\#E8DCC8\],
#mobile-menu .text-\[\#E8DCC8\] {
  color: #2C241B !important;
}

/* 3 ── Card backgrounds: boost visibility on light bg ───── */
.bg-brand-darkbg .bg-\[\#E8DCC8\]\/6,
.bg-brand-darkbg .bg-\[\#E8DCC8\]\/10 {
  background-color: rgba(180, 150, 110, 0.18) !important;
}

/* 4 ── Borders/dividers: more visible on light bg ──────── */
.bg-brand-darkbg .border-\[\#E8DCC8\]\/10,
footer .border-\[\#E8DCC8\]\/8,
#mobile-menu .border-\[\#E8DCC8\]\/10 {
  border-color: rgba(150, 120, 85, 0.3) !important;
}

/* 5 ── Hero ghost button & badges ──────────────────────── */
.hero .border-\[\#E8DCC8\]\/25 {
  border-color: rgba(100, 80, 55, 0.35) !important;
}
.hero .bg-\[\#E8DCC8\]\/8 {
  background-color: rgba(180, 150, 110, 0.15) !important;
}
.hero .border-\[\#E8DCC8\]\/15 {
  border-color: rgba(130, 100, 65, 0.25) !important;
}

/* ============================================================
   COLOUR POLISH — icons & text tuned for warm gradient bg
   ============================================================ */

/* 6 ── gold-light (#E2C7A0) → richer gold on light bg ───── */
/*      Covers hero, dark-section divs, about quote box,      */
/*      footer, and mobile menu                               */
nav .text-brand-gold-light,
.hero .text-brand-gold-light,
.bg-brand-darkbg .text-brand-gold-light,
.bg-brand-darkbg\/90 .text-brand-gold-light,
footer .text-brand-gold-light,
#mobile-menu .text-brand-gold-light {
  color: #A06828 !important;   /* deep amber-gold — clear on cream/white */
}

/* 7 ── Nav hamburger bars: light gold → visible warm gold ── */
nav span.bg-brand-gold-light {
  background-color: #A06828 !important;
}

/* 8 ── Icon boxes in formerly-dark sections ─────────────── */
/*      bg-brand-gold/15 container on gradient bg             */
.bg-brand-darkbg .bg-brand-gold\/15 {
  background-color: rgba(160, 104, 40, 0.14) !important;
}
/*      icon inside box: brighter gold so it pops             */
.bg-brand-darkbg .bg-brand-gold\/15 i,
.bg-brand-darkbg .bg-brand-gold\/15 .fa-solid {
  color: #A06828 !important;
}

/* 9 ── sparkle-dec: richer gold on light bg ─────────────── */
nav .sparkle-dec,
.hero .sparkle-dec,
.bg-brand-darkbg .sparkle-dec,
footer .sparkle-dec {
  color: #BE9150 !important;
}

/* 10 ── bg-icon & bg-icon-sm in gradient sections ──────── */
nav .bg-icon,
nav .bg-icon-sm,
.hero .bg-icon,
.hero .bg-icon-sm,
.bg-brand-darkbg .bg-icon,
.bg-brand-darkbg .bg-icon-sm {
  color: #8B6020 !important;
}

/* 11 ── Footer social icon circles ─────────────────────── */
footer .bg-\[\#E8DCC8\]\/8 {
  background-color: rgba(160, 104, 40, 0.1) !important;
}
footer .border-\[\#E8DCC8\]\/15 {
  border-color: rgba(160, 104, 40, 0.35) !important;
}

/* 12 ── Mobile menu icon accents ───────────────────────── */
#mobile-menu .text-brand-gold\/50 {
  color: rgba(160, 104, 40, 0.6) !important;
}

/* ============================================================
   CAROUSEL ARROWS — side-positioned on tablet & desktop
   ============================================================ */

/* Collapse the nav container so it adds no height below slides */
@media (min-width: 768px) {
  .owl-theme .owl-nav {
    margin-top: 0 !important;
    height: 0;
    overflow: visible;
    position: static;
  }

  /* Both arrows: pulled out of flow, centered on the slide area */
  .owl-carousel .owl-nav button.owl-prev,
  .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 20;
    width: 46px !important;
    height: 46px !important;
    line-height: 42px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 2px solid #BE9150 !important;
    color: #A06828 !important;
    box-shadow: 0 4px 18px rgba(160, 104, 40, 0.22);
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
  }

  /* Tablet (768–1023 px): arrows sit just inside the carousel edges */
  .owl-carousel .owl-nav button.owl-prev { left: 6px; }
  .owl-carousel .owl-nav button.owl-next { right: 6px; }

  /* Hover state */
  .owl-carousel .owl-nav button.owl-prev:hover,
  .owl-carousel .owl-nav button.owl-next:hover {
    background: #BE9150 !important;
    color: #fff !important;
    border-color: #BE9150 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 24px rgba(160, 104, 40, 0.4) !important;
  }
}

/* Desktop (1024 px+): push arrows into the gutter outside the carousel */
@media (min-width: 1024px) {
  .owl-carousel .owl-nav button.owl-prev { left: -28px; }
  .owl-carousel .owl-nav button.owl-next { right: -28px; }
}

