/* Forest Gold Architecture Studio Theme */

:root {
  --primary-color: #2C5530;
  --secondary-color: #D4AF37;
  --primary-dark: #1a3319;
  --primary-light: #3d7343;
  --secondary-dark: #b8962e;
  --secondary-light: #e5c957;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --shadow-sm: 0 0.125rem 0.25rem rgba(44, 85, 48, 0.075);
  --shadow: 0 0.5rem 1rem rgba(44, 85, 48, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(44, 85, 48, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

.text-white .display-1, .text-white .display-2, .text-white .display-3,
.text-white .display-4, .text-white .display-5, .text-white .display-6 {
  color: #ffffff !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: var(--transition);
  padding: 1rem 0;
}

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

.navbar.fixed-top {
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(44, 85, 48, 0.98) !important;
}

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

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

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

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

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  border-radius: 4px;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(212, 175, 55, 0.1) !important;
}

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.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, height 0.6s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  border-color: var(--primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover,
.btn-secondary:focus {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
  border-color: var(--secondary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover,
.btn-outline-light:focus {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-lg {
  padding: 0.75rem 2rem !important;
  font-size: 1.1rem !important;
}

.btn-sm {
  padding: 0.375rem 1rem !important;
  font-size: 0.875rem !important;
}

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: #6c757d;
  line-height: 1.6;
}

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

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

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

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

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

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

.form-control-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.1rem !important;
}

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

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

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

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

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

@keyframes backgroundScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(60px); }
}

.position-absolute.top-0.start-0 {
  z-index: 1;
}

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

.bi-chevron-down {
  font-size: 2rem;
  color: #ffffff;
  animation: bounce 2s infinite;
}

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

.bi-building,
.bi-flower3,
.bi-cup-hot,
.bi-compass,
.bi-people,
.bi-bell,
.bi-star-fill,
.bi-check-circle-fill,
.bi-check-circle,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-chat-dots-fill,
.bi-headset,
.bi-clock,
.bi-car-front,
.bi-wifi,
.bi-youtube,
.bi-chat-heart-fill,
.bi-grid-3x3-gap,
.bi-fire,
.bi-door-open,
.bi-droplet,
.bi-star,
.bi-heart,
.bi-info-circle,
.bi-camera,
.bi-rulers,
.bi-droplet-half,
.bi-tv,
.bi-snow,
.bi-tree,
.bi-moon-stars,
.bi-award,
.bi-sunrise,
.bi-sun,
.bi-info-circle-fill,
.bi-calendar-check,
.bi-clock-history,
.bi-gift {
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: var(--transition);
}

.card:hover .bi,
.btn:hover .bi {
  transform: scale(1.1) rotate(5deg);
}

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

/* Alerts */
.alert {
  border-radius: 8px !important;
  border: none !important;
}

.alert-info {
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%) !important;
  color: var(--primary-color) !important;
}

/* Dropdown */
.dropdown-toggle {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.dropdown-menu {
  border: none !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

.dropdown-item {
  border-radius: 6px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition);
  color: var(--text-dark) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
}

/* Modal */
.modal-content {
  border: none !important;
  border-radius: 12px !important;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: #ffffff !important;
  border-bottom: none !important;
  padding: 1.5rem 2rem;
}

.modal-title {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.modal-body {
  padding: 2rem;
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1 !important;
}

.btn-close:hover,
.btn-close-white:hover {
  opacity: 0.8 !important;
  transform: rotate(90deg);
}

/* Accordion */
.accordion {
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border: 1px solid rgba(44, 85, 48, 0.1) !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(30%) sepia(20%) saturate(1000%) hue-rotate(90deg);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  background-color: #f8f9fa;
  color: var(--text-dark) !important;
}

/* 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;
  border-radius: 25px;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
  transform: translateY(-2px);
}

/* Room Card */
.room-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(44, 85, 48, 0.8) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.room-card:hover::before {
  opacity: 1;
}

.room-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 2;
  background: transparent;
  color: #ffffff !important;
}

.room-card:hover .card-body {
  transform: translateY(0);
}

.room-card .card-title,
.room-card .card-text {
  color: #ffffff !important;
}

/* Object Fit */
.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

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

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

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

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

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

.list-unstyled li:hover {
  padding-left: 0.5rem;
}

/* Text Colors */
.text-white {
  color: #ffffff !important;
}

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

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

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

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

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

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

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

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

/* Sticky Elements */
.sticky-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1020;
}

/* Spacing */
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.m-3 { margin: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }

/* Gap */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }

/* Border */
.border {
  border: 1px solid rgba(44, 85, 48, 0.1) !important;
}

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

.border-bottom {
  border-bottom: 1px solid rgba(44, 85, 48, 0.1) !important;
}

/* Font Sizes */
.fs-1 { font-size: 2.5rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.small { font-size: 0.875rem !important; }

/* Font Styles */
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fst-italic { font-style: italic !important; }

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  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);
  }
}

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(44, 85, 48, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.6rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .px-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .flex-wrap {
    flex-direction: column !important;
  }
}

/* Scroll Animations */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Loading States */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* 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-color: var(--secondary-color);
  color: var(--primary-dark);
}

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