/* =========================
   Hero / Jumbotron
   ========================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/placeholder.jpg') center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.55); /* Dark overlay */
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile optimization */
@media (max-width: 767.98px) {
  .hero {
    min-height: 450px;
    padding: 2rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


/* =========================
   Gradient Callout Section
   ========================= */
.gradient-callout {
  background: linear-gradient(135deg, #dc3545 0%, #6c63ff 100%); /* red to purple gradient */
  position: relative;
  overflow: hidden;
}

.gradient-callout__headline {
  font-size: 2rem;
  font-weight: 700;
}

.cta-base__arrow-icon {
  flex-shrink: 0;
}

.btn-danger {
  background-color: #dc3545;
  border: none;
}

.btn-danger:hover {
  background-color: #bb2d3b;
}


/* =========================
   Footer
   ========================= */
.footer h5 {
  margin-bottom: 1rem;
}

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

.footer .bi {
  vertical-align: middle;
}


/* Newsletter Section */
.newsletter-section {
  background: #f9f9f9;
}

.newsletter-section h2 {
  font-weight: 700;
}

.newsletter-section img {
  max-height: 300px;
  object-fit: cover;
}


/* Video Hero Section */
.video-hero {
  min-height: 500px;
  background: #000;
  position: relative;
  overflow: hidden;
}

.video-hero .video-bg {
  background: url('../images/video-bg.jpg') center center / cover no-repeat;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

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

.video-hero .container {
  z-index: 3;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc3545;
  color: #fff;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-play-btn:hover {
  transform: scale(1.1);
  background: #bb2d3b;
}



/* =========================
   Page Template (About/Secondary Pages)
   ========================= */

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
              url('../images/main-page-header-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
}

/* Section Defaults */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .subtitle {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--dark-color);
  margin-bottom: 15px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  border-radius: 50%;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-item img {
  transition: all 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
  color: #fff;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-member {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.team-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 20px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

/* Testimonials */
.testimonial {
  text-align: center;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-role {
  color: var(--primary-color);
  font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-content,
  .services-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 36px;
  }
}
