/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f9fafb;
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.light-section {
  background-color: #f3f4f6;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background-color: rgba(249, 250, 251, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;   /* ← vertical centering */
  gap: 0.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

/* Main brand */
.logo-main {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

/* (Prime Flooring) */
.logo-short {
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  margin-left: 0.4rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.logo-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.logo-short {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Company suffix */
.logo-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6b7280;
}


.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  flex-shrink: 0;        /* prevents squashing */
}

.logo-sub {
  font-weight: 400;
  color: #6b7280;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.main-nav a {
  text-decoration: none;
  color: #111827;
  opacity: 0.9;
  position: relative;
  padding-bottom: 0.15rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: #111827;
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #111827;
}

.btn-nav.active {
  background-color: #111827;
  color: #f9fafb;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.25rem;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.3vw + 1rem, 3.4rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background-color: #111827;
  color: #f9fafb;
}

.btn-primary:hover {
  background-color: #020617;
}

.btn-ghost {
  background-color: transparent;
  border-color: #d1d5db;
  color: #111827;
}

.btn-ghost:hover {
  background-color: #e5e7eb;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.hero-meta span {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Hero card */
.hero-card {
  background: linear-gradient(135deg, #0b1120, #020617);
  color: #e5e7eb;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.hero-card h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
}

.hero-card p {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.hero-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0 0.75rem;
  font-size: 0.9rem;
}

.hero-list li::before {
  content: "• ";
  color: #38bdf8;
}

.hero-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Company / About */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: flex-start;
}

h2 {
  font-size: 2rem;
  margin-top: 0;
}

.text-large {
  font-size: 1.02rem;
  color: #4b5563;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr);
  gap: 3rem;
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  font-size: 0.95rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.18);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.service-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.75rem;
  color: #4b5563;
}

/* Industries chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.chips span {
  font-size: 0.8rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background-color: #e5e7eb;
  color: #111827;
}

/* Process */
.process-steps {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.process-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.news-card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.2);
  font-size: 0.95rem;
}

.news-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
}

.news-meta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6b7280;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 3rem;
}

.contact-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background-color: #f3f4f6;
}

.contact-note {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 1.5rem;
}

.contact-form-wrapper {
  background-color: #ffffff;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Forms */
form {
  margin-top: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.form-field label span {
  color: #dc2626;
}

input,
select,
textarea {
  border-radius: 0.75rem;
  border: 1px solid #d1d5db;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
  background-color: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #111827;
  background-color: #ffffff;
}

.form-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #16a34a;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 1.5rem;
  background-color: #0b1120;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-logo .logo-mark {
  border-color: rgba(148, 163, 184, 0.8);
}

.footer-copy {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #9ca3af;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  display: grid;
  gap: 0.5rem;
}

.footer-bottom,
.footer-bottom-only {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .split,
  .two-column,
  .features-grid,
  .services-grid,
  .news-grid,
  .contact-layout,
  .footer-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid,
  .features-grid,
  .news-grid,
  .about-grid {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background-color: rgba(249, 250, 251, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    flex-direction: column;
    padding: 0.75rem 1.5rem 1.25rem;
    display: none;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
/* Gallery */
.gallery-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .4s ease, filter .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}
/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 3rem;
}

.contact-card {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  background-color: #f3f4f6;
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background-color: #ffffff;
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* Responsive tweak */
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
.thankyou-card {
  margin-top: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background-color: #f3f4f6;
  font-size: 0.95rem;
  color: #111827;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.thankyou-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
/* Prevent right form column from stretching full height */
.contact-layout {
  align-items: flex-start;
}

.contact-form-wrapper {
  align-self: flex-start;
  height: auto;
}
/* Top Banner */
.top-banner {
  position: relative;
  height: 60vh;
  min-height: 420px;
  border-radius: 0 0 2rem 2rem;
  overflow: hidden;
  background: #000;
}

/* Slides container */
.banner-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.75);
}

/* Visible slide */
.banner-slide.active {
  opacity: 1;
}

/* Banner text overlay */
.top-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  color: #fff;
  max-width: 900px;
}

.top-banner-overlay h1 {
  margin: 0 0 .5rem;
  font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem);
}

.top-banner-overlay p {
  font-size: 1.05rem;
  opacity: .9;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .top-banner {
    height: 50vh;
  }

  .top-banner-overlay {
    padding: 1.5rem;
  }
}
/* Gallery Slider */
.gallery-slider {
  position: relative;
  margin-top: 2rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  background: #0b1120;
}

.gallery-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(.92);
}

/* Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(17,24,39,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.gallery-nav:hover {
  background: rgba(17,24,39,.75);
}

.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .gallery-slide img {
    height: 360px;
  }
}
/* Gallery Slider */
.gallery-slider {
  position: relative;
  margin-top: 2rem;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  background: #0b1120;
}

.gallery-track {
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  filter: brightness(.92);
}

/* Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(17,24,39,.55);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  backdrop-filter: blur(10px);
}

.gallery-nav:hover {
  background: rgba(17,24,39,.75);
}

.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .gallery-slide img {
    height: 360px;
  }
}
.header-contact {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.header-contact a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.header-contact a:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}
