@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap');

/* ===== ROOT VARIABLES ===== */
:root {
  --accent: #ff2d75;
  --accent-glow: #bc13fe;
}

html {
  scroll-behavior: smooth;
}


/* ===== GLOBAL STYLES ===== */
body {
  margin: 0;
  background-color: #0a0118;
  color: #e5e7eb;
  font-family: Kalam, Kalam Fallback;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
  font-family: Kalam, Kalam Fallback;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

h1 {
  font-weight: 500!important;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 span.italic {
  font-family: Kalam, Kalam Fallback;
  font-style: italic;
  font-weight: 500;
}

h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== BACKGROUND ===== */
#star-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, #1e0338 0%, #0a0118 100%);
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  height: 80px;
  background: rgba(11, 12, 16, 0.4);
  backdrop-filter: blur(8px) saturate(160%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-family: Kalam, Kalam Fallback;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
}

.logo-text span {
  color: #f466fc;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #c5c6c7;
  font-size: 1.125rem;
  transition: 0.3s;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #f466fc;
}

/* Hamburger Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: #f466fc;
  transition: 0.4s;
}

.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ===== COMPONENTS ===== */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ===== UTILITIES ===== */
.text-rose-gold {
  color: var(--accent);
  text-shadow: 0 0 15px rgba(255, 45, 117, 0.3);
}

.bg-rose-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
}

.glow-button {
  font-family: Kalam, Kalam Fallback;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(255, 45, 117, 0.2);
}

.glow-button:hover {
  box-shadow: 0 0 25px rgba(255, 45, 117, 0.5);
  transform: scale(1.02);
}

a {
  text-decoration: none; /* Removes the default underline */
  color: inherit;      /* Inherits the color from the parent element */
}

/* Active Link Styling for Nav */
.active-link {
  color:  #f466fc !important;
  text-shadow: 0 0 10px rgba(255, 45, 117, 0.4);
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 1150px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 8, 10, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 0;
    clip-path: circle(0% at 92% 40px);
    transition: clip-path 0.8s ease-in-out;
  }

  .nav-links.active {
    clip-path: circle(150% at 92% 40px);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .nav-links a {
    padding: 1.2rem 0;
    display: block;
    text-align: center;
    font-size: 1.1rem;
  }
}
/* ===== NEW FOOTER STYLES ===== */

.new-footer {
  position: relative;
  z-index: 10;
  background: rgba(11, 12, 16, 0.85); /* Darker background to read text */
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 100px;
  padding-top: 80px;
  color: #e5e7eb;
  font-family: Kalam, Kalam Fallback;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* Col 1 is wider for bio */
  gap: 40px;
  padding-bottom: 60px;
}

/* Brand Column */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* border: 1px solid var(--accent); */
}

.footer-bio {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 25px;
  max-width: 300px;
}

/* Social Icons Animation */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-5px) scale(1.1); /* Bounce up effect */
  box-shadow: 0 0 15px var(--accent);
}

/* Headings */
.footer-col h4 {
  font-family: 'Orbitron', sans-serif; /* Techy font from your nav logic */
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  display: inline-block;
}

/* Animated Underline for Headings */
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 30px;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-col:hover h4::after {
  width: 100%;
}

/* Links List */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Cool Link Hover Slide Effect */
.footer-col ul li a:hover {
  color: var(--accent-glow);
  transform: translateX(10px); /* Slide right */
  text-shadow: 0 0 8px rgba(188, 19, 254, 0.4);
}

/* Contact Info */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: #9ca3af;
  font-size: 0.95rem;
}

.contact-item i {
  color: var(--accent);
  margin-top: 4px;
}

/* Bottom Bar */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer-tagline {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr; /* 2 cols */
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .footer-bio {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  
  .footer-container {
    grid-template-columns: 1fr; /* 1 col */
    text-align: center;
  }
  
  .footer-logo, .social-links, .contact-item {
    justify-content: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

/* ===== TEMPLATE CARDS ===== */
.template-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.template-card:hover {
  transform: translateY(-10px);
  border-color: rgba(244, 102, 252, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 102, 252, 0.2);
}

/* Inner Preview Window (The visual part of the card) */
.card-preview {
  height: 220px;
  width: 100%;
  position: relative;
  background: radial-gradient(circle at center, #2a0b3d 0%, #11031f 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Specific Preview Styles to mimic the templates */
.preview-newyear {
  background: linear-gradient(135deg, #2e0225 0%, #0f021c 100%);
}
.preview-compliment {
  background: linear-gradient(to top, #33001b, #000000);
}
.preview-sorry {
  background: linear-gradient(to bottom, #fff1f2 0%, #ffe4e6 100%); /* Light theme for contrast */
}

/* Badges */
.badge {
  position: absolute;
  top: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge-left { left: 15px; background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.badge-right { right: 15px; background: linear-gradient(90deg, #8b5cf6, #d946ef); }

/* Heart Pulse Animation */
@keyframes heartbeat {
  0% { transform: scale(1); }
  15% { transform: scale(1.3); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

.heart-anim {
  animation: heartbeat 2s infinite;
  color: #ff2d75;
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 45, 117, 0.6));
}

/* Cute Character Placeholder (CSS Circle) */
.cute-char {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

/* ===== OFFERINGS / FEATURE SECTION ===== */

.feature-box {
  background: rgba(18, 18, 24, 0.6); /* Slightly darker glass */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Update this specific block in your style.css */

.feature-box:hover {
  /* The !important tag forces the card to lift, overriding the scroll animation lock */
  transform: translateY(-10px) !important; 
  
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(244, 102, 252, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(244, 102, 252, 0.2);
  z-index: 10; /* Ensures the card floats above neighbors */
}

/* The Icon Circle */
.feature-icon-bg {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-box:hover .feature-icon-bg {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-glow) 100%);
  transform: rotate(-5deg) scale(1.1);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(255, 45, 117, 0.4);
}

/* The Icon Itself */
.feature-icon {
  font-size: 1.2rem;
  color: #fff;
  transition: color 0.3s ease;
}

/* Text adjustments for the grid */
.feature-box h3 {
  font-family: 'Playfair Display', serif; /* Elegant heading font */
  letter-spacing: 0.5px;
}

/* ===== MOBILE ANIMATIONS & OPTIMIZATIONS ===== */

/* 1. Scroll Reveal Setup */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.2, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 2. Mobile Specific Shimmer (Since there is no hover on mobile) */
@media (max-width: 768px) {
  
  /* Make the section title tighter on mobile */
  .feature-box {
    padding: 1.5rem; /* Reduce padding to make cards shorter */
    margin-bottom: 0; /* Let grid handle gap */
    
    /* A subtle continuous breathe animation for mobile */
    animation: mobileBreathe 4s infinite alternate;
  }

  /* The icon glows softly on mobile automatically */
  .feature-box .feature-icon-bg {
    border-color: rgba(244, 102, 252, 0.3);
    background: rgba(255, 255, 255, 0.05);
  }
  
  .feature-box h3 {
    font-size: 1.15rem; /* Slightly smaller text */
  }
}

@keyframes mobileBreathe {
  0% {
    box-shadow: 0 0 0 rgba(0,0,0,0);
    border-color: rgba(255, 255, 255, 0.05);
  }
  100% {
    box-shadow: 0 0 15px rgba(244, 102, 252, 0.15);
    border-color: rgba(244, 102, 252, 0.3);
  }
}