/* ==========================================================================
   ARCHITECTURAL MODEL SERVICES - MAIN STYLES
   ========================================================================== */

/* Color Variables */
:root {
  /* Primary Colors */
  --primary-slate: #28303f;
  --primary-gold: #ff8f22;
  --primary-teal: #26b395;
  --primary-coral: #e4592a;
  --primary-navy: #475c6d;
  
  /* Light Shades */
  --light-slate: #839a9b;
  --light-gold: #d8a508;
  --light-teal: #1aaa96;
  --light-coral: #e98b74;
  --light-navy: #6a7587;
  
  /* Dark Shades */
  --dark-slate: #151f26;
  --dark-gold: #ec8000;
  --dark-teal: #078c6c;
  --dark-coral: #b93929;
  --dark-navy: #2a414e;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #717376;
  --dark-gray: #303338;
  --black: #000000;
  
  /* Fonts */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Playfair Display', Georgia, serif;
  
  /* Sizes */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 114px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.12rem;
}

h1 { font-size: 2.64rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.63rem; }
h4 { font-size: 1.29rem; }
h5 { font-size: 1.24rem; }
h6 { font-size: 1.04rem; }

p {
  margin-bottom: 1.12rem;
  font-size: var(--font-size-base);
}

/* Links */
a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--dark-teal);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3.11rem;
}

.section-subtitle {
  color: var(--primary-teal);
  font-size: var(--font-size-small);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.61rem;
}

/* Header */
.navbar {
  background: var(--white);
  box-shadow: 0 8px 13px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--primary-slate);
  font-family: var(--font-secondary);
}

.navbar-nav .nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-teal);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-slate) 0%, var(--primary-navy) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../TED_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  padding-top: 100px !important;
  color: var(--white);
}

.hero-title {
  font-size: 3.13rem;
  margin-bottom: 1.12rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.29rem;
  margin-bottom: 2.23rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-desc {
  font-size: var(--font-size-large);
  margin-bottom: 2.23rem;
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* About Section */
.about {
  background: var(--light-gray);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.about-feature {
  background: var(--white);
  padding: 2rem;
  border-radius: 13px;
  text-align: center;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3.13rem;
  color: var(--primary-teal);
  margin-bottom: 1.12rem;
}

/* Services Section */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.service-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-14px);
  box-shadow: 0 21px 40px rgba(0,0,0,0.15);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-content {
  padding: 2rem;
}

.service-name {
  font-size: 1.29rem;
  margin-bottom: 1.12rem;
  color: var(--primary-slate);
}

.service-desc {
  color: var(--gray);
  margin-bottom: 1.12rem;
}

.service-price {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 1.12rem;
}

.service-features {
  list-style: none;
  margin-bottom: 1.66rem;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--gray);
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: var(--primary-teal);
  margin-right: 0.5rem;
}

/* Features Section */
.features {
  background: linear-gradient(45deg, var(--primary-teal), var(--light-teal));
  color: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.feature-item i {
  font-size: 3.13rem;
  margin-bottom: 1.12rem;
  color: var(--light-gold);
}

/* Price Plan Section */
.priceplan {
  background: var(--light-gray);
}

.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.priceplan-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.priceplan-item:hover {
  transform: scale(1.05);
}

.priceplan-item.featured {
  border: 3px solid var(--primary-teal);
  transform: scale(1.1);
}

.priceplan-price {
  font-size: 3.13rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin: 1rem 0;
}

.priceplan-features {
  list-style: none;
  margin: 2rem 0;
}

.priceplan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

/* Team Section */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.team-member {
  text-align: center;
  background: var(--light-gray);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 5px solid var(--primary-teal);
}

.team-name {
  font-size: 1.29rem;
  margin-bottom: 0.61rem;
  color: var(--primary-slate);
}

.team-role {
  color: var(--primary-teal);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: linear-gradient(135deg, var(--primary-slate), var(--primary-navy));
  color: var(--white);
}

.reviews-slider {
  margin-top: 3.11rem;
}

.review-item {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 0 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.review-text {
  font-style: italic;
  margin-bottom: 2.23rem;
  font-size: var(--font-size-large);
}

.review-author {
  font-weight: 700;
  color: var(--light-gold);
}

/* Case Studies Section */
.casestudy {
  background: var(--light-gray);
}

.casestudy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.casestudy-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.casestudy-item:hover {
  transform: translateY(-5px);
}

.casestudy-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.casestudy-content {
  padding: 2rem;
}

/* Process Section */
.process {
  background: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: var(--light-gray);
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary-teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-steps {
  counter-reset: step-counter;
}

/* Timeline Section */
.timeline {
  background: var(--light-gray);
}

.timeline-container {
  position: relative;
  margin-top: 3.11rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-teal);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3.11rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 2rem;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 2rem;
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--white);
}

/* Career Section */
.career {
  background: var(--white);
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.career-item {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--primary-teal);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateX(10px);
}

.career-title {
  color: var(--primary-slate);
  margin-bottom: 0.61rem;
}

.career-role {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1.12rem;
}

/* Core Info Section */
.coreinfo {
  background: linear-gradient(45deg, var(--primary-coral), var(--light-coral));
  color: var(--white);
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.coreinfo-item {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.coreinfo-item i {
  font-size: 3.13rem;
  margin-bottom: 1.12rem;
  color: var(--light-gold);
}

/* Contact Section */
.contact {
  background: var(--light-gray);
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 2.23rem;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-teal);
}

.form-control::placeholder {
  color: var(--gray);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-teal), var(--light-teal));
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(29, 165, 120, 0.30);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-item i {
  font-size: 2.05rem;
  color: var(--primary-teal);
  margin-bottom: 1.12rem;
}

/* Blog Section */
.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3.11rem;
}

.blog-item {
  background: var(--light-gray);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  margin-bottom: 1.12rem;
  color: var(--primary-slate);
}

.blog-excerpt {
  color: var(--gray);
  margin-bottom: 1.12rem;
}

.blog-link {
  color: var(--primary-teal);
  font-weight: 600;
  text-decoration: none;
}

.blog-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq {
  background: var(--light-gray);
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--white);
  margin-bottom: 1.12rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  background: var(--white);
  border: none;
  width: 100%;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--light-gray);
}

.faq-question::after {
  content: '\f067';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '\f068';
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--gray);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 300px;
}

/* Gallery Section */
.gallery {
  background: var(--white);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2.10rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::before {
  opacity: 1;
}

/* Footer */
.footer {
  background: var(--dark-slate);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2.23rem;
}

.footer-section h5 {
  color: var(--light-gold);
  margin-bottom: 1.12rem;
}

.footer-section p, .footer-section a {
  color: var(--light-gray);
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--light-slate);
  padding-top: 1.06rem;
  text-align: center;
}

.footer-bottom small {
  color: var(--light-gray);
}

/* Breadcrumbs */
.breadcrumb {
  background: var(--light-gray);
  padding: 1rem 0;
  margin-top: 80.00px;
}

.breadcrumb img {
  height: 24px;
  width: auto;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.05rem;
  color: var(--gray);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.30rem; }
.mb-2 { margin-bottom: 0.61rem; }
.mb-3 { margin-bottom: 1.12rem; }
.mb-4 { margin-bottom: 1.66rem; }
.mb-5 { margin-bottom: 3.11rem; }

.mt-1 { margin-top: 0.38rem; }
.mt-2 { margin-top: 0.57rem; }
.mt-3 { margin-top: 1.05rem; }
.mt-4 { margin-top: 1.75rem; }
.mt-5 { margin-top: 3.11rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* Print Styles */
@media print {
  .navbar, .footer, .btn { display: none; }
  .section { page-break-inside: avoid; }
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
