/* ========================================
   TEMPLATE A - CORPORATE PARALLAX STYLES
   Professional corporate design with parallax scrolling effects
   Red + Amber Edition
   ======================================== */

/* ========== BASE & UTILITIES ========== */
:root {
  --primary-color: #b91c1c;
  --secondary-color: #991b1b;
  --accent-color: #f59e0b;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --text-color: #333333;
  --text-muted: #6c757d;
  --white: #ffffff;
  --transition-speed: 0.3s;
  --border-radius: 8px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 1.05rem;
}

.section-padding {
  padding: 80px 0;
}

/* ========== HEADER - TRANSPARENT OVERLAY ========== */
.header-transparent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(185, 28, 28, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
}

.header-transparent.scrolled {
  background: rgba(185, 28, 28, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

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

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.dropdown-menu {
  background: rgba(185, 28, 28, 0.98);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  margin-top: 0.5rem;
}

.dropdown-menu .dropdown-item {
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-speed) ease;
}

.dropdown-menu .dropdown-item:hover {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-color);
  padding-left: 2rem;
}

/* ========== HERO SECTION - STATIC ========== */
.hero-parallax {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.parallax-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(185, 28, 28, 0.85) 0%,
    rgba(153, 27, 27, 0.75) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
}

.hero-text-wrapper {
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  color: white;
  font-size: clamp(2.85rem, 5.8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-divider {
  width: 100px;
  height: 4px;
  background: var(--accent-color);
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.hero-subtitle {
  color: white;
  font-size: clamp(1.35rem, 2.8vw, 1.95rem);
  font-weight: 300;
  text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.35);
}

.btn-hero {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.85rem 2.4rem;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

.btn-hero:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid var(--white);
  border-radius: 25px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% {
    top: 10px;
    opacity: 1;
  }
  100% {
    top: 30px;
    opacity: 0;
  }
}

/* ========== SECTION COMMON STYLES ========== */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  color: var(--dark-color);
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.title-underline {
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  margin: 1rem 0;
  border-radius: 3px;
}

.section-subtitle {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.section-content p {
  font-size: 1.15rem;
  line-height: 1.85;
}

.section-content .lead {
  font-size: 1.35rem;
  color: var(--text-color);
  font-weight: 500;
}

.section-content .text-muted {
  color: var(--text-muted) !important;
}

/* ========== SECTION 1 - INTRODUCTION ========== */
.section-intro {
  background: var(--white);
  position: relative;
}

.section-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

/* ========== SECTION 2 - IMAGE SHOWCASE ========== */
.section-images-parallax {
  position: relative;
  overflow: hidden;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-speed) ease,
              box-shadow var(--transition-speed) ease,
              border-color var(--transition-speed) ease;
}

.image-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 16px 40px rgba(185, 28, 28, 0.25);
  border-color: var(--primary-color);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-wrapper img {
  transition: transform 0.5s ease;
}

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

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(185, 28, 28, 0.9);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.overlay-content i {
  font-size: 3rem;
  color: var(--white);
}

/* ========== CTA SECTION ========== */
.section-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.btn-cta {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 0.9rem 2.6rem;
  border-radius: 50px;
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--white);
  transition: all var(--transition-speed) ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

/* ========== SECTION 3 - DECORATED CONTENT ========== */
.content-card {
  background: var(--white);
  border-radius: 14px;
  position: relative;
  border-left: none;
  border-top: 4px solid var(--primary-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed) ease;
}

.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 44px rgba(185, 28, 28, 0.2) !important;
}

.card-decoration {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--accent-color), transparent);
  opacity: 0.15;
  border-radius: 50%;
}

/* ========== SECTION 4 - FINAL IMAGES ========== */
.section-images-final .image-card {
  transition: all var(--transition-speed) ease;
}

.section-images-final .image-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 36px rgba(185, 28, 28, 0.22);
  border-color: var(--primary-color);
}

/* ========== NAP & MAP SECTION ========== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  z-index: 0;
}

.nap-card {
  position: relative;
  z-index: 1;
  border-left: none;
  border-top: 4px solid var(--primary-color);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  padding: 2rem !important;
  transition: all var(--transition-speed) ease;
}

.nap-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(185, 28, 28, 0.2) !important;
}

.nap-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.nap-icon {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

.nap-icon i {
  font-size: 1.6rem;
  color: var(--white);
}

.nap-content h4 {
  color: var(--primary-color);
  font-size: 1.15rem;
}

.nap-content a {
  color: var(--text-color);
  transition: color var(--transition-speed) ease;
}

.nap-content a:hover {
  color: var(--accent-color);
}

.nap-divider {
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
}

.hours-text {
  white-space: pre-line;
  color: var(--text-muted);
}

.map-wrapper {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: all var(--transition-speed) ease;
}

.map-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 44px rgba(185, 28, 28, 0.22) !important;
}

/* ========== FOOTER ========== */
.footer-corporate {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.footer-link {
  color: var(--light-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  position: relative;
  padding-bottom: 2px;
}

.footer-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

.footer-link:hover {
  color: var(--accent-color);
}

.footer-link:hover::after {
  width: 100%;
}

.footer-separator {
  color: var(--text-muted);
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
  .hero-parallax {
    height: 80vh;
    min-height: 500px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .navbar-collapse {
    background: rgba(185, 28, 28, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
  }

  .dropdown-menu {
    background: rgba(153, 27, 27, 0.95);
    margin-left: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-parallax {
    height: 70vh;
    min-height: 450px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .nap-card {
    padding: 2rem !important;
  }

  .map-wrapper iframe {
    height: 350px !important;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}