/* Ember Steel Architecture Studio - Custom Styles */

:root {
  --primary-color: #D84315;
  --secondary-color: #37474F;
  --light-gray: #ECEFF1;
  --dark-gray: #263238;
  --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(--secondary-color);
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--secondary-color) !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

/* Navbar Styling */
.navbar {
  padding: 1.5rem 0;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(55, 71, 79, 0.95) 0%, rgba(55, 71, 79, 0.8) 100%) !important;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: rgba(55, 71, 79, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-size: 1.8rem;
  color: #ffffff !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
}

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

.nav-link {
  color: #ffffff !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-speed) ease;
  position: relative;
  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-color: var(--primary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

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

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(216, 67, 21, 0.3);
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slideshow-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(55, 71, 79, 0.85) 0%, rgba(216, 67, 21, 0.7) 100%);
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  animation: zoomIn 8s ease-out forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-content {
  position: absolute;
  z-index: 10;
  animation: fadeInUp 1s ease-out;
}

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

.hero-content .display-2 {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem !important;
}

.hero-content .lead {
  color: #ffffff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Slideshow Controls */
.slideshow-controls {
  position: absolute;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 1rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background-color: var(--primary-color) !important;
  border-color: #ffffff;
  transform: scale(1.3);
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all var(--transition-speed) ease;
  border-width: 2px;
  font-size: 0.9rem;
}

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

.btn:focus {
  box-shadow: 0 0 0 0.25rem rgba(216, 67, 21, 0.3) !important;
}

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

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

.btn-light {
  background-color: var(--light-gray) !important;
  border-color: var(--light-gray) !important;
  color: var(--secondary-color) !important;
}

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

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

.btn-outline-dark:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(55, 71, 79, 0.3);
}

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

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

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

/* Portfolio Cards */
.portfolio-card {
  transition: all var(--transition-speed) ease;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0;
}

.portfolio-item img {
  transition: all 0.5s ease;
  width: 100%;
  height: 300px;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(216, 67, 21, 0.95) 0%, rgba(55, 71, 79, 0.95) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 5;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.object-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Filter Buttons */
.filter-btn {
  padding: 0.6rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color) !important;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Cards */
.card {
  border-radius: 0;
  border: none;
  transition: all var(--transition-speed) ease;
}

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

.card-body {
  padding: 2rem;
}

.card-img-top {
  border-radius: 0;
  height: 250px;
  object-fit: cover;
}

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

/* Icons */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.fs-1 {
  font-size: 3rem !important;
  color: var(--primary-color) !important;
}

.fs-2 {
  font-size: 2.5rem !important;
  color: var(--primary-color) !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.rounded-circle {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  margin: 0 auto 1.5rem;
  transition: all var(--transition-speed) ease;
}

.card:hover .rounded-circle {
  background-color: var(--primary-color);
  transform: rotate(360deg);
}

.card:hover .rounded-circle .bi {
  color: #ffffff !important;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 0;
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Forms */
.form-label {
  color: var(--secondary-color) !important;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 0;
  transition: all var(--transition-speed) ease;
  color: var(--secondary-color) !important;
  background-color: #ffffff !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(216, 67, 21, 0.15) !important;
  outline: none;
}

.form-control::placeholder {
  color: #90A4AE;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.shadow-lg {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
}

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

footer a {
  color: #ffffff !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

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

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

/* Social Icons */
footer .bi-facebook,
footer .bi-instagram,
footer .bi-linkedin,
footer .bi-pinterest {
  font-size: 1.5rem;
  color: #ffffff !important;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

footer .bi-facebook:hover,
footer .bi-instagram:hover,
footer .bi-linkedin:hover,
footer .bi-pinterest:hover {
  color: var(--primary-color) !important;
  transform: translateY(-5px);
}

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

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

/* Utility Classes */
.position-relative {
  position: relative !important;
}

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

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

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

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

.rounded {
  border-radius: 0.25rem !important;
}

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

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

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

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

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

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

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

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

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

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

.ms-4 {
  margin-left: 1.5rem !important;
}

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

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

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

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

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

.mt-n4 {
  margin-top: -1.5rem !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;
}

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

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

.mx-3 {
  margin-left: 1rem !important;
  margin-right: 1rem !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-4 {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

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

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

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

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

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

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

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

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

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

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

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

.text-md-start {
  text-align: start !important;
}

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

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

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

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

.fst-italic {
  font-style: italic !important;
}

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

/* Privacy Content */
.privacy-content {
  line-height: 1.8;
}

.privacy-content .h3 {
  color: var(--secondary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(55, 71, 79, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.25rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-content .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .position-sticky {
    position: relative !important;
    top: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .hero-slideshow {
    height: 80vh;
    min-height: 500px;
  }
  
  .hero-content .display-2 {
    font-size: 2rem !important;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .portfolio-item img {
    height: 250px;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .order-lg-1,
  .order-lg-2 {
    order: 0 !important;
  }
}

@media (max-width: 575.98px) {
  .hero-content .display-2 {
    font-size: 1.75rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .fs-1 {
    font-size: 2.5rem !important;
  }
  
  .fs-2 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .me-3 {
    margin-right: 0 !important;
  }
  
  .slideshow-controls {
    margin-bottom: 2rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .slideshow-controls,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    color: #000000;
  }
  
  a {
    text-decoration: underline;
  }
}