/* style.css (updated) */
:root {
  --primary-maroon: #650032;
  --primary-gold: #ffe072;
  --bg-light: #f5f5f5;
  --card-bg: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  color: var(--primary-maroon);
}

/* Audio Visualizer Background (updated: now absolute within card-container) */
.visualizer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;        /* match header height */
  z-index: 0;
  background: transparent;
  opacity: 0.6;
  pointer-events: none;
}

/* Floating Musical Notes Inside Card */
.floating-note {
  position: absolute;
  color: var(--primary-maroon);
  pointer-events: none;
  z-index: 0;
  font-size: 1.5rem;
  opacity: 0.2;
  animation: floatUpSlow linear infinite;
  font-family: "Arial Unicode MS", Arial, sans-serif;
}

@keyframes floatUpSlow {
  0% {
    transform: translateY(100%) rotate(0deg) translateX(0);
    opacity: 0;
  }
  50% {
    transform: translateY(-50%) rotate(180deg) translateX(20px);
    opacity: 0.25;
  }
  100% {
    transform: translateY(-120%) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}

/* Ensure content stays above floating notes and visualizer */
.header-section .logo-container,
.header-section h1,
.header-section .tagline {
  position: relative;
  z-index: 1;
}
/* Card Container (updated: now has position relative for absolute children like visualizer) */
.card-container {
  max-width: 480px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);
  position: relative; /* Required for absolute positioning of visualizer */
  padding-bottom: 100px;
  overflow: hidden; /* Important: keeps notes inside */
}

/* Header & Logo */
.header-section {
  text-align: center;
  padding: 50px 20px 30px;
  background: transparent; /* let canvas show */
  overflow: hidden;
  position: relative;
  min-height: 220px; /* ensures visible space for visualizer */
}


.logo-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 25px;
  border-radius: 50%;
  border: 4px solid var(--primary-maroon);
  padding: 8px;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(101, 0, 50, 0.39);
  transition: var(--transition-smooth);
}

.logo-container:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(101, 0, 50, 0.25);
}

.logo-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  animation: spin-slow 20s linear infinite;
}

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

h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.tagline {
  font-style: italic;
  color: var(--primary-maroon);
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 500;
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
  font-weight: 300;
}

/* Contact Details */
.contact-section {
  padding: 25px 20px;
}

.contact-item-link {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    padding: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(101, 0, 50, 0.08);
    box-shadow: var(--shadow-soft);
    color: inherit; /* keep text color */
    text-decoration: none; /* remove underline */
}

.contact-item-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(101, 0, 50, 0.12);
    border-color: var(--primary-maroon);
    text-decoration: none; /* keep hover clean */
}

/* To keep icon-box and text styles same as before */
.contact-item-link .icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-maroon) 0%, #4a0025 100%);
    color: var(--primary-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(101, 0, 50, 0.2);
}

.contact-item-link .contact-text h5 {
    margin: 0 0 5px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-item-link .contact-text p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.5;
}


.icon-box {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #4a0025 100%);
  color: var(--primary-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(101, 0, 50, 0.2);
}

.contact-text h5 {
  margin: 0 0 5px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.contact-text p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Action Buttons Grid */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 20px 25px;
}

/* Base button */
.action-btn {
  background: #ffffff;
  border: 1px solid rgba(101, 0, 50, 0.18);
  color: var(--primary-maroon);
  padding: 14px 0;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    color 0.18s ease, border-color 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Icon */
.action-btn i {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

/* Label */
.action-btn span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Shared hover micro-interaction */
.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

/* Individual brand styling */

/* Call – keep on-brand maroon accent */
.action-call i {
  color: var(--primary-maroon);
}
.action-call:hover {
  border-color: var(--primary-maroon);
}

/* Email – soft neutral blue */
.action-email i {
  color: #2563eb; /* modern blue */
}
.action-email:hover {
  border-color: #2563eb;
}

/* WhatsApp – brand green */
.action-whatsapp i {
  color: #25d366; /* official WhatsApp light green [web:71][web:74] */
}
.action-whatsapp:hover {
  border-color: #25d366;
}

/* Map – subtle red accent */
.action-map i {
  color: #e11d48; /* rose-red pin */
}
.action-map:hover {
  border-color: #e11d48;
}

/* Optional: pressed state */
.action-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Social Links */
.social-section {
  text-align: center;
  padding: 20px;
}

.social-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.social-link {
  width: 100%;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  color: white;
  font-weight: 600;
  gap: 15px;
}

.social-link i {
  font-size: 1.6rem;
}

.social-link span {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Brand Colors */
.social-link.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
}

.social-link.instagram {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-link.youtube {
  background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-link.twitter {
  background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

/* Sticky Footer */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 1000;
}

.footer-content {
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 18px 20px;
  display: flex;
  gap: 15px;
  border-top: 1px solid rgba(101, 0, 50, 0.1);
  pointer-events: auto;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary-custom {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-maroon) 0%, #4a0025 100%);
  color: var(--primary-gold);
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, #4a0025 0%, #650032 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(101, 0, 50, 0.3);
}

.btn-secondary-custom {
  flex: 1;
  background: transparent;
  color: var(--primary-maroon);
  border: 2px solid var(--primary-maroon);
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-custom:hover {
  background: rgba(101, 0, 50, 0.08);
  transform: translateY(-2px);
}

/* Audio Toggle */
.audio-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: 2px solid var(--primary-maroon);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.audio-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(101, 0, 50, 0.2);
}

/* Share Toggle */
.share-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--primary-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: 2px solid var(--primary-maroon);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.share-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(101, 0, 50, 0.2);
}

.credits{
    display: flex;
    justify-content: center;
    padding: 10px;
}
.credits a{
    text-decoration: none;
    font-weight: bold;
}

/* Responsive adjustments */
@media (min-width: 481px) {
  body {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  }
}

@media (max-width: 380px) {
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  h1 {
    font-size: 1.6rem;
  }
}
