/* ============================================
   2ERR TRAVEL SERVICES - MERGED STYLESHEET
   Combines premium design with mobile responsiveness
   ============================================ */

/* ============================================
   ROOT VARIABLES & TYPOGRAPHY
   ============================================ */

:root {
  --primary-blue: #003D7A;
  --secondary-blue: #002B5B;
  --accent-gold: #D4AF37;
  --light-gold: #F3E5AB;
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --bg-light: #F9F9F9;
  --bg-white: #FFFFFF;
  --border-color: #E0E0E0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-blue);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-gold);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--text-light);
  box-shadow: var(--shadow);
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
  flex: 1;
  margin: 0 30px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a.active {
  color: var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 5px;
}

/* Dropdown Menu */
.nav-item {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: var(--primary-blue);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--text-light);
  min-width: 200px;
  border-radius: 5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  margin-top: 10px;
  border-top: 3px solid var(--accent-gold);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:first-child {
  border-radius: 5px 5px 0 0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
  border-radius: 0 0 5px 5px;
}

.dropdown-menu a:hover {
  background-color: var(--bg-light);
  color: var(--accent-gold);
  padding-left: 25px;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: var(--primary-blue);
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-gold);
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-gold);
}

.btn-secondary {
  background-color: #28a745;
  color: var(--text-light);
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid #28a745;
  cursor: pointer;
  /*display: inline-flex;*/
  display:inline-block;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: transparent;
  color: #28a745;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text-dark);
  padding: 10px;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--accent-gold);
}

.menu-toggle i {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  margin-top: 0;
  background: linear-gradient(rgba(0, 61, 122, 0.65), rgba(0, 61, 122, 0.65)), url('https://images.unsplash.com/photo-1518182170546-076616fd42bf?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 20px;
}

.hero-content {
  max-width: 800px;
  animation: fadeIn 0.8s ease-out;
}

.hero h1 {
  color: var(--text-light);
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--light-gold);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   TRUST SIGNALS SECTION
   ============================================ */

.trust-signals {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #004a9e 100%);
  padding: 40px 20px;
  color: var(--text-light);
}

.trust-signals-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.trust-item {
  animation: fadeIn 0.8s ease-out;
}

.trust-item .number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.trust-item p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
}

.section-subtitle {
  margin-bottom: 50px;
  color: #666;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ============================================
   CARDS & GRIDS
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--accent-gold);
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.card p {
  color: #666;
  margin-bottom: 15px;
}

.card a {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-blue);
  font-weight: 600;
  transition: color 0.3s ease;
}

.card a:hover {
  color: var(--accent-gold);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.transfer-card {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}
/* ============================================
   DARK SECTIONS (Blue Background)
   ============================================ */

.dark-section {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding: 80px 20px;
}

.dark-section .section-title {
  color: var(--text-light);
}

.dark-section .section-subtitle {
  color: var(--light-gold);
}

.dark-section .card {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--accent-gold);
}

.dark-section .card h3 {
  color: var(--accent-gold);
}

.dark-section .card p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   IMAGE CARDS
   ============================================ */

.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 43, 91, 0.9));
  padding: 20px;
  text-align: left;
  color: var(--text-light);
}

.image-overlay h3 {
  color: var(--accent-gold);
  margin-bottom: 5px;
}

.image-overlay p {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stars {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial p {
  font-style: italic;
  color: #666;
  margin-bottom: 15px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-blue);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-item {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  background-color: var(--bg-white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-blue);
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--accent-gold);
}

.faq-item.active .faq-toggle {
  transform: rotate(90deg);
}

.faq-answer {
  display: none;
  padding: 20px;
  background-color: var(--bg-light);
  border-top: 2px solid var(--border-color);
  color: #666;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact-item i {
  font-size: 2.5rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.contact-item h4 {
  color: var(--text-light);
  margin-bottom: 10px;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-item a {
  color: var(--light-gold);
}

.contact-item a:hover {
  color: var(--accent-gold);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--secondary-blue);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  border-top: 4px solid var(--accent-gold);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--accent-gold);
}

.footer-logo {
  height: 50px;
  margin-bottom: 15px;
}

.tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #28a745;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-btn:hover {
  background-color: #218838;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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);
  }
}

/* ============================================
   MOBILE RESPONSIVE DESIGN
   ============================================ */

/* Tablet and below (768px) */
@media (max-width: 768px) {
  header {
    position: sticky;
  }

  .nav-container {
    padding: 12px 15px;
    flex-wrap: wrap;
  }

  .logo-img {
    height: 50px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--text-light);
    flex-direction: column;
    gap: 0;
    margin: 0;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    margin: 0;
  }

  .nav-links a {
    display: block;
    padding: 12px 20px;
    border-bottom: none;
    border-left: 4px solid transparent;
    text-transform: uppercase;
    font-size: 0.85rem;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: var(--bg-light);
    border-left-color: var(--accent-gold);
    border-bottom: none;
    color: var(--accent-gold);
  }

  .dropdown-menu {
    position: static;
    display: none;
    box-shadow: none;
    background-color: #f5f5f5;
    margin-top: 0;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-top: none;
  }

  .nav-item.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding-left: 40px;
    font-size: 0.8rem;
    text-transform: capitalize;
  }

  .menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  .btn-primary {
    padding: 8px 20px;
    font-size: 0.8rem;
    margin-left: 10px;
    white-space: nowrap;
  }

  .hero {
    margin-top: 0;
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons a,
  .hero-buttons button {
    width: 100%;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .trust-signals-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .trust-item .number {
    font-size: 2rem;
  }

  .whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  section {
    padding: 40px 20px;
  }

  .image-card {
    height: 250px;
  }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
  .nav-container {
    padding: 10px 12px;
  }

  .logo-img {
    height: 45px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .nav-links {
    top: calc(100% + 5px);
  }

  .nav-links a {
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  .dropdown-menu a {
    padding-left: 35px;
    font-size: 0.75rem;
  }

  .btn-primary {
    padding: 8px 15px;
    font-size: 0.75rem;
    margin-left: 5px;
  }

  .menu-toggle {
    font-size: 1.3rem;
    padding: 8px;
  }

  .hero {
    min-height: 50vh;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 50px;
    height: 2px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card {
    padding: 15px;
  }

  .card h3 {
    font-size: 1.2rem;
  }

  .card-icon {
    font-size: 2rem;
  }

  .image-card {
    height: 200px;
  }

  .contact-info {
    gap: 15px;
  }

  .contact-item {
    padding: 15px;
  }

  .contact-item i {
    font-size: 2rem;
  }

  .trust-signals-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .trust-item .number {
    font-size: 1.8rem;
  }

  .trust-item p {
    font-size: 0.85rem;
  }

  section {
    padding: 30px 15px;
  }

  footer {
    padding: 30px 15px;
  }

  .footer-content {
    gap: 15px;
  }

  .footer-logo {
    height: 40px;
  }

  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.wrap {
  min-height: 100%;
  display: table;
  height: 100%;
}

.login-container {
  text-align: right;
  margin: 20px;
}

.top-bar {
  height: 20px;
  background: linear-gradient(to bottom, #71a100 0%, #6fa100 100%);
}

.welcome-container {
  width: 500px;
  margin: 0 auto;
  overflow: auto;
  padding-bottom: 60px;
}

.footer {
  position: relative;
  margin-top: -60px;
  height: 60px;
  clear: both;
  text-align: center;
  font-size: 14px;
}

.text-center {
  text-align: center;
}

/* ============================================
   ACCESSIBILITY & TRANSITIONS
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ============================================
   2ERR TRAVEL SERVICES - TABLE STYLES
   ============================================ */

/* Responsive wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Main table */
.travel-table {
    width: auto;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border: 1px solid #E2E6E9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    text-align: left;
}

/* Column widths
   Total table width = 160px + 140px + 130px = 430px
*/
.travel-table col:nth-child(1) {
    width: 140px;
}

.travel-table col:nth-child(2) {
    width: 170px;
}

.travel-table col:nth-child(3) {
    width: 130px;
}

/* Table header */
.travel-table thead {
    background: #003D7A;
    color: #FFFFFF;
}

.travel-table th {
    padding: 15px 18px;
    font-weight: 600;
    border-bottom: 3px solid #D4AF37;
}

/* Table body */
.travel-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #E8ECEE;
    color: #333333;
}

/* Alternating rows */
.travel-table tbody tr:nth-child(even) {
    background: #F7F9FA;
}

/* Hover effect */
.travel-table tbody tr:hover {
    background: #EEF5F7;
}

/* Remove border from final row */
.travel-table tbody tr:last-child td {
    border-bottom: none;
}

/* Price / amount */
.travel-table .price {
    font-weight: 700;
    color: #003D7A;
    white-space: nowrap;
}

/* Right-align monetary values */
.travel-table .amount {
    text-align: right;
}

/* ============================================
   2ERR TRAVEL SERVICES - YouTube
   ============================================ */
.youtube-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid var(--accent-gold );
    border-radius: 10px;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.youtube-btn i {
    font-size: 2.5rem;
    color: #ff0000;
    transition: color 0.3s ease;
}

.youtube-btn h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-blue);
}

.youtube-btn p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.youtube-btn:hover,
.youtube-btn:focus-visible {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    outline: none;
}

.youtube-btn:hover i,
.youtube-btn:focus-visible i {
    color: var(--primary-blue);
}

.youtube-btn:hover h4,
.youtube-btn:hover p,
.youtube-btn:focus-visible h4,
.youtube-btn:focus-visible p {
    color: var(--primary-blue);
}
