/* Legendary Construction Service - Architech Design System */

/* ========== CSS RESET & BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #6B6B6B;
  background: #FFFFFF;
}

/* ========== COLOR VARIABLES ========== */
:root {
  --primary-blue: #7BA5BC;
  --black: #000000;
  --dark-gray: #1A1A1A;
  --medium-gray: #6B6B6B;
  --light-gray: #E8E8E8;
  --off-white: #F5F5F5;
  --white: #FFFFFF;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--black);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 4.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

a {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* ========== NAVIGATION ========== */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--primary-blue);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navigation.scrolled {
  background: var(--primary-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.7;
}

.phone-cta-nav {
  background: var(--white);
  color: var(--black);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.phone-cta-nav:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--primary-blue);
  z-index: 999;
  transition: right 0.3s ease;
  padding: 6rem 2rem 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ========== HERO SECTION ========== */
.hero {
  background: var(--primary-blue);
  padding: 8rem 0 4rem;
  margin-top: 80px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero-subtext {
  font-size: 1.125rem;
  color: var(--white);
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
}

.btn-secondary {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: var(--dark-gray);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.btn-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ========== DROPDOWN MENUS ========== */
.dropdown {
  position: relative;
}

.dropdown-menu {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--primary-blue);
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 1001;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu {
  visibility: visible;
  opacity: 1;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Dropdown */
.mobile-dropdown {
  position: relative;
}

.mobile-dropdown-menu {
  display: none;
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-item {
  display: block;
  padding: 0.5rem 0;
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}

.mobile-dropdown-item:hover {
  opacity: 0.7;
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.full-image-container {
  text-align: center;
  margin-top: 2rem;
}

.full-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 8px;
}

.card {
  background: var(--off-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 1rem;
  color: var(--medium-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--primary-blue);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========== BENEFITS LIST ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1rem;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.benefit-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.benefit-description {
  font-size: 0.875rem;
  color: var(--medium-gray);
  line-height: 1.5;
}

/* ========== PROCESS STEPS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.process-step {
  position: relative;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.process-number {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.process-description {
  font-size: 1rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ========== SERVICE DETAILS ========== */
.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-header {
  margin-bottom: 1.5rem;
}

.service-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-benefit {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.service-benefit-icon {
  width: 24px;
  height: 24px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.service-benefit-text {
  font-size: 1rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ========== FORMS ========== */
.form-container {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.form-error {
  color: #D32F2F;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.form-error.active {
  display: block;
}

.form-success {
  background: #4CAF50;
  color: var(--white);
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: none;
}

.form-success.active {
  display: block;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: var(--primary-blue);
  padding: 4rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--white);
  opacity: 0.95;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-blue);
  color: var(--white);
  padding: 4rem 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--white);
  opacity: 0.9;
  font-size: 0.875rem;
  transition: opacity 0.2s ease;
}

.footer-link:hover {
  opacity: 1;
}

.footer-text {
  color: var(--white);
  opacity: 0.9;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
  .card-image {
    height: 150px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
@media (max-width: 1023px) {
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  /* Mobile Navigation */
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Adjust grids for mobile */
  .card-grid,
  .benefits-grid,
  .process-steps,
  .service-benefits {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-row {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}
