/*Header*/
:root {
/* Core Brand Tones */
--bone-white: #F9F6EE;
--charcoal-slate: #333333;
--ivory-sand: #EAE2D6;


--primary-text: #2B2B2B;
--container: 80rem;                /* ≈1280px */
--muted: #4a4a4a;

--bg: #f3e9dd;
--space-3: 1rem;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styling */
header {
    background-color: var(--charcoal-slate);
    color: var(--bone-white);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

header, .hero, .services-offered, .process-container, .reviews, .services-page, .about-us, .our-craft, .contact, .work-page, .about-us-hero, .about-slab, .features, .team-section, .message-section, .marble-projects, .marble-work-hero,footer {
  max-width: var(--container);
  min-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--ivory-sand);
    letter-spacing: 1px;
    padding-left: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    padding-right: 20px;
}

.nav-links li a {
    color: var(--bone-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.2rem;
}

.nav-links li a:hover {
    color: var(--bone-white);
}

/* Body Defaults */
body {
    background-color: var(--bg);
    font-family: 'Inter', sans-serif;
    color: var(--primary-text);
    padding: 0;
    margin: 0;
    justify-content: center;
}

footer {
    background-color: var(--charcoal-slate);
    color: var(--bone-white);
    text-align: center;
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
    margin: 0;
}

.footer-nav a {
    color: var(--bone-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.5rem;
}

.footer-nav a:hover {
    color: var(--bone-white);
}

.logo-image {
    width: 126px;
    height: 35px;
    display: block;
    margin: 15px auto;
}
  
.cta{
  display:inline-block; 
  padding:12px 20px; 
  border-radius:999px; 
  border:1px solid transparent;
  background:var(--ivory-sand); 
  color:#221d15; 
  font-weight:700; 
  text-decoration:none; 
  transition:transform .15s ease, box-shadow .15s ease; 
  font-size: 1.4rem;
}

.cta:hover{transform:translateY(-1px); box-shadow:0 8px 24px rgba(0,0,0,.15)}
.spacer{height:32px}

/* Variant 1 — Dark overlay */
.hero.overlay::before{
  content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
}
.overlay .title{color:white; font-size:clamp(2rem, 5vw, 3rem); margin:0 0 14px 0;}
.overlay .subtitle{color:#ececec}

.photo-card{
  position:relative;
  display:inline-block;         /* shrink to image width */
  background: var(--charcoal-slate);              /* frame */
  padding:2px;                 /* frame thickness */
  box-shadow:0 8px 24px rgba(0,0,0,.12);   /* main shadow */
}

/* image itself */
.photo-card img {
  display: block;
  width: 450px;       /* exact width */
  height: 600px;      /* exact height */
  object-fit: cover;  /* fills box, crops excess */
}

.process-container {
    margin: 0 auto;
    width: 100%;
    background-color: #ecddcb;
    overflow: hidden;
    height: 800px;
}
                
.steps-section {
    flex: 1.2;
    min-width: 350px;
    max-width: 100%;
    min-height: 660px;
    padding: 20px;
    margin-top: 20px;
    margin-left: 40px;
    margin-right: 40px;
    background-color: white;
    border-radius: 10px;
}

.steps-section h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--charcoal-slate);
}

.steps-container {
    position: relative;
    padding-left: 30px;
    justify-content: space-evenly;
    display: flex;
    flex-direction: column;
    height: 615px;
}

.step {
  flex: 1;               /* each step takes equal height */
  display: flex;         /* so the number + text align nicely */
  align-items: flex-start;
  margin-bottom: 0;      /* remove margin that causes gaps */
  position: relative;
  padding-left: 30px;
  padding-bottom: 30px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -25px;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg);
    color: var(--charcoal-slate);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    z-index: 2;
}

.step-content h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-content p {
    color: #7f8c8d;
    font-size: 1.7rem;
}

@media (max-width: 1000px) {
  .steps-section h2 {
    font-size: 3.2rem;
  }

  .step-number{
    font-size: 2.2rem;
  }

  .step-content h3 {
    font-size: 2.4rem;
  }

  .step-content p {
    font-size: 1.8rem;
  }
}

/* Section */
.reviews{
  background-color: #fcfcfa;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  text-align: center;
  color: var(--primary-text, #222);
}

.reviews .title {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #1f2937; /* dark charcoal for professionalism */
  margin-bottom: 2rem;
  line-height: 1.3;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Card */
.review-item{
  position: relative;
  text-align: left;
  max-width: 80ch;               /* keeps line length readable */
  margin: 0 auto 1rem;
  padding: 1.25rem 1.25rem 1rem 1.5rem;
  background-color: var(--bg);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  line-height: 1.6;
  font-size: 1.05rem;
  color: var(--primary-text, #222);
}

/* Decorative opening quote */
.review-item::before{
  content: "“";
  position: absolute;
  left: .6rem;
  top: .2rem;
  font-size: 2.2rem;
  line-height: 1;
  color: rgba(0,0,0,.12);
}

/* Paragraph and author lines inside */
.review-item p{
  margin: 0 0 .75rem;
}

.review-item .author{
  display: block;
  margin-top: .25rem;
  font-size: .95rem;
  color: #60646b;
  font-weight: 600;
}

/* Only remove the last item's bottom margin */
.review-item:last-child{
  margin-bottom: 0;
}

@media (max-width: 1000px) {
  .reviews .title {
    font-size: 3.8rem;
  }

  .review-item {
    font-size: 1.6rem;
    margin: auto 2rem 2rem 2rem;
  }

  .review-item .author {
    font-size: 1.4rem;
  }
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #1d3b2f;
    font-size: 14px;
}

.services-page {
    position: relative;
}

.services-background {
    background-color: var(--bone-white);
}

.about-us-hero {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--charcoal-slate) center/cover no-repeat;
    background-image: url("../assets/images/Website_Images/About_Us_Banner.jpg"); /* replace with your about us image */
    overflow: hidden;
    height: clamp(24rem, 72vh, 40rem); /* min 24rem, fluid to 72vh, max 40rem */
  }

.about-us-hero.home-page {
  background-image: url('../assets/images/Website_Images/Home_Banner.jpg');
}

.about-us-hero.services-page {
  background-image: url('../assets/images/Website_Images/What_We_Offer_Banner.jpg');
}

.about-us-hero.marble-work-page {
  background-image: url('../assets/images/Website_Images/Marble_Image.jpg');
  text-align: left;
  height: clamp(34rem, 72vh, 40rem);
}

.about-us-hero.quartz-work-page {
  background-image: url('../assets/images/Website_Images/Quartz_Image.jpg');
  text-align: left;
  height: clamp(34rem, 72vh, 40rem);
}

.about-us-hero.granite-work-page {
  background-image: url('../assets/images/Website_Images/Granite_Image.jpg');
  text-align: left;
  height: clamp(34rem, 72vh, 40rem);
}

.about-us-hero .content {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.about-us-hero .eyebrow {
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .85rem;
  color: #d9d9d9;
  margin-bottom: 12px
}

.about-us-hero .title {
  color: white;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 14px 0;
}

.about-us-hero .subtitle {
  max-width: 60ch;
  margin: 0 auto 20px auto;
  font-weight: 300;
  color: #ececec
}

.about-us-hero.marble-work-page .subtitle {
  margin: 10px 0 24px 0;
}

.about-us-hero.quartz-work-page .subtitle {
  margin: 10px 0 24px 0;
}

.about-us-hero.granite-work-page .subtitle {
  margin: 10px 0 24px 0;
}

.about-us-hero .cta {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ivory-sand);
  color: #221d15;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  font-size: 1.4rem;
}

.about-us-hero .cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.about-us-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .35));
}

@media (max-width: 1000px) {
  .about-us-hero .eyebrow{font-size: 1.5rem;} 
  .about-us-hero .title { font-size: 3.2rem; }
  .about-us-hero .subtitle { font-size: 1.4rem; }
  .about-us-hero .cta {
    font-size: 1.8rem;
  }

  .cta {
    font-size: 1.8rem;
  }
}

.about-slab{
  background: #fff7ef;
  color: var(--charcoal-slate);
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-slab .container{
  margin-inline: auto;
  padding-left: 60px;
  padding-right: 60px;
}

.about-slab img{
  width: 90%;
  height: 600px;
  border-radius: 5px;
  margin: 20px auto 40px auto;
  display: block;
}

.about-hero{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}

.about-hero em{
  font-family: "Playfair Display", Georgia, serif; /* italic serif accent */
  font-style: italic;
  font-weight: 700;
}

.about-intro{
  max-width: 70ch;
  color: var(--muted);
  font-size: clamp(16px, 2.1vw, 18px);
  line-height: 1.6;
  margin: 0 0 40px;
}

/* Two-column Mission / Vision */
.about-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
}

.about-grid h3{
  font: 600 20px/1.3 "Inter", system-ui, sans-serif;
  margin: 0 0 8px;
}

.about-grid p{
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  max-width: 55ch;
}

@media (max-width: 1000px){
  .about-intro{ font-size: 1.9rem}
  .about-grid h3 { font-size: 2.1rem; }
  .about-grid p { font-size: 1.9rem; }
}

@media (max-width: 1000px) {
  .spotlight-card .spotlight-copy { max-width: none; font-size: 1.8rem;}
  .spotlight-card .spotlight-cta { font-size: 1.8rem;}
}

@media (min-width: 1001px) and (max-width: 1024px) {
  /* iPad styles ONLY */
  .spotlight-card .spotlight-copy { max-width: none; font-size: 1.25rem;}
  .spotlight-card .spotlight-cta { font-size: 1.4rem;}
}

/* Stack on small screens */
@media (max-width: 760px){
  .about-grid{
    grid-template-columns: 1fr;
  }
}

.about-divider{
  display: block;
  margin: 60px auto 0 auto;
  width: 1000px;
}

.why-choose-us{
  background: var(--charcoal-slate);
  padding: clamp(48px, 8vw, 60px) 0 clamp(48px, 8vw, 60px) 30px;
  color: var(--charcoal-slate);
  margin-bottom: 60px;
}

.choose-us-grid{
  display: flex; 
  padding-top: 60px;
  gap: 20px;
}

.about-item{
  flex: 1; 
  padding: 0 20px;
  border-radius: 5px;
  background-color: var(--bg); 
}

.features {
  background: var(--charcoal-slate);
  padding: 4rem 1rem;
  color: var(--charcoal-slate);
}

.features .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.features h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3rem;
}

@media (max-width: 1000px) {
  .features h2 {
    text-align: center;
    font-size: 3.4rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.feature-card h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #111;
}

.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}


.icon {
  font-size: 2.5rem; /* desktop default */
}

@media (max-width: 1000px) {
  .features { min-width: 0; }                   /* undo any fixed min-width */
  .features-grid { grid-template-columns: 1fr; }/* stack cards to one column */
  .feature-card { padding: 1.25rem; }
  .feature-card p{ font-size: 2.1rem;}
  .feature-card h3{ font-size: 2.6rem; }           /* tighter padding on small screens */
  .icon { font-size: 3.5rem; }                  /* larger icons on small screens */
}

/* Just in case long words appear */
.feature-card { overflow-wrap: break-word; word-break: normal; }

.team-section {
  padding: 4rem 1rem;
  background-color: #fff7ef;
}

.team-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 3rem;
}

.team-text {
  text-align: left;
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
}

.team-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: #111;
}

.team-text p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
}

.team-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.message-section{
  background: #fcfcfa;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  color: #1f2937;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.message-container{
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;   /* left heavier than right */
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1000px){
  .message-container{
    grid-template-columns: 1fr;       /* stack on small screens */
  }
}

@media (max-width: 980px){
  .team-container{
    background: #fff;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
  }
  .team-text h2 { font-size: 3.4rem; }
  .team-text p { font-size: 2.1rem; }

  .team-image{
    display: none;
  }
}

.message-container .headline{
  margin: .5rem 0 1.5rem;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

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

@media (max-width: 640px){
  .benefit-grid{ grid-template-columns: 1fr; }
}

.benefit{
  background: var(--bg);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  border: 1px solid rgba(0,0,0,.06);
}

.benefit h3{
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.benefit p{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: .95rem;
}

.message-right{
  position: relative;
}
/* right image card */
.message-right .photo-card{
  display: block;
  width: min(100%,420px);
  margin-right: auto;
  background: none;
  margin-inline: auto;
  margin-top: 55px;
}

.message-container .photo-card img{
  display: block;
  width: 100%;
  height: 350px;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 5; /* similar proportions to the reference */
}

@media (max-width: 1000px) {
  .message-right .photo-card {
    display: none;
  }
  
  .message-left .headline {
    font-size: 3.8rem;
  }

  .benefit h3 { font-size: 2rem; }
  .benefit p { font-size: 1.6rem; }
}


/* Section shell */
.material-spotlight {
  background: #f4ede3;
  padding: clamp(2rem, 4vw, 4rem) 1rem;
}

.material-spotlight.quartz-section {
  background: #f4ede3;
}

/* Two columns, with room for overlap */
.spotlight-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  position: relative;
}

.spotlight-container.quartz {
  grid-template-columns: 1fr 1.2fr;
}

/* Force Quartz to stack on small screens too */
@media (max-width: 980px) {
  .spotlight-container,
  .spotlight-container.quartz {
    grid-template-columns: 1fr !important;
  }

  .spotlight-media { order: -1; }
  .spotlight-card { order: 0; }

  .spotlight-container,
  .spotlight-container.quartz {
    grid-auto-flow: row;
  }
}

.spotlight-media {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
.spotlight-media img {
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 520px);
  object-fit: cover;
}


.spotlight-card {
  background: #fff7ef;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1f2937;
  min-height: 500px;
}

/* Typography */
.spotlight-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3.6vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #1f2937;
}

.spotlight-copy {
  margin: 0.25rem 0 1.25rem;
  color: #4b5563;
  line-height: 1.6;
  font-size: clamp(1.5rem, 1.2vw, 1.55rem);
  max-width: none;
}

/* CTA button */
.spotlight-cta {
  display: inline-block;
  background: #efe4d7;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.spotlight-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

/* Responsive: stack layout */
@media (max-width: 1000px) {
  .spotlight-container {
    grid-template-columns: 1fr;
  }

  .spotlight-title {
    font-size: 3.2rem;
  }

  .spotlight-card {
    transform: none;
    margin-top: -1.25rem; /* subtle overlap when stacked */
  }
}

:root{
  --mp-bg: #faf6f6;
  --mp-card-bg: #ffffff;
  --mp-text: #1f1f1f;
  --mp-muted: #6b6b6b;
  --mp-border: #e8e8e8;
  --mp-accent: #111;          /* button text */
  --mp-radius: 16px;
  --mp-shadow: 0 6px 20px rgba(0,0,0,.06);
}

.marble-projects{
  background: var(--mp-bg);
  padding-top: 40px;
  padding-bottom: 60px;
}

.mp-container{
  margin-inline: auto;
  min-height: 1050px;
}

.mp-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.mp-card{
  background: var(--mp-card-bg);
  border: 1px solid var(--mp-border);
  overflow: hidden;
  box-shadow: var(--mp-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  will-change: transform;
}

.mp-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
  border-color: #ddd;
}

.mp-card__link{
  color: inherit;
  text-decoration: none;
  display: grid;
}

.mp-media{ 
  margin: 0;
  aspect-ratio: 4 / 3; 
  overflow: hidden; 
  background: #eee; 
} 

.mp-media img{ 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
  transform: scale(1.001); 
  transition: transform .35s ease; 
}

.mp-card:hover .mp-media img{ transform: scale(1.04); }

.mp-card__body{
  padding: 16px 16px 14px;
}

.mp-card__title{
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.mp-meta{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0;
  margin: 0;
  color: var(--mp-muted);
  font-size: .86rem;
}
.mp-meta li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

/* small dot separator for a neat look on wider screens */
.mp-meta li + li::before{
  content: "";
  width: 4px; height: 4px;
  background: var(--mp-muted);
  border-radius: 50%;
  display: inline-block;
  margin-right: 12px;
}

/* Responsive tweaks */
@media (max-width: 1000px){
  .mp-header{ align-items: flex-start; flex-direction: column; }
  .mp-seeall{ order: 2; }
}

.nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 5px;
  z-index: 10;
}

.nav button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 32px;
  padding: 20px 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact {
  padding: 60px 20px;
}

.contact__wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.contact__title {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.contact__info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  padding-left: 30px;
  padding-right: 30px;
}

.contact__info p {
  margin: 4px 0;
  font-size: 1.5rem;
}

.contact__info a {
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.contact__form {
  background: none;
  padding: 10px;
  border-radius: 0px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  width: 100%;
}

.form-success {
  background: #e9f8ef;
  color: #1f7a44;
  border: 1px solid #bfe8d0;
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-weight: 600;
}


label {
  margin-bottom: 8px;
  font-size: 1.4rem;
  font-weight: bold;
}

input, select, textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #fafafa;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #2f463d;
  background: #fff;
}

textarea {
  resize: vertical;
}

.btn-submit {
  display: block;
  width: 100%;
  padding: 14px;
  margin-top: 15px;
  background: #2f463d;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.btn-submit:hover {
  background: #24352f;
}

/* Responsive */
@media (max-width: 1000px) {
  .contact__info {
    flex-direction: column;
  }

  .contact__title {
    font-size: 3.4rem;
  }

  .contact__info p {
    font-size: 2.5rem;
  }

  .form-row {
    flex-direction: column;
  }

  .form-group label { font-size: 2.8rem;}

  .form-group input, .form-group select, .form-group textarea {
    font-size: 2rem;
    padding: 20px;
  }

  .btn-submit {
    font-size: 2rem;
    padding: 20px;
  }
}

/* Modal background */
.modal {
  position: fixed;
  inset: 0;                 /* top:0 right:0 bottom:0 left:0 */
  background: rgba(0,0,0,0.6);
  display: none;

  /* CENTERING */
  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* Modal content box */
.modal-content {
  background: #fff;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  padding: 1.5rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Close button */
.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  cursor: pointer;
  color: #555;
}
.close:hover { color: #000; }

/* Two-column layout */
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}

/* Left image */
.modal-left {
  position: relative;
  height: 80vh;          /* or whatever you want */
  max-height: 80vh;
  overflow: hidden;
}

/* Fit image inside that area */
.modal-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show whole image */
  border-radius: 8px;
  display: block;
}

/* Right text section */
.modal-right h2 {
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.modal-right p {
  margin: 0 0 1rem;
  line-height: 1.5;
  color: #333;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  opacity: 0.9;
}
.modal-nav.prev { left: 10px; }
.modal-nav.next { right: 10px; }

.image-counter{
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.8;
}


/* Responsive: stack on small screens */
@media (max-width: 1000px){
  .modal-content{
    width: min(920px, 92vw);
    max-height: 70vh;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
  }

  .modal-body{
    flex-direction: column;
    gap: 16px;
    height: 100%;
    overflow: auto; /* allow scrolling */
  }

  .modal-left,
  .modal-right{
    width: 100%;
  }

  .modal-left{
    height: 30vh;          /* pick a sensible image area */
    max-height: 350px;
  }

  .modal-left img{
    width: 100%;
    height: 100%;
    object-fit: cover;     /* or contain if you don’t want crop */
    display: block;
  }
}


/*Responsive, mobile-first overrides*/
/* Keep your min-width on desktop, but allow sections to shrink on small screens */
@media (max-width: 80rem) { /* 80rem ≈ your --container (1280px) */
  header, .hero, .services-offered, .process-container, .reviews, .services-page,
  .about-us, .our-craft, .contact, .work-page, .about-us-hero, .about-slab,
  .features, .team-section, .message-section, .marble-projects, .marble-work-hero,
  footer {
    min-width: 0 !important;   /* lets them fit the viewport on phones */
    width: 100% !important;     /* fill the screen width */
  }
}

/* Stack “Why Choose Us?” cards only on small screens */
@media (max-width: 60rem) { /* ≈ 768px */
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.25rem; }
}