/* Architectural Studio - Flare Orange & Carbon Theme */

/* Root Variables */
:root {
  --primary-color: #FF6B35;
  --secondary-color: #2A2D34;
  --light-gray: #F5F5F5;
  --dark-gray: #1A1C22;
  --white: #FFFFFF;
  --text-light: #666666;
  --text-dark: #333333;
  --accent-light: #FF8A5C;
  --shadow-light: rgba(42, 45, 52, 0.1);
  --shadow-dark: rgba(42, 45, 52, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-gray) 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Bootstrap 5 Overrides */
.btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--gradient-dark);
  border-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(42, 45, 52, 0.3);
}

.navbar {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px var(--shadow-light);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover::before {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link.active::before {
  width: 100%;
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-dark);
}

.card-img-top {
  transition: all 0.3s ease;
}

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

.form-control {
  border-radius: 10px;
  border: 2px solid #E5E5E5;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Custom Components */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(42, 45, 52, 0.8) 0%, rgba(26, 28, 34, 0.9) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23FF6B35" fill-opacity="0.1" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23FF6B35" fill-opacity="0.05" points="0,300 1000,0 1000,400 0,700"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 2rem;
  cursor: pointer;
}

.project-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(42, 45, 52, 0.9) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-info h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.project-info p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.service-card {
  text-align: center;
  padding: 2rem;
  transition: all 0.3s ease;
}

.team-member {
  text-align: center;
  position: relative;
}

.team-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--primary-color);
  transition: all 0.3s ease;
}

.team-member:hover .team-photo {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--light-gray);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-light);
}

.contact-info {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 3rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-item i {
  width: 50px;
  height: 50px;
  background: rgba(255, 107, 53, 0.2);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

.footer a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-dark);
  z-index: 9999;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.mobile-menu-nav {
  list-style: none;
}

.mobile-menu-nav li {
  margin-bottom: 2rem;
}

.mobile-menu-nav a {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-menu-nav a:hover {
  color: var(--primary-color);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color);
}

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

.bg-primary {
  background: var(--gradient-primary);
}

.bg-secondary {
  background: var(--gradient-dark);
}

.bg-light-gray {
  background: var(--light-gray);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .project-image {
    height: 250px;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}