/* Obsidian Gold Architecture Studio - Custom Styles */

:root {
  --primary-color: #1A1A2E;
  --secondary-color: #C9A961;
  --accent-color: #D4AF37;
  --dark-bg: #0F0F1E;
  --light-text: #F5F5F5;
  --transition-speed: 0.3s;
}

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

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

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

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

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

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

/* Navigation */
.navbar {
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 1rem 0 !important;
  box-shadow: 0 2px 20px rgba(201, 169, 97, 0.1);
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  background: rgba(15, 15, 30, 0.98) !important;
  box-shadow: 0 4px 30px rgba(201, 169, 97, 0.2);
}

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

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

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

.nav-link {
  color: rgba(245, 245, 245, 0.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.3rem;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

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

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 50%, #0F0F1E 100%);
  position: relative;
  min-height: 100vh;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(201, 169, 97, 0.03) 49%, rgba(201, 169, 97, 0.03) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(201, 169, 97, 0.03) 49%, rgba(201, 169, 97, 0.03) 51%, transparent 52%);
  background-size: 50px 50px;
  opacity: 0.5;
  animation: heroPattern 20s linear infinite;
}

@keyframes heroPattern {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

.hero-section .display-1 {
  font-size: clamp(2.5rem, 8vw, 5rem) !important;
  font-weight: 800 !important;
  color: var(--light-text) !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 3px;
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  font-size: clamp(1rem, 3vw, 1.5rem) !important;
  color: var(--secondary-color) !important;
  font-weight: 300 !important;
  max-width: 700px;
  margin: 0 auto 2rem !important;
  animation: fadeInUp 1.2s ease-out;
}

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

/* Buttons */
.btn {
  border-radius: 0 !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  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;
  padding: 1rem 2.5rem !important;
}

.btn-lg:hover {
  background: transparent !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3) !important;
}

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

.btn-outline-light:hover {
  background: var(--light-text) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245, 245, 245, 0.2) !important;
}

/* Scroll Indicator */
.scroll-indicator {
  animation: bounce 2s infinite;
  cursor: pointer;
}

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

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

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

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

/* Images */
.img-fluid {
  border-radius: 0;
  transition: all var(--transition-speed) ease;
}

.shadow {
  box-shadow: 0 15px 50px rgba(201, 169, 97, 0.2) !important;
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3) !important;
}

/* Typography */
.display-4,
.display-3,
.display-5 {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  margin-bottom: 1.5rem !important;
}

.lead {
  color: rgba(245, 245, 245, 0.8) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--light-text) !important;
}

/* Cards */
.p-4 {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 169, 97, 0.2);
  transition: all var(--transition-speed) ease;
  position: relative;
  overflow: hidden;
}

.p-4::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.p-4:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--secondary-color);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2) !important;
}

.p-4:hover::before {
  opacity: 1;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.2);
  transition: all var(--transition-speed) ease;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 50%;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--secondary-color);
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.2);
}

@media (max-width: 991px) {
  .timeline::before {
    left: 0;
  }
  
  .timeline-item::before {
    left: -1.5rem;
  }
}

/* Contact Card */
.contact-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 169, 97, 0.2);
  padding: 2rem;
  transition: all var(--transition-speed) ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.2) !important;
}

.contact-card .bi {
  color: var(--secondary-color) !important;
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Forms */
.form-control,
.form-select {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 169, 97, 0.3) !important;
  color: var(--light-text) !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
}

.form-control:focus,
.form-select:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(201, 169, 97, 0.25) !important;
  color: var(--light-text) !important;
}

.form-control::placeholder {
  color: rgba(245, 245, 245, 0.5) !important;
}

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

/* Footer */
footer {
  background: var(--dark-bg) !important;
  border-top: 2px solid rgba(201, 169, 97, 0.2);
}

footer a {
  color: rgba(245, 245, 245, 0.7) !important;
  text-decoration: none !important;
  transition: all var(--transition-speed) ease !important;
}

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

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

/* Social Icons */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

.bi-facebook:hover {
  color: #1877F2 !important;
  transform: scale(1.2) rotate(5deg);
}

.bi-instagram:hover {
  color: #E4405F !important;
  transform: scale(1.2) rotate(-5deg);
}

.bi-twitter:hover {
  color: #1DA1F2 !important;
  transform: scale(1.2) rotate(5deg);
}

.bi-linkedin:hover {
  color: #0A66C2 !important;
  transform: scale(1.2) rotate(-5deg);
}

/* Accordion */
.accordion {
  --bs-accordion-bg: rgba(255, 255, 255, 0.05) !important;
  --bs-accordion-border-color: rgba(201, 169, 97, 0.2) !important;
  --bs-accordion-btn-focus-border-color: var(--secondary-color) !important;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(201, 169, 97, 0.25) !important;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(201, 169, 97, 0.2) !important;
  margin-bottom: 1rem;
}

.accordion-button {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--light-text) !important;
  font-weight: 600 !important;
  padding: 1.25rem !important;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(201, 169, 97, 0.15) !important;
  color: var(--secondary-color) !important;
  box-shadow: none !important;
}

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

.accordion-button:not(.collapsed)::after {
  filter: brightness(1) invert(0.7) sepia(1) saturate(2) hue-rotate(10deg);
}

.accordion-body {
  background: rgba(255, 255, 255, 0.03) !important;
  color: rgba(245, 245, 245, 0.8) !important;
  padding: 1.5rem !important;
  border-top: 1px solid rgba(201, 169, 97, 0.2) !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(201, 169, 97, 0.25) !important;
}

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

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.suite-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 169, 97, 0.2);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.suite-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(201, 169, 97, 0.3) !important;
  border-color: var(--secondary-color);
}

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

.suite-card:hover .suite-image {
  transform: scale(1.1);
}

.suite-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.95) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.suite-card:hover .suite-overlay {
  opacity: 1;
}

/* Vault Hero */
.vault-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-color) 100%);
  position: relative;
  overflow: hidden;
}

.vault-door-container {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

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

.vault-door-outer {
  width: 100%;
  height: 100%;
  border: 15px solid var(--secondary-color);
  border-radius: 50%;
  position: absolute;
  box-shadow: 
    0 0 30px rgba(201, 169, 97, 0.3),
    inset 0 0 30px rgba(201, 169, 97, 0.2);
  animation: pulse 3s ease-in-out infinite;
}

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

.vault-door-inner {
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--primary-color) 0%, var(--dark-bg) 100%);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid var(--accent-color);
}

.vault-spokes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: rotate 20s linear infinite;
}

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

.vault-spokes::before,
.vault-spokes::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 100%;
  background: var(--secondary-color);
  left: 50%;
  transform: translateX(-50%);
}

.vault-spokes::after {
  transform: translateX(-50%) rotate(90deg);
}

.vault-handle {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(201, 169, 97, 0.5);
  border: 5px solid var(--accent-color);
}

.vault-chamber {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(201, 169, 97, 0.2);
  backdrop-filter: blur(10px);
}

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

.bi:hover {
  color: var(--accent-color) !important;
  transform: scale(1.1);
}

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

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

/* Utility Classes */
.rounded {
  border-radius: 0 !important;
}

.shadow-lg {
  box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(15, 15, 30, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid rgba(201, 169, 97, 0.2);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3,
  .display-4 {
    font-size: 2rem !important;
  }
  
  .py-5 {
    padding: 3rem 0 !important;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .vault-door-container {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .suite-image {
    height: 200px;
  }
}

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

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

/* Smooth Transitions */
* {
  transition: background-color var(--transition-speed) ease,
              color var(--transition-speed) ease,
              border-color var(--transition-speed) ease;
}

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

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

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

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

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