/* ============================================================
   GR & R Renovations — Main Stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --primary:       #1C2B3A;
  --primary-dark:  #111820;
  --accent:        #D4941B;
  --accent-light:  #E8A82A;
  --accent-dim:    rgba(212, 148, 27, 0.12);
  --light:         #F5F3EF;
  --white:         #FFFFFF;
  --gray:          #6B7280;
  --gray-light:    #E5E7EB;
  --gray-dark:     #374151;
  --text:          #1F2937;

  --font-head:  'Montserrat', sans-serif;
  --font-body:  'Inter', sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.18);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.22);

  --radius:     6px;
  --radius-lg:  12px;
  --transition: 0.3s ease;
  --max-width:  1200px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span { color: var(--accent); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 580px;
  line-height: 1.7;
}

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

.section-header.centered {
  text-align: center;
}
.section-header.centered .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,148,27,.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all var(--transition);
}

#navbar.scrolled {
  background: var(--primary-dark);
  padding: .85rem 0;
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: var(--radius);
}

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

.logo-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-tagline {
  font-size: .7rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17,24,32,.82) 0%, rgba(28,43,58,.65) 60%, rgba(17,24,32,.82) 100%),
    url('../images/gallery/3.png') center 40% / cover no-repeat;
}

/* Geometric accent shapes */
.hero-bg::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  border: 1px solid rgba(212,148,27,.12);
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  right: 50px; top: 50px;
  width: 400px; height: 400px;
  border: 1px solid rgba(212,148,27,.08);
  border-radius: 50%;
}

.hero-accent-bar {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 8rem 0 5rem;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow-line {
  width: 40px; height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-eyebrow span {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero-title .line-accent { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.68);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero-scroll svg { opacity: .5; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--primary);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .04em;
}

.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 28px; background: rgba(255,255,255,.15); }

/* ---------- Services Section ---------- */
.services-section {
  padding: 6rem 0;
  background: var(--light);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 58px; height: 58px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-link {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap var(--transition);
}
.service-link:hover { gap: .7rem; }

/* ---------- Why Choose Us ---------- */
.why-section {
  padding: 6rem 0;
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-visual {
  position: relative;
}

.why-img-main {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  background: url('../images/gallery/20.jpeg') center center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.why-img-inner-text {
  color: rgba(255,255,255,.25);
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  user-select: none;
}

.why-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 140px; height: 140px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-xl);
}

.why-badge-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.why-badge-text {
  font-family: var(--font-head);
  font-size: .62rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .25rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-item-icon {
  width: 46px; height: 46px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
}

.why-item-body h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .3rem;
}

.why-item-body p {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---------- Projects / Portfolio ---------- */
.projects-section {
  padding: 6rem 0;
  background: var(--light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.25rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--primary);
}

.project-card:first-child {
  grid-column: span 2;
}

.project-img {
  width: 100%;
  aspect-ratio: 16/10;
  display: block;
  transition: transform .6s ease;
  position: relative;
}

.project-card:first-child .project-img { aspect-ratio: 16/9; }

/* Gradient placeholder images */
.proj-1 { background: linear-gradient(135deg, #1a3a5c 0%, #2d6a9f 50%, #1a3a5c 100%); }
.proj-2 { background: linear-gradient(135deg, #2c1a1a 0%, #6b3a3a 50%, #2c1a1a 100%); }
.proj-3 { background: linear-gradient(135deg, #1a2c1a 0%, #3a6b3a 50%, #1a2c1a 100%); }
.proj-4 { background: linear-gradient(135deg, #2c2a1a 0%, #6b5a3a 50%, #2c2a1a 100%); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,32,.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }
.project-card:hover .project-img { transform: scale(1.05); }

.project-category {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .4rem;
}

.project-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

/* Fallback labels visible without hover */
.project-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(17,24,32,.8) 0%, transparent 100%);
  padding: 2rem 1.5rem .75rem;
  pointer-events: none;
}

.project-label-cat {
  font-family: var(--font-head);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-label-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-top: .2rem;
}

.projects-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: 6rem 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -2rem; left: 5%;
  font-family: Georgia, serif;
  font-size: 25rem;
  line-height: 1;
  color: rgba(255,255,255,.025);
  pointer-events: none;
  user-select: none;
}

.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-tag   { color: var(--accent); }
.testimonials-section .section-sub   { color: rgba(255,255,255,.55); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,.1);
  transform: translateY(-4px);
  border-color: rgba(212,148,27,.35);
}

.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.testimonial-text {
  font-size: .95rem;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-author-name {
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author-title {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  margin-top: .15rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 5rem 0;
  background: var(--accent);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.04) 20px,
    rgba(255,255,255,.04) 21px
  );
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner-text .section-tag { color: rgba(255,255,255,.7); }
.cta-banner-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.cta-banner-text p {
  color: rgba(255,255,255,.78);
  font-size: 1rem;
}

.cta-banner-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Footer ---------- */
footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.65);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand p {
  font-size: .875rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-contact-list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}

.footer-contact-item svg { color: var(--accent); flex-shrink: 0; }

.footer-col h4 {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer-links a:hover { color: var(--accent); }
.footer-links a::before { content: '—'; font-size: .6rem; opacity: .5; }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p { font-size: .8rem; }
.footer-bottom a { color: var(--accent); }

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 9rem 0 4.5rem;
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,.012) 60px,
    rgba(255,255,255,.012) 61px
  );
}

.page-header-accent {
  display: none;
}

.page-header-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.breadcrumb a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,.25); }

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.62);
  max-width: 520px;
  line-height: 1.7;
}

/* ---------- About Page ---------- */
.story-section {
  padding: 6rem 0;
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: url('../images/gallery/14.jpg') center center / contain no-repeat, var(--light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-img-text {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(255,255,255,.07);
  user-select: none;
}


.story-content .section-sub { max-width: 100%; }

.story-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--gray-dark);
  font-size: .95rem;
  line-height: 1.75;
}

.values-section {
  padding: 5rem 0;
  background: var(--light);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--accent-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.value-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
}

.value-card p {
  font-size: .85rem;
  color: var(--gray);
  line-height: 1.65;
}

.team-section {
  padding: 6rem 0;
}

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

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

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

.team-photo {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,.4);
}

.team-photo.tp-1 { background: linear-gradient(135deg, #1C3A5A, #2d5a8a); }
.team-photo.tp-2 { background: linear-gradient(135deg, #3A1C2A, #8a3a55); }
.team-photo.tp-3 { background: linear-gradient(135deg, #1C3A2A, #2d8a5a); }
.team-photo.tp-4 { background: linear-gradient(135deg, #2A2A1C, #6b6b2d); }

.team-info {
  padding: 1.5rem;
}

.team-info h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .2rem;
}

.team-role {
  font-size: .8rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .625rem;
}

.team-bio {
  font-size: .84rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ---------- Services Page ---------- */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 5rem 0;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

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

.service-detail-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,.15);
}

.sdi-1 { background: linear-gradient(135deg, #1a3a5c, #2d6a9f); }
.sdi-2 { background: linear-gradient(135deg, #2c1a1a, #6b3a3a); }
.sdi-3 { background: linear-gradient(135deg, #1a2c1a, #3a6b3a); }
.sdi-4 { background: linear-gradient(135deg, #2c2a1a, #6b5a3a); }
.sdi-5 { background: linear-gradient(135deg, #1a1a2c, #3a3a6b); }
.sdi-6 { background: linear-gradient(135deg, #2a1a2c, #6b3a6b); }

.service-detail-body {
  padding: 2rem;
}

.service-detail-body h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .625rem;
}

.service-detail-body p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.service-features li {
  font-size: .85rem;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: .625rem;
}

.service-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Quote / Contact Page ---------- */
.contact-section {
  padding: 5.5rem 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-detail-icon {
  width: 46px; height: 46px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail-body strong {
  display: block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .2rem;
}

.contact-detail-body span {
  font-size: .875rem;
  color: var(--gray);
  line-height: 1.6;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}

.form-heading {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: .5rem;
}

.form-sub {
  font-size: .875rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.form-group.full { grid-column: span 2; }

.form-group label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .875rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,148,27,.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select { cursor: pointer; }

.form-submit-btn {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  font-size: .95rem;
  padding: 1.05rem;
}

.form-note {
  margin-top: .875rem;
  text-align: center;
  font-size: .78rem;
  color: var(--gray);
}

/* Success message */
.form-success {
  display: none;
  padding: 1.25rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: .875rem;
  color: #047857;
  font-weight: 500;
}

/* ---------- Stats row ---------- */
.stats-section {
  padding: 4rem 0;
  background: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-inner, .story-inner, .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }
  .featured-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--primary-dark);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.2rem; color: var(--white); }
  .logo-tagline { display: none; }

  /* Hero */
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: .95rem; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
  .hero-stat-num { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; gap: .75rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Trust bar */
  .trust-bar-inner { flex-wrap: wrap; gap: .5rem; justify-content: center; padding: .75rem 1rem; }
  .trust-divider { display: none; }
  .trust-item { font-size: .75rem; }

  /* Section headings & spacing */
  .section-title { font-size: 1.8rem; }
  .section-header { margin-bottom: 2rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr !important; }

  /* Why section */
  .why-visual { display: none !important; }

  /* Featured projects */
  .featured-grid { grid-template-columns: 1fr !important; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr !important; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr !important; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr !important; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: span 1; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; }

  /* Forms */
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }

  /* CTA Banner */
  .cta-banner-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .cta-banner-actions { flex-direction: column; width: 100%; }
  .cta-banner-actions .btn { width: 100%; justify-content: center; }

  /* Page headers */
  .page-header { padding: 5rem 0 3rem !important; }
  .page-header h1 { font-size: 2rem; }

  /* Gallery */
  .gallery-grid { columns: 2; }

  /* Story section */
  .story-inner { grid-template-columns: 1fr; gap: 2rem; }
  .story-img { aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: .875rem; }
  .hero-stat-num { font-size: 1.4rem; }
  .hero-stats { justify-content: space-between; gap: 1rem; }

  /* Section headings */
  .section-title { font-size: 1.45rem; }
  .section-sub { font-size: .875rem; }

  /* Values & Team: single column on small phones */
  .values-grid { grid-template-columns: 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:last-child { border-bottom: none; }

  /* Gallery */
  .gallery-grid { columns: 1; }
  .lightbox-prev, .lightbox-next { padding: .5rem .75rem; }

  /* Page header */
  .page-header h1 { font-size: 1.6rem; }
  .page-header p { font-size: .875rem; }

  /* Navbar */
  .logo-name { font-size: .9rem; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .footer-bottom p { font-size: .75rem; }
}

/* ============================================================
   Gallery Page
   ============================================================ */

.gallery-section {
  padding: 5rem 0 6rem;
  background: var(--light);
}

/* Masonry-style column layout */
.gallery-grid {
  columns: 3;
  column-gap: 1.25rem;
}

.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 58, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-overlay i {
  font-size: 1.75rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

/* ============================================================
   Lightbox
   ============================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
  transition: opacity 0.25s ease;
}

.lightbox-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10000;
}

.lightbox-close:hover { background: rgba(255,255,255,.25); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  padding: .85rem 1.1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition);
  z-index: 10000;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.28); }

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65);
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
