/* Fortress Stone & Gold Architecture Studio Theme */
/* Base Variables and Reset */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #C0A062;
  --text-light: #ECF0F1;
  --text-dark: #1a252f;
  --stone-texture: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  --gold-accent: #D4AF37;
  --shadow-fortress: 0 10px 40px rgba(44, 62, 80, 0.3);
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Navbar Styling */
.navbar {
  background: var(--stone-texture) !important;
  box-shadow: var(--shadow-fortress);
  padding: 1rem 0;
  transition: var(--transition-smooth);
  z-index: 1030;
}

.navbar-dark .navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-smooth);
}

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

.navbar-dark .nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.3rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

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

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

.navbar-dark .nav-link:hover {
  color: var(--secondary-color) !important;
  background: rgba(192, 160, 98, 0.1);
  transform: translateY(-2px);
}

.navbar-dark .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(192, 160, 98, 0.15);
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(192, 160, 98, 0.25);
}

.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;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a252f 0%, var(--primary-color) 50%, #34495E 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(90deg, rgba(192, 160, 98, 0.03) 0px, transparent 2px, transparent 40px, rgba(192, 160, 98, 0.03) 42px),
    repeating-linear-gradient(0deg, rgba(192, 160, 98, 0.03) 0px, transparent 2px, transparent 40px, rgba(192, 160, 98, 0.03) 42px);
  opacity: 0.5;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

.hero-section .text-white {
  color: #ffffff !important;
  position: relative;
  z-index: 2;
}

.stone-archway-frame {
  display: inline-block;
  padding: 2rem 3rem;
  border: 4px solid var(--secondary-color);
  border-radius: 200px 200px 0 0;
  box-shadow: 
    inset 0 0 30px rgba(192, 160, 98, 0.2),
    0 10px 50px rgba(192, 160, 98, 0.3);
  background: rgba(44, 62, 80, 0.3);
  backdrop-filter: blur(10px);
  animation: archPulse 3s ease-in-out infinite;
}

@keyframes archPulse {
  0%, 100% { box-shadow: inset 0 0 30px rgba(192, 160, 98, 0.2), 0 10px 50px rgba(192, 160, 98, 0.3); }
  50% { box-shadow: inset 0 0 40px rgba(192, 160, 98, 0.4), 0 15px 60px rgba(192, 160, 98, 0.5); }
}

.hero-section .display-2 {
  color: var(--secondary-color) !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  animation: titleFadeIn 1s ease-out;
}

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

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

@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: 50px;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.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;
  z-index: -1;
}

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

.btn-lg {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 6px 20px rgba(192, 160, 98, 0.4);
}

.btn-lg:hover {
  background: var(--gold-accent) !important;
  border-color: var(--gold-accent) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192, 160, 98, 0.6);
  color: #ffffff !important;
}

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

.btn-outline-light:hover {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border-color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

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

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

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

/* Section Styling */
section {
  padding: 80px 0;
  position: relative;
}

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

/* Icon Boxes */
.bi {
  transition: var(--transition-smooth);
}

.bi-shield-check, .bi-stars, .bi-geo-alt, .bi-award,
.bi-shield-fill, .bi-building, .bi-people {
  font-size: 3rem;
  color: var(--secondary-color) !important;
  display: block;
  margin-bottom: 1rem;
}

.col-md-3:hover .bi,
.col-sm-6:hover .bi,
.card:hover .bi {
  transform: scale(1.2) rotate(5deg);
  color: var(--gold-accent) !important;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-fortress);
}

.card-body {
  padding: 2rem;
}

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

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

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

.card-text {
  color: #555;
  line-height: 1.8;
}

/* Suite Cards with Flip Effect */
.suite-card {
  perspective: 1000px;
  height: 400px;
}

.suite-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.suite-card:hover .suite-inner {
  transform: rotateY(180deg);
}

.suite-front, .suite-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.suite-front {
  background: linear-gradient(135deg, var(--primary-color), #34495E);
  color: #ffffff !important;
}

.suite-back {
  background: var(--secondary-color);
  color: #ffffff !important;
  transform: rotateY(180deg);
}

.suite-front .text-warning,
.suite-back .bi-check-circle-fill {
  color: var(--gold-accent) !important;
  font-size: 4rem;
  margin-bottom: 1rem;
}

/* Images */
.img-fluid {
  border-radius: 15px;
  transition: var(--transition-smooth);
}

.img-fluid:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-fortress);
}

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

.shadow-sm {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1) !important;
}

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

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

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--gold-accent));
}

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

.timeline-marker {
  position: absolute;
  left: 18px;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--secondary-color);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(192, 160, 98, 0.2);
  z-index: 1;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.3);
  background: var(--gold-accent);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.3);
}

.timeline-content {
  background: #ffffff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-fortress);
}

/* Founder Story */
.founder-story {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 3rem;
  border-left: 5px solid var(--secondary-color);
}

/* Video Ratio */
.ratio {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-fortress);
}

/* Castle Section */
.castle-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.castle-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(192, 160, 98, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

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

/* Forms */
.form-control, .form-select {
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition-smooth);
  background: #ffffff;
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(192, 160, 98, 0.25) !important;
  outline: none;
}

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

.input-group {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

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

.accordion-item {
  border: 2px solid rgba(192, 160, 98, 0.2) !important;
  margin-bottom: 1rem;
  border-radius: 15px !important;
  overflow: hidden;
}

.accordion-button {
  background: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

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

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

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

/* Privacy Page */
.privacy-page {
  background: #ffffff;
}

.privacy-hero {
  background: var(--stone-texture);
  padding: 120px 0 60px;
  color: #ffffff !important;
}

.privacy-hero h1 {
  color: var(--secondary-color) !important;
}

.timestamp-corner {
  background: rgba(192, 160, 98, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--secondary-color) !important;
  color: #ffffff !important;
}

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

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

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

/* Footer */
footer {
  background: var(--stone-texture);
  color: var(--text-light) !important;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

footer a {
  color: var(--text-light) !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  display: inline-block;
}

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

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

footer .bi {
  color: var(--secondary-color) !important;
  margin-right: 0.5rem;
}

footer .bi:hover {
  color: var(--gold-accent) !important;
}

.border-top {
  border-top: 2px solid rgba(192, 160, 98, 0.3) !important;
}

/* Utility Classes */
.bg-white {
  background-color: #ffffff !important;
}

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

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

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

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

.overflow-hidden {
  overflow: hidden !important;
}

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

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

/* Responsive Grid */
.g-3 {
  gap: 1rem !important;
}

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

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

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

/* Spacing Utilities */
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-md-0 { margin-bottom: 0 !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.ps-5 { padding-left: 3rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !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, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-size: 2000px 100%;
}

/* Seasonal Icons */
.bi-snow, .bi-sun, .bi-tree, .bi-flower1 {
  font-size: 2.5rem;
  color: var(--secondary-color) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .navbar-dark .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 10px;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 100px 0 60px;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .stone-archway-frame {
    padding: 1.5rem 2rem;
  }
  
  section {
    padding: 60px 0;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 3rem;
  }
  
  .timeline-marker {
    left: 8px;
  }
}

@media (max-width: 767.98px) {
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .suite-card {
    height: 350px;
  }
  
  .founder-story {
    padding: 2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .fs-3 {
    font-size: 1.25rem !important;
  }
  
  .fs-5 {
    font-size: 1rem !important;
  }
  
  .stone-archway-frame {
    padding: 1rem 1.5rem;
  }
  
  .bi-shield-check, .bi-stars, .bi-geo-alt, .bi-award {
    font-size: 2.5rem;
  }
}

/* Print Styles */
@media print {
  .navbar, footer, .btn, .navbar-toggler {
    display: none !important;
  }
  
  body {
    background: #ffffff;
    color: #000000;
  }
  
  .hero-section {
    background: #ffffff;
    color: #000000;
  }
}