/* ============================================
   HEN DO THEME CSS - CLEAN & CONSOLIDATED
   AllShare Hen Do Photo Sharing Theme
   ============================================ */

/* 1. IMPORTS & VARIABLES */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Dancing+Script:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Hen Do Color Palette */
  --color-primary: #e11d48; /* Rose-600 */
  --color-primary-light: #f43f5e; /* Rose-500 */
  --color-primary-dark: #be123c; /* Rose-700 */
  --color-secondary: #ec4899; /* Pink-500 */
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #e11d48 0%, #ec4899 100%);
  --gradient-soft: linear-gradient(135deg, #fff1f2 0%, #fce7f3 100%);
  --gradient-navbar: linear-gradient(135deg, #e11d48, #ec4899);
  
  /* Typography & Spacing */
  --font-heading: 'Dancing Script', cursive;
  --font-display: 'Playfair Display', serif;
  --font-primary: 'Inter', sans-serif;
  --border-radius: 16px;
  --border-radius-lg: 24px;
}

/* 2. BASE STYLING */
body {
  font-family: var(--font-primary);
  color: #1f2937;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

.font-heading {
  font-family: var(--font-heading);
}

/* Safe background overrides */
.bg-rose-50, .bg-pink-50 {
  background: var(--gradient-soft);
}

/* 3. NAVBAR STYLING */
.navbar {
  background: var(--gradient-navbar) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(225, 29, 72, 0.2);
}

.navbar .nav-link,
.navbar .navbar-title {
  color: white !important;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.navbar .nav-link:hover {
  color: #fff1f2 !important;
}

.navbar .nav-button {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px);
}

.navbar .nav-button:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.navbar .navbar-emoji {
  animation: hen-bounce 2s infinite;
}

@keyframes hen-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-4px); }
  60% { transform: translateY(-2px); }
}

/* Mobile Menu Toggle */
.navbar #menuToggle {
  color: white !important;
}
.navbar #menuToggle svg {
  stroke: white !important;
}

/* Mobile Menu Visibility */
.navbar #mobileMenu:not(.hidden) {
  display: block !important;
  background: var(--gradient-navbar);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar #mobileMenu .nav-link,
.navbar #mobileMenu .nav-button {
  color: white !important;
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 4. HERO & FLOATING ELEMENTS */
.hero {
  position: relative;
  overflow: hidden;
}

.floating-element {
  animation: float-hen 6s ease-in-out infinite both;
}

@keyframes float-hen {
  0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.8; }
  25% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
  50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.9; }
  75% { transform: translateY(-15px) rotate(3deg); opacity: 1; }
}

/* 5. BUTTON ENHANCEMENTS */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  padding: 0.75rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* 6. GALLERY & FEATURE CARDS */
.feature-card {
  border: 1px solid rgba(225, 29, 72, 0.1);
}

.feature-card:hover {
  border-color: var(--color-primary-light);
}

#photoGallery, #videoGallery {
  background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(225, 29, 72, 0.15);
}

.media-item {
  border: 2px solid var(--color-primary-light);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.media-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
  transform: translateY(-4px) scale(1.02);
}

/* 7. FOOTER STYLING */
footer {
  background: var(--gradient-primary);
  color: white;
}

footer h3, footer h4 {
  color: white;
  font-family: var(--font-display);
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s ease;
}

footer a:hover {
  color: white;
  transform: translateY(-1px);
}
footer .text-gray-400 {
    color: #2b2d30 !important;
}

/* 8. UTILITIES & ANIMATIONS */
.animate-fade-up {
  animation: fade-up 1s ease-out forwards;
}

@keyframes fade-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* 9. RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .navbar .navbar-emoji {
    font-size: 1.25rem !important;
  }
  
  .navbar .navbar-title {
    font-size: 1rem !important;
  }
}