/* Forest Gold Architecture Studio Theme - Complete CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C5530;
  --secondary-color: #D4AF37;
  --primary-dark: #1a3320;
  --primary-light: #3d7342;
  --secondary-dark: #b8952d;
  --secondary-light: #e6c96f;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ===== TYPOGRAPHY ===== */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

.lead, .fs-3, .fs-4, .fs-5 {
  color: var(--dark-text) !important;
}

h5.h5, h6.h6 {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f1a11 100%) !important;
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.8rem;
  letter-spacing: 1px;
  transition: var(--transition);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
  color: var(--secondary-light) !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  background-color: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.navbar-dark .navbar-nav .nav-link.active {
  font-weight: 600;
}

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.3) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: var(--primary-dark) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-outline-secondary {
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 85, 48, 0.2) !important;
}

.card.border-0 {
  border: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--dark-text) !important;
  line-height: 1.8;
}

.card.shadow-lg {
  box-shadow: 0 10px 40px rgba(44, 85, 48, 0.15) !important;
  border: 2px solid var(--secondary-color);
}

.card.shadow-sm {
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.1) !important;
}

.card.shadow {
  box-shadow: 0 8px 25px rgba(44, 85, 48, 0.12) !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

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

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid rgba(44, 85, 48, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  background-color: var(--white) !important;
  color: var(--dark-text) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.2) !important;
  background-color: var(--white) !important;
  color: var(--dark-text) !important;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.25rem;
  font-size: 1.1rem;
}

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

.form-check-input {
  border-color: var(--secondary-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.2) !important;
}

.form-check-label {
  color: var(--dark-text) !important;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.position-relative {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.95) 0%, rgba(26, 51, 32, 0.95) 100%),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232C5530" width="1200" height="600"/><path fill="%23D4AF37" opacity="0.1" d="M0 300L100 350L200 250L300 400L400 300L500 350L600 250L700 400L800 300L900 350L1000 250L1100 400L1200 300V600H0Z"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.text-white {
  color: var(--white) !important;
}

.text-white .display-2,
.text-white .display-3,
.text-white .display-4 {
  color: var(--secondary-color) !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.text-white .lead,
.text-white .fs-3 {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

/* ===== ICONS ===== */
.bi {
  transition: var(--transition);
}

.card:hover .bi {
  color: var(--secondary-color) !important;
  transform: scale(1.1);
}

.bi-chevron-down {
  color: var(--secondary-color) !important;
}

[class^="bi-"],
[class*=" bi-"] {
  color: var(--secondary-color) !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.card-body .bi {
  font-size: 3rem;
}

/* ===== IMAGES ===== */
.img-fluid {
  border-radius: 16px;
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
}

.rounded-circle {
  border: 4px solid var(--secondary-color);
  padding: 0.5rem;
  background: var(--white);
}

.object-fit-cover {
  object-fit: cover;
}

/* ===== SECTIONS ===== */
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.my-5 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.bg-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.bg-white {
  background-color: var(--white) !important;
}

/* ===== BADGES ===== */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.badge.rounded-pill {
  border-radius: 50px;
}

.badge.bg-primary {
  background-color: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
}

/* ===== CAROUSEL ===== */
.carousel-item {
  height: 500px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 2rem;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1.25rem;
  border-left: 4px solid var(--secondary-color);
}

.alert .bi-info-circle-fill {
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* ===== LISTS ===== */
.list-unstyled li {
  padding: 0.5rem 0;
  transition: var(--transition);
}

.list-unstyled li:hover {
  transform: translateX(5px);
  color: var(--secondary-color) !important;
}

/* ===== LINKS ===== */
a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-light) !important;
  text-decoration: none;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-none:hover {
  opacity: 0.8;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white) !important;
  padding: 3rem 0 1rem;
}

footer h5, footer h6 {
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
}

footer p, footer li, footer a {
  color: rgba(255, 255, 255, 0.85) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
}

footer .bi {
  font-size: 1.5rem;
  color: var(--secondary-color) !important;
}

footer .bi:hover {
  color: var(--secondary-light) !important;
  transform: scale(1.2);
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

.border-top {
  border-top: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* ===== UTILITY CLASSES ===== */
.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.fst-italic {
  font-style: italic;
}

.text-center {
  text-align: center !important;
}

.text-lg-end {
  text-align: left !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.shadow {
  box-shadow: 0 8px 25px rgba(44, 85, 48, 0.12) !important;
}

.shadow-sm {
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(44, 85, 48, 0.15) !important;
}

.rounded {
  border-radius: 16px !important;
}

.rounded-pill {
  border-radius: 50px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.overflow-hidden {
  overflow: hidden;
}

/* ===== STICKY ELEMENTS ===== */
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 100;
}

.fixed-top {
  z-index: 1030;
}

/* ===== RATIO ===== */
.ratio {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(44, 85, 48, 0.15);
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

/* ===== GRID GAP ===== */
.g-3 {
  gap: 1rem;
}

.g-4 {
  gap: 1.5rem;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, rgba(26, 51, 32, 0.98) 0%, rgba(15, 26, 17, 0.98) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-dark .navbar-nav .nav-link {
    margin: 0.3rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.2rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.8rem !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .ps-lg-5, .pe-lg-5 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .carousel-item {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.8rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .card-body [class^="bi-"],
  .card-body [class*=" bi-"] {
    font-size: 2.5rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* ===== HOVER EFFECTS ===== */
.card,
.btn,
.nav-link,
.img-fluid,
.form-control,
.form-select {
  will-change: transform;
}

/* ===== ACCESSIBILITY ===== */
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* ===== SELECTION ===== */
::selection {
  background-color: var(--secondary-color);
  color: var(--primary-dark);
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--primary-dark);
}

/* ===== D-GRID ===== */
.d-grid {
  display: grid !important;
}

/* ===== FLEX UTILITIES ===== */
.d-flex {
  display: flex !important;
}

.d-inline-flex {
  display: inline-flex !important;
}

.d-inline-block {
  display: inline-block !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-lg-row-reverse {
  flex-direction: row !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

@media (min-width: 992px) {
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
}

/* ===== ADDITIONAL ENHANCEMENTS ===== */
.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-3, .py-3 {
  padding-top: 1rem !important;
}

.pt-4, .py-4 {
  padding-top: 1.5rem !important;
}

.pt-5, .py-5 {
  padding-top: 3rem !important;
}

.pb-4, .py-4 {
  padding-bottom: 1.5rem !important;
}

.ps-4 {
  padding-left: 1.5rem !important;
}

.ps-lg-5 {
  padding-left: 3rem !important;
}

.pe-lg-5 {
  padding-right: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-lg-0 {
  margin-bottom: 0 !important;
}

.mb-md-0 {
  margin-bottom: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.me-1 {
  margin-left: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

/* ===== LOADING ANIMATION ===== */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(to right, #f0f0f0 4%, #e0e0e0 25%, #f0f0f0 36%);
  background-size: 1000px 100%;
}

/* ===== SMOOTH TRANSITIONS ===== */
.card, .btn, .nav-link, .form-control, .form-select, .img-fluid {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}