/* Architectural Studio - Regal Midnight & Antique Gold Theme */

:root {
  --primary-color: #1a237e;
  --secondary-color: #c0a062;
  --dark-bg: #0d1642;
  --light-gold: #d4b87a;
  --text-light: #ffffff;
  --text-dark: #2c2c2c;
  --shadow-gold: rgba(192, 160, 98, 0.3);
  --shadow-dark: rgba(26, 35, 126, 0.3);
}

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

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

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.9;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-dark);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

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

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

.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='%23c0a062' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  align-items: center;
}

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

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

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

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 50%, #2c3e9e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  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="%23c0a062" 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.1;
  animation: backgroundScroll 60s linear infinite;
}

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

.rune-corner {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid var(--secondary-color);
  opacity: 0.3;
  animation: runeGlow 3s ease-in-out infinite;
}

.rune-corner.top-left {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.rune-corner.top-right {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}

.rune-corner.bottom-left {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}

.rune-corner.bottom-right {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

@keyframes runeGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.hero-section .display-2 {
  color: var(--text-light) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: var(--light-gold) !important;
  animation: fadeInUp 1.2s ease-out;
  font-size: 1.3rem;
}

@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;
  transition: all 0.3s ease;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-lg {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  font-size: 1rem;
  padding: 1rem 2.5rem !important;
  box-shadow: 0 4px 15px var(--shadow-gold);
}

.btn-lg:hover {
  background: transparent !important;
  color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-gold);
}

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

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  border-color: var(--text-light) !important;
}

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.875rem;
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  border: 1px solid var(--primary-color) !important;
}

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

/* Scroll Down Indicator */
.bi-chevron-down {
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: var(--secondary-color) !important;
}

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

/* About Hero Section */
.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(192, 160, 98, 0.1) 0%, transparent 50%);
}

.about-hero .display-3 {
  color: var(--text-light) !important;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.about-hero .fs-5 {
  color: var(--light-gold) !important;
}

/* Split Container */
.split-container {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
}

.narrative-side {
  flex: 1;
  min-width: 300px;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.story-content {
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 0.5rem 1.5rem !important;
  border-radius: 0;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.timeline-point {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 3px solid var(--primary-color);
  border-radius: 50%;
}

.timeline-point::after {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  width: 2px;
  height: calc(100% + 2rem);
  background: var(--primary-color);
  opacity: 0.3;
}

.timeline-point:last-child::after {
  display: none;
}

.timeline-date {
  color: var(--secondary-color) !important;
  font-weight: 600;
}

.parallax-side {
  flex: 1;
  min-width: 300px;
  position: relative;
  overflow: hidden;
}

.parallax-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Cards */
.card {
  border: none !important;
  border-radius: 0 !important;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.2) !important;
}

.card-img-top {
  transition: transform 0.5s ease;
  height: 250px;
}

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

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

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

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

/* Room Card */
.room-card {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(26, 35, 126, 0.2);
}

.amenities-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 35, 126, 0.95) 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: var(--text-light) !important;
}

.room-card:hover .amenities-overlay {
  opacity: 1;
}

/* Info Card */
.info-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  border-radius: 0;
  padding: 2rem;
  color: var(--text-light) !important;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.info-card .fa-2x,
.info-card .fa-3x {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

.info-card h5,
.info-card h4 {
  color: var(--text-light) !important;
  margin-top: 1rem;
}

.info-card p {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Images */
.img-fluid {
  transition: transform 0.3s ease;
}

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

.rounded {
  border-radius: 0 !important;
}

.shadow,
.shadow-lg,
.shadow-sm {
  box-shadow: 0 8px 30px rgba(26, 35, 126, 0.15) !important;
}

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

.rounded-circle {
  border: 3px solid var(--secondary-color);
  padding: 0.5rem;
}

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

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 0 !important;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: #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.2rem rgba(192, 160, 98, 0.25) !important;
  background: #ffffff !important;
}

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

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

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

.form-check-label {
  color: var(--text-dark) !important;
  margin-left: 0.5rem;
}

/* Contact Section */
.contact-hero-wrapper {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  padding: 8rem 0 4rem;
  position: relative;
}

.contact-hero-wrapper .display-4 {
  color: var(--text-light) !important;
}

.contact-sidebar {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  padding: 3rem;
  color: var(--text-light) !important;
}

.contact-item {
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contact-item .fa-2x {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
}

.contact-item h5 {
  color: var(--light-gold) !important;
  margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--secondary-color) !important;
}

.contact-form-container {
  background: #ffffff;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Map Container */
.map-container {
  height: 400px;
  background: #e0e0e0;
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light) !important;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-links a:hover {
  background: var(--secondary-color);
  color: var(--primary-color) !important;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Filter Buttons */
.filter-btn {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 2rem !important;
  margin: 0.5rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--shadow-gold);
}

/* Accordion */
.accordion {
  --bs-accordion-border-color: var(--primary-color);
  --bs-accordion-btn-focus-border-color: var(--secondary-color);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(192, 160, 98, 0.25);
}

.accordion-item {
  border: 2px solid var(--primary-color) !important;
  margin-bottom: 1rem;
  border-radius: 0 !important;
}

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

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 1.5rem;
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(192, 160, 98, 0.25) !important;
}

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

.accordion-collapse {
  border-top: 2px solid var(--secondary-color);
}

/* Icons */
.bi,
.fas,
.far,
.fab,
.fa {
  transition: all 0.3s ease;
}

.bi-check-circle-fill,
.bi-star-fill {
  color: var(--secondary-color) !important;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.fa-phone-alt,
.fa-envelope,
.fa-map-marker-alt {
  color: var(--secondary-color) !important;
  margin-right: 0.75rem;
}

/* Ratio Container */
.ratio {
  background: #e0e0e0;
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.857143%;
}

/* Text Utilities */
.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;
}

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

/* Background Utilities */
.bg-light {
  background-color: #f8f9fa !important;
}

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

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

.rounded-pill {
  border-radius: 50rem !important;
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  padding: 0.5rem 1.5rem;
  display: inline-block;
}

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

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  padding: 4rem 0 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

footer h5 {
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer p,
footer a,
footer li {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: all 0.3s ease;
}

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

footer .bi,
footer .fas,
footer .far,
footer .fab {
  color: var(--secondary-color) !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 0.8s ease-out;
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    border-top: 2px solid var(--secondary-color);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2.2rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .rune-corner {
    width: 80px;
    height: 80px;
  }
  
  .split-container {
    flex-direction: column;
  }
  
  .parallax-side {
    min-height: 400px;
  }
  
  .contact-sidebar {
    padding: 2rem;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .about-hero {
    padding: 6rem 0 3rem;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.8rem;
  }
  
  .display-4 {
    font-size: 1.6rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .timeline-point {
    padding-left: 2rem;
  }
  
  .timeline-point::before {
    width: 15px;
    height: 15px;
  }
  
  .timeline-point::after {
    left: 7px;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem;
  }
  
  .hero-section .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
  }
  
  .rune-corner {
    width: 60px;
    height: 60px;
  }
  
  .contact-sidebar,
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer,
  .social-links {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
}