/* G&S Dance Floor - Custom Styles */

/* Base styles */
:root {
  --color-primary: #a18c47;
  --color-background-light: #f6f7f8;
  --color-background-dark: #040608;
  --font-display: 'Manrope', sans-serif;
}

/* Dark mode variables */
.dark {
  --color-background: var(--color-background-dark);
  --color-text: #e5e7eb;
}

/* Light mode variables */
.light {
  --color-background: var(--color-background-light);
  --color-text: #374151;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom button styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background-color: var(--color-primary);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 102, 184, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 2px solid var(--color-primary);
  background-color: transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Card styles */
.card {
  border-radius: 0.5rem;
  background-color: var(--color-background-light);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dark .card {
  background-color: rgba(31, 41, 55, 0.4);
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.dark .form-label {
  color: #d1d5db;
}

.form-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  background-color: var(--color-background-light);
  color: #111827;
  transition: colors 0.2s ease;
  padding: 0.75rem;
}

.form-input[type="date"] {
  display: block;
  min-width: 0;
  max-width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(20, 102, 184, 0.1);
}

.dark .form-input {
  border-color: #4b5563;
  background-color: rgba(31, 41, 55, 0.4);
  color: white;
}

/* Gallery styles */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Hero section styles */
.hero-background {
  position: relative;
  display: flex;
  min-height: 500px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  padding: 2rem;
  text-align: center;
  color: white;
  background-image: linear-gradient(
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* Navigation styles */
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--color-primary);
}

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

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

.admin-entry {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(161, 140, 71, 0.45);
  border-radius: 0.375rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.admin-entry svg {
  width: 1.25rem;
  height: 1.25rem;
}

.admin-entry:hover {
  border-color: var(--color-primary);
  color: #fff;
  background-color: rgba(161, 140, 71, 0.15);
}

.admin-entry:focus-visible {
  outline: 3px solid rgba(161, 140, 71, 0.35);
  outline-offset: 2px;
}

/* Social media icons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background-color: rgba(20, 102, 184, 0.1);
  color: var(--color-primary);
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: rgba(20, 102, 184, 0.2);
}

.dark .social-icon {
  background-color: rgba(20, 102, 184, 0.2);
}

.dark .social-icon:hover {
  background-color: rgba(20, 102, 184, 0.3);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.875rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}