/* ========================================
   CORE STYLES - Capital Tuckpointing
   Shared styles across all pages
   ======================================== */

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

body {
  font-family: 'Arimo', sans-serif;
  background-color: #f8f8f8;
  color: #2a3f50;
  line-height: 1.6;
  min-height: 100vh;
  min-width: 320px;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(42, 63, 80, 0.1);
  border-bottom: 1px solid #e0e0e0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
}

.nav-logo-text {
  color: #2a3f50;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 20px 18px;
  color: #2a3f50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
  color: #e6a832;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  border-top: 3px solid #e6a832;
  border: 1px solid #e0e0e0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-arrow {
  font-size: 0.8em;
  margin-left: 5px;
  transition: transform 0.3s ease;
  display: inline-block;
  color: #2a3f50;
  font-weight: bold;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-content .nav-link {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(42, 63, 80, 0.1);
  color: #2a3f50;
}

.dropdown-content .nav-link:last-child {
  border-bottom: none;
}

.dropdown-content .nav-link:hover {
  background-color: rgba(230, 168, 50, 0.1);
  color: #c6402d;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: #2a3f50;
  margin: 3px 0;
  transition: 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-desktop-1920.webp') center/cover;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-headline,
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ffffff;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.hero-buttons,
.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ========================================
   CTA BUTTONS
   ======================================== */

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #c6402d 0%, #e74c3c 100%);
  color: #f9f9f9;
  padding: 18px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid #c6402d;
  box-shadow: 0 4px 15px rgba(198, 64, 45, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #e74c3c 0%, #c6402d 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 64, 45, 0.4);
  border-color: #e6a832;
}

.cta-button-secondary {
  display: inline-block;
  background: transparent;
  color: #f9f9f9;
  padding: 18px 32px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 2px solid #f9f9f9;
}

.cta-button-secondary:hover {
  background: #2a3f50;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 63, 80, 0.3);
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main-content {
  padding: 60px 0;
  min-height: calc(100vh - 140px);
}

/* ========================================
   SECTION STYLES
   ======================================== */

section {
  margin-bottom: 60px;
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #c6402d;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  text-align: center;
}

.section-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2a3f50;
  margin-bottom: 25px;
}

.section-content p:last-child {
  margin-bottom: 0;
  text-align: center;
}

/* ========================================
   FORM STYLES
   ======================================== */

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2a3f50;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #edeff1;
  border-radius: 8px;
  font-family: 'Arimo', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #fff;
  color: #2a3f50;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #c6402d;
  box-shadow: 0 0 0 3px rgba(198, 64, 45, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, #c6402d 0%, #e74c3c 100%);
  color: #ffffff;
  padding: 18px 40px;
  border: none;
  border-radius: 8px;
  font-family: 'Arimo', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 20px;
  align-self: center;
  min-width: 250px;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #e74c3c 0%, #c6402d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(198, 64, 45, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: linear-gradient(135deg, #2a3f50 0%, #34495e 100%);
  padding: 60px 0 40px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c6402d 0%, #e6a832 50%, #c6402d 100%);
  z-index: 1;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
}

.footer-logo-text {
  color: #e6a832;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-section h3 {
  color: #e6a832;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #e6a832;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-contact-item i {
  color: #e6a832;
  font-size: 1.1rem;
  width: 20px;
}

.footer-services-list,
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-services-list li,
.footer-links-list li {
  margin-bottom: 8px;
}

.footer-services-list a,
.footer-links-list a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.footer-services-list a:hover,
.footer-links-list a:hover {
  color: #e6a832;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 30px 40px 0;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: #ffffff;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #e6a832;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  /* Navigation Mobile Styles */
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #ffffff;
    flex-direction: column;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-top: 1px solid #e0e0e0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    padding: 20px;
    border-bottom: 1px solid rgba(42, 63, 80, 0.1);
    color: #2a3f50;
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(42, 63, 80, 0.05);
    border-top: none;
    border-left: 3px solid #e6a832;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.active .dropdown-content {
    max-height: 300px;
  }

  .dropdown-content .nav-link {
    padding-left: 40px;
    font-size: 0.9rem;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
  }

  /* Hero Mobile */
  .hero {
    min-height: 70vh;
    padding: 60px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-mobile-800.webp') center/cover;
    background-attachment: scroll;
  }

  .hero-headline,
  .hero-title {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .hero-text {
    font-size: 1.1rem;
    margin-bottom: 35px;
  }

  .hero-buttons,
  .hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .cta-button,
  .cta-button-secondary {
    font-size: 1rem;
    padding: 16px 25px;
  }

  /* Main Content Mobile */
  .main-content {
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  .section-content {
    padding: 0 15px;
  }

  .section-content h2 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .section-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-contact-info {
    align-items: center;
  }

  .footer-contact-item {
    justify-content: center;
  }

  .footer-services-list {
    text-align: center;
  }

  .footer-bottom {
    padding: 20px 20px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .nav-logo-text {
    font-size: 0.9rem;
  }

  .hero-headline,
  .hero-title {
    font-size: 1.7rem;
    letter-spacing: 0.5px;
  }

  .hero-text {
    font-size: 1rem;
  }

  .cta-button,
  .cta-button-secondary {
    font-size: 0.9rem;
    padding: 14px 20px;
  }

  .section-content h2 {
    font-size: 1.7rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .footer-section h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 20px 15px 0;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    gap: 15px;
  }
}

/* Legal Pages Styles */
/* Remove hero content overlay from legal pages */
body.legal-page .hero-content::before {
  display: none;
}

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

.section-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-intro {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #2a3f50;
  margin-bottom: 40px;
  text-align: center;
}

.content-heading {
  color: #c6402d;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 30px 0 15px;
  line-height: 1.4;
}

.important-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.important-notice p {
  margin: 0;
  color: #856404;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.contact-icon {
  font-size: 2rem;
  margin-right: 20px;
  color: #c6402d;
}

.contact-details h4 {
  color: #2a3f50;
  font-size: 1.2rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.phone-link,
.email-link {
  color: #c6402d;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
  color: #a53326;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .content-section {
    padding: 40px 0;
  }

  .section-content {
    padding: 0 15px;
  }

  .section-intro {
    font-size: 1.1rem;
  }

  .content-heading {
    font-size: 1.3rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 20px;
  }

  .contact-icon {
    font-size: 1.8rem;
    margin-right: 15px;
  }
}
