/* ================================================
   ZEBRA CONSTRUCTION - Design System CSS
   Version: 1.0 (2026)
   ================================================ */

/* --- 1. CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --color-primary: #e68a3a;
  --color-deep-navy: #232b38;
  --color-neutral: #f4f4f4;
  --color-white: #ffffff;
  --color-text: #333333;

  /* Fonts */
  --font-heading: "Montserrat", "Poppins", sans-serif;
  --font-body: "Roboto", "Open Sans", sans-serif;

  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* --- 2. Reset & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* --- 3. Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-deep-navy);
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

.text-highlight {
  color: var(--color-primary);
}

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

/* --- 4. Header & Navigation --- */
.header {
  background-color: var(--color-deep-navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
}

.logo span {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--color-white);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.phone-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
}

.phone-btn:hover {
  background-color: #d9792d;
  transform: translateY(-2px);
}

/* --- 5. Hero Section --- */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(35, 43, 56, 0.7),
    rgba(35, 43, 56, 0.85)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 var(--spacing-md);
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* --- 6. Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: #d9792d;
  border-color: #d9792d;
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-ghost:hover {
  background-color: var(--color-white);
  color: var(--color-deep-navy);
}

.btn-ghost-orange {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-ghost-orange:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-dark {
  background-color: var(--color-deep-navy);
  color: var(--color-white);
  border: 2px solid var(--color-deep-navy);
}

.btn-dark:hover {
  background-color: #1a2029;
  border-color: #1a2029;
}

/* --- 7. Sections --- */
.section {
  padding: var(--spacing-xl) 0;
  /* padding: 3rem 0; */
}

.section-alt {
  background-color: var(--color-neutral);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
  padding: 0 var(--spacing-md);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  color: #666;
}

/* --- 8. Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.two-col-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.two-col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

.two-col-content h2 {
  margin-bottom: 1.5rem;
}

.two-col-content p {
  margin-bottom: 1rem;
  color: #555;
}

/* --- 9. Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--color-primary);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 20px;
  margin-bottom: 1rem;
  color: var(--color-deep-navy);
}

.card-text {
  color: #666;
  line-height: 1.6;
}

/* --- 10. Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
}

.value-card {
  background-color: var(--color-white);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

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

.value-title {
  font-size: 18px;
  margin-bottom: 0.5rem;
  color: var(--color-deep-navy);
}

.value-text {
  font-size: 14px;
  color: #666;
}

/* --- 11. CTA Section --- */
.cta-section {
  background-color: var(--color-neutral);
  text-align: center;
  padding: var(--spacing-lg) 0;
}

.cta-title {
  font-size: 32px;
  margin-bottom: 1rem;
  color: var(--color-deep-navy);
}

/* --- 12. Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: var(--color-deep-navy);
}

.contact-list {
  margin-bottom: 2rem;
}

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-list li:before {
  content: "●";
  color: var(--color-primary);
  font-size: 12px;
  margin-top: 6px;
}

.contact-details p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-form {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(230, 138, 58, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Form Alert Messages */
.form-alert {
  padding: 1rem 1.25rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}

.form-alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

#submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* --- 13. Environmental Note --- */
.env-note {
  background-color: #fff8f0;
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  /* margin: var(--spacing-lg) 0; */
  border-radius: 4px;
}

.env-note h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

/* --- 14. Page Banner --- */
.page-banner {
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}

.page-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(35, 43, 56, 0.8),
    rgba(35, 43, 56, 0.9)
  );
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner-title {
  font-size: 48px;
  color: var(--color-white);
}

/* --- 15. Service Detail --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  align-items: center;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 28px;
  margin-bottom: 1rem;
  color: var(--color-deep-navy);
}

.service-detail-content p {
  color: #555;
  margin-bottom: 1rem;
}

/* --- 16. Map Section --- */
.map-section {
  margin-top: var(--spacing-lg);
}

.map-frame {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 4px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--color-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: #999;
  font-size: 18px;
}

/* --- 17. Footer --- */
.footer {
  background-color: var(--color-deep-navy);
  color: var(--color-white);
  padding: var(--spacing-lg) 0 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-text {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #aaa;
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #777;
  font-size: 14px;
}

/* --- 18. Responsive Design --- */
@media (max-width: 992px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .hero-title {
    font-size: 40px;
  }
  .page-banner-title {
    font-size: 36px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .header-container {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-container > .logo,
  .header-container > .phone-btn {
    flex: 0 0 auto;
  }

  .header-container > nav {
    width: 100%;
    order: 3;
  }

  .nav-menu {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 0;
    margin-top: 0.75rem;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 12px;
    padding: 0 1rem;
    position: relative;
  }

  .nav-link:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -0.25rem;
    color: var(--color-white);
    opacity: 0.5;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link.active {
    border-bottom: 2px solid var(--color-primary);
  }

  .phone-btn {
    font-size: 12px;
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 13px;
  }

  .section {
    padding: 2rem 0;
  }

  .section-container {
    margin-bottom: 2rem;
  }

  .service-detail {
    margin-bottom: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 500px;
  }

  .page-banner {
    height: 300px;
  }
}

/* --- 19. Utility Classes --- */
.mt-1 {
  margin-top: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-md);
}
.mt-3 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}
