/* ==========================================================================
   PressRelease.so Custom Stylesheet
   ========================================================================== */

/* --- Fonts & Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b; /* Slate-800 */
}

/* --- Theme Variables --- */
:root {
  --primary-color: #2563eb;    /* Blue-600 */
  --secondary-color: #f97316;  /* Orange-500 */
  --border-color: #e2e8f0;     /* Slate-200 */
  --bg-gradient-start: #f8fafc;
  --bg-gradient-end: #eff6ff;
}

/* --- Logo Wordmark --- */
.logo-wordmark {
  display: inline-flex;
  align-items: center;
  font-size: 1.25rem; /* 20px */
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.logo-main {
  color: #0f172a; /* Slate-900 */
}
.logo-ext {
  color: var(--primary-color);
}

/* --- Desktop Dropdown Menus --- */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-radius: 1rem;
  padding: 0.75rem;
  z-index: 50;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569; /* Slate-600 */
  border-radius: 0.5rem;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}

.dropdown-item:hover {
  background-color: #f1f5f9; /* Slate-100 */
  color: var(--primary-color);
}

.dropdown-item i {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.dropdown-item span {
  font-size: 0.875rem;
}

/* --- Submit PR Button Style --- */
.btn-submit-pr {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.btn-submit-pr:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  box-shadow: 0 6px 20px 0 rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

/* --- Mobile Menu Styles --- */
.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-color);
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.mobile-dropdown-content.active {
  display: flex;
}

.mobile-dropdown-toggle i {
  transition: transform 0.2s ease;
}

.mobile-dropdown-toggle.active i {
  transform: rotate(180deg);
}

/* --- Custom Micro-Animations --- */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Styles */
.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

/* Smooth Gradient Overlays */
.gradient-overlay {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(248,250,252,1) 100%);
}

.bg-gradient-radial {
  background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 60%);
}
