/* Forest Gold Architecture Studio - Custom Styles */

:root {
  --primary-color: #2c5530;
  --secondary-color: #d4af37;
  --primary-dark: #1a3a1f;
  --secondary-light: #f0db8e;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary-dark) !important;
}

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

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

.navbar.fixed-top {
  backdrop-filter: blur(10px);
}

.navbar.sticky-top {
  box-shadow: 0 4px 20px rgba(44, 85, 48, 0.4);
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  font-weight: 700 !important;
  transition: all var(--transition-speed) ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.navbar-brand .bi {
  color: var(--secondary-color) !important;
  font-size: 1.3rem;
}

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

.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 {
  color: var(--secondary-color) !important;
  background-color: rgba(212, 175, 55, 0.1) !important;
}

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

.nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(212, 175, 55, 0.15) !important;
  font-weight: 600 !important;
}

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

.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;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.parallax-hero {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

.video-background {
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7);
}

.hero-section .text-white {
  z-index: 10;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section .display-2 {
  color: var(--text-light) !important;
  animation: fadeInUp 1s ease-out;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.hero-section .lead {
  color: var(--secondary-light) !important;
  animation: fadeInUp 1.2s ease-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .card {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border: 2px solid var(--secondary-color) !important;
  box-shadow: 0 10px 40px rgba(44, 85, 48, 0.3) !important;
  animation: fadeInUp 1.4s ease-out;
  border-radius: 15px !important;
}

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

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

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(44, 85, 48, 0.3) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 25px rgba(44, 85, 48, 0.4) !important;
  color: var(--secondary-light) !important;
}

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

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

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

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

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

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

.btn-light {
  background: rgba(255, 255, 255, 0.95) !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

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

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

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.9rem !important;
}

.btn-group .btn {
  border-radius: 50px !important;
  margin: 0 0.25rem;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background: #ffffff !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

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

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

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

.card.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

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

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

.card-body .bi {
  color: var(--secondary-color) !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  transition: all var(--transition-speed) ease;
}

.card:hover .card-body .bi {
  color: var(--primary-color) !important;
  transform: scale(1.1) rotate(5deg);
}

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

.card-body p {
  color: #666;
  line-height: 1.7;
}

/* Forms */
.form-control, .form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
  background: #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.25rem rgba(212, 175, 55, 0.25) !important;
  background: #ffffff !important;
  color: var(--text-dark) !important;
}

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

.form-check-input {
  border-color: var(--primary-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.25rem rgba(212, 175, 55, 0.25) !important;
}

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

/* Alert */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
}

.alert-success {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: var(--text-light) !important;
}

.alert-danger {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  color: var(--text-light) !important;
}

.alert-warning {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #c9a234 100%) !important;
  color: var(--primary-dark) !important;
  font-weight: 600 !important;
}

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

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

.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 85, 48, 0.7);
}

.parallax-section .container {
  position: relative;
  z-index: 1;
}

.bg-light {
  background-color: #f8f9fa !important;
}

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Icons */
.bi {
  transition: all var(--transition-speed) ease;
}

.bi-gem, .bi-house-heart, .bi-stars, .bi-cup-hot, .bi-briefcase, 
.bi-tree, .bi-bell, .bi-star-fill, .bi-geo-alt, .bi-telephone, 
.bi-envelope, .bi-facebook, .bi-instagram, .bi-twitter, .bi-check-circle-fill,
.bi-clock-fill, .bi-calendar-check, .bi-headset, .bi-gift, .bi-snow2,
.bi-shop, .bi-water, .bi-badge-3d, .bi-rulers, .bi-people, .bi-wifi,
.bi-snow, .bi-tv, .bi-door-open, .bi-droplet, .bi-fire, .bi-cup-straw,
.bi-brilliance, .bi-moisture, .bi-sunset, .bi-book, .bi-moon-stars,
.bi-lock, .bi-mountains, .bi-layout-split, .bi-person-workspace, .bi-luggage,
.bi-fan, .bi-flower1, .bi-compass, .bi-bicycle, .bi-heart-pulse, 
.bi-arrow-right-circle-fill, .bi-car-front, .bi-bell-fill, .bi-cart3,
.bi-basket2, .bi-award, .bi-sun, .bi-linkedin, .bi-telephone-fill,
.bi-envelope-fill, .bi-geo-alt-fill {
  color: var(--secondary-color) !important;
}

.text-primary .bi,
a:hover .bi {
  color: var(--primary-color) !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; }

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

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

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

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

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

.list-unstyled a {
  color: #666 !important;
  transition: all var(--transition-speed) ease;
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

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

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

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

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

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

/* Carousel */
.carousel {
  border-radius: 15px;
  overflow: hidden;
}

.carousel-item {
  height: 500px;
}

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

.carousel-control-prev, .carousel-control-next {
  width: 5%;
}

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

.carousel-indicators button {
  background-color: var(--secondary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

/* Utilities */
.opacity-25 { opacity: 0.25 !important; }
.opacity-75 { opacity: 0.75 !important; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.flex-grow-1 {
  flex-grow: 1 !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;
}

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

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 85, 48, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-section .display-2 {
    font-size: 2.5rem !important;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .position-sticky {
    position: relative !important;
    top: 0;
  }
  
  .d-lg-block {
    display: none !important;
  }
  
  .ps-lg-5, .pe-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .text-lg-start, .text-lg-end {
    text-align: center !important;
  }
}

@media (max-width: 767px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .text-md-start, .text-md-end {
    text-align: center !important;
  }
  
  footer {
    text-align: center;
  }
  
  footer .text-lg-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

@media (max-width: 575px) {
  .hero-section .card {
    margin: 0 1rem;
  }
  
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    width: 100%;
    margin: 0.25rem 0;
  }
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Print Styles */
@media print {
  .navbar, .btn, footer {
    display: none !important;
  }
  
  .card {
    break-inside: avoid;
  }
}