/* ============================================
   Cordova Courier Website - style.css
   Author: Vincent Cordova
   ============================================ */

/* ==========================
   1. RESET AND BASE STYLES
========================== */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ==========================
   2. HERO SECTION
========================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: black;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

/* Hero Content (Headline + Button) */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  z-index: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  transition: opacity 0.5s ease-in-out;
}

.hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #ff6600;
  color: white;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #e05500;
}

/* Scroll Down Arrow */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  animation: slow-bounce 3s infinite;
  text-decoration: none;
  z-index: 1;
}

@keyframes slow-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ==========================
   3. QUICK ACTIONS SECTION
========================== */
.quick-actions {
  background-color: #f7f7f7;
  padding: 40px 20px;
  text-align: center;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.quick-button {
  display: inline-block;
  padding: 15px 30px;
  background-color:  #156082; /* medium dark shade of cyan */
  color: white;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.quick-button:hover {
  background-color: #002244;
  transform: translateY(-4px);
}

/* ==========================
   4. CORE SERVICES SECTION
========================== */
.core-services {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.core-services h2 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 40px;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card {
  flex: 1 1 250px;
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.service-card h3 {
  font-size: 1.6rem;
  color: #ff6600;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #333333;
  line-height: 1.5;
}

/* ==========================
   5. ABOUT CORDOVA COURIER SECTION
========================== */
.about-courier {
  background-color: #f7f7f7;
  padding: 60px 20px;
  text-align: center;
}

.about-courier h2 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 30px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.7;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  justify-content: center;
}

.about-card {
  background-color:  #156082; /* medium dark shade of cyan */
  color: white;
  flex: 1 1 250px;
  max-width: 300px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.about-card p {
  font-size: 1rem;
  line-height: 1.5;
}

/* FEATURED IN SECTION */
.featured-in {
  background-color: #1f4f6e;
  padding: 56px 20px;
  color: #ffffff;
}

.featured-in-container {
  max-width: 1520px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.featured-in-copy {
  text-align: left;
}

.featured-in-copy h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 18px;
}

.featured-in-bullet {
  font-size: 1rem;
  font-weight: 700;
  margin: 10px 0;
  line-height: 1.35;
}

.featured-in-bullet a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 1.15rem;
  font-style: italic;
}

.featured-in-description {
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.55;
  font-style: italic;
}

.featured-card {
  color: #ffffff;
  text-align: center;
  max-width: 460px;
  margin: 0 auto;
}

.featured-card-image {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.featured-card h3 {
  margin: 14px 0 10px 0;
  font-size: 1rem;
  line-height: 1.35;
  font-style: italic;
}

.featured-card p {
  margin: 9px 0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.featured-card a {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 1200px) {
  .featured-in-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-in-copy,
  .featured-card {
    max-width: 860px;
    margin: 0 auto;
  }

  .featured-in-copy {
    text-align: center;
  }

  .featured-in-bullet a {
    font-size: 1.05rem;
  }

  .featured-in-description {
    font-size: 1rem;
  }
}

/* CONTACT CORDOVA COURIER SECTION */
.contact-courier {
  background-color: #f7f7f7; /* Light Gray */
  padding: 60px 20px;
  text-align: center;
}

.contact-courier h2 {
  font-size: 2.8rem;
  color: #003366;
  margin-bottom: 20px;
}

/* Logo Centered Above Card */
.contact-logo {
  margin-bottom: 30px;
}

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

.contact-card {
  background-color:  #156082; /* medium dark shade of cyan */
  color: white;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.contact-details {
  font-size: 1.2rem;
  line-height: 1.8;
}

.contact-details a {
  color: #ff6600; /* Bright Cordova Orange */
  text-decoration: none;
  font-weight: bold;
}

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

/* FIX: Force white text inside button */
.contact-button {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 30px;
  background-color: #ff6600;
  color: white !important; /* Force white text */
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
  background-color: #e05500;
  transform: translateY(-4px);
}

/* FOOTER SECTION */
.site-footer {
  background-color: #f7f7f7; /* Light Gray Background */
  color: #003366; /* Deep Blue Text */
  padding: 30px 20px;
  text-align: center;
  font-size: 0.95rem;
}

.footer-content p {
  margin: 8px 0;
}

.footer-content a {
  color: #ff6600; /* Bright Orange Link */
  text-decoration: none;
  font-weight: bold;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* === Cordova AI Search Field Styles === */
.ai-search-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    animation: fadeInSearch 1.5s ease-in-out;
  }

  .ai-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    width: 90%;
    max-width: 600px;
  }

  #aiSearchInput {
    flex: 1;
    padding: 15px 20px;
    font-size: 18px;
    border: none;
    background: transparent;
    color: white;
    outline: none;
    text-align: center;
  }

  #aiSearchInput::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }

  .voice-button {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    margin-left: 10px;
  }

  #searchResults {
    text-align: center;
    margin-top: 10px;
    color: white;
    font-size: 16px;
  }

  #searchResults div a {
    display: inline-block;
    margin: 5px 0;
    color: #ffffff;
    text-decoration: underline;
  }

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