/* Forest Gold Architecture Studio - Custom Styles */

/* ===========================
   ROOT VARIABLES & RESETS
   =========================== */
:root {
  --primary-color: #2C5530;
  --secondary-color: #D4AF37;
  --primary-dark: #1a3320;
  --primary-light: #3d7043;
  --secondary-dark: #b8982d;
  --secondary-light: #e8c964;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  --overlay-dark: rgba(44, 85, 48, 0.85);
  --overlay-light: rgba(212, 175, 55, 0.1);
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
}

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

html {
  scroll-behavior: smooth;
}

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

/* ===========================
   TYPOGRAPHY
   =========================== */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--primary-color) !important;
  line-height: 1.2 !important;
}

.text-white .display-2,
.text-white .display-3,
.text-white .display-4,
.text-white .display-5,
.text-white .display-6 {
  color: var(--text-light) !important;
}

.lead {
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: inherit;
}

.fw-bold {
  font-weight: 700 !important;
}

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

.fs-1 { font-size: 2.5rem !important; }
.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }

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

/* ===========================
   NAVBAR STYLES
   =========================== */
.navbar {
  padding: 1rem 0 !important;
  transition: var(--transition);
  z-index: 1030 !important;
  background: linear-gradient(180deg, rgba(44, 85, 48, 0.95) 0%, rgba(44, 85, 48, 0.85) 100%) !important;
}

.navbar.sticky-top {
  box-shadow: var(--shadow-md);
  background: var(--primary-color) !important;
}

.navbar-dark .navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-transform: uppercase;
}

.navbar-dark .navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !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 {
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--secondary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
}

.btn-secondary:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
}

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

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

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

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
}

/* ===========================
   CARDS
   =========================== */
.card {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
  transition: var(--transition) !important;
  background: #ffffff !important;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
}

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

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

.card-body {
  padding: 1.5rem !important;
}

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

.card-text {
  color: #666 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

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

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 0l30 30-30 30L0 30z" fill="%23D4AF37" fill-opacity="0.05"/%3E%3C/svg%3E');
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.position-relative.vh-100 .text-white {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

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

.bi-chevron-down {
  font-size: 2rem !important;
  animation: bounce 2s infinite;
  color: var(--secondary-color) !important;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===========================
   FORMS
   =========================== */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  font-size: 1rem !important;
  background: #ffffff !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.15) !important;
  outline: none !important;
}

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

.form-label .small {
  color: #666 !important;
  font-weight: 400 !important;
}

/* ===========================
   BOOTSTRAP ICONS
   =========================== */
.bi {
  vertical-align: middle;
  transition: var(--transition);
}

.bi-building,
.bi-stars,
.bi-heart-pulse,
.bi-calendar-event,
.bi-bell,
.bi-car-front,
.bi-star-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-check-circle-fill,
.bi-check2,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-airplane-fill,
.bi-door-open-fill,
.bi-calendar-event-fill,
.bi-suit-heart-fill,
.bi-chat-left-quote-fill,
.bi-info-circle-fill,
.bi-person-check,
.bi-shield-check,
.bi-clipboard-data,
.bi-lock-fill,
.bi-share-fill,
.bi-cookie,
.bi-hand-thumbs-up,
.bi-clock-history,
.bi-people-fill,
.bi-globe,
.bi-link-45deg,
.bi-arrow-repeat,
.bi-clock-fill,
.bi-heart-fill,
.bi-wifi,
.bi-tv,
.bi-cup-hot,
.bi-droplet,
.bi-house-door,
.bi-buildings,
.bi-egg-fried,
.bi-person-workspace,
.bi-cup-straw,
.bi-moisture,
.bi-snow2,
.bi-phone,
.bi-newspaper,
.bi-truck,
.bi-check-lg,
.bi-clock,
.bi-cup-hot-fill,
.bi-wine,
.bi-sunset,
.bi-diagram-3,
.bi-easel,
.bi-flower1,
.bi-router,
.bi-arrow-right-circle-fill,
.bi-droplet-half,
.bi-laptop {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
}

.bi-arrow-right {
  transition: transform 0.3s ease;
  color: var(--secondary-color) !important;
}

.card:hover .bi-arrow-right,
a:hover .bi-arrow-right {
  transform: translateX(5px);
}

/* ===========================
   IMAGES
   =========================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition);
}

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

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

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

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

.py-4 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

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

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

.container {
  padding-left: 1rem;
  padding-right: 1rem;
}

.bg-white {
  background-color: #ffffff !important;
}

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

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

.text-muted {
  color: #6c757d !important;
}

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

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

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

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

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

/* ===========================
   BADGES & ALERTS
   =========================== */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  background: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
}

.alert {
  border-radius: 10px !important;
  padding: 1.25rem !important;
  border: none !important;
}

.alert-light {
  background: var(--overlay-light) !important;
  color: var(--primary-color) !important;
}

/* ===========================
   BORDERS & DIVIDERS
   =========================== */
.border {
  border: 1px solid #e0e0e0 !important;
}

.border-0 {
  border: none !important;
}

.border-bottom {
  border-bottom: 1px solid #e0e0e0 !important;
}

.border-top {
  border-top: 1px solid #e0e0e0 !important;
}

/* ===========================
   LISTS
   =========================== */
.list-unstyled {
  padding-left: 0 !important;
  list-style: none !important;
}

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

.list-unstyled li:hover {
  padding-left: 5px;
}

/* ===========================
   OPACITY UTILITIES
   =========================== */
.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

/* ===========================
   POSITION UTILITIES
   =========================== */
.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.position-fixed {
  position: fixed !important;
  z-index: 1040;
}

.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1020 !important;
}

.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.start-50 { left: 50% !important; }
.top-50 { top: 50% !important; }

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

/* ===========================
   OVERFLOW
   =========================== */
.overflow-hidden {
  overflow: hidden !important;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1rem;
}

footer h6,
footer .h6 {
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

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

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .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.75rem !important; }
  .display-6 { font-size: 1.5rem !important; }
  
  .btn {
    padding: 0.65rem 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .display-2 { font-size: 2rem !important; }
  .display-3 { font-size: 1.75rem !important; }
  .display-4 { font-size: 1.5rem !important; }
  .display-5 { font-size: 1.35rem !important; }
  .display-6 { font-size: 1.2rem !important; }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .vh-100 {
    min-height: 100vh;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

/* ===========================
   ANIMATIONS
   =========================== */
.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.scale-in {
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

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

/* ===========================
   PRINT STYLES
   =========================== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}