/**
 * Pioneer Airlines – Marketing site
 * Font: Sansation (Google Fonts)
 * Brand: #19275E (primary), #731A1E (secondary)
 */
@import url('https://fonts.googleapis.com/css2?family=Sansation:wght@400;700&display=swap');

:root {
  --primary: #19275E;
  --primary-light: #2a3a7a;
  --primary-dark: #121b42;
  --secondary: #731A1E;
  --secondary-light: #8f2429;
  --secondary-dark: #5a1418;
  --font: 'Sansation', sans-serif;
  --white: #ffffff;
  --text: #333;
  --text-muted: #6c757d;
  --bg-light: #f6f7fb;
  --cream: #faf9f7;
  --dark: #0d1230;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary);
}

/* ========== Header & Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(25, 39, 94, 0.08);
  color: var(--primary-dark);
}

.site-nav .btn-nav {
  background: var(--secondary);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
}

.site-nav .btn-nav:hover {
  background: var(--secondary-dark);
  color: var(--white) !important;
}

/* ========== Carousel / Hero Banner (UPSPA-style overlay) ========== */
.site-hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  color: var(--white);
  min-height: 420px;
  overflow: hidden;
}

/* Photo slide: no extra hero chrome — only the uploaded image (text overlays if present) */
.site-hero:has(> .hero-carousel .hero-slide.active.hero-slide--photo) {
  background: transparent;
}

.site-hero:has(> .hero-carousel .hero-slide.active.hero-slide--photo)::before {
  opacity: 0;
  visibility: hidden;
}

.site-hero:has(> .hero-carousel .hero-slide.active.hero-slide--photo) .hero-overlay {
  opacity: 0;
  visibility: hidden;
}
/* Diagonal lines + gradient orbs overlay (from UPSPA) */
.site-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(105deg, transparent 48%, rgba(255,255,255,0.04) 49%, rgba(255,255,255,0.04) 51%, transparent 52%),
    linear-gradient(95deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%);
  background-size: 120px 120px, 80px 80px;
  background-position: 0 0, 40px 40px;
  pointer-events: none;
}
.site-hero .hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-carousel {
  position: relative;
  z-index: 2;
  min-height: 420px;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}

/* Inactive slides must not paint a banner (prevents old/new images stacking during fade) */
.hero-slide:not(.active) {
  z-index: 0;
  background-image: none !important;
  --slide-photo: none !important;
}

.hero-slide.active {
  position: relative;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

/* Photo banner: image only (full bleed); optional text with shadow — no overlay tint or inner box */
.hero-slide.active.hero-slide--photo {
  min-height: 420px;
  width: 100%;
  box-sizing: border-box;
  background-color: transparent;
  background-image: var(--slide-photo, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active.hero-slide--photo .hero-inner {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1.5rem;
}

.hero-slide.active.hero-slide--photo .hero-title,
.hero-slide.active.hero-slide--photo .hero-subtitle {
  text-shadow:
    0 0 24px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.85),
    0 1px 3px rgba(0, 0, 0, 0.95);
}

.hero-slide.active.hero-slide--photo .hero-cta {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.site-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.15rem;
  opacity: 0.95;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
}

.hero-cta:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Carousel dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dots span.active {
  background: var(--white);
  transform: scale(1.2);
}

/* ========== Sections common ========== */
.site-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

/* Section label (UPSPA-style: small uppercase accent above title) */
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.section-subtitle {
  margin: 0 0 2rem;
  font-size: 1rem;
  color: var(--text-muted);
}

/* ========== About Us ========== */
.about-section {
  background: var(--bg-light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }
}

.about-text p {
  margin: 0 0 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 4rem;
  opacity: 0.9;
  overflow: hidden;
}

.about-visual--photo {
  padding: 0;
  font-size: inherit;
  opacity: 1;
}

.about-visual--photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* ========== Destinations ========== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* Destination cards – UPSPA value-card style (top bar on hover, lift) */
.dest-card {
  background: var(--bg-light);
  border: 1px solid rgba(25, 39, 94, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.dest-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 1;
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(25, 39, 94, 0.1);
}

.dest-card:hover::before {
  opacity: 1;
}

.dest-card-image {
  height: 160px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
  background-size: cover;
  background-position: center;
}

.dest-card-image--photo {
  font-size: 0;
  color: transparent;
}

.dest-card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.dest-card-title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.dest-card-desc {
  margin: 0;
  font-size: 0.95rem;
  color: #5b6170;
  line-height: 1.5;
}

/* ========== Contact Us ========== */
.contact-section {
  background: var(--bg-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-layout .contact-map-wrap {
    order: 2;
  }
  .contact-layout .contact-details {
    order: 1;
  }
}

/* Map block */
.contact-map-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(25, 39, 94, 0.06);
  background: var(--white);
}

.contact-map-inner {
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.contact-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 769px) {
  .contact-map-inner {
    padding-bottom: 0;
    height: 320px;
  }
}

/* Contact details column */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-address-block {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(25, 39, 94, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-detail-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.contact-detail-icon svg {
  display: block;
}

.contact-detail-title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

.contact-address-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.contact-address-text a {
  color: var(--primary);
}

.contact-phone {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
}

.contact-phone a {
  font-weight: 700;
  color: var(--secondary);
}

.contact-phone a:hover {
  color: var(--secondary-dark);
  text-decoration: underline;
}

/* Action cards (enquiry + email) */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(25, 39, 94, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-action-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(25, 39, 94, 0.1);
  border-color: rgba(25, 39, 94, 0.15);
}

.contact-action-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--white);
}

.contact-action-icon-form {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.contact-action-icon-email {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.contact-action-icon svg {
  display: block;
}

.contact-action-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-action-text strong {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--primary);
}

.contact-action-card:hover .contact-action-text strong {
  color: var(--primary-dark);
}

.contact-action-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-action-arrow {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary);
  transition: transform 0.2s ease;
}

.contact-action-card:hover .contact-action-arrow {
  transform: translateX(4px);
  color: var(--secondary-dark);
}

/* ========== Footer (UPSPA-style: dark bg, logo box, links) ========== */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  padding: 2.5rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.site-footer .footer-logo-box {
  display: inline-block;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}

.site-footer .footer-logo-box img {
  max-width: 120px;
  display: block;
}

.site-footer a {
  color: rgba(255,255,255,0.95);
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
  margin: 0.5rem 0;
}

.site-footer .footer-links a {
  padding: 0.25rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
