/* ==========================================================================
   CAPA BUILDERS - MAIN STYLESHEET
   Tagline: "Quality Built Right"
   Palette: Crimson Header, Warm Off-White, Soft Beige, Sage Green, Deep Charcoal, Black Footer
   ========================================================================== */

:root {
  /* Brand Crimson Header & Accents */
  --crimson: #9B1C22;
  --crimson-dark: #83161C;
  --crimson-hover: #721217;
  --crimson-light: #B8282F;
  --crimson-soft: #FDF1F2;

  /* Theme Backgrounds */
  --bg-body: #FAF8F5;       /* Warm off-white background */
  --bg-card: #FFFFFF;
  --bg-beige: #F4F0E8;      /* Soft beige sections */
  --bg-beige-subtle: #FAF7F2;
  --bg-sage: #E8EFE8;       /* Sage green sections */
  --bg-sage-light: #F2F6F2;
  --sage-accent: #496350;   /* Sage text/icon accent */
  --sage-border: #D5E0D5;

  /* Deep Charcoal Text */
  --text-main: #202428;     /* Deep charcoal heading & body */
  --text-muted: #535A62;    /* Balanced readable secondary */
  --text-light: #767E88;    /* Muted caption */
  --text-white: #FFFFFF;

  /* Footer */
  --bg-footer: #111316;
  --footer-text: #E5E7EB;
  --footer-muted: #9CA3AF;
  --footer-border: #23272D;

  /* Stars */
  --gold-star: #F59E0B;

  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.10);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;

  /* Borders */
  --border-subtle: #E5E0D8;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background-color var(--transition-fast), opacity var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}

.section-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crimson);
  background-color: var(--crimson-soft);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-badge.sage {
  color: var(--sage-accent);
  background-color: var(--bg-sage);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.3;
}

.btn-primary {
  background-color: var(--crimson);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(155, 28, 34, 0.35);
}

.btn-primary:hover {
  background-color: var(--crimson-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 28, 34, 0.45);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-beige-subtle);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: #FFFFFF;
  color: var(--crimson);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background-color: #F8F9FA;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   STICKY HEADER (Cool Red / Crimson)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--crimson);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.16);
  z-index: 1000;
  transition: background-color var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}

/* New Company Logo: White with transparent background (NO white badge) */
.site-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-logo-link:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

.header-logo {
  height: 54px; /* Desktop: 50-60px */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Desktop Navigation */
.desktop-nav {
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-white);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--text-white);
}

.nav-link.active {
  background-color: rgba(255, 255, 255, 0.25);
  font-weight: 700;
  color: var(--text-white);
}

/* Header Right: Social Icons & Mobile Hamburger */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-btn:hover {
  background-color: #FFFFFF;
  color: var(--crimson);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Mobile Hamburger Toggle Button */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-white);
  padding: 0;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

.hamburger-line {
  width: 22px;
  height: 2.5px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  pointer-events: none;
}

/* Transform to "X" Icon when menu is open */
.hamburger-btn.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Slide-down Drawer Menu */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--crimson-dark);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  padding: 20px 24px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-direction: column;
  gap: 16px;
  z-index: 99999;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: slideDown 0.25s ease-out forwards;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.08);
  transition: background-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: rgba(255, 255, 255, 0.22);
}

.mobile-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.mobile-social-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PAGE VIEW ARCHITECTURE
   ========================================================================== */
.page-view {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  min-height: calc(100vh - var(--header-height) - 300px);
}

.page-view.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   ABOUT PAGE (LANDING PAGE)
   ========================================================================== */

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  background-image: url('../images/hero-home.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

/* Soft dark gradient overlay on the hero image, strongest at the bottom and fading to transparent at top */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* Hero text area is completely transparent without a background card */
.hero-card {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-tagline-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
  background-color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-headline {
  font-size: 2.85rem;
  line-height: 1.18;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-desc {
  font-size: 1.12rem;
  color: #FFFFFF;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-cta .btn-primary {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* About Company Section */
.about-company-section {
  padding: 96px 0;
  background-color: var(--bg-beige);
}

.about-company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-company-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-company-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-company-image-wrap:hover .about-company-image {
  transform: scale(1.03);
}

.about-experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--crimson);
  color: #FFFFFF;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-experience-number {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.about-company-text .section-badge {
  margin-bottom: 14px;
}

.about-company-text h2 {
  font-size: 2.35rem;
  margin-bottom: 20px;
  line-height: 1.25;
}

.about-lead-paragraph {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-body-paragraph {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.about-values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-value-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
}

.about-value-icon {
  width: 20px;
  height: 20px;
  color: var(--crimson);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Key Strengths Section (with background photo and light overlay) */
.strengths-section {
  position: relative;
  padding: 100px 0;
  background-image: url('../images/craftsmanship-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.strengths-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 246, 242, 0.92); /* Clean light overlay */
  pointer-events: none;
}

.strengths-content {
  position: relative;
  z-index: 2;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strength-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.strength-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--bg-sage);
  color: var(--sage-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.strength-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.strength-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.strength-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CUSTOMER REVIEWS CAROUSEL SECTION
   ========================================================================== */
.reviews-section {
  padding: 96px 0;
  background-color: var(--bg-sage);
}

.reviews-carousel-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.reviews-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 10px 4px;
}

.reviews-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.review-slide {
  flex: 0 0 calc(33.333% - 20px);
  margin-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .review-slide {
    flex: 0 0 calc(50% - 16px);
    margin-right: 16px;
  }
}

@media (max-width: 640px) {
  .review-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }
}

.review-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sage-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

/* Circular Initials Avatar */
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  background-color: var(--crimson);
  flex-shrink: 0;
  text-transform: uppercase;
}

.avatar-color-1 { background-color: #9B1C22; }
.avatar-color-2 { background-color: #496350; }
.avatar-color-3 { background-color: #385E72; }
.avatar-color-4 { background-color: #7D4E57; }
.avatar-color-5 { background-color: #555E68; }
.avatar-color-6 { background-color: #8C5A2B; }

.review-meta {
  flex: 1;
}

.review-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.review-stars {
  display: flex;
  gap: 3px;
}

.star-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold-star);
}

.review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 12px;
}

.review-toggle-btn {
  align-self: flex-start;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--crimson);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  margin-top: auto;
}

.review-toggle-btn:hover {
  color: var(--crimson-dark);
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.carousel-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--sage-border);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel-nav-btn:hover {
  background-color: var(--crimson);
  color: #FFFFFF;
  border-color: var(--crimson);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 70%;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(73, 99, 80, 0.35);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.carousel-dot.active {
  background-color: var(--crimson);
  width: 24px;
}

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.page-hero {
  background-color: var(--bg-beige);
  padding: 60px 0 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.services-section {
  padding: 80px 0 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 60px;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-icon-badge {
  position: absolute;
  bottom: -22px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--crimson);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(155, 28, 34, 0.35);
}

.service-icon-badge svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-card-body {
  padding: 28px 30px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-cta-wrap {
  text-align: center;
  background-color: var(--bg-beige);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

.services-cta-wrap h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.services-cta-wrap p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */
.portfolio-section {
  padding: 70px 0 100px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background-color: var(--bg-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--crimson);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.portfolio-caption {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 12, 14, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption-bar {
  padding: 16px 20px;
  background-color: #1a1a1a;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lightbox-close-btn:hover {
  background-color: var(--crimson);
}

/* ==========================================================================
   CONTACT PAGE
   Strictly NO contact form, NO send a message, NO email address!
   Show ONLY: Phone, Address, Working Hours, Google Map, Get Directions button
   ========================================================================== */
.contact-section {
  padding: 80px 0 100px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--crimson-soft);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-box svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.contact-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.contact-card-content p, .contact-card-content a {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-card-content a {
  color: var(--crimson);
  font-weight: 700;
}

.contact-card-content a:hover {
  text-decoration: underline;
}

.contact-directions-wrap {
  margin-top: 10px;
}

/* Map Container */
.map-container-wrap {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.map-header {
  padding: 18px 24px;
  background-color: var(--bg-beige);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.map-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.map-iframe-container {
  width: 100%;
  height: 420px;
  position: relative;
  z-index: 1;
  background-color: #EAE6DF;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#capaMap {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.leaflet-container {
  width: 100%;
  height: 100%;
  font-family: inherit;
  z-index: 1;
}

/* Custom Crimson Map Pin & Popup */
.capa-map-marker {
  background: transparent;
  border: none;
}

.capa-pin-bubble {
  background-color: var(--crimson);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  border: 2px solid #FFFFFF;
  transition: transform var(--transition-fast);
}

.capa-pin-bubble:hover {
  transform: rotate(-45deg) scale(1.08);
}

.capa-pin-bubble svg {
  transform: rotate(45deg);
}

.capa-popup-card {
  padding: 4px 2px;
  font-family: inherit;
}

.capa-popup-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.capa-popup-address {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.capa-popup-directions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crimson);
  text-decoration: none;
}

.capa-popup-directions:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER (Black with Light Text)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-footer);
  color: var(--footer-text);
  padding: 70px 0 30px 0;
  border-top: 4px solid var(--crimson);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--footer-border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: opacity var(--transition-fast);
}

.footer-logo-link:hover {
  opacity: 0.9;
}

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-company-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.footer-tagline {
  color: var(--footer-muted);
  font-size: 0.98rem;
  font-style: italic;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-btn:hover {
  background-color: var(--crimson);
  border-color: var(--crimson);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.footer-col-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-col-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--crimson);
  margin-top: 8px;
}

.footer-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--footer-text);
  line-height: 1.5;
}

.footer-info-icon {
  width: 18px;
  height: 18px;
  color: var(--crimson-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-info-item a {
  color: var(--footer-text);
  font-weight: 600;
}

.footer-info-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.nav-link-foot {
  color: var(--footer-muted);
  font-size: 0.96rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-block;
}

.nav-link-foot:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  color: var(--footer-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First & Tablet)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 2.35rem;
  }
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet & Mobile Screens (880px and below): Header Hamburger & Adapted Layout */
@media (max-width: 880px) {
  :root {
    --header-height: 64px;
  }

  .header-container {
    padding: 0 16px;
    gap: 10px;
  }

  .header-logo {
    height: 44px;
  }

  /* Desktop nav hidden, hamburger shown */
  .desktop-nav {
    display: none !important;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-socials {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .social-btn {
    width: 34px;
    height: 34px;
  }

  .hamburger-btn {
    display: flex !important;
    width: 38px;
    height: 38px;
  }

  /* Layout grids adapt */
  .about-company-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-company-image {
    height: 360px;
  }

  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile Screens (768px and below): Hero 70-80vh, Compact Header */
@media (max-width: 768px) {
  .header-container {
    padding: 0 14px;
    gap: 8px;
  }

  .header-logo {
    height: 42px; /* 40-45px mobile height, original proportions preserved */
  }

  .social-btn {
    width: 32px;
    height: 32px;
  }

  .social-btn svg {
    width: 15px;
    height: 15px;
  }

  .hamburger-btn {
    width: 38px;
    height: 38px;
  }

  /* Mobile Hero Section: house clearly visible first in foreground, text block positioned lower down */
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
    height: auto;
    max-height: none;
    padding-top: max(46vh, 310px);
    padding-bottom: 28px;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    background-image: url('../images/hero-home.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll; /* No fixed background on mobile */
    position: relative;
    overflow: visible;
  }

  /* Soft dark gradient overlay on mobile covering text area up to ~60% */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to top, 
      rgba(0, 0, 0, 0.82) 0%, 
      rgba(0, 0, 0, 0.65) 30%, 
      rgba(0, 0, 0, 0.42) 60%, 
      rgba(0, 0, 0, 0) 80%
    );
    pointer-events: none;
    z-index: 1;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 20px 24px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    overflow: visible;
  }

  .hero-card {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .hero-tagline-badge {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    padding: 4px 12px;
    background-color: #FFFFFF;
    color: var(--crimson);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }

  /* Responsive headline on mobile: 28-32px, bold weight (700), white, strong shadow */
  .hero-headline {
    font-size: clamp(28px, 6.5vw, 32px);
    line-height: 1.2;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
  }

  /* Tagline: about 18px, white, strong shadow */
  .hero-tagline {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
  }

  /* Hero paragraph fully visible on phones: 15-16px, medium weight (500), white, strong shadow */
  .hero-desc {
    display: block !important;
    font-size: 15.5px;
    line-height: 1.5;
    color: #FFFFFF;
    font-weight: 500;
    margin-bottom: 20px;
    overflow: visible;
    max-height: none;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: unset;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
  }

  /* Keep Contact Us button clearly visible below text */
  .hero-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-cta .btn {
    padding: 12px 22px;
    font-size: 0.96rem;
  }
}

/* Mobile Screens (580px and below): Single column cards & portfolio */
@media (max-width: 580px) {
  /* Strengths: 1 column on phones */
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* About values: 1 column on phones */
  .about-values-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Portfolio: 1 column on phones for full size presentation */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Map header & container comfortable on mobile */
  .map-header {
    padding: 12px 14px;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .map-title {
    font-size: 0.88rem;
    font-weight: 700;
  }

  .map-header a {
    font-size: 0.82rem !important;
    white-space: nowrap;
  }

  .map-iframe-container {
    height: 350px;
  }
}

/* Very Small Mobile Screens (430px and below) */
@media (max-width: 430px) {
  .section-container {
    padding: 0 16px;
  }

  /* Stack map header items neatly on small screens */
  .map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 16px;
  }

  .hero-content {
    padding: 0 16px 16px 16px;
  }

  .hero-card {
    padding: 0;
  }

  .hero-headline {
    font-size: 28px;
    line-height: 1.22;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .hero-desc {
    font-size: 15px;
    line-height: 1.5;
  }

  /* Reviews: ensure cards don't overflow */
  .review-card {
    padding: 22px 16px;
  }

  /* Section titles smaller */
  .section-title {
    font-size: 1.65rem;
  }

  /* About company image shorter on tiny phones */
  .about-company-image {
    height: 260px;
  }
}

@media (max-width: 380px) {
  .header-container {
    padding: 0 10px;
    gap: 6px;
  }

  .header-logo {
    height: 38px;
  }

  .social-btn {
    width: 30px;
    height: 30px;
  }

  .social-btn svg {
    width: 14px;
    height: 14px;
  }

  .hamburger-btn {
    width: 36px;
    height: 36px;
  }

  .hamburger-line {
    width: 18px;
  }

  .hero-headline {
    font-size: 28px;
  }

  .hero-card {
    padding: 0;
  }
}

/* Landscape orientation on mobile devices */
@media (max-width: 900px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: 20px;
  }
}
