/* Medieval Bronze & Gold Architecture Studio Theme */

:root {
  --primary-color: #8B4513;
  --secondary-color: #D4AF37;
  --dark-bronze: #654321;
  --light-gold: #F4E4C1;
  --text-dark: #2C1810;
  --text-light: #FFFFFF;
  --accent-copper: #B87333;
  --shadow-color: rgba(139, 69, 19, 0.3);
}

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

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  background-color: #F5F0E8;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  color: var(--text-dark) !important;
  letter-spacing: 1px;
}

.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6,
.text-white .display-1, .text-white .display-2, .text-white .display-3, .text-white .display-4, .text-white .display-5 {
  color: #FFFFFF !important;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bronze) 100%) !important;
  box-shadow: 0 4px 20px var(--shadow-color);
  padding: 1rem 0;
  transition: all 0.4s ease;
  border-bottom: 2px solid var(--secondary-color);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--primary-color) 100%) !important;
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.8rem;
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
}

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

.navbar-brand .bi {
  color: var(--secondary-color) !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.navbar-nav .nav-link {
  color: var(--light-gold) !important;
  font-weight: 600;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

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

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #FFFFFF !important;
  background: rgba(212, 175, 55, 0.2);
}

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

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

.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(--dark-bronze) 0%, var(--primary-color) 50%, var(--dark-bronze) 100%);
  position: relative;
  padding: 120px 0 80px;
}

.parallax-bg {
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 0L93.3 25v50L50 100 6.7 75V25z" fill="%23654321" opacity="0.1"/%3E%3C/svg%3E');
  background-size: 200px 200px;
  opacity: 0.3;
  animation: parallaxMove 20s linear infinite;
}

@keyframes parallaxMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

.hero-section .display-2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-section .lead {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--light-gold) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1.2s ease;
}

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

/* Buttons */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  font-family: 'Georgia', serif;
}

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

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

.btn-lg {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%) !important;
  color: var(--text-dark) !important;
  padding: 1rem 2.5rem !important;
  box-shadow: 0 8px 20px var(--shadow-color);
  font-size: 1.1rem;
}

.btn-lg:hover {
  background: linear-gradient(135deg, var(--accent-copper) 0%, var(--secondary-color) 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.btn-light {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--secondary-color) !important;
}

.btn-light:hover {
  background: var(--secondary-color) !important;
  color: #FFFFFF !important;
}

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

/* Booking Widget */
.booking-widget {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-gold) 100%);
  border: 3px solid var(--secondary-color) !important;
  box-shadow: 0 10px 40px rgba(139, 69, 19, 0.4) !important;
  animation: fadeInUp 1.4s ease;
}

.booking-widget h3 {
  color: var(--primary-color) !important;
  font-size: 1.8rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.booking-widget .bi-calendar-check {
  font-size: 3rem;
  color: var(--secondary-color);
}

.form-label {
  color: var(--primary-color) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  border: 2px solid var(--primary-color) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  background: #FFFFFF !important;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
}

.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: var(--light-gold) !important;
}

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

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

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

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

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Content Sections */
section {
  padding: 80px 0;
  position: relative;
}

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

/* Image Styling */
.img-fluid {
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: all 0.4s ease;
  border: 4px solid var(--secondary-color);
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.5);
}

/* Card Styles */
.card {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-gold) 100%);
  border: 2px solid var(--secondary-color) !important;
  border-radius: 16px !important;
  transition: all 0.4s ease;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-color) !important;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4) !important;
  border-color: var(--accent-copper) !important;
}

.card-img-top {
  border-radius: 0 !important;
  transition: all 0.4s ease;
  height: 250px;
  object-fit: cover;
}

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

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

.card-body h3,
.card-body .h3 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

/* Feature Icons */
.bi-door-closed-fill,
.bi-cup-hot-fill,
.bi-droplet-half,
.bi-briefcase-fill,
.bi-book-half,
.bi-wine,
.bi-building,
.bi-compass,
.bi-award-fill,
.bi-feather,
.bi-door-open,
.bi-badge-vr {
  color: var(--secondary-color) !important;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.card:hover .bi,
.bi:hover {
  color: var(--accent-copper) !important;
  transform: scale(1.15) rotate(5deg);
}

/* Carousel Styles */
.carousel {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bronze) 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px var(--shadow-color);
  overflow: hidden;
}

.carousel-item {
  padding: 3rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item p {
  color: var(--light-gold) !important;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
}

.bi-quote {
  font-size: 4rem;
  color: var(--secondary-color) !important;
  opacity: 0.5;
}

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

.carousel-control-prev,
.carousel-control-next {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

/* Timeline Section */
.timeline-section {
  position: relative;
  padding-left: 3rem;
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
  border-left: 3px solid var(--secondary-color);
  padding-left: 2rem;
}

.timeline-marker {
  width: 30px;
  height: 30px;
  background: var(--secondary-color);
  border: 4px solid var(--primary-color);
  position: absolute;
  left: -17px;
  top: 0;
  box-shadow: 0 4px 10px var(--shadow-color);
}

.timeline-item:hover .timeline-marker {
  background: var(--accent-copper);
  transform: scale(1.3);
}

/* Badge Styles */
.badge {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%) !important;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 600;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* List Styles */
.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

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

.list-unstyled a {
  color: var(--text-dark) !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

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

/* Icons */
.bi-check-circle-fill,
.bi-geo-alt-fill,
.bi-envelope-fill,
.bi-telephone-fill,
.bi-arrow-right,
.bi-send-fill,
.bi-map,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-airplane-fill,
.bi-taxi-front-fill,
.bi-clock-history,
.bi-info-circle,
.bi-calendar-event,
.bi-briefcase,
.bi-droplet,
.bi-cup-straw,
.bi-x-circle {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.bi-check-circle-fill:hover,
.bi-arrow-right:hover {
  color: var(--secondary-color) !important;
  transform: scale(1.2);
}

/* Social Icons */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-twitter-x,
.bi-youtube {
  color: var(--text-dark) !important;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 0.5rem;
}

.bi-facebook:hover { color: #1877F2 !important; transform: scale(1.3); }
.bi-instagram:hover { color: #E4405F !important; transform: scale(1.3); }
.bi-twitter:hover,
.bi-twitter-x:hover { color: #1DA1F2 !important; transform: scale(1.3); }
.bi-youtube:hover { color: #FF0000 !important; transform: scale(1.3); }

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--primary-color) 100%);
  color: var(--light-gold) !important;
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--secondary-color);
}

footer h5,
footer .h5,
footer h6,
footer .h6 {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer a:hover {
  color: #FFFFFF !important;
}

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

/* Shadow Utilities */
.shadow {
  box-shadow: 0 5px 20px var(--shadow-color) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px var(--shadow-color) !important;
}

.shadow-sm {
  box-shadow: 0 3px 10px var(--shadow-color) !important;
}

/* Ratio (Video Embeds) */
.ratio {
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: 0 10px 30px var(--shadow-color);
}

/* Accordion */
.accordion {
  border: none !important;
}

.accordion-item {
  background: linear-gradient(135deg, #FFFFFF 0%, var(--light-gold) 100%) !important;
  border: 2px solid var(--secondary-color) !important;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bronze) 100%) !important;
  color: var(--secondary-color) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem !important;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%) !important;
  color: var(--text-dark) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

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

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

/* Masonry Grid */
.masonry-grid {
  column-count: 3;
  column-gap: 1.5rem;
}

.masonry-grid .card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

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

.room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(139, 69, 19, 0.95) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: all 0.4s ease;
}

.room-card:hover .room-overlay {
  background: linear-gradient(to top, rgba(139, 69, 19, 0.98) 0%, rgba(139, 69, 19, 0.7) 100%);
}

.room-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.room-card:hover .room-description {
  max-height: 200px;
}

/* Privacy & Experience Hero */
.privacy-hero,
.experience-hero {
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--primary-color) 50%, var(--dark-bronze) 100%);
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.privacy-hero::before,
.experience-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 10L90 35v50L50 90 10 65V35z" fill="%23D4AF37" opacity="0.05"/%3E%3C/svg%3E');
  background-size: 150px 150px;
  animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(150px, 150px); }
}

/* Experience Section */
.experience-section {
  background: linear-gradient(to bottom, #F5F0E8 0%, var(--light-gold) 100%);
}

/* Text Utilities */
.text-muted {
  color: #6c757d !important;
}

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

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

/* Spacing Utilities */
.gap-3 {
  gap: 1rem !important;
}

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

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

.g-3 {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.g-4 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bronze) 100%);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .masonry-grid {
    column-count: 1;
  }
  
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  section {
    padding: 60px 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 767.98px) {
  .masonry-grid {
    column-count: 1;
  }
  
  .room-card {
    height: 300px;
  }
  
  .timeline-section {
    padding-left: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .masonry-grid {
    column-count: 3;
  }
}

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

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

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

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

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

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

/* Flex Utilities */
.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-self-start {
  align-self: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

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

.justify-content-between {
  justify-content: space-between !important;
}

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

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

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

.rounded-3 {
  border-radius: 0.5rem !important;
}

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

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.loading {
  animation: shimmer 2s infinite;
  background: linear-gradient(to right, #f0f0f0 0%, #e0e0e0 20%, #f0f0f0 40%, #f0f0f0 100%);
  background-size: 1000px 100%;
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 6px;
  border: 2px solid var(--light-gold);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--dark-bronze) 0%, var(--accent-copper) 100%);
}

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

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

/* Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

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