/* Peattie Capital - New Design 2026 */
/* All paths relative for portability */

:root {
  --purple-dark: #240759;
  --purple-mid: #3a1a7e;
  --purple-light: #5c3d99;
  --green-primary: #339933;
  --green-dark: #006600;
  --green-light: #4db84d;
  --white: #ffffff;
  --gray-light: #f5f5f7;
  --gray-mid: #e0e0e0;
  --gray-dark: #666666;
  --text-dark: #333333;
  --shadow: rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
}

a {
  color: var(--green-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--green-primary);
}

/* ============================================
   HEADER / HERO SECTION WITH MOUNTAIN BACKDROP
   ============================================ */

.hero-header {
  position: relative;
  min-height: 400px;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 50%, var(--purple-light) 100%);
  overflow: visible;
}

.hero-header.hero-compact {
  min-height: 200px;
  padding-bottom: 20px;
}

.hero-mountain-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/mountain-hero.jpg');
  background-size: cover;
  background-position: center center;
  z-index: 1;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 7, 89, 0.85) 0%,
    rgba(36, 7, 89, 0.5) 50%,
    rgba(36, 7, 89, 0.3) 100%
  );
  z-index: 2;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TOP NAVIGATION BAR
   ============================================ */

.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  margin-left: 20px;
  transition: color 0.3s ease;
}

.top-bar a:hover {
  color: var(--white);
}

.top-bar .phone {
  color: var(--white);
  font-weight: 600;
}

/* ============================================
   LOGO AREA
   ============================================ */

.logo-area {
  text-align: center;
  padding: 30px 0 20px;
}

.logo-area img {
  max-width: 100%;
  height: auto;
  max-height: 120px;
}

.logo-text {
  color: var(--white);
}

.logo-text h1 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-text .tagline {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 22px;
  font-style: italic;
  opacity: 0.95;
  letter-spacing: 0.5px;
}

.logo-text .tagline .reg {
  font-size: 12px;
  vertical-align: super;
  opacity: 0.8;
}

/* ============================================
   MAIN NAVIGATION
   ============================================ */

.main-nav {
  padding: 20px 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 5px;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 12px 24px;
  color: var(--white);
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

/* Dropdown styles */
.nav-list li .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 40px var(--shadow);
  opacity: 0;
  visibility: hidden;
  list-style: none;
  transition: all 0.3s ease;
  z-index: 100;
  padding: 10px 0;
}

.nav-list li:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
  transition: all 0.2s ease;
}

.dropdown a:hover {
  background: var(--gray-light);
  color: var(--green-primary);
  padding-left: 25px;
}

/* ============================================
   HERO STATEMENT
   ============================================ */

.hero-statement {
  text-align: center;
  padding: 30px 0 50px;
  color: var(--white);
}

.hero-statement h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-statement p {
  font-size: 18px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */

.main-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.content-section {
  margin-bottom: 60px;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-dark);
}

.content-block {
  margin-bottom: 40px;
}

.content-block h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 24px;
  color: var(--purple-dark);
  margin-bottom: 15px;
}

.content-block h4 {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-dark);
  margin: 25px 0 10px;
}

.content-block p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.content-list {
  margin: 15px 0 20px 25px;
  padding: 0;
}

.content-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 32px;
  color: var(--purple-dark);
  margin-bottom: 10px;
}

.section-header .underline {
  width: 60px;
  height: 3px;
  background: var(--green-primary);
  margin: 0 auto;
}

/* ============================================
   FEATURE CARDS / GRID
   ============================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 30px;
  box-shadow: 0 5px 30px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-mid);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
  font-size: 20px;
  color: var(--purple-dark);
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--gray-dark);
  line-height: 1.7;
}

.feature-card .learn-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--green-primary);
  font-weight: 600;
  transition: all 0.3s ease;
}

.feature-card .learn-more:hover {
  color: var(--green-dark);
}

.feature-card .learn-more::after {
  content: ' →';
  transition: margin-left 0.3s ease;
}

.feature-card .learn-more:hover::after {
  margin-left: 5px;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.column-text h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 28px;
  color: var(--purple-dark);
  margin-bottom: 20px;
}

.column-text p {
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.column-image {
  position: relative;
}

.column-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 40px var(--shadow);
}

.column-image.watermark::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 55px;
  height: 55px;
  background-color: #0a3053;
  background-image: url('../images/pcm_trim.png');
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  opacity: 1;
  pointer-events: none;
}

/* ============================================
   CALL TO ACTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-mid) 100%);
  padding: 60px 40px;
  border-radius: 16px;
  text-align: center;
  color: var(--white);
  margin: 60px 0;
}

.cta-section h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(51, 153, 51, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--purple-dark);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--purple-dark);
  color: var(--white);
  padding: 50px 20px 30px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.social-links a {
  display: inline-block;
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .two-column.reverse {
    direction: ltr;
  }

  .column-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-header {
    min-height: 350px;
  }

  .logo-text h1 {
    font-size: 36px;
  }

  .logo-text .tagline {
    font-size: 16px;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 10px 20px;
  }

  .nav-list li .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .nav-list li:hover .dropdown {
    max-height: 300px;
    padding: 10px 0;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 30px;
  }

  .dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
  }

  .hero-statement h2 {
    font-size: 22px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 25px;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .social-links a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 40px 15px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}
