/* Architectural Studio - Midnight Gold Theme */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E8B653;
  --dark-overlay: rgba(44, 62, 80, 0.9);
  --gold-overlay: rgba(232, 182, 83, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700 !important;
  letter-spacing: -0.5px;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
  padding: 1rem 0 !important;
  transition: var(--transition);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

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

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(232, 182, 83, 0.3) !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='%23E8B653' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.vh-100 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  position: relative;
  overflow: hidden;
}

.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23E8B653" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
  animation: waveAnimation 20s ease-in-out infinite;
}

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

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

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

/* Buttons */
.btn {
  padding: 0.75rem 2rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition) !important;
  border: none !important;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary,
.btn-lg {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4a347 100%) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(232, 182, 83, 0.3);
  font-weight: 700 !important;
}

.btn-primary:hover,
.btn-lg:hover {
  background: linear-gradient(135deg, #d4a347 0%, var(--secondary-color) 100%) !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(232, 182, 83, 0.4);
}

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

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

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

.btn-outline:hover,
.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(232, 182, 83, 0.3);
}

.btn-close,
.btn-close-white {
  filter: brightness(0) invert(1);
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px !important;
  transition: var(--transition);
  overflow: hidden;
  background: #fff;
}

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

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

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

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

.card.border-0 {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

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

.card-text {
  color: #666 !important;
  line-height: 1.7;
}

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

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

/* Forms */
.form-control,
.form-control-lg,
.form-select,
.form-select-lg {
  border: 2px solid #e0e0e0 !important;
  border-radius: 10px !important;
  padding: 0.875rem 1.25rem !important;
  transition: var(--transition);
  background-color: #fff !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-control-lg:focus,
.form-select:focus,
.form-select-lg:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(232, 182, 83, 0.25) !important;
  background-color: #fff !important;
}

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

.form-check-input {
  border: 2px solid #ddd !important;
  width: 1.5rem;
  height: 1.5rem;
}

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

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

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

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

.d-inline-flex {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4a347 100%);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 20px rgba(232, 182, 83, 0.3);
}

.d-inline-flex .bi {
  color: var(--primary-color) !important;
}

.card:hover .d-inline-flex {
  transform: rotateY(360deg);
  transition: transform 0.8s;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition);
}

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

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

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

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

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

.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mb-4 {
  margin-bottom: 2rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.mt-4 {
  margin-top: 2rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

/* Background Sections */
section:nth-child(even) {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

section:nth-child(odd) {
  background: #ffffff;
}

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

/* Alerts */
.alert {
  border: none !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  border-left: 5px solid var(--secondary-color) !important;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e0e0e0 !important;
  margin-bottom: 1rem !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-header {
  background: transparent;
}

.accordion-button {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
}

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(232, 182, 83, 0.25) !important;
  border-color: var(--secondary-color) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

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

.accordion-body {
  padding: 1.5rem !important;
  background: #fff;
  color: #666 !important;
  line-height: 1.7;
}

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

/* Modal */
.modal-content {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
  color: #fff !important;
  padding: 1.5rem 2rem !important;
  border-bottom: none !important;
}

.modal-title {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

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

.modal-footer {
  border-top: 1px solid #e0e0e0 !important;
  padding: 1.5rem 2rem !important;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  color: #666;
}

/* Links */
a {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color) !important;
}

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

/* Text Colors */
.text-muted {
  color: #999 !important;
}

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 1px;
}

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

.fw-light {
  font-weight: 300 !important;
}

/* Spacing Utilities */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }

.pe-lg-4 { padding-right: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

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

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

/* Position Utilities */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

.flex-column {
  flex-direction: column !important;
}

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

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

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

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

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

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

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

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

.text-lg-start {
  text-align: left !important;
}

.text-lg-end {
  text-align: right !important;
}

.text-md-end {
  text-align: right !important;
}

/* Width/Height Utilities */
.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

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

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

/* 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% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

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

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out;
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition);
}

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

.hover-shadow:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Social Icons */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--secondary-color) !important;
  transition: var(--transition);
}

.bi-facebook:hover,
.bi-instagram:hover,
.bi-twitter:hover,
.bi-linkedin:hover {
  background: var(--secondary-color);
  color: var(--primary-color) !important;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(232, 182, 83, 0.4);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--secondary-color) !important;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

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

/* Small Text */
.small {
  font-size: 0.875rem !important;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* Responsive Utilities */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .vh-100 {
    min-height: 100vh;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .btn {
    padding: 0.625rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .d-inline-flex {
    width: 60px;
    height: 60px;
  }
  
  .modal-dialog {
    margin: 1rem !important;
  }
  
  .col-6 {
    width: 100% !important;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .fs-4 {
    font-size: 1.25rem !important;
  }
  
  .d-sm-inline-block {
    display: inline-block !important;
  }
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary-color) 0%, #d4a347 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d4a347 0%, var(--secondary-color) 100%);
}

/* Loading Animation */
.loading {
  opacity: 0;
  transition: opacity 0.3s;
}

.loaded {
  opacity: 1;
}

/* Privacy Content */
.privacy-content {
  color: #666 !important;
  line-height: 1.8;
}

.privacy-content h2,
.privacy-content h3 {
  color: var(--primary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Fade Classes */
.fade {
  transition: opacity 0.3s linear;
}

.fade:not(.show) {
  opacity: 0;
}

/* Order Utilities */
@media (min-width: 992px) {
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333% !important;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667% !important;
  }
  
  .offset-lg-3 {
    margin-left: 25% !important;
  }
  
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-9 { width: 75%; }
  .col-lg-10 { width: 83.333333%; }
}

@media (min-width: 768px) {
  .order-md-1 {
    order: 1 !important;
  }
  
  .order-md-2 {
    order: 2 !important;
  }
  
  .col-md-2 { width: 16.666667%; }
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-10 { width: 83.333333%; }
}

@media (min-width: 576px) {
  .col-sm-6 { width: 50%; }
}

.col-6 { width: 50%; }
.col-12 { width: 100%; }

/* Rounded Utilities */
.rounded-3 {
  border-radius: 15px !important;
}

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