/* Architecture Studio - Forest & Light Theme CSS */

/* Root Variables */
:root {
  --primary-color: #2E7D32;
  --secondary-color: #FFC107;
  --dark-green: #1B5E20;
  --light-green: #4CAF50;
  --accent-light: #FFD54F;
  --text-dark: #212529;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
}

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

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

/* Typography Enhancements */
.display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
}

/* Navigation Styles */
.navbar {
  transition: all var(--transition-speed) ease;
  z-index: 1030;
  backdrop-filter: blur(10px);
}

.navbar-dark {
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.95) 0%, rgba(27, 94, 32, 0.95) 100%) !important;
}

.navbar-light {
  background: rgba(255, 255, 255, 0.98) !important;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  transition: transform var(--transition-speed) ease;
}

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

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

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

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

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

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

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

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

.sticky-top {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn {
  font-weight: 600 !important;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
  color: var(--text-light) !important;
  border: 2px solid transparent !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-color) 100%) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-light) 100%) !important;
  color: var(--text-dark) !important;
  border: 2px solid transparent !important;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--secondary-color) 100%) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.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;
  border-color: var(--text-light) !important;
  transform: translateY(-3px);
}

/* Hero Section */
.vh-100 {
  min-height: 100vh;
}

.position-relative .h-100 {
  filter: brightness(0.7);
}

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

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

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

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

/* Card Styles */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  height: 100%;
}

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

.card-body {
  background: var(--text-light);
}

.shadow {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* Image Styles */
.img-fluid {
  transition: transform var(--transition-speed) ease;
}

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

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

/* Badge Styles */
.badge {
  font-weight: 600 !important;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

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

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

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

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

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

.bg-dark {
  background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
}

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

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

/* Text Color Utilities */
.text-muted {
  color: #6c757d !important;
}

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

/* Border Utilities */
.border {
  border: 1px solid #dee2e6 !important;
}

.border-end {
  border-right: 1px solid #dee2e6 !important;
}

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

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

.border-3 {
  border-width: 3px !important;
}

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

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

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  font-size: 1rem;
}

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

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

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

.form-check-input {
  border: 2px solid #e0e0e0;
  width: 1.25rem;
  height: 1.25rem;
}

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

.form-check-label {
  margin-left: 0.5rem;
  font-weight: 500;
}

/* Portfolio Styles */
.filter-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px;
  font-weight: 600 !important;
  transition: all var(--transition-speed) ease;
  margin: 0.25rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  opacity: 1;
  transition: all 0.5s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  position: absolute;
  pointer-events: none;
}

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

.portfolio-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.portfolio-card:hover .portfolio-image-wrapper img {
  transform: scale(1.1);
}

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

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

.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay h5 {
  color: var(--text-light) !important;
  margin-bottom: 1rem;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9) !important;
}

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-phone,
.bi-envelope,
.bi-clock-fill,
.bi-lightning-charge-fill,
.bi-people-fill,
.bi-heart-fill,
.bi-geo-alt,
.bi-telephone {
  font-size: 1.25rem;
}

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

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

/* Link Styles */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--dark-green);
}

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

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

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

.text-light a {
  color: rgba(255, 255, 255, 0.9) !important;
}

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

/* Footer Styles */
footer {
  background: linear-gradient(135deg, #212529 0%, #343a40 100%);
  color: var(--text-light) !important;
}

footer h2,
footer h3,
footer h4,
footer h5 {
  color: var(--text-light) !important;
}

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

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

footer .border-secondary {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

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

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

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

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

/* 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-fade-in {
  animation: fadeIn 1s ease-out;
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(46, 125, 50, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .navbar-light .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
  }
  
  .navbar-light .nav-link:hover {
    background: rgba(46, 125, 50, 0.1);
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  .border-end {
    border-right: none !important;
    border-bottom: 1px solid #dee2e6 !important;
  }
}

@media (max-width: 767.98px) {
  .vh-100 {
    min-height: 70vh;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .gap-4 {
    gap: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .me-3 {
    margin-right: 0 !important;
  }
  
  .flex-sm-row {
    flex-direction: column !important;
  }
}

/* Loading Animation */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(46, 125, 50, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-speed) ease;
}

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

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

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

/* Focus Styles */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

button:focus,
a:focus,
.btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
}