/* vresdaneio.gr — Custom styles beyond Tailwind */

/* Greek-optimized typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Finance gradient — deep teal, trust-oriented */
.finance-gradient {
  background-color: #0f766e;
  background-image: linear-gradient(135deg, #0f766e 0%, #115e59 50%, #0f766e 100%);
}

.finance-accent-gradient {
  background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
}

/* Hero pattern overlay */
.hero-pattern {
  position: relative;
}
.hero-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(202, 138, 4, 0.10) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(202, 138, 4, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

/* Bank card hover */
.bank-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bank-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Comparison table */
.comparison-table th {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table tr:hover td {
  background-color: #f0fdfa;
}

/* Sort indicators */
.sortable {
  cursor: pointer;
  user-select: none;
}
.sortable:hover {
  background-color: #0d5f58;
}
.sortable::after {
  content: ' \2195';
  opacity: 0.4;
  font-size: 0.75em;
}
.sortable.asc::after {
  content: ' \2191';
  opacity: 1;
}
.sortable.desc::after {
  content: ' \2193';
  opacity: 1;
}

/* Pros/Cons styling */
.pro-item::before {
  content: '\2713';
  color: #16a34a;
  font-weight: 700;
  margin-right: 0.5rem;
}
.con-item::before {
  content: '\2717';
  color: #dc2626;
  font-weight: 700;
  margin-right: 0.5rem;
}

/* Breadcrumb separator */
.breadcrumb-sep::before {
  content: '\203A';
  margin: 0 0.5rem;
  color: #9ca3af;
}

/* Calculator styles */
.calc-input {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.calc-input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
  outline: none;
}

.calc-result {
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border: 1px solid #99f6e4;
}

.calc-result-highlight {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: white;
}

/* Eligibility checker result states */
.result-eligible {
  background-color: #f0fdf4;
  border: 2px solid #22c55e;
}
.result-not-eligible {
  background-color: #fef2f2;
  border: 2px solid #ef4444;
}
.result-borderline {
  background-color: #fffbeb;
  border: 2px solid #f59e0b;
}

/* Countdown timer */
.countdown-badge {
  background: linear-gradient(135deg, #ca8a04 0%, #a16207 100%);
  color: white;
  animation: pulse-subtle 2s ease-in-out infinite;
}
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

/* Mobile nav toggle */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 500px;
}

/* Dropdown */
.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.15s ease;
}
.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Print styles */
@media print {
  nav, footer, .no-print { display: none; }
  body { font-size: 12pt; }
}
