/* EagleAid - Custom Styles */
:root {
  --color-bg: #bae6fd;
  --color-text: #2c2522;
  --color-text-light: #5c5249;
  --color-red: #c8102e;
  --color-blue: #2a5bd7;
  --color-purple: #6b46c1;
  --color-gold: #c59a2e;
  --color-gold-dark: #a67c2d;
  --color-cream: #f8f1e3;
  --color-border: #e6d9c9;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--color-bg);
}

/* Playful summer gradients and vibe */
.summer-gradient {
  background: linear-gradient(135deg, #0ea5e9 0%, #f472b6 50%, #facc15 100%);
}

.playful-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
}

.playful-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

.enjoy-img {
  transition: transform 0.4s ease;
}

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

.gradient-text {
  background: linear-gradient(90deg, #0ea5e9, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Tailwind CDN will provide most, these are overrides & additions */

.brand-red { color: var(--color-red); }
.brand-blue { color: var(--color-blue); }
.brand-gold { color: var(--color-gold); }

.bg-brand-red { background-color: var(--color-red); }
.bg-brand-blue { background-color: var(--color-blue); }
.bg-brand-gold { background-color: var(--color-gold); }

/* Iridescent Abalone Eagle Logo */
.logo-svg {
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.1));
}

.abalone-gradient {
  fill: url(#abalone);
}

/* Premium Bottle Styling - Reference: real product photo */
.bottle {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

.bottle-glass {
  width: 100%;
  height: 310px;
  border-radius: 28px 28px 26px 26px; /* straighter sides like photo */
  position: relative;
  overflow: hidden;
  box-shadow: 
    inset 35px 10px 40px -15px rgba(255,255,255,0.55),
    inset -28px -5px 45px -10px rgba(0,0,0,0.28),
    0 20px 45px -10px rgb(0 0 0 / 0.28);
  border: 7px solid rgba(235, 235, 235, 0.85);
  background-size: 100% 100%;
}

/* Neck definition */
.bottle-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 18%;
  background: inherit;
  border-radius: 9999px;
  z-index: 2;
  box-shadow: inset 0 10px 15px -6px rgba(255,255,255,0.3);
}

/* Flavor specific bottle colors - matched to reference photo */
.bottle-crimson .bottle-glass,
.bottle-eagle .bottle-glass {
  background: linear-gradient(160deg, #b91c1c 8%, #7f1d1d 35%, #450a0a 92%);
}
.bottle-bluephoria .bottle-glass {
  background: linear-gradient(160deg, #1e3a8a 8%, #0f172a 38%, #020617 92%);
}
.bottle-golden .bottle-glass {
  background: linear-gradient(160deg, #fde047 6%, #facc15 32%, #ca8a04 90%);
}

/* Liquid shine + glass highlight (photo reference) */
.bottle-liquid {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 82%;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.28) 0%,
    rgba(255,255,255,0.08) 28%,
    transparent 65%
  );
  z-index: 1;
}

/* Bottle cap - silver metal like the reference photo */
.bottle-cap {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 38px;
  background: linear-gradient(180deg, #e2e8f0 0%, #64748b 22%, #475569 48%, #334155 100%);
  border-radius: 6px;
  border: 1px solid #64748b;
  box-shadow: 
    0 3px 6px -1px rgb(0 0 0 / 0.35),
    inset 0 2px 3px rgba(255,255,255,0.6),
    inset 0 -3px 4px rgba(0,0,0,0.3);
  z-index: 10;
}

.bottle-cap::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.bottle-cap::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 9px;
  background: #475569;
  border-radius: 2px;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.4);
}

/* Label on bottle - styled after the real photo labels (cream paper, elegant type) */
.bottle-label {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64%;
  background: #f8f4eb;
  border: 1px solid #d4c9b3;
  border-radius: 6px;
  padding: 9px 6px 7px;
  text-align: center;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.12), inset 0 1px 0 #fff;
  z-index: 5;
  font-family: Georgia, 'Times New Roman', serif;
}

.bottle-label .flavor-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #222;
  line-height: 1.05;
}

.bottle-label .flavor-tag {
  font-size: 8.5px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #444;
  margin-top: 1px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.bottle-label .eagle-icon {
  margin: 2px auto 1px;
  display: block;
}

/* Hero bottle group */
.hero-bottles {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem 0;
}

.hero-bottles .bottle {
  transform: rotate(-6deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bottles .bottle:nth-child(2) {
  transform: rotate(0deg) scale(1.08);
  z-index: 2;
}

.hero-bottles .bottle:nth-child(3) {
  transform: rotate(6deg);
}

.hero-bottles .bottle:hover {
  transform: rotate(-3deg) scale(1.03);
}

/* Section cards */
.card {
  transition: transform 0.2s cubic-bezier(0.4, 0.0, 0.2, 1), box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Ingredients */
.ingredient {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--color-border);
}

.ingredient:hover {
  border-color: #d4c3ab;
}

/* Read more / accordion */
.accordion-header {
  cursor: pointer;
  user-select: none;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content.open {
  max-height: 240px;
}

/* Testimonials */
.testimonial {
  position: relative;
}

.testimonial::before {
  content: '“';
  position: absolute;
  left: -4px;
  top: -16px;
  font-size: 96px;
  line-height: 1;
  opacity: 0.08;
  font-family: Georgia, serif;
}

/* Shop product card */
.product-card {
  transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.product-card:hover {
  transform: translateY(-3px);
}

/* Cart */
#cart-drawer {
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e6d9c9;
}

/* Nav */
.nav-link {
  position: relative;
  transition: color 0.1s;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -1px;
  left: 0;
  background-color: var(--color-gold);
  transition: width 0.2s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.active-nav {
  color: var(--color-gold-dark);
  font-weight: 600;
}

/* Mobile menu */
#mobile-menu {
  transition: all 0.2s ease;
}

/* Buttons */
.btn {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: linear-gradient(90deg, #0ea5e9, #facc15);
  background-size: 200% 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: right center;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.btn:active {
  transform: translateY(0);
}

/* Mobile friendliness */
@media (max-width: 640px) {
  .product-card {
    padding: 1rem;
  }
  .enjoy-img {
    border-radius: 1rem;
  }
  h1 {
    font-size: 2rem !important;
  }
  .text-3xl {
    font-size: 1.5rem !important;
  }
}

/* Flavor specific accents */
.eagle-accent { border-color: #c8102e; }
.bluephoria-accent { border-color: #2a5bd7; }
.golden-accent { border-color: #c59a2e; }

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-bottles .bottle {
    max-width: 140px;
  }
  .bottle-glass {
    height: 240px;
    border-radius: 48px 48px 22px 22px;
  }
}
