/* Forest Jade Architecture Studio - Custom CSS */

:root {
  --primary-color: #2d5a3d;
  --secondary-color: #c9a876;
  --dark-green: #1a3426;
  --light-green: #4a7c5d;
  --cream: #f5f0e8;
  --text-dark: #2c3e2f;
  --text-light: #ffffff;
  --shadow-soft: 0 10px 40px rgba(45, 90, 61, 0.1);
  --shadow-hover: 0 15px 50px rgba(45, 90, 61, 0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  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.7;
  overflow-x: hidden;
  background-color: var(--cream);
}

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

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 1050;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
}

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

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  padding: 0.7rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

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

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::before {
  width: 70%;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(201, 168, 118, 0.15) !important;
}

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

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

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(45, 90, 61, 0.95) 0%, rgba(26, 52, 38, 0.9) 100%),
              url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%%3E%3Cpath d="M50 0 L100 50 L50 100 L0 50 Z" fill="%23ffffff" opacity="0.02"/%3E%3C/svg%3E');
  background-size: cover, 100px 100px;
  background-position: center;
  background-attachment: fixed;
}

.position-absolute.w-100.h-100 {
  background: radial-gradient(circle at 20% 50%, rgba(201, 168, 118, 0.1) 0%, transparent 50%);
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  padding: 0.75rem 2rem !important;
  border-radius: 50px !important;
  transition: var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none !important;
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  transform: translate(-50%, -50%) scale(2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #b89765 100%) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 8px 20px rgba(201, 168, 118, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b89765 0%, var(--secondary-color) 100%) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 30px rgba(201, 168, 118, 0.4) !important;
}

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

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
}

.btn-light {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

/* Cards */
.card {
  border: none !important;
  border-radius: 20px !important;
  overflow: hidden;
  transition: var(--transition) !important;
  background: var(--text-light);
  height: 100%;
}

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

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

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

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

.card.border-light {
  border: 2px solid rgba(201, 168, 118, 0.2) !important;
}

.room-card {
  position: relative;
  cursor: pointer;
}

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

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

.room-card .position-absolute {
  z-index: 10;
}

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

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

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

/* Form Elements */
.form-control,
.form-select {
  border: 2px solid rgba(45, 90, 61, 0.2) !important;
  border-radius: 12px !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 1rem !important;
  transition: var(--transition) !important;
  background: var(--text-light) !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(201, 168, 118, 0.25) !important;
  background: var(--text-light) !important;
}

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

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

.input-group {
  box-shadow: var(--shadow-soft);
  border-radius: 12px !important;
}

/* Icons */
.bi {
  color: var(--secondary-color) !important;
  transition: var(--transition);
}

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

.bi-award, .bi-tree, .bi-heart-pulse, .bi-cup-hot,
.bi-snow, .bi-bicycle, .bi-compass, .bi-star-fill,
.bi-geo-alt, .bi-telephone, .bi-envelope,
.bi-facebook, .bi-instagram, .bi-twitter, .bi-youtube,
.bi-rulers, .bi-people, .bi-wifi, .bi-fire,
.bi-check2, .bi-door-open, .bi-droplet,
.bi-house, .bi-water, .bi-gem, .bi-stars,
.bi-check-circle-fill, .bi-hearts, .bi-calendar-check,
.bi-clock, .bi-tag, .bi-music-note, .bi-calendar3,
.bi-linkedin, .bi-plus-circle, .bi-telephone-fill,
.bi-send-fill, .bi-geo-alt-fill, .bi-envelope-fill,
.bi-chat-dots-fill, .bi-door-open-fill, .bi-flower2,
.bi-cup-hot-fill, .bi-calendar-event-fill, .bi-clipboard-data,
.bi-check2-circle, .bi-gear, .bi-chat-dots, .bi-star,
.bi-shield-check, .bi-cookie, .bi-lock, .bi-person-check,
.bi-eye, .bi-pencil, .bi-trash, .bi-clock-history,
.bi-link-45deg, .bi-heart, .bi-arrow-repeat,
.bi-question-circle, .bi-house-door {
  display: inline-block;
}

.fs-1 { font-size: 3rem !important; }
.fs-2 { font-size: 2.5rem !important; }
.fs-3 { font-size: 2rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }

/* Background Colors */
.bg-light {
  background-color: var(--cream) !important;
}

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

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

/* Text Colors */
.text-white {
  color: var(--text-light) !important;
}

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

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

.text-decoration-none {
  text-decoration: none !important;
  color: inherit !important;
  transition: var(--transition);
}

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

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

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

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

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

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

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

.my-5 {
  margin: 5rem 0 !important;
}

.my-4 {
  margin: 3rem 0 !important;
}

/* Shadows */
.shadow {
  box-shadow: var(--shadow-soft) !important;
}

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

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

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

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

.list-unstyled li:hover {
  padding-left: 10px;
  color: var(--secondary-color);
}

/* Alerts */
.alert {
  border-radius: 15px !important;
  border: none !important;
  padding: 1.5rem !important;
  box-shadow: var(--shadow-soft);
}

/* Responsive Grid */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.g-4 {
  gap: 1.5rem;
}

.g-5 {
  gap: 3rem;
}

.g-3 {
  gap: 1rem;
}

.g-2 {
  gap: 0.5rem;
}

.g-0 {
  gap: 0;
}

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

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

/* Positioning */
.position-sticky,
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 1020;
}

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

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }

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

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

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

/* Flexbox Utilities */
.d-flex {
  display: flex !important;
}

.d-block {
  display: block !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-between {
  justify-content: space-between !important;
}

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

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

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

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

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

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

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

.mt-auto {
  margin-top: auto !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

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

.mt-4 {
  margin-top: 1.5rem !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;
}

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

.p-0 {
  padding: 0 !important;
}

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

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

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

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

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

.ps-4 {
  padding-left: 1.5rem !important;
}

.pe-lg-5 {
  padding-right: 3rem !important;
}

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

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

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

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

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

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

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

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

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

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

.pb-3 {
  padding-bottom: 1rem !important;
}

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

/* Order Utilities */
.order-lg-1 {
  order: 1;
}

.order-lg-2 {
  order: 2;
}

/* Small Text */
.small {
  font-size: 0.875rem !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);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

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

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

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

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

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(45, 90, 61, 0.98);
    padding: 1rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: var(--shadow-soft);
  }

  .navbar-nav {
    gap: 0.5rem;
  }

  .display-2 {
    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;
  }

  .lead {
    font-size: 1.1rem !important;
  }

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

  .btn {
    padding: 0.6rem 1.5rem !important;
  }

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

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

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

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

  .mt-lg-0 {
    margin-top: 0 !important;
  }

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

  .order-lg-1,
  .order-lg-2 {
    order: 0;
  }

  .pe-lg-5,
  .ps-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .offset-lg-1,
  .offset-lg-2 {
    margin-left: 0 !important;
  }

  .position-sticky {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }

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

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

  .card-img-top {
    height: 200px !important;
  }

  .room-card .card-img-top {
    height: 180px;
  }

  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }

  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-8 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }

  .display-2 {
    font-size: 1.75rem !important;
  }

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

  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }

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

  .py-5 {
    padding: 2rem 0 !important;
  }

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

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

  .col-6 {
    margin-bottom: 1rem;
  }

  .col-sm-6 {
    margin-bottom: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .form-control,
  .form-select {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}

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

button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid var(--cream);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Custom Utilities */
.border-radius-lg {
  border-radius: 20px !important;
}

.border-radius-xl {
  border-radius: 30px !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.backdrop-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Container Max Width */
.container,
.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}