/*
 Theme Name:   Gate2Egypt Child
 Theme URI:    https://gate2egypt.com
 Description:  Child theme for Gate2Egypt
 Author:       Badr
 Template:     travel-booking-pro
 Version:      1.0.0
*/

/* ================================
   1. GLOBAL RESETS & UTILITIES
================================== */
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #f8f9fa;
  color: #222;
}
img { max-width: 100%; height: auto; }

/* ================================
   2. HEADER (Desktop + Mobile)
================================== */
header.site-header,
.main-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 4px 0;
  z-index: 999;
}
.site-branding img.custom-logo {
  max-height: 70px;
  height: auto;
  width: auto;
  display: block;
}
header .main-navigation { text-align: center; }

/* --- Top bar --- */
.top-bar, .header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: #c19a5b;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* --- Mobile header --- */
@media (max-width: 768px) {
  .site-content, .wrap, .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .site-branding, .site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
  }
  .site-branding img.custom-logo { max-height: 60px; }
  .menu-toggle, .navbar-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    padding: 6px 8px;
    border: 0;
    background: transparent;
    margin-left: auto;
  }
  header .main-navigation { width: 100%; }
  header .main-navigation ul { margin: 0; padding: 0; }
  header .main-navigation ul li {
    display: block;
    border-bottom: 1px solid #eee;
  }
  header .main-navigation ul li a {
    display: block;
    padding: 12px 15px;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
  }
  header .main-navigation ul ul { display: none; }
  header .main-navigation li.open > ul { display: block; }
  header .main-navigation li.menu-item-has-children > a { cursor: pointer; }
}

/* ================================
   3. TYPOGRAPHY
================================== */
h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 18px; }
.section-title {
  font-size: 22px;
  margin-bottom: 18px;
  font-weight: 600;
  color: #0a2540;
}
.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #c19a5b;
  margin-top: 6px;
}

/* ================================
   4. CARDS (Trips)
================================== */
.trip-card, .wpte-trip-card {
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  background: #fff;
}
.trip-card img, .wpte-trip-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.trip-card .trip-title, .wpte-trip-card .trip-title {
  font-size: 18px;
  text-align: center;
  margin: 12px 10px;
  color: #0a2540;
}

/* ================================
   5. FORMS & BUTTONS
================================== */
.btn, .wpte-trip-booking-btn, button, input[type=submit] {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border-radius: 6px;
  background: #c19a5b;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.btn:hover, .wpte-trip-booking-btn:hover, button:hover, input[type=submit]:hover {
  background: #a67c42;
}
input, select, textarea {
  width: 100%;
  font-size: 15px;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

/* --- Login button in menu --- */
.menu-item-login a {
  font-weight: 600;
  color: #c19a5b;
  border: 1px solid #c19a5b;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.menu-item-login a:hover {
  background: #c19a5b;
  color: #fff;
}

/* ================================
   6. SIDEBAR
================================== */
.trip-sidebar {
  background: transparent;
  margin-left: 30px;
}
.trip-sidebar .widget,
.trip-sidebar .block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 18px;
  margin-bottom: 18px;
}
@media (max-width: 992px) {
  .trip-sidebar {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
  }
}

/* ================================
   7. TRIPADVISOR BLOCK
================================== */
.tripadvisor-block {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}
.tripadvisor-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0a2540;
}
.tripadvisor-block iframe,
.tripadvisor-block img {
  max-width: 100%;
  height: auto;
}
.trip-sidebar .TA_selfserveprop,
.trip-sidebar .TA_selfserveprop ul,
.trip-sidebar .TA_selfserveprop li,
.trip-sidebar .TA_selfserveprop iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 0 auto;
}
/* ===== Custom Footer Styling ===== */
.site-footer {
  background: #0a2540;   /* الأزرق الغامق */
  padding: 30px 0 15px;
  font-size: 14px;
  color: #fff;
}

.footer-col-holder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 15px;
}

.footer-col-holder .column h2,
.footer-col-holder .column h3 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #fff;
}

.footer-col-holder .column p,
.footer-col-holder .column li,
.footer-col-holder .column a {
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 6px;
  text-decoration: none;
}

.footer-col-holder .column a:hover {
  color: #c19a5b; /* الذهبي عند الهوفر */
}

.footer-col-holder .column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col-holder .column img {
  height: 28px;
  margin: 5px 8px 0 0;
  vertical-align: middle;
}

.footer-b {
  border-top: 1px solid #1e3a5f;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}

/* Responsive */
@media(max-width: 992px) {
  .footer-col-holder {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}
@media(max-width: 576px) {
  .footer-col-holder {
    grid-template-columns: 1fr;
  }
}
body.page-template-contact #page,
body.page-template-contact #page .site-footer,
body.page-template-contact #page .wrap,
body.page-template-contact #page .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.contact-holder {
  width: 100%;
  background: transparent;
}

.contact-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  box-sizing: border-box;
}

.contact-inner .left,
.contact-inner .right {
  min-width: 280px;
}

.contact-inner .left {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
}

.contact-inner .right {
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
}

.contact-inner .contact-info {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-inner .contact-info h3 {
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #0a2540;
}

.contact-inner .contact-info a {
  color: #c19a5b;
  text-decoration: none;
}

.contact-inner .contact-info a:hover {
  text-decoration: underline;
}

@media (max-width: 992px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}