/* Golden Blaze Architecture Studio - Custom Styles */

:root {
  --primary-color: #B8860B;
  --secondary-color: #2F4F4F;
  --primary-dark: #8B6914;
  --primary-light: #DAA520;
  --secondary-light: #3D6363;
  --gold-glow: rgba(184, 134, 11, 0.3);
  --dark-overlay: rgba(47, 79, 79, 0.85);
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background-color: #f8f9fa;
  color: #2F4F4F !important;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(47, 79, 79, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  padding: 1rem 0 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  background: rgba(47, 79, 79, 0.98) !important;
  padding: 0.5rem 0 !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  color: #B8860B !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
  color: #DAA520 !important;
  transform: scale(1.05);
  text-shadow: 0 0 15px var(--gold-glow);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #B8860B !important;
  background: rgba(184, 134, 11, 0.15);
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #B8860B !important;
  background: rgba(184, 134, 11, 0.2);
  font-weight: 600 !important;
}

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

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

.navbar-toggler {
  border: 2px solid #B8860B !important;
  padding: 0.5rem 0.75rem !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem var(--gold-glow) !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='%23B8860B' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.position-relative.vh-100 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a2f2f 100%);
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(47, 79, 79, 0.85) 0%, rgba(184, 134, 11, 0.2) 100%);
  z-index: 1;
}

.position-relative.vh-100 .position-absolute.top-0 {
  z-index: 0;
  opacity: 0.4;
}

.position-relative.vh-100 .container {
  position: relative;
  z-index: 2;
}

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

.display-2 {
  font-weight: 700 !important;
  letter-spacing: -1px;
  line-height: 1.2;
  color: #ffffff !important;
  animation: fadeInUp 1s ease-out;
}

.display-2 .d-block {
  color: #B8860B !important;
  text-shadow: 0 0 30px var(--gold-glow), 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.lead {
  font-size: 1.25rem !important;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95) !important;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px !important;
  transition: all 0.4s ease !important;
  border: none !important;
  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 {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn:not(.btn-outline-light):not(.btn-light) {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.btn:not(.btn-outline-light):not(.btn-light):hover {
  background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.6);
}

.btn-outline-light {
  border: 2px solid #B8860B !important;
  color: #B8860B !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: #B8860B !important;
  color: #ffffff !important;
  border-color: #B8860B !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 134, 11, 0.4);
}

.btn-light {
  background: #ffffff !important;
  color: #2F4F4F !important;
  border: 2px solid #B8860B !important;
}

.btn-light:hover {
  background: #B8860B !important;
  color: #ffffff !important;
  border-color: #B8860B !important;
  transform: translateY(-3px);
}

.d-grid .btn {
  border-radius: 8px !important;
}

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

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(184, 134, 11, 0.3) !important;
}

.card.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid rgba(184, 134, 11, 0.1) !important;
}

.card-body {
  background: #ffffff;
}

.card-title {
  color: #2F4F4F !important;
  font-weight: 700 !important;
  margin-bottom: 1rem;
}

.card-text {
  color: #2F4F4F !important;
  line-height: 1.8;
}

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

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
  background: #ffffff !important;
  color: #2F4F4F !important;
  font-weight: 500 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #B8860B !important;
  box-shadow: 0 0 0 0.25rem var(--gold-glow) !important;
  background: #ffffff !important;
  color: #2F4F4F !important;
}

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

.form-label {
  color: #2F4F4F !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.form-check-input {
  border: 2px solid #B8860B !important;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #B8860B !important;
  border-color: #B8860B !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem var(--gold-glow) !important;
}

.form-check-label {
  color: #2F4F4F !important;
  cursor: pointer;
  font-weight: 500 !important;
}

/* Icons */
.bi {
  color: #B8860B !important;
  transition: all 0.3s ease;
}

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

.bi-stars,
.bi-tree,
.bi-heart-pulse,
.bi-fire,
.bi-gem,
.bi-award,
.bi-shield-check {
  display: inline-block;
  margin-bottom: 1rem;
}

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

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

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

/* Sections */
section {
  position: relative;
  overflow: hidden;
}

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

.bg-light {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.bg-light section:nth-child(even) {
  background: #ffffff;
}

/* Text Styles */
.display-3 {
  font-weight: 700 !important;
  color: #2F4F4F !important;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.display-4 {
  font-weight: 700 !important;
  color: #2F4F4F !important;
  margin-bottom: 1rem;
}

.display-5 {
  font-weight: 700 !important;
  color: #2F4F4F !important;
}

.display-6 {
  font-weight: 600 !important;
  color: #2F4F4F !important;
}

.text-muted {
  color: rgba(47, 79, 79, 0.6) !important;
}

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

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.small {
  font-size: 0.875rem !important;
}

/* Shadows */
.shadow {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

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

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

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

.rounded-circle {
  border-radius: 50% !important;
  border: 4px solid #B8860B !important;
}

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

/* Badges */
.badge {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  font-size: 0.85rem !important;
}

/* Alerts */
.alert {
  border-radius: 10px !important;
  border: none !important;
  background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(184, 134, 11, 0.05) 100%) !important;
  color: #2F4F4F !important;
  border-left: 4px solid #B8860B !important;
}

/* Links */
a {
  color: #B8860B !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #DAA520 !important;
  text-decoration: underline !important;
}

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

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

/* Footer */
footer {
  background: linear-gradient(135deg, #2F4F4F 0%, #1a2f2f 100%);
  color: rgba(255, 255, 255, 0.9) !important;
  padding: 3rem 0 1rem;
}

footer .bi {
  color: #B8860B !important;
}

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

footer a:hover {
  color: #B8860B !important;
  transform: translateX(5px);
}

footer .list-unstyled li {
  margin-bottom: 0.5rem;
  padding-left: 0;
}

footer .bi-facebook:hover,
footer .bi-instagram:hover,
footer .bi-twitter:hover,
footer .bi-linkedin:hover,
footer .bi-youtube:hover {
  color: #DAA520 !important;
  transform: scale(1.3) rotate(5deg);
}

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

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

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

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

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--gold-glow);
  }
  50% {
    box-shadow: 0 0 40px rgba(184, 134, 11, 0.6);
  }
}

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

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

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

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

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

.hover-glow:hover {
  animation: glow 2s infinite;
}

/* Opacity */
.opacity-75 {
  opacity: 0.75 !important;
}

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

.g-2 {
  gap: 0.5rem !important;
}

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

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

.g-0 {
  gap: 0 !important;
}

/* Position Utilities */
.position-absolute {
  position: absolute;
}

.position-relative {
  position: relative;
}

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

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

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

.end-0 {
  right: 0 !important;
}

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

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

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

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

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

/* Float */
.float-end {
  float: right !important;
}

/* Display */
.d-inline-block {
  display: inline-block !important;
}

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

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

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

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

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

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

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

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

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

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

.align-top {
  vertical-align: top !important;
}

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

.mt-auto {
  margin-top: auto !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(47, 79, 79, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .sticky-top {
    top: 70px;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .fs-1 {
    font-size: 2.5rem !important;
  }
  
  .fs-2 {
    font-size: 2rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .btn-lg {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

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

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

*:focus-visible {
  outline: 3px solid #B8860B !important;
  outline-offset: 2px;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
}

/* Selection */
::selection {
  background: var(--gold-glow);
  color: #2F4F4F;
}

::-moz-selection {
  background: var(--gold-glow);
  color: #2F4F4F;
}