/* Custom CSS Variables for Brand Colors */
:root {
  --primary-gold: #D4AF37;
  --primary-gold-light: #F4E4BC;
  --primary-gold-dark: #B8941F;
  --accent-blue: #1E40AF;
  --accent-blue-light: #3B82F6;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--primary-gold), var(--primary-gold-dark));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--primary-gold-dark), #9A7B0A);
}

/* Typography Improvements */
.text-hierarchy-h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (min-width: 768px) {
  .text-hierarchy-h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .text-hierarchy-h1 {
    font-size: 4.5rem;
  }
}

.text-hierarchy-h2 {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
}

@media (min-width: 768px) {
  .text-hierarchy-h2 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .text-hierarchy-h2 {
    font-size: 3rem;
  }
}

.text-hierarchy-h3 {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
}

@media (min-width: 768px) {
  .text-hierarchy-h3 {
    font-size: 1.5rem;
  }
}

.text-body {
  font-size: 1rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .text-body {
    font-size: 1.125rem;
  }
}

/* Animation Classes */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(30px);
}

.animate-scaleIn {
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
  transform: scale(0.9);
}

/* Animation Delays */
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }
.animation-delay-600 { animation-delay: 0.6s; }
.animation-delay-700 { animation-delay: 0.7s; }
.animation-delay-800 { animation-delay: 0.8s; }

/* Keyframes */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(to right, #FBBF24, #F59E0B);
  color: #111827;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  transform: scale(1);
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(251, 191, 36, 0.25);
}

.btn-secondary {
  background: white;
  color: #111827;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 2px solid #FBBF24;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  transform: scale(1);
  text-align: center;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  transform: scale(1.05);
  background: #FEF3C7;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: white;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 2px solid white;
  transition: all 0.3s;
  transform: scale(1);
  text-align: center;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  transform: scale(1.05);
  background: white;
  color: #111827;
}

/* Card Hover Effects */
.card-hover {
  transition: all 0.5s;
  transform: translateY(0);
}

.card-hover:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 25px 50px -12px rgba(251, 191, 36, 0.1);
}

/* Parallax Effect */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Background Pattern */
.bg-pattern {
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2260%22%20height%3D%2260%22%20viewBox%3D%220%200%2060%2060%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20fill%3D%22%23ffd700%22%20fill-opacity%3D%220.05%22%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2230%22%20r%3D%222%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(to right, #FBBF24, #F59E0B, #D97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section Spacing */
.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Container Max Width */
.container-custom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Image Lazy Loading */
.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Navigation Styles */
.nav-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  transition: all 0.3s;
}

.nav-sticky.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-link:hover {
  color: #F59E0B;
}

.nav-link.active {
  color: #F59E0B;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background: linear-gradient(to right, #F59E0B, #D97706);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Focus States for Accessibility */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
  border-radius: 0.25rem;
}

/* Loading Animation */
.loading-spinner {
  animation: spin 1s linear infinite;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  border: 2px solid transparent;
  border-bottom-color: #F59E0B;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Menu */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

#mobileMenu.show {
  max-height: 500px;
}

/* Responsive Text Sizes */
@media (max-width: 640px) {
  .text-hierarchy-h1 {
    font-size: 2.5rem;
  }
  
  .text-hierarchy-h2 {
    font-size: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
}

