/*
Theme Name: E-TravelDocs
Theme URI: https://e-traveldocs.com
Author: E-TravelDocs
Description: Custom WordPress theme for E-TravelDocs - visa, hotel & flight booking services. Rebuilt from the original Horizons (React) site design.
Version: 1.0
Requires PHP: 7.4
Text Domain: etraveldocs
*/

:root {
  --primary: #b30000;
  --primary-dark: #8a0000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile nav toggle */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: block;
}

/* Simple fade-in animation replacement for framer/tailwind animate-in */
.fade-in-up {
  animation: fadeInUp 0.8s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Toast (replaces react toast) */
#etd-toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 360px;
}
.etd-toast-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.6rem;
  animation: fadeInUp 0.3s ease both;
}
.etd-toast-item strong { display:block; margin-bottom:2px; font-size:0.95rem; }
.etd-toast-item p { margin:0; font-size:0.85rem; color:#475569; }

/* Modal */
.etd-modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,0.6);
  display: none; align-items: center; justify-content: center; z-index: 9998; padding: 1rem;
}
.etd-modal-backdrop.open { display: flex; }
.etd-modal {
  background: #fff; border-radius: 0.75rem; max-width: 28rem; width: 100%;
  padding: 1.75rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
