/* Forest Amber Architecture Studio - Custom Styles */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2E7D32;
  --primary-dark: #1B5E20;
  --primary-light: #4CAF50;
  --secondary-color: #FFC107;
  --secondary-dark: #FFA000;
  --secondary-light: #FFD54F;
  --forest-dark: #1a3a1c;
  --forest-medium: #2d5a2f;
  --amber-dark: #f57c00;
  --text-dark: #212529;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
}

/* ===== GLOBAL STYLES ===== */
* {
  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);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAVIGATION ===== */
.navbar {
  transition: all var(--transition-speed) ease;
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
}

.navbar.sticky-top {
  background: rgba(46, 125, 50, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar.navbar-light {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.75rem !important;
  color: var(--text-light) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

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

.navbar-light .navbar-brand {
  color: var(--primary-color) !important;
  text-shadow: none;
}

.navbar-light .navbar-brand:hover {
  color: var(--primary-dark) !important;
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.5) !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='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-light .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='rgba(46, 125, 50, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.25rem !important;
  margin: 0 0.25rem;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

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

.navbar-light .nav-link {
  color: var(--primary-color) !important;
  text-shadow: none;
}

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

/* ===== HERO SECTION ===== */
.vh-100 {
  min-height: 100vh;
}

.position-relative {
  position: relative;
  z-index: 1;
}

.position-relative::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.85) 0%, rgba(27, 94, 32, 0.75) 50%, rgba(255, 193, 7, 0.3) 100%);
  z-index: 1;
}

.object-fit-cover {
  object-fit: cover;
  filter: brightness(0.9);
}

.position-relative .container {
  position: relative;
  z-index: 2;
}

.display-1 {
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease;
  color: var(--text-light) !important;
}

.display-3,
.display-4,
.display-5 {
  font-weight: 700 !important;
  color: var(--primary-color) !important;
}

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

.fs-3,
.fs-4,
.fs-5 {
  animation: fadeInUp 1.2s ease;
}

.lead {
  font-size: 1.15rem !important;
  font-weight: 400;
  color: inherit;
}

/* ===== BUTTONS ===== */
.btn {
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: all var(--transition-speed) ease !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  border-width: 2px !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.4) !important;
  color: var(--text-light) !important;
}

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

.btn-secondary:hover {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.4) !important;
  color: var(--text-dark) !important;
}

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

.btn-outline-light:hover {
  background-color: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3) !important;
}

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

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

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

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px);
}

.btn-dark {
  background-color: var(--forest-dark) !important;
  border-color: var(--forest-dark) !important;
  color: var(--text-light) !important;
}

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

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

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1rem !important;
}

.filter-btn {
  margin: 0.5rem;
  padding: 0.5rem 1.5rem !important;
}

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

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background: var(--text-light);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

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

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 300px;
}

.portfolio-card img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.95) 0%, rgba(255, 193, 7, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  padding: 2rem;
  color: var(--text-light) !important;
}

.portfolio-card:hover img {
  transform: scale(1.15);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item {
  margin-bottom: 2rem;
}

/* ===== IMAGES ===== */
.img-fluid {
  border-radius: 15px;
  transition: transform var(--transition-speed) ease;
}

.img-fluid:hover {
  transform: scale(1.03);
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

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

/* ===== SECTIONS ===== */
section {
  padding: 5rem 0;
}

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

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

.bg-dark {
  background-color: var(--forest-dark) !important;
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--primary-dark) 100%) !important;
}

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

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

/* ===== TEXT UTILITIES ===== */
.text-muted {
  color: #6c757d !important;
}

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

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

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

.text-danger {
  color: #dc3545 !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-90 {
  opacity: 0.9 !important;
}

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

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

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

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

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  background-color: var(--secondary-color) !important;
  color: var(--text-dark) !important;
}

/* ===== ICONS ===== */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-geo-alt-fill,
.bi-clock-fill,
.bi-telephone-fill,
.bi-envelope,
.bi-chat-dots-fill,
.bi-briefcase-fill,
.bi-people-fill,
.bi-newspaper,
.bi-calendar-check,
.bi-geo-alt,
.bi-telephone,
.bi-envelope-fill,
.bi-arrow-right,
.bi-arrow-right-circle-fill,
.bi-check-circle-fill,
.bi-award-fill,
.bi-house-heart-fill,
.bi-globe-americas,
.bi-recycle,
.bi-lightning-charge-fill,
.bi-lightbulb-fill,
.bi-phone {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

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

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

.me-4 {
  margin-right: 1.5rem !important;
}

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

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border: 2px solid #dee2e6 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
  background-color: var(--text-light) !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25) !important;
  background-color: var(--text-light) !important;
}

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

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  cursor: pointer;
}

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

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

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--primary-dark) 100%);
  color: var(--text-light) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease;
}

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

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  margin-bottom: 0.75rem;
}

.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-twitter {
  font-size: 1.75rem !important;
  color: var(--text-light) !important;
  transition: all var(--transition-speed) ease;
}

.bi-linkedin:hover {
  color: #0077b5 !important;
  transform: scale(1.2);
}

.bi-instagram:hover {
  color: #E4405F !important;
  transform: scale(1.2);
}

.bi-facebook:hover {
  color: #1877f2 !important;
  transform: scale(1.2);
}

.bi-twitter:hover {
  color: #1DA1F2 !important;
  transform: scale(1.2);
}

/* ===== BORDER UTILITIES ===== */
.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}

.border-3 {
  border-width: 3px !important;
  border-color: var(--secondary-color) !important;
}

/* ===== RATIO (VIDEO EMBEDS) ===== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

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

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h2,
.privacy-content h3 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  color: var(--text-dark);
  line-height: 1.8;
}

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

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

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

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: transform var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ===== SPACING UTILITIES ===== */
.gap-3 {
  gap: 1rem !important;
}

.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(46, 125, 50, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-light .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 5px;
  }
  
  .nav-link:hover {
    background: rgba(255, 193, 7, 0.1);
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .fs-4 {
    font-size: 1.25rem !important;
  }
  
  .fs-5 {
    font-size: 1.1rem !important;
  }
  
  .portfolio-card {
    height: 250px;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .btn {
    font-size: 0.875rem !important;
    padding: 0.5rem 1rem !important;
  }
  
  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.875rem !important;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== 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(--primary-dark);
}

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

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

/* ===== LOADING STATE ===== */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* ===== UTILITY CLASSES ===== */
.text-decoration-none {
  text-decoration: none !important;
}

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

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

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

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

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

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

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

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

.justify-content-end {
  justify-content: flex-end !important;
}

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

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

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

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

.text-md-start {
  text-align: left !important;
}

.text-md-end {
  text-align: right !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

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

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

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

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

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.top-0 {
  top: 0 !important;
}

.start-0 {
  left: 0 !important;
}

.start-50 {
  left: 50% !important;
}

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

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  body {
    color: #000;
  }
  
  a {
    text-decoration: underline;
  }
}