/* ───────────────────────────────────────────
   RESET & BASE
─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  background: #e8e8e8;
}

/* ───────────────────────────────────────────
   PAGE WRAPPER — centers the card on desktop
─────────────────────────────────────────── */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  background: #d8d8d8;
}

/* ───────────────────────────────────────────
   CARD
─────────────────────────────────────────── */
.card {
  position: relative;
  width: 100%;
  max-width: 100%;
  /* Enforce a tall mobile-like height so the layout always maintains its proportions */
  min-height: 100vh;
  /* Maintain no border-radius and margin across mobile layout */
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.2);
  /* Subtle overlay applied on top of the construction image */
  background:
    linear-gradient(
      to bottom,
      rgba(240, 240, 240, 0.4) 0%,
      rgba(250, 250, 250, 0.8) 100%
    ),
    url("assets/bg_image.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Removed top and bottom background photo sections as they are now merged into the main .card class */

/* ───────────────────────────────────────────
   HEADER
─────────────────────────────────────────── */
.card-header {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Pushed content down further towards the center */
  padding-top: 38px;
  padding-bottom: 24px;
  width: 100%;
}

.logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.brand-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 3.5px;
  color: #1e2d3d;
  line-height: 1;
  margin-bottom: 4px;
  text-align: center;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #1e2d3d;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}

.tagline {
  font-size: 14px;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.5px;
  font-style: italic;
  margin-bottom: 8px;
}

.company-address {
  font-size: 10px;
  font-weight: 500;
  color: #555;
  text-align: center;
  max-width: 320px;
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ───────────────────────────────────────────
   NAVIGATION BUTTONS
─────────────────────────────────────────── */
.card-nav {
  position: relative;
  z-index: 1;
  width: 90%;
  padding: 8px 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px 14px 16px;
  text-decoration: none;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  cursor: pointer;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.13),
    0 2px 6px rgba(0, 0, 0, 0.08);
  background: #fff8ee;
}

.nav-btn:active {
  transform: translateY(0px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.09);
}

/* Icon circle */
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(212, 160, 23, 0.08);
  border-radius: 10px;
}

.nav-icon svg {
  width: 26px;
  height: 26px;
}

/* Label */
.nav-label {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #1e2d3d;
}

/* Arrow */
.nav-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-arrow svg {
  width: 9px;
  height: 16px;
  opacity: 0.5;
}

/* ───────────────────────────────────────────
   SOCIAL ICONS BAR
─────────────────────────────────────────── */
.social-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin-top: 20px;
  padding: 10px 20px 18px;
  width: 100%;
}

/* ─── Copyright ─── */
.card-copyright {
  position: relative;
  z-index: 1;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(30, 45, 61, 0.45);
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 22px;
  width: 100%;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}

.social-icon svg {
  width: 26px;
  height: 26px;
}

.social-icon:hover {
  transform: scale(1.18);
  opacity: 0.75;
}

.social-icon:active {
  transform: scale(0.95);
}

/* ───────────────────────────────────────────
   MEDIA QUERIES (desktop comfort)
─────────────────────────────────────────── */
@media (min-width: 768px) {
  .page-wrapper {
    padding: 20px 16px;
  }

  .card {
    max-width: 430px;
    border-radius: 30px;
    /* Use fixed minimum height for desktop so the image bottom is fully visible and the social icons hit the steel overlay */
    min-height: 844px;
    height: 90vh;
  }
}

/* ───────────────────────────────────────────
   About Us Page Styles
─────────────────────────────────────────── */

.about-page {
  background: #ffffff;
  font-family: "Inter", sans-serif;
  color: #333;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.about-header {
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  z-index: 100;
}

.header-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
}

.back-link {
  color: #2d3945;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-link:hover {
  opacity: 0.7;
}

.about-logo-text {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #2d3945;
}

.about-logo-text .highlight {
  color: #f4b115;
}

.hero-banner {
  width: 100%;
  position: relative;
  height: 240px;
  background-color: #e8e8e8;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-banner {
    height: 350px;
  }
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background: linear-gradient(to top, rgba(45, 57, 69, 0.9), transparent);
  color: #fff;
  padding: 40px 20px 20px;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.about-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  color: #2d3945;
  margin: 0 0 8px;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #f4b115;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.body-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 32px;
  font-weight: 400;
}

.values-header {
  font-size: 16px;
  font-weight: 700;
  color: #2d3945;
  margin-bottom: 20px;
  position: relative;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 8px;
  display: inline-block;
  align-self: flex-start;
}

.core-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.value-card {
  background: rgba(248, 248, 248, 0.8);
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.value-icon {
  width: 44px;
  height: 44px;
  background: #2d3945;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-icon i {
  color: #f4b115;
  font-size: 20px;
}

.value-title {
  font-size: 14px;
  font-weight: 700;
  color: #2d3945;
  margin: 0 0 8px;
}

.value-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

@media (min-width: 600px) {
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .core-values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ───────────────────────────────────────────
   Portfolio Page Styles
─────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}

.portfolio-item {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.portfolio-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-details {
  padding: 20px;
}

.portfolio-details h4 {
  margin: 0 0 6px;
  color: #2d3945;
  font-size: 16px;
  font-weight: 700;
}

.portfolio-details p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

@media (min-width: 600px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ───────────────────────────────────────────
   Contact Page Styles
─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(248, 248, 248, 0.8);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #eaeaea;
}

.contact-icon {
  color: #f4b115;
  font-size: 20px;
  margin-top: 4px;
}

.contact-card h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #2d3945;
}

.contact-card p {
  margin: 0;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.contact-form {
  background: #ffffff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.contact-form h4 {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 800;
  color: #2d3945;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #333;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f4b115;
  background: #ffffff;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #2d3945;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  background-color: #3a4b5c;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

/* ───────────────────────────────────────────
   Product Catalog Styles
─────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.product-image {
  width: 100%;
  height: 150px;
  background-color: #f7f7f7;
  overflow: hidden;
}

@media (min-width: 600px) {
  .product-image {
    height: 180px;
  }
}

@media (min-width: 900px) {
  .product-image {
    height: 200px;
  }
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 600px) {
  .product-info {
    padding: 16px;
  }
}

.product-info h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #2d3945;
  line-height: 1.3;
}

@media (min-width: 600px) {
  .product-info h4 {
    font-size: 15px;
  }
}

.product-info p {
  margin: 0;
  font-size: 11px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 600px) {
  .product-info p {
    font-size: 13px;
  }
}

.product-action {
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: #f4b115;
}

@media (min-width: 600px) {
  .product-action {
    font-size: 13px;
  }
}

/* ───────────────────────────────────────────
   Product Detail Styles
─────────────────────────────────────────── */
.detail-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.detail-gallery {
  width: 100%;
}

.detail-main-img {
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.detail-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.breadcrumb {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-title {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
  color: #2d3945;
}

.detail-brief {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 24px;
}

.detail-specs {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.detail-specs h4 {
  margin: 0 0 16px;
  color: #2d3945;
  font-size: 15px;
}

.detail-specs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-specs li {
  font-size: 14px;
  color: #666;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #f4f4f4;
  padding-bottom: 8px;
}

.detail-specs li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-price-box {
  background: #ffffff;
  border: 2px solid #f4b115;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-tag {
  font-size: 24px;
  font-weight: 800;
  color: #2d3945;
}

.wa-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wa-order-btn:hover {
  background: #20ba5a;
}

@media (min-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .detail-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px;
  }
}
