/* ExpertDialog - Custom Styles */
:root {
  --bg-primary: #fffdf6;
  --accent-primary: #cc7824;
  --accent-secondary: #105440;
  --text-primary: #666565;
  --heading-primary: #111a24;
  --dark-bg: #111a24;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.12);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

body {
  font-family: 'Inconsolata', monospace;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--heading-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Layout */
.container-custom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--dark-bg);
  color: var(--white);
}

.section-alt h1, 
.section-alt h2, 
.section-alt h3, 
.section-alt h4 {
  color: var(--white);
}

/* Header - Clean Simple Version */
.header {
  background-color: var(--dark-bg);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
  box-shadow: var(--shadow-medium);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 15px;
  position: relative;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
  z-index: 2;
}

.main-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-menu .nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.main-menu .nav-link:hover {
  color: var(--accent-primary);
}

.main-menu .nav-link.active {
  color: var(--accent-primary);
  font-weight: 600;
}

.main-menu .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: 1px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
}

/* Mobile Styles */
@media (max-width: 991px) {
  .main-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 2rem 2rem;
    gap: 0;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-medium);
    transform: none;
  }
  
  .main-menu.mobile-open {
    left: 0;
  }
  
  .main-menu .nav-link {
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
  }
  
  .main-menu .nav-link:last-child {
    border-bottom: none;
  }
  
  .main-menu .nav-link.active::after {
    display: none;
  }
  
  .main-menu .nav-link.active {
    background-color: rgba(204, 120, 36, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(17, 26, 36, 0.8), rgba(17, 26, 36, 0.9)), url('./img/hero-bg.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  padding-top: 100px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 2rem;
}

.hero .lead {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-content {
  text-align: left;
  margin-top: 4rem;
}

/* Page Header */
.page-header {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 150px 0 100px 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header .lead {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Cards */
.card-custom {
  background: var(--white);
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  overflow: hidden;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-custom .card-body {
  padding: 2rem;
}

.card-custom .icon {
  display: inline-block;
  background-color: rgba(204, 120, 36, 0.1);
  padding: 20px 15px 10px;
  border-radius: 50%;
  /* font-size: 3rem; */
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.card-dark {
  background: var(--dark-bg);
  color: var(--white);
}

.card-dark h3, .card-dark h4 {
  color: var(--white);
}

/* Buttons */
.btn-primary-custom {
  background-color: var(--accent-primary);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background-color: #b8681f;
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary-custom {
  background-color: var(--accent-secondary);
  border: none;
  color: var(--white);
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background-color: #0d3f32;
  color: var(--white);
}

/* Forms */
.form-custom .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: var(--white);
}

.form-custom .form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 0.2rem rgba(204, 120, 36, 0.15);
}

.form-custom label {
  font-weight: 600;
  color: var(--heading-primary);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 60px 0 30px 0;
}

.footer h5 {
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer .footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 2rem;
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--white);
  border-radius: 15px;
  box-shadow: var(--shadow-medium);
  padding: 20px;
  z-index: 9999;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cookie-popup.hidden {
  display: none;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent-primary);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #b8681f;
  color: var(--white);
  transform: translateY(-3px);
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 600px;
  background-color: #e9ecef;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-style: italic;
}

/* Stats Section */
.stats {
  background-color: var(--accent-primary);
  color: var(--white);
  padding: 60px 0;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: static;
    transform: none;
    left: auto;
    width: 100%;
    top: 100%;
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  
  .navbar-nav .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }
  
  .navbar-nav .nav-link.active::after {
    display: none;
  }
  
  .navbar-nav .nav-link.active {
    background-color: rgba(204, 120, 36, 0.1);
    border-radius: 5px;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    background-attachment: scroll;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 576px) {
  .container-custom {
    padding: 0 10px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
  h1 {
    font-size: 1.8rem;
  }
}
