/* Architectural Studio - Flame Red & Carbon Black Theme */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --light-color: #FFFFFF;
  --dark-color: #000000;
  --gray-color: #757575;
  --accent-color: #FF5252;
  --transition: all 0.3s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* ===== NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, #212121 0%, #000000 100%) !important;
  box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
  padding: 1rem 0 !important;
  transition: var(--transition);
  z-index: 1000;
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
  background: rgba(33, 33, 33, 0.98) !important;
}

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

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

.navbar-brand .bi-fire {
  color: #D32F2F !important;
  font-size: 2rem;
  animation: fireFlicker 2s infinite;
}

@keyframes fireFlicker {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.navbar-toggler {
  border-color: #D32F2F !important;
  background-color: #D32F2F !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='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: #FFFFFF !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #D32F2F !important;
  transform: translateY(-2px);
}

.navbar .btn {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid #D32F2F !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.5rem !important;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar .btn:hover {
  background: transparent !important;
  color: #D32F2F !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #000000 0%, #212121 50%, #000000 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 50px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(211, 47, 47, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(211, 47, 47, 0.15) 0%, transparent 50%);
  animation: pulseGlow 4s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.fire-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #D32F2F;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 10s infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .display-2 {
  font-weight: 800 !important;
  color: #FFFFFF !important;
  text-shadow: 2px 2px 20px rgba(211, 47, 47, 0.5);
  line-height: 1.2;
  margin-bottom: 2rem !important;
  animation: fadeInUp 1s ease;
}

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

.hero-content .lead {
  color: #E0E0E0 !important;
  font-size: 1.3rem !important;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn-lg {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid #D32F2F !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.4);
}

.btn-lg:hover {
  background: transparent !important;
  color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.6);
}

.btn-outline-light {
  color: #FFFFFF !important;
  border: 2px solid #FFFFFF !important;
  background: transparent !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline-light:hover {
  background: #FFFFFF !important;
  color: #212121 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  background: rgba(33, 33, 33, 0.3);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(211, 47, 47, 0.3);
  padding: 2rem 0 !important;
}

.trust-badges .bi {
  color: #D32F2F !important;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  animation: iconBounce 2s infinite;
}

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

.trust-badges .display-4 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.trust-badges .text-white-50 {
  color: #BDBDBD !important;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.badge {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%) !important;
  color: #FFFFFF !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.display-5 {
  color: #212121 !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2;
}

.fs-5 {
  color: #424242 !important;
  line-height: 1.8;
  font-weight: 400;
}

.img-fluid {
  transition: var(--transition);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(211, 47, 47, 0.3) !important;
}

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

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 15px !important;
  overflow: hidden;
  transition: var(--transition);
  background: #FFFFFF !important;
  height: 100%;
}

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

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

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

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

.card-title {
  color: #212121 !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.card-text {
  color: #616161 !important;
  line-height: 1.8;
  margin-bottom: 1.5rem !important;
}

.service-card {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 15px;
  border-left: 4px solid #D32F2F;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
  background: #FAFAFA;
}

.service-card .bi {
  color: #D32F2F !important;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-card .h4 {
  color: #212121 !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

.service-card .text-muted {
  color: #616161 !important;
  line-height: 1.7;
}

.service-details {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.service-details li {
  padding: 0.5rem 0;
  color: #424242;
  display: flex;
  align-items: center;
}

.service-details .bi-check2 {
  color: #D32F2F !important;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.text-danger {
  color: #D32F2F !important;
}

/* ===== BACKGROUND COLORS ===== */
.bg-light {
  background-color: #F5F5F5 !important;
}

.bg-dark {
  background-color: #212121 !important;
}

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

.bg-secondary {
  background-color: #424242 !important;
}

/* ===== TEXT COLORS ===== */
.text-white {
  color: #FFFFFF !important;
}

.text-dark {
  color: #212121 !important;
}

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

.text-light {
  color: #E0E0E0 !important;
}

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

.text-success {
  color: #4CAF50 !important;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent !important;
}

.btn-light {
  background: #FFFFFF !important;
  color: #212121 !important;
  border-color: #E0E0E0 !important;
}

.btn-light:hover {
  background: #D32F2F !important;
  color: #FFFFFF !important;
  border-color: #D32F2F !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.3);
}

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

/* ===== PRICING OVERLAY ===== */
.pricing-overlay {
  background: rgba(33, 33, 33, 0.95);
  padding: 2rem;
  border-radius: 15px;
  transition: var(--transition);
}

.pricing-overlay:hover {
  background: rgba(211, 47, 47, 0.95);
  transform: scale(1.05);
}

.pricing-overlay .h5 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

/* ===== FORMS ===== */
.form-label {
  color: #212121 !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition) !important;
  background-color: #FFFFFF !important;
  color: #212121 !important;
}

.form-control:focus,
.form-select:focus {
  border-color: #D32F2F !important;
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: #9E9E9E !important;
}

.form-check-input {
  border: 2px solid #E0E0E0 !important;
  transition: var(--transition);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.25) !important;
}

.form-check-label {
  color: #424242 !important;
}

.invalid-feedback {
  color: #D32F2F !important;
  font-weight: 500;
  display: none;
}

.form-control.is-invalid {
  border-color: #D32F2F !important;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

/* ===== ALERTS ===== */
.alert {
  border-radius: 10px !important;
  border: none !important;
  padding: 1rem 1.5rem !important;
  font-weight: 500;
}

.alert-warning {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%) !important;
  color: #E65100 !important;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  border: 1px solid #E0E0E0 !important;
  margin-bottom: 0.5rem;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-header {
  background: #FFFFFF;
}

.accordion-button {
  background: #FAFAFA !important;
  color: #212121 !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
  transition: var(--transition);
}

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

.accordion-button:focus {
  box-shadow: none !important;
  border: none !important;
}

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

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

.accordion-body {
  padding: 1.5rem !important;
  background: #FFFFFF !important;
  color: #424242 !important;
  line-height: 1.8;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #000000 0%, #212121 100%);
  color: #E0E0E0 !important;
  padding-top: 4rem;
}

footer h5,
footer h4 {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  position: relative;
  padding-bottom: 0.5rem;
}

footer h5::after,
footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #D32F2F;
}

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

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

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

footer .bi {
  color: #D32F2F !important;
  margin-right: 0.5rem;
}

footer .border-top {
  border-color: rgba(211, 47, 47, 0.3) !important;
}

/* ===== UTILITIES ===== */
.position-relative {
  position: relative !important;
}

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

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

.sticky-lg-top {
  position: sticky !important;
  top: 20px !important;
}

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

.w-100 {
  width: 100% !important;
}

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

.min-vh-100 {
  min-height: 100vh !important;
}

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

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

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

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

.border-start {
  border-left: 1px solid #E0E0E0 !important;
}

.border-bottom {
  border-bottom: 1px solid #E0E0E0 !important;
}

.border-secondary {
  border-color: #9E9E9E !important;
}

.border-3 {
  border-width: 3px !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;
}

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

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

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

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

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

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

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

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

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

.text-uppercase {
  text-transform: uppercase !important;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid rgba(211, 47, 47, 0.3);
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .navbar .btn {
    width: 100%;
    margin-top: 1rem;
  }
  
  .hero-section {
    padding: 80px 0 30px;
    min-height: auto;
  }
  
  .hero-content .display-2 {
    font-size: 2.5rem !important;
  }
  
  .hero-content .lead {
    font-size: 1.1rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem !important;
  }
  
  .trust-badges .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .sticky-lg-top {
    position: relative !important;
  }
}

@media (max-width: 767.98px) {
  .hero-content .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  footer {
    text-align: center;
  }
  
  footer h5::after,
  footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.4rem !important;
  }
  
  .hero-content .display-2 {
    font-size: 1.75rem !important;
  }
  
  .hero-content .lead {
    font-size: 1rem !important;
  }
  
  .btn-lg,
  .btn-outline-light {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
  
  .trust-badges .bi {
    font-size: 2rem;
  }
  
  .trust-badges .display-4 {
    font-size: 1.5rem !important;
  }
  
  .badge {
    font-size: 0.8rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* ===== ANIMATIONS ===== */
@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);
  }
}

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

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

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

/* ===== SCROLL BEHAVIOR ===== */
html {
  scroll-behavior: smooth;
}

/* ===== SELECTION ===== */
::selection {
  background: #D32F2F;
  color: #FFFFFF;
}

::-moz-selection {
  background: #D32F2F;
  color: #FFFFFF;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D32F2F;
}

/* ===== NAV ===== */
.nav {
  display: flex;
}

.nav.flex-column {
  flex-direction: column;
}

/* ===== DISPLAY UTILITIES ===== */
.display-1 {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-2 {
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-3 {
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-5 {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
}

.display-6 {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.2;
}

/* ===== ADDITIONAL ICON STYLES ===== */
.bi {
  display: inline-block;
  line-height: 1;
}

/* ===== LOADING STATES ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}