@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

:root {
  /* Updated color scheme with warm yellow/amber tones for Prime Partner theme */
  --primary-color: #0f172a;
  --secondary-color: #1e293b;
  --accent-blue: #2563eb;
  --accent-red: #dc2626;
  --accent-green: #16a34a;
  --accent-yellow: #f59e0b;
  --accent-amber: #f97316;
  --warm-yellow: #fbbf24;
  --background: #ffffff;
  --foreground: #0f172a;
  --muted: #f8fafc;
  --muted-foreground: #475569;
  --border: #e2e8f0;
  --card: #ffffff;
  --card-foreground: #0f172a;

  /* Updated gradients with warm yellow tones */
  --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  --gradient-success: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  --gradient-hero: linear-gradient(135deg, #f59e0b 0%, #f97316 50%, #fb923c 100%);
  --gradient-warm: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);

  /* Enhanced shadows for depth */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-yellow: 0 20px 40px -10px rgba(245, 158, 11, 0.4);

  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background: #f5f3ef; /* Adding warm beige/grayish-brown background like Correios */
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Modern glassmorphism header with warm yellow accent */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 30px rgba(245, 158, 11, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* Updated logo with warm yellow gradient */
.logo {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Reorganized navigation with better spacing */
.nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

/* Updated nav links with cleaner design and warm yellow active state */
.nav a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
  border-radius: 12px;
}

/* Warm yellow hover effect */
.nav a:hover {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
}

/* Active/current page styling with warm yellow theme */
.nav a.active {
  color: white;
  background: var(--gradient-primary);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  font-weight: 700;
}

.tracking-section {
  background: var(--gradient-hero);
  color: white;
  padding: 3rem 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.tracking-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.tracking-section::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.tracking-form {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Modern input with glass effect */
.tracking-input {
  flex: 1;
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--foreground);
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.tracking-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), var(--shadow-xl);
  transform: translateY(-2px);
}

/* Modern button with gradient and animations */
.btn {
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-yellow);
}

/* Updated hero with warm yellow gradient */
.hero {
  background: var(--gradient-hero);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero h1,
.hero p,
.page-header h1,
.page-header p {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease;
}

/* Modern services section with enhanced cards */
.services {
  padding: 8rem 0;
  background: #f5f3ef; /* Keeping the beige background consistent */
  position: relative;
}

/* Updated section title with warm yellow gradient */
.section-title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

/* Ultra-modern service cards with hover effects and gradients */
.service-card {
  background: white; /* Making cards more vibrant with white background and colorful accents */
  padding: 0;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.3);
  border-color: transparent;
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s ease;
  filter: brightness(0.9);
}

.service-card:hover img {
  transform: scale(1.1);
  filter: brightness(1) saturate(1.2);
}

.service-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 1.5rem 2rem 1rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
  padding: 0 2rem 2rem;
  font-size: 1.05rem;
}

.service-card ul {
  font-size: 1rem;
  padding: 0 2rem 2rem 2rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

/* Modern about section with split layout and effects */
.about {
  background: white; /* Using white background for about section to create contrast */
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-text p {
  font-size: 1.15rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}

/* Modern image container with effects */
.about-image {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.4s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Modern footer with gradient */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  padding-left: 0;
}

.footer-section a:hover {
  color: white;
  padding-left: 10px;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 2px solid var(--accent-amber);
  color: var(--accent-amber);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 2px solid rgba(245, 158, 11, 0.2);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav.active {
    max-height: 500px;
    opacity: 1;
    padding: 1rem 0;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    text-align: left;
  }

  .nav a:hover {
    background: rgba(245, 158, 11, 0.1);
  }

  .nav a.active {
    background: var(--gradient-primary);
    color: white;
  }

  /* Ultra-compact header */
  .header-content {
    padding: 0.5rem 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  /* Ultra-compact tracking section */
  .tracking-section {
    padding: 1.5rem 0;
    margin-top: 60px;
  }

  .tracking-section h2 {
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .tracking-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .tracking-input {
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
  }

  /* Ultra-compact hero */
  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

  /* Ultra-compact stats cards */
  section[style*="background: linear-gradient(135deg, #f0f9ff"] {
    padding: 2rem 0 !important;
  }

  section[style*="background: linear-gradient(135deg, #f0f9ff"] .container > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  section[style*="background: linear-gradient(135deg, #f0f9ff"] .container > div > div {
    padding: 1rem 0.75rem !important;
    border-radius: 12px !important;
  }

  section[style*="background: linear-gradient(135deg, #f0f9ff"] .container > div > div > div:first-child {
    font-size: 2rem !important;
    margin-bottom: 0.25rem !important;
  }

  section[style*="background: linear-gradient(135deg, #f0f9ff"] .container > div > div > div:last-child {
    font-size: 0.8rem !important;
  }

  /* Ultra-compact services section */
  .services {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .section-title::after {
    width: 50px;
    height: 3px;
    bottom: -8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-card {
    border-radius: 12px;
    padding: 0;
  }

  .service-card img {
    height: 140px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin: 0.85rem 1rem 0.5rem;
  }

  .service-card p {
    font-size: 0.85rem;
    padding: 0 1rem 1rem;
    line-height: 1.5;
  }

  .service-card ul {
    font-size: 0.8rem;
    padding: 0 1rem 1rem 2rem;
  }

  .service-card ul li {
    margin-bottom: 0.25rem;
  }

  /* Ultra-compact about section */
  .about {
    padding: 2rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }

  .about-image {
    height: 200px;
    border-radius: 12px;
    transform: none;
  }

  /* Ultra-compact all sections */
  section[style*="padding"] {
    padding: 2rem 0 !important;
  }

  section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.85rem !important;
  }

  section p {
    font-size: 0.9rem !important;
    margin-bottom: 0.85rem !important;
  }

  /* Ultra-compact footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }

  .footer-section a {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.85rem;
  }

  /* Ultra-compact page header */
  .page-header {
    padding: 3rem 0 1.5rem;
    margin-top: 60px;
  }

  .page-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* Ultra-compact content sections */
  .content-section {
    padding: 1.5rem 0;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .image-placeholder,
  .image-placeholder img {
    height: 160px;
    border-radius: 10px;
  }

  /* Ultra-compact forms */
  .form-group {
    margin-bottom: 0.85rem;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .form-input {
    padding: 0.65rem;
    font-size: 0.9rem;
  }

  /* Ultra-compact blog cards */
  .service-card[style*="margin-bottom: 2rem"] {
    margin-bottom: 1rem !important;
  }

  .service-card img[style*="height: 300px"] {
    height: 150px !important;
  }

  .service-card h2 {
    font-size: 1.2rem !important;
  }

  /* Ultra-compact FAQ items */
  .faq-item {
    padding: 1.25rem !important;
    margin-bottom: 0.85rem !important;
  }

  .faq-item h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.65rem !important;
  }

  .faq-item p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  /* Ultra-compact career cards */
  .service-card[style*="display: flex"] {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .service-card[style*="display: flex"] h3 {
    font-size: 1.1rem !important;
  }

  .service-card[style*="display: flex"] p {
    font-size: 0.85rem !important;
  }

  /* Ultra-compact tracking results */
  .rastreio-result {
    padding: 1.25rem !important;
  }

  .rastreio-details {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .tracking-history {
    gap: 0.85rem !important;
  }

  .tracking-event {
    padding: 0.85rem !important;
  }

  /* Ultra-compact container */
  .container {
    padding: 0 0.85rem;
  }

  /* Make hero images smaller on mobile */
  section img[style*="height: 300px"] {
    height: 150px !important;
  }

  section img[style*="height: 200px"] {
    height: 120px !important;
  }

  /* Compact badges */
  .status-badge {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
  }

  /* Compact icon circles */
  div[style*="width: 60px; height: 60px"] {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.2rem !important;
  }

  div[style*="width: 50px; height: 50px"] {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  div[style*="width: 40px; height: 40px"] {
    width: 35px !important;
    height: 35px !important;
    font-size: 0.9rem !important;
  }
}

/* Extra small mobile devices optimization */
@media (max-width: 480px) {
  .logo {
    font-size: 1.15rem;
  }

  .hero h1 {
    font-size: 1.3rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.8rem;
  }

  .about-text h2 {
    font-size: 1.3rem;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  section[style*="background: linear-gradient(135deg, #f0f9ff"] .container > div {
    grid-template-columns: 1fr !important;
  }
}

/* Tablet optimization (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .about-content {
    gap: 3rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* Professional admin styles */
.admin-header {
  background: var(--primary-color);
  color: var(--primary-foreground);
  padding: 1.5rem 0;
}

.admin-nav {
  background: var(--background);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.admin-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.admin-nav a {
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
  background: var(--gradient-primary);
  color: white;
}

.admin-content {
  padding: 3rem 0;
  background: #f5f3ef; /* Keeping beige background for admin area */
  min-height: calc(100vh - 200px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.form-input,
.tracking-input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  color: var(--foreground);
  transition: all 0.3s ease;
}

.form-input:focus,
.tracking-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: white;
}

.form-input:invalid {
  border-color: var(--destructive);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: white; /* White background for tables with better shadows */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background: var(--muted);
  font-weight: 600;
  color: var(--primary-color);
}

.admin-table tr:hover {
  background: var(--muted);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
}

.status-collected {
  background: #d1ecf1;
  color: #0c5460;
}

.status-transit {
  background: #d4edda;
  color: #155724;
}

.status-delivered {
  background: #d4edda;
  color: #155724;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-danger {
  background: var(--destructive);
  color: var(--destructive-foreground);
}

.btn-danger:hover {
  background: #c82333;
}

.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* Updated page header with warm yellow gradient */
.page-header {
  background: var(--gradient-hero);
  color: white;
  padding: 6rem 0 3rem;
  margin-top: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.content-section {
  padding: 4rem 0;
  background: #f5f3ef; /* Adding beige background to content sections */
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  height: 300px;
  background: var(--muted);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 1.1rem;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adding blog post styles */
.blog-post {
  margin-bottom: 3rem;
}

.blog-post img {
  transition: transform 0.3s ease;
}

.blog-post:hover img {
  transform: scale(1.02);
}

/* Adding FAQ accordion styles */
.faq-item {
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Adding smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Adding print styles */
@media print {
  .header,
  .footer,
  .mobile-menu-btn,
  .btn {
    display: none;
  }
}

/* Modern animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
