/*
  K&J Creations LLC - Main Styles
  Marble-inspired, professional remodeling layout
*/

/* Root variables & base styling */
:root {
  --bg-page: #101114;
  --bg-marble-light: #f5f2ee;
  --bg-marble-mid: #e2ddd4;
  --bg-hero-dark: #2f3237;
  --bg-section-dark: #23252b;
  --accent-gold: #caa875;
  --accent-gold-soft: #e0c69a;
  --text-main: #22252b;
  --text-light: #f5f5f7;
  --text-muted: #6b6f78;
  --border-soft: rgba(0, 0, 0, 0.06);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Reset */

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

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  line-height: 1.5;
  background-color: #1c1e23;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  background-attachment: fixed;
}

/* Layout helpers */

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-marble {
  position: relative;
  z-index: 1;
}

.section-marble::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(245, 242, 238, 0.98)),
    linear-gradient(115deg, rgba(200, 180, 150, 0.18), transparent),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 95px,
      rgba(185, 178, 170, 0.55) 96px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 95px,
      rgba(185, 178, 170, 0.55) 96px
    );
  background-blend-mode: overlay;
  opacity: 0.98;
  z-index: -1;
}

/* Subtle marble noise / veins overlay */
.section-marble::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(60deg, rgba(180, 170, 160, 0.18) 0, transparent 44%, transparent 56%, rgba(200, 185, 170, 0.12) 100%),
    linear-gradient(-60deg, rgba(220, 210, 200, 0.25) 0, transparent 50%, transparent 60%, rgba(150, 140, 130, 0.18) 100%);
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}

.section-dark {
  background: radial-gradient(circle at top left, #3a3d45, #181a1f);
  color: var(--text-light);
}

.section-quote {
  background: radial-gradient(circle at top right, #3a3d45, #181a1f);
  color: var(--text-light);
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  max-width: 640px;
  color: var(--text-muted);
}

.section-header-light p {
  color: rgba(243, 243, 245, 0.82);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(to bottom, rgba(16, 17, 20, 0.96), rgba(22, 23, 28, 0.92));
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-img { width: 110px; height:auto; border-radius:12px; box-shadow:0 4px 8px rgba(0,0,0,0.25);} 

.logo-text {
  color: #f5f5f7;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

/* Navigation */

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #e4e4ec;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold-soft), var(--accent-gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background-color: #f5f5f7;
}

/* Hero */

.hero {
  position: relative;
  min-height: 72vh;
  color: var(--text-light);
  padding: 4rem 0 4rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 55%),
    radial-gradient(circle at bottom right, rgba(202, 168, 117, 0.24), transparent 60%),
    linear-gradient(135deg, #35383f, #181a1f);
  opacity: 0.96;
  z-index: -2;
}

/* Marble slab overlay in hero center */
.hero::before {
  content: "";
  position: absolute;
  inset: 16% 6%;
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 242, 238, 0.98)),
    linear-gradient(115deg, rgba(200, 180, 150, 0.2), transparent),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 110px,
      rgba(210, 200, 190, 0.7) 111px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 110px,
      rgba(210, 200, 190, 0.7) 111px
    );
  background-blend-mode: overlay;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  opacity: 0.96;
  z-index: -1;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
  gap: 2.2rem;
  align-items: center;
}

.hero-text {
  color: var(--text-main);
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.1vw, 2.7rem);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-highlights li::before {
  content: "• ";
  color: var(--accent-gold);
}

/* Hero panel */

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.tile-panel {
  background:
    linear-gradient(140deg, var(--bg-marble-light), var(--bg-marble-mid));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.6rem;
  border: 1px solid rgba(140, 130, 120, 0.35);
}

.hero-card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.hero-card ul {
  list-style: none;
  color: var(--text-muted);
}

.hero-card li {
  margin-bottom: 0.45rem;
}

/* Buttons */

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold-soft), var(--accent-gold));
  color: #251c10;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.26);
}

.btn-primary:hover {
  filter: brightness(1.03);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(70, 70, 76, 0.7);
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Services */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(150, 140, 130, 0.35);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.6rem;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(18, 19, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.project-image {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

/* Marble-like tile placeholders */
.project-image-1 {
  background-image:
    linear-gradient(135deg, #f5f2ee, #d8d1c7),
    linear-gradient(60deg, rgba(120, 110, 100, 0.4), transparent 60%);
}

.project-image-2 {
  background-image:
    linear-gradient(135deg, #d4d9df, #8b919b),
    linear-gradient(-45deg, rgba(20, 22, 26, 0.6), transparent 70%);
}

.project-image-3 {
  background-image:
    linear-gradient(135deg, #f2f3f5, #c4c9d0),
    linear-gradient(45deg, rgba(60, 65, 80, 0.48), transparent 60%);
}

.project-body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.project-body h3 {
  margin-bottom: 0.45rem;
}

.project-body p {
  font-size: 0.95rem;
  color: rgba(230, 230, 235, 0.88);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.about-highlight h3 {
  margin-bottom: 0.8rem;
}

.about-highlight ul {
  list-style: none;
  color: var(--text-muted);
}

.about-highlight li {
  margin-bottom: 0.45rem;
}

/* Quote / Get a Quote */

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.5fr);
  gap: 2rem;
  align-items: flex-start;
}

.quote-points {
  list-style: none;
  margin-top: 0.75rem;
  color: rgba(240, 240, 246, 0.85);
}

.quote-points li {
  margin-bottom: 0.4rem;
}

.quote-points li::before {
  content: "• ";
  color: var(--accent-gold-soft);
}

/* Forms */

.quote-form,
.contact-form {
  background: rgba(11, 12, 16, 0.96);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.95rem;
}

label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245, 245, 248, 0.96);
}

input,
select,
textarea {
  font: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(180, 185, 195, 0.9);
  padding: 0.55rem 0.6rem;
  background-color: #101218;
  color: #f5f5f7;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent-gold-soft);
  outline-offset: 1px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: rgba(210, 212, 220, 0.82);
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 2rem;
}

.contact-details {
  list-style: none;
  margin-top: 1rem;
}

.contact-details li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--accent-gold);
}

/* Contact card */

.contact-card p {
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 0 1.6rem;
  background: #101117;
  color: #a4a7b0;
}

.footer-inner {
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero::before {
    inset: 14% 3%;
  }

  .hero-inner,
  .about-grid,
  .contact-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background:
      linear-gradient(to bottom, rgba(16, 17, 20, 0.98), rgba(20, 21, 26, 0.98));
    padding: 0.75rem 0 1rem;
    display: none;
  }

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

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .nav-toggle {
    display: block;
  }

  .logo-text {
    display: none;
  }

  .hero::before {
    inset: 14% 4%;
  }

  .section {
    padding: 3.2rem 0;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 4.2rem;
  }

  .hero-inner {
    gap: 1.8rem;
  }

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

/* MOBILE FIXES */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; padding: 0 20px; }
  .hero-text { max-width: 100%; padding: 0 10px; }
  .section { padding-left: 16px; padding-right: 16px; }
  h1, h2, h3, p, li { word-break: break-word; overflow-wrap: break-word; }
}
.hero { overflow: visible; }
