/* Midnight Gold Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E8B86D;
  --dark-overlay: rgba(44, 62, 80, 0.85);
  --light-overlay: rgba(232, 184, 109, 0.15);
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

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

.lead, .fs-3, .fs-4, .fs-5 {
  font-weight: 400;
}

h4, .h4 {
  color: var(--primary-color) !important;
  font-weight: 600;
}

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

.navbar.fixed-top, .navbar.sticky-top {
  backdrop-filter: blur(10px);
}

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

.navbar-brand:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(232, 184, 109, 0.1);
  border-radius: 5px;
}

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

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

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

/* Carousel Styles */
.carousel {
  margin-top: 76px;
}

.carousel-item {
  height: 100vh;
  min-height: 500px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark-overlay) 0%, rgba(232, 184, 109, 0.3) 100%);
  z-index: 1;
}

.carousel-item img {
  object-fit: cover !important;
  height: 100vh;
  min-height: 500px;
}

.carousel-item .position-absolute {
  z-index: 2;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50% !important;
  background-color: var(--secondary-color) !important;
  border: 2px solid #ffffff !important;
  opacity: 0.6;
  transition: all var(--transition-speed) ease;
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.3);
}

.carousel .text-white {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Card Styles */
.card {
  border: none !important;
  border-radius: 15px !important;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
}

.card.shadow, .card.shadow-lg, .card.shadow-sm {
  box-shadow: 0 5px 25px rgba(44, 62, 80, 0.1) !important;
}

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

.card-body {
  padding: 2rem;
}

.card-img-top {
  border-radius: 15px 15px 0 0 !important;
  transition: all var(--transition-speed) ease;
}

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

/* Button Styles */
.btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 2rem !important;
  transition: all var(--transition-speed) ease !important;
  border: 2px solid transparent !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4a55a 100%) !important;
  border-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  box-shadow: 0 4px 15px rgba(232, 184, 109, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, #d4a55a 0%, var(--secondary-color) 100%) !important;
  border-color: #d4a55a !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(232, 184, 109, 0.4) !important;
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #1a252f !important;
  border-color: #1a252f !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
}

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

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

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-sm {
  padding: 0.5rem 1.5rem !important;
  font-size: 0.9rem !important;
}

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

/* Form Styles */
.form-control, .form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
}

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

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

.form-control::placeholder {
  color: #95a5a6 !important;
}

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

.card:hover .bi,
.nav-link:hover .bi {
  transform: scale(1.1);
  color: var(--primary-color) !important;
}

.bi-building, .bi-cup-hot, .bi-flower1, .bi-briefcase, 
.bi-person-check, .bi-car-front, .bi-star-fill,
.bi-facebook, .bi-instagram, .bi-twitter, .bi-linkedin,
.bi-geo-alt-fill, .bi-telephone-fill, .bi-envelope-fill,
.bi-arrow-right-circle-fill, .bi-telephone, .bi-envelope,
.bi-shield-check, .bi-info-circle, .bi-collection, .bi-gear,
.bi-people, .bi-lock, .bi-clock-history, .bi-hand-thumbs-up,
.bi-eye, .bi-pencil, .bi-trash, .bi-x-circle, .bi-cookie,
.bi-globe, .bi-person-badge, .bi-link-45deg, .bi-arrow-repeat,
.bi-chat-dots, .bi-geo-alt, .bi-house-door, .bi-check2,
.bi-rulers, .bi-person-fill, .bi-door-open, .bi-check-circle-fill,
.bi-check, .bi-people-fill, .bi-universal-access, .bi-door-closed,
.bi-wifi, .bi-snow, .bi-droplet, .bi-tv, .bi-soundwave,
.bi-egg-fried, .bi-shop, .bi-award, .bi-sunrise, .bi-sun,
.bi-moon-stars, .bi-cup-straw, .bi-gem, .bi-heart-pulse,
.bi-water, .bi-newspaper, .bi-cart, .bi-luggage, .bi-moisture {
  display: inline-block;
}

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

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

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

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d4a55a 100%) !important;
}

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

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

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

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

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

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

.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }

.pt-5 { padding-top: 4rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pb-4 { padding-bottom: 2rem !important; }

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

.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }
.p-5 { padding: 4rem !important; }

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

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

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

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 4rem !important; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-md-0 { margin-bottom: 0 !important; }

.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 4rem !important; }

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

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

/* Border Utilities */
.border-0 { border: none !important; }
.border-bottom { border-bottom: 1px solid #dee2e6 !important; }
.border-start { border-left: 3px solid var(--secondary-color) !important; }

.rounded { border-radius: 0.375rem !important; }
.rounded-3 { border-radius: 15px !important; }
.rounded-circle { border-radius: 50% !important; }

/* Shadow Utilities */
.shadow { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important; }
.shadow-lg { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important; }

/* Position Utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.fixed-top { position: fixed !important; top: 0 !important; }
.sticky-top { position: sticky !important; top: 0 !important; z-index: 1020; }

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

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

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

/* Flex Utilities */
.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }

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

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

/* Sizing */
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

/* Image Utilities */
.img-fluid {
  max-width: 100% !important;
  height: auto !important;
}

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

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

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

/* Text Utilities */
.text-center { text-align: center !important; }
.text-decoration-none { text-decoration: none !important; }
.fw-bold { font-weight: 700 !important; }
.fst-italic { font-style: italic !important; }
.text-uppercase { text-transform: uppercase !important; }

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

/* Alert */
.alert {
  border-radius: 10px !important;
  border-left: 4px solid var(--secondary-color) !important;
  background-color: var(--light-overlay) !important;
  color: var(--primary-color) !important;
}

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

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

/* Social Media Links */
a[class*="bi-facebook"],
a[class*="bi-instagram"],
a[class*="bi-twitter"],
a[class*="bi-linkedin"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(232, 184, 109, 0.1);
  color: var(--secondary-color) !important;
  transition: all var(--transition-speed) ease;
}

a[class*="bi-facebook"]:hover,
a[class*="bi-instagram"]:hover,
a[class*="bi-twitter"]:hover,
a[class*="bi-linkedin"]:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color) !important;
  transform: translateY(-5px);
}

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

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  transition: all var(--transition-speed) ease;
}

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

footer .bi {
  color: var(--secondary-color) !important;
}

/* Testimonial Styles */
.card .bi-star-fill {
  color: var(--secondary-color) !important;
  font-size: 1.2rem;
}

/* Grid System */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.g-3 > * { padding: 0.75rem; }
.g-4 > * { padding: 1rem; }
.g-0 > * { padding: 0; }

/* Container */
.container, .container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* Animations */
@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 fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  animation: fadeIn 0.8s ease forwards;
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .carousel-item {
    height: 70vh;
    min-height: 400px;
  }
  
  .carousel-item img {
    height: 70vh;
    min-height: 400px;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .col-lg-6, .col-lg-4, .col-lg-3, .col-lg-5, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-2 {
    margin-bottom: 2rem;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: column !important;
  }
  
  .order-lg-1, .order-lg-2 {
    order: 0 !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .px-5 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
  }
  
  .col-md-4, .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .flex-column {
    flex-direction: column !important;
  }
  
  .text-md-start, .text-md-end {
    text-align: center !important;
  }
  
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 575.98px) {
  .carousel-item {
    height: 60vh;
    min-height: 350px;
  }
  
  .carousel-item img {
    height: 60vh;
    min-height: 350px;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-2 {
    font-size: 1.75rem !important;
  }
  
  .col-6, .col-4, .col-5, .col-7, .col-8 {
    margin-bottom: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar, .carousel, footer, .btn {
    display: none !important;
  }
}