@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Smooth scrolling and base styling */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1E293B;
  background-color: #0F172A;
}

body {
  overflow-x: hidden;
}

/* Serif Headings */
h1, h2, h3, .font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Custom Gold Gradient Text */
.text-gold-gradient {
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 50%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-light {
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE68A 60%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Gold Button Glow */
.btn-gold {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px -2px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  box-shadow: 0 8px 25px -2px rgba(217, 119, 6, 0.5);
  transform: translateY(-2px);
}

.btn-gold-outline {
  border: 1.5px solid #D97706;
  color: #D97706;
  background: transparent;
  transition: all 0.3s ease;
}

.btn-gold-outline:hover {
  background: rgba(217, 119, 6, 0.1);
  border-color: #F59E0B;
  color: #F59E0B;
  transform: translateY(-2px);
}

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-dark {
  background: rgba(30, 41, 59, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card-dark:hover {
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Subtle patterns & badges */
.badge-gold {
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: #F59E0B;
}

/* Academic Laurel / Accent styling */
.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.ornament-line::before, .ornament-line::after {
  content: "";
  height: 1px;
  width: 40px;
  background: linear-gradient(90deg, transparent, #D97706);
}
.ornament-line::after {
  background: linear-gradient(90deg, #D97706, transparent);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0F172A;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D97706;
}

/* Subtle animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

/* Modal transition */
.modal-overlay {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.modal-content {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease-in-out;
}

.modal-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-hidden .modal-content {
  transform: scale(0.95) translateY(15px);
  opacity: 0;
}

/* Dropdown styling */
.dropdown-menu {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
}
.dropdown-group:hover .dropdown-menu,
.dropdown-group:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}
