/* =========================================================
   GLOBAL THEME VARIABLES
========================================================= */
:root {
  --accent: #1f6feb;
  --accent2: #0ea5a2;
  --muted: #666;
  --bg: #f9fafb;
  --text: #222;
  --radius: 14px;
  --shadow: 0 15px 35px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 45px rgba(0,0,0,0.15);
  --max-width: 1300px;
  --gradient: linear-gradient(135deg,#1f6feb,#0ea5a2);
}

/* =========================================================
   BASE ELEMENTS
========================================================= */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
.site-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid #eee;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s, height .3s;
  height: 70px;
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}
.logo img {
  height: 200px;
  max-height: 200px;
  width: auto;
  display: block;
  object-fit: contain;
}
.main-nav {
  display: flex;
  align-items: center;
}
.main-nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  font-size: 1rem;
  line-height: 1;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.main-nav a:hover::after {
  width: 100%;
}

/* =========================================================
   HERO SECTION
========================================================= */
.hero {
  position: relative;
  min-height: 80vh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

  background: url('/assets/img/heroimg.jpg') center center / cover no-repeat;
  background-color: #0d1b2a;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: fadeIn 1.2s ease-in-out;
}

/* =========================================================
   INK ANIMATED TEXT
========================================================= */
/* =========================================================
   INK ANIMATED TEXT (Yellow, Centered, Fixed Style)
========================================================= */
.ink-animated {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  display: inline-block !important;
  position: relative;
  margin: 0 auto; /* centers inline-block in parent */

  /* Yellow Gradient Shine */
  background: linear-gradient(
    270deg,
    #FFD700,
    #FFC107,
    #FFD700
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Animation */
  animation: inkFlow 6s ease infinite;
  transition: transform 0.35s ease, text-shadow 0.35s ease;
}

/* Hover effect */
.ink-animated:hover {
  transform: scale(1.05);
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.6);
  animation-play-state: paused;
}

/* Fixed sizes for hero section */
.hero h1.ink-animated {
  font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
  margin-bottom: 1rem !important;
}
.hero p.ink-animated {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem) !important;
  margin-bottom: 2rem !important;
  font-weight: 600 !important;
  animation-delay: 1s;
}

/* Animation for shimmer */
@keyframes inkFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* ================================
   Title1 Style (Force Override)
================================ */
.title1 {
  font-family: 'Poppins', sans-serif !important;
  font-weight: 300 !important;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important; /* smaller scaling */
  color: #FFD700 !important;
  text-align: center !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 1rem 0 !important;
  transition: transform 0.3s ease, text-shadow 0.3s ease !important;
}

/* Hover effect */
.title1:hover {
  transform: scale(1.05) !important;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.6) !important;
}


/* =========================================================
   CTA BUTTONS
========================================================= */
.hero .btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  margin: 0.5rem;
  background: #ff4081;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.35s ease;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}
.hero .btn.secondary {
  background: #2196f3;
  animation-delay: 0.3s;
}
.hero .btn:hover {
  background: #fff;
  color: #111;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* =========================================================
   RESPONSIVE HERO
========================================================= */
@media (max-width: 768px) {
  .hero {
    background: url('/assets/img/heroimg1.jpg') center top / cover no-repeat;
    min-height: 75vh;
    padding: 3rem 1.5rem;
  }
  .hero .btn {
    display: block;
    margin: 0.6rem auto;
    width: 80%;
  }
}
@media (max-width: 480px) {
  .hero h1.ink-animated { font-size: 1.9rem; }
  .hero p.ink-animated { font-size: 1rem; }
  .hero .btn { width: 100%; }
}

/* =========================================================
   GENERIC ANIMATIONS
========================================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   NAV TOGGLE (Hamburger)
========================================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 36px;
  height: 28px;
  gap: 6px;
  z-index: 150;
  transition: transform 0.3s ease;
}
.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #ff6a00, #ee0979);
  border-radius: 3px;
  transition: all 0.4s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
  background: linear-gradient(90deg, #00c6ff, #0072ff);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
  background: linear-gradient(90deg, #f7971e, #ffd200);
}
.nav-toggle:hover span {
  background: linear-gradient(90deg, #00f260, #0575e6);
  transform: scaleX(1.1);
}

/* =========================================================
   NAVIGATION PANEL (Mobile)
========================================================= */
@media(max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 240px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-radius: 0 0 15px 15px;
    padding: 1rem 1.2rem;
    text-align: right;
    animation: slideDown 0.35s ease forwards;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    margin: 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  .main-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #ff512f, #dd2476);
    border-radius: 2px;
    transition: width 0.3s ease;
  }
  .main-nav a:hover { color: #ff512f; }
  .main-nav a:hover::after { width: 100%; left: 0; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   CART ICON
========================================================= */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}
.cart-link:hover {
  color: #ff512f;
  transform: scale(1.1);
}
.cart-icon {
  width: 26px;
  height: 26px;
}
#mini-cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
