@import "tailwindcss";

@theme {
  --color-primary: #E4FF1A;
  --color-secondary: #6EEB83;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
}

/* Header Modernization */
header {
  background: linear-gradient(135deg, #E4FF1A 0%, #6EEB83 100%) !important;
  box-shadow: 0 10px 25px -5px rgba(110, 235, 131, 0.2), 0 8px 10px -6px rgba(110, 235, 131, 0.1) !important;
  border-bottom: none !important;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

header nav a {
  color: #0f172a !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 14px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-weight: 600 !important;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header nav a.text-secondary {
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Footer Modernization */
footer {
  background-color: #1B2B2B !important; /* Dark elegant tone */
  color: #ffffff !important;
  padding-top: 6rem !important;
  padding-bottom: 4rem !important;
  border-top: 4px solid rgba(110, 235, 131, 0.2) !important; /* #6EEB83 with opacity */
  position: relative;
}

footer .grid {
  gap: 4rem !important; /* Increased spacing between columns */
  align-items: start;
}

footer h4 {
  color: #ffffff !important; /* Column titles - white */
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem !important;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #6EEB83;
}

footer .brand-name {
  color: #ffffff !important; /* Main text - white */
  font-size: 2rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem !important;
  display: block;
}

footer p, footer li, footer a {
  color: #cbd5e1 !important; /* Secondary text - light gray */
  font-size: 0.95rem !important;
  line-height: 1.8;
  font-weight: 400 !important;
}

footer a {
  transition: all 0.3s ease !important;
  display: inline-block;
  text-decoration: none;
}

footer a:hover {
  color: #E4FF1A !important; /* Hover highlight */
  transform: translateX(4px);
}

footer .footer-bottom {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(110, 235, 131, 0.1);
  text-align: center;
}

footer .footer-bottom p {
  font-size: 0.8rem !important;
  color: #94a3b8 !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

footer .company-data {
  margin-top: 2rem;
  padding: 0;
  background: transparent !important;
  border-radius: 0;
  display: block;
  backdrop-filter: none;
}

footer .company-data p {
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

/* Contact items shadow and details */
footer ul li {
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Contact labels modernization */
footer .text-gray-500.uppercase {
  color: #6EEB83 !important; /* Icons and details color */
  background: transparent;
  display: block;
  padding: 0;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  margin-bottom: 2px !important;
  letter-spacing: 0.05em;
}

/* Warning Bar */
.warning-bar, .bg-yellow-400.text-red-700 {
  background-color: #fef08a !important;
  color: #991b1b !important;
  border-bottom: 1px solid rgba(153, 27, 27, 0.1);
}

/* Typography & Content */
.logo-text, header .text-2xl {
  letter-spacing: -0.04em !important;
  color: #0f172a !important;
  font-weight: 900 !important;
}

header .text-xs {
  color: rgba(15, 23, 42, 0.6) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

html {
  scroll-behavior: smooth;
}

article {
  border: none !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.3s ease;
}

article img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

article img:hover {
  transform: scale(1.015);
}

.article-content h2, article h2 {
  border-left: 4px solid #6EEB83;
  padding-left: 1rem;
  position: relative;
}

.article-content h2::after, article h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #E4FF1A;
}

.transparency-section, section.bg-gray-100 {
  background-color: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02) !important;
  border-radius: 1.5rem !important;
}
