/* Forest Gold Architecture Studio Theme - Custom CSS */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #2C5F41;
  --secondary-color: #D4AF37;
  --primary-dark: #1a3a28;
  --primary-light: #3d7a57;
  --secondary-dark: #b8961f;
  --secondary-light: #e6c85d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-text: #212529;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(44, 95, 65, 0.1);
  --shadow-lg: 0 10px 30px rgba(44, 95, 65, 0.15);
}

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* === NAVBAR STYLES === */
.navbar {
  background: linear-gradient(180deg, rgba(44, 95, 65, 0.95) 0%, rgba(44, 95, 65, 0.85) 100%) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  z-index: 1000;
  padding: 1rem 0 !important;
}

.navbar.fixed-top {
  box-shadow: var(--shadow-lg);
  background: rgba(44, 95, 65, 0.98) !important;
}

.navbar.sticky-top {
  box-shadow: var(--shadow-lg);
}

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

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

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

.navbar-nav .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);
}

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

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

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

.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-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.3) !important;
}

/* === HERO SECTION === */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::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%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23D4AF37" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section .display-2 {
  color: var(--white) !important;
  font-weight: 800 !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-section .fs-5,
.hero-section .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  line-height: 1.8;
}

/* === BOOKING WIDGET === */
.booking-widget {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  border: 2px solid var(--secondary-color);
  animation: fadeInRight 1s ease-out;
  box-shadow: 0 20px 40px rgba(44, 95, 65, 0.2) !important;
}

.booking-widget h3,
.booking-widget .display-5,
.booking-widget .display-6 {
  color: var(--primary-color) !important;
  font-weight: 700;
}

/* === BUTTONS === */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600 !important;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4) !important;
}

.btn-secondary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(44, 95, 65, 0.3);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 95, 65, 0.4) !important;
}

.btn-outline-light {
  border-color: var(--white) !important;
  color: var(--white) !important;
  border-width: 2px;
}

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

.btn-outline-primary {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  border-width: 2px;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--primary-color) !important;
  color: var(--white) !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.25rem !important;
  font-size: 0.875rem !important;
}

/* === FORM ELEMENTS === */
.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  background-color: var(--white);
  color: var(--dark-text);
}

.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: var(--white);
}

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

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

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

.form-check-input:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

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

/* === CARDS === */
.card {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(44, 95, 65, 0.2) !important;
}

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

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

.card-body {
  padding: 1.5rem;
}

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

.card-text {
  color: var(--dark-text);
  line-height: 1.6;
}

.card.border-0.shadow-sm {
  box-shadow: 0 4px 12px rgba(44, 95, 65, 0.1) !important;
}

/* === BADGES === */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

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

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

/* === SECTIONS === */
section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

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

/* === TEXT COLORS === */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

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

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 95, 65, 0.3);
}

/* === ROOM ITEM === */
.room-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(44, 95, 65, 0.1);
}

.room-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(44, 95, 65, 0.2) !important;
}

.room-item img {
  transition: var(--transition);
}

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

/* === ICONS === */
.bi {
  vertical-align: middle;
}

[class^="bi-"]::before,
[class*=" bi-"]::before {
  vertical-align: middle;
}

.bi-star-fill {
  color: var(--secondary-color);
}

.bi-check-circle-fill {
  color: var(--primary-color);
}

/* === FOOTER === */
footer {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

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

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

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

footer .bi {
  color: var(--secondary-color);
}

/* === SOCIAL ICONS === */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem;
  transition: var(--transition);
  color: var(--white) !important;
}

.bi-facebook:hover {
  color: #1877f2 !important;
  transform: scale(1.2);
}

.bi-instagram:hover {
  color: #e4405f !important;
  transform: scale(1.2);
}

.bi-twitter:hover {
  color: #1da1f2 !important;
  transform: scale(1.2);
}

.bi-linkedin:hover {
  color: #0a66c2 !important;
  transform: scale(1.2);
}

/* === BLOCKQUOTE === */
blockquote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--dark-text);
}

.blockquote-footer {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* === SHADOW UTILITIES === */
.shadow {
  box-shadow: var(--shadow) !important;
}

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

.shadow-sm {
  box-shadow: 0 2px 6px rgba(44, 95, 65, 0.08) !important;
}

/* === ROUNDED UTILITIES === */
.rounded {
  border-radius: 8px !important;
}

.rounded-3 {
  border-radius: var(--border-radius) !important;
}

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

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

/* === IMAGE UTILITIES === */
.img-fluid {
  max-width: 100%;
  height: auto;
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

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

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

/* === HOVER EFFECTS === */
.hover-lift {
  transition: var(--transition);
}

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

.hover-scale {
  transition: var(--transition);
}

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

/* === BORDER UTILITIES === */
.border-bottom {
  border-bottom: 1px solid rgba(44, 95, 65, 0.1) !important;
}

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

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

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

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

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

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

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

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

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

/* === DISPLAY UTILITIES === */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-start { align-self: flex-start !important; }
.ms-auto { margin-left: auto !important; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199.98px) {
  .display-2 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(44, 95, 65, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section .display-2 {
    font-size: 2.5rem !important;
  }
  
  .booking-widget {
    margin-top: 2rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .display-5 {
    font-size: 1.25rem !important;
  }
  
  .fs-5 {
    font-size: 1rem !important;
  }
  
  .hero-section {
    min-height: auto !important;
    padding: 6rem 0 3rem !important;
  }
  
  .booking-widget {
    padding: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  footer {
    text-align: center;
  }
  
  footer .text-md-end {
    text-align: center !important;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
}

/* === ACCESSIBILITY === */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* === SCROLLBAR STYLING === */
::-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 STYLING === */
::selection {
  background-color: var(--secondary-color);
  color: var(--white);
}

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

/* === LOADING STATES === */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

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

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

/* === UTILITY CLASSES === */
.text-decoration-none {
  text-decoration: none !important;
}

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

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

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.vh-100 { height: 100vh !important; }