/* Forest Amber Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C5F50;
  --secondary-color: #F4A261;
  --dark-primary: #1a3a2e;
  --light-primary: #3d7a63;
  --dark-secondary: #e38944;
  --light-secondary: #f7b883;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --text-dark: #2a2a2a;
  --text-light: #6c757d;
  --transition: all 0.3s ease;
}

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

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

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--primary-color) !important;
}

.text-white, .text-white * {
  color: #ffffff !important;
}

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(44, 95, 80, 0.1);
  transition: var(--transition);
}

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

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

.navbar-brand {
  font-size: 1.5rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 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='rgba%28255, 255, 255, 1%29' 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.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 5px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(244, 162, 97, 0.2) !important;
  transform: translateY(-2px);
}

.nav-link.active {
  color: #ffffff !important;
  background-color: var(--secondary-color) !important;
  font-weight: 600 !important;
}

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

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

/* Buttons */
.btn {
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  border: 2px solid transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
}

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

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--dark-secondary) !important;
  border-color: var(--dark-secondary) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(244, 162, 97, 0.4) !important;
}

.btn-outline-light {
  border-color: #ffffff !important;
  color: #ffffff !important;
  background-color: transparent !important;
}

.btn-outline-light:hover, .btn-outline-light:focus {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3) !important;
}

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

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(244, 162, 97, 0.4) !important;
}

/* Hero Section */
.position-relative.overflow-hidden {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 50%, var(--primary-color) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.geometric-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(30deg, rgba(244, 162, 97, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(244, 162, 97, 0.1) 87.5%, rgba(244, 162, 97, 0.1)),
    linear-gradient(150deg, rgba(244, 162, 97, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(244, 162, 97, 0.1) 87.5%, rgba(244, 162, 97, 0.1)),
    linear-gradient(30deg, rgba(244, 162, 97, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(244, 162, 97, 0.1) 87.5%, rgba(244, 162, 97, 0.1)),
    linear-gradient(150deg, rgba(244, 162, 97, 0.1) 12%, transparent 12.5%, transparent 87%, rgba(244, 162, 97, 0.1) 87.5%, rgba(244, 162, 97, 0.1));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  opacity: 0.3;
  animation: geometricMove 20s linear infinite;
}

@keyframes geometricMove {
  0% { background-position: 0 0, 0 0, 40px 70px, 40px 70px; }
  100% { background-position: 80px 140px, 80px 140px, 120px 210px, 120px 210px; }
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition) !important;
  background-color: #ffffff !important;
  height: 100%;
}

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

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

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

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

.card.border-0 {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

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

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

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

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

.shadow {
  box-shadow: 0 10px 30px rgba(44, 95, 80, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 20px 50px rgba(44, 95, 80, 0.2) !important;
}

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

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

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

.px-4 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-5 {
  padding-left: 3rem !important;
  padding-right: 3rem !important;
}

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

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

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

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

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

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

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

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

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

/* Background Colors */
.bg-light {
  background-color: #f8f9fa !important;
}

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

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

/* Forms */
.form-control, .form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  background-color: #ffffff !important;
  color: var(--text-dark) !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 0.25) !important;
  background-color: #ffffff !important;
}

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

.form-check-input {
  border: 2px solid var(--secondary-color) !important;
  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.2rem rgba(244, 162, 97, 0.25) !important;
}

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

.invalid-feedback {
  color: #dc3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.needs-validation .form-control:invalid {
  border-color: #dc3545 !important;
}

.needs-validation .form-control:valid {
  border-color: #28a745 !important;
}

/* Alerts */
.alert {
  border-radius: 10px !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  font-weight: 500 !important;
}

.alert-success {
  background-color: #d4edda !important;
  color: #155724 !important;
}

.alert-danger {
  background-color: #f8d7da !important;
  color: #721c24 !important;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

/* Portfolio */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  height: 350px;
}

.portfolio-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 80, 0.95) 0%, rgba(244, 162, 97, 0.95) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}

.portfolio-item:hover .portfolio-image {
  transform: scale(1.1);
}

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

.portfolio-overlay h3 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay h3 {
  transform: translateY(0);
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(20px);
  transition: var(--transition) 0.2s;
}

.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* Filter Buttons */
.filter-btn {
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.25rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 95, 80, 0.3) !important;
}

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

.bi-geo-alt-fill, .bi-telephone-fill, .bi-envelope-fill,
.bi-send-fill, .bi-check-circle-fill, .bi-exclamation-triangle-fill,
.bi-chat-dots-fill, .bi-calendar-check-fill, .bi-file-earmark-text-fill,
.bi-star-fill, .bi-award-fill, .bi-stars, .bi-building-check,
.bi-tree-fill, .bi-arrow-right-circle-fill, .bi-lightning-charge-fill,
.bi-sun-fill, .bi-thermometer-half, .bi-telephone, .bi-envelope {
  color: var(--secondary-color) !important;
}

.fs-1 {
  font-size: 3rem !important;
}

.fs-3 {
  font-size: 1.75rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

/* Progress Bar */
.progress {
  height: 25px !important;
  border-radius: 15px !important;
  background-color: rgba(44, 95, 80, 0.1) !important;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--dark-secondary) 100%) !important;
  border-radius: 15px !important;
  font-weight: 600 !important;
  transition: width 1s ease-in-out !important;
}

/* Table */
.table {
  background-color: #ffffff !important;
  border-radius: 10px;
  overflow: hidden;
}

.table-bordered {
  border: 1px solid #dee2e6 !important;
}

.table-responsive {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table thead {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.table tbody tr:hover {
  background-color: rgba(244, 162, 97, 0.1) !important;
}

/* Privacy Content */
.privacy-content {
  background-color: #ffffff;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

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

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

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

/* Opacity */
.opacity-25 {
  opacity: 0.25 !important;
}

/* Positioning */
.position-relative {
  position: relative !important;
}

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

.position-sticky {
  position: sticky !important;
  top: 80px;
}

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

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

.top-50 {
  top: 50% !important;
}

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

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

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

/* Display */
.d-none {
  display: none !important;
}

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

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

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

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

/* Flexbox */
.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;
}

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

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

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

/* Gaps */
.gap-2 {
  gap: 1rem !important;
}

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

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

.g-3 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

.g-4 {
  --bs-gutter-x: 2rem !important;
  --bs-gutter-y: 2rem !important;
}

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

/* Spacing */
.m-3 {
  margin: 1.5rem !important;
}

.p-2 {
  padding: 1rem !important;
}

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

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

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

.pt-4 {
  padding-top: 2rem !important;
}

.ps-0 {
  padding-left: 0 !important;
}

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

.pe-lg-4 {
  padding-right: 2rem !important;
}

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

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

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

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

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

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

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

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

/* Text Alignment */
.text-center {
  text-align: center !important;
}

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

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

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

/* Width & Height */
.w-100 {
  width: 100% !important;
}

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

/* Object Fit */
.object-fit-cover {
  object-fit: cover !important;
}

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

/* Border Radius */
.rounded-3 {
  border-radius: 15px !important;
}

/* Small Text */
.small {
  font-size: 0.875rem !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleUp {
  animation: scaleUp 0.6s ease-out forwards;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-primary) 0%, var(--primary-color) 100%);
  color: #ffffff;
  padding: 3rem 0 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: var(--transition);
}

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

footer .nav {
  padding: 0;
}

footer .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 0.25rem 0 !important;
}

footer .nav-link:hover {
  color: var(--secondary-color) !important;
  background-color: transparent !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(26, 58, 46, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .nav-link {
    margin: 0.25rem 0;
  }
  
  .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;
  }
  
  .btn {
    padding: 0.65rem 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .position-relative.overflow-hidden {
    min-height: 70vh;
  }
  
  .portfolio-item {
    height: 300px;
  }
  
  .position-sticky {
    position: relative !important;
    top: auto;
  }
  
  .privacy-content {
    padding: 1.5rem;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
  
  .flex-lg-row-reverse {
    flex-direction: column-reverse;
  }
}

@media (max-width: 767.98px) {
  .d-md-flex {
    display: flex !important;
  }
  
  .d-md-inline {
    display: inline !important;
  }
  
  .flex-md-row {
    flex-direction: row !important;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .position-relative.overflow-hidden {
    min-height: 60vh;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .portfolio-item {
    height: 250px;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
  
  .container {
    max-width: 100% !important;
  }
}