/* Elegant Midnight & Gold Architecture Studio Theme */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E8B04B;
  --dark-bg: #1a252f;
  --light-text: #f8f9fa;
  --gold-light: #f4d078;
  --gold-dark: #d4941b;
  --transition-speed: 0.4s;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--primary-color) !important;
  overflow-x: hidden;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

.lead {
  font-weight: 300;
  letter-spacing: 0.3px;
}

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

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

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

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

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

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

.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: 700 !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(232, 176, 75, 0.3) !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='%23E8B04B' 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, var(--dark-bg) 0%, var(--primary-color) 50%, #34495e 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23E8B04B" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  background-position: bottom;
  opacity: 0.3;
  animation: wave 15s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.position-relative .position-absolute {
  z-index: 1;
}

.text-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.display-2, .display-3, .display-4 {
  animation: fadeInUp 1s ease-out;
}

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

/* Buttons */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase;
  transition: all 0.3s ease !important;
  border-width: 2px !important;
  position: relative;
  overflow: hidden;
}

.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-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

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

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(232, 176, 75, 0.4) !important;
}

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

.btn-primary:hover {
  background: var(--gold-dark) !important;
  border-color: var(--gold-dark) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 148, 27, 0.4) !important;
}

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

.btn-outline-secondary:hover,
.btn-outline-secondary.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Cards */
.card {
  border-radius: 15px !important;
  transition: all 0.4s ease;
  border: none !important;
  overflow: hidden;
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(232, 176, 75, 0.3) !important;
}

.card-body {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

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

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

/* Form Controls */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(232, 176, 75, 0.25) !important;
  background-color: #ffffff !important;
}

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

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

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

.bi-award-fill,
.bi-geo-alt-fill,
.bi-heart-fill,
.bi-house-heart,
.bi-cup-hot,
.bi-gem,
.bi-check-circle-fill,
.bi-star-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-rulers,
.bi-people,
.bi-droplet,
.bi-door-open,
.bi-fire,
.bi-water,
.bi-heart-pulse,
.bi-clock-history,
.bi-x-circle,
.bi-piggy-bank,
.bi-snow,
.bi-check2,
.bi-envelope,
.bi-telephone,
.bi-geo-alt {
  color: var(--secondary-color) !important;
}

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

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

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

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

/* Background Sections */
.bg-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

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

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

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

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

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

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

/* Feature Sections */
.col-md-4,
.col-lg-3,
.col-lg-4 {
  transition: all 0.3s ease;
}

.col-md-4:hover,
.col-lg-3:hover,
.col-lg-4:hover {
  transform: scale(1.05);
}

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

/* Images */
.img-fluid {
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.rounded-circle {
  border: 4px solid var(--secondary-color) !important;
}

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

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

/* Filter Buttons */
.filter-btn {
  margin: 0.25rem;
  transition: all 0.3s ease;
}

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

/* Room Items */
.room-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  transition: all 0.4s ease;
}

.room-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2) !important;
}

.room-item img {
  transition: all 0.5s ease;
}

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

/* Modal */
.modal-content {
  border-radius: 15px !important;
  border: none !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: transparent !important;
}

.modal-title {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

.modal-body {
  color: #ffffff !important;
  background: transparent !important;
}

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%) !important;
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 0 1.5rem !important;
}

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

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

footer .bi {
  color: var(--secondary-color) !important;
  transition: all 0.3s ease;
}

footer .bi:hover {
  color: var(--gold-light) !important;
  transform: scale(1.2);
}

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

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Input Group */
.input-group .form-control {
  border-right: none !important;
}

.input-group .btn {
  border-left: none !important;
}

/* Sticky Elements */
.sticky-top {
  top: 80px;
  z-index: 1020;
}

/* Shadow Utilities */
.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* Border Utilities */
.border-0 {
  border: none !important;
}

.border-start {
  border-left: 4px solid var(--secondary-color) !important;
}

/* Spacing Utilities */
.gap-2 {
  gap: 0.5rem !important;
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 37, 47, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
  }
  
  .position-relative.overflow-hidden {
    min-height: 100vh;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.65rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 2rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-body.p-4 {
    padding: 1.5rem !important;
  }
}

/* Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

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

/* Text Decoration */
.text-decoration-none {
  text-decoration: none !important;
}

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

/* Position Utilities */
.position-relative {
  position: relative !important;
}

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

.top-0 {
  top: 0 !important;
}

.bottom-0 {
  bottom: 0 !important;
}

.start-0 {
  left: 0 !important;
}

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

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

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

/* Flex Utilities */
.flex-column {
  flex-direction: column !important;
}

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

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

/* Order Utilities */
@media (min-width: 992px) {
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

@media (min-width: 768px) {
  .order-md-1 {
    order: 1 !important;
  }
  
  .order-md-2 {
    order: 2 !important;
  }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: var(--primary-color);
}

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

/* Loading Animation */
.loading {
  position: relative;
  pointer-events: none;
}

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

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

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

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