/* ================================
   RESET & BASE
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ================================
   LAYOUT
================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 50px 0;
}

h1, h2, h3 {
  margin-bottom: 15px;
}

p {
  margin-bottom: 10px;
}

/* ================================
   HEADER & NAV
================================= */
.site-header {
  background: #111;
  color: #fff;
  padding: 14px 0;
}

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

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  position: relative;
}

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

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

/* ================================
   HERO
================================= */
.hero {
  background: #202020;
  color: #fff;
  padding: 50px 0 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding-bottom: 40px;
}

.hero-text h1 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 20px;
  color: #e2e2e2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #4a89dc;
  color: #fff;
  border-color: #4a89dc;
}

.btn-primary:hover {
  background: #3c74bc;
  border-color: #3c74bc;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

.hero-image-frame {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.35);
  border: 4px solid #000;
}

/* ================================
   "VIEW OUR WORK" GALLERY
================================= */
.section-heading {
  text-align: left;
  margin-bottom: 10px;
}

.section-heading p {
  color: #666;
  max-width: 36rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid figure {
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  position: relative;
}

.gallery-grid img {
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
  opacity: 1;
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 6px 10px;
  font-size: 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #f3f3f3;
}

/* ================================
   SERVICES PREVIEW
================================= */
.services-preview {
  background: #f7f7f7;
}

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

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-top: 3px solid #4a89dc;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
}

/* ================================
   INTERNAL PAGES
================================= */
.sub-hero {
  background: #202020;
  color: #fff;
  padding: 40px 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 12px;
}

.breadcrumbs a {
  color: #ddd;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.content-narrow ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.content-narrow li {
  margin-bottom: 6px;
}

/* ================================
   CONTACT PAGE
================================= */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-box {
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-box form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-box form input,
.contact-box form textarea {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  margin-bottom: 10px;
  font: inherit;
}

.contact-box form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info p {
  font-size: 0.9rem;
}

/* ================================
   LIGHTBOX
================================= */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

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

.lightbox-inner img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

/* ================================
   FOOTER
================================= */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
  margin-top: 40px;
}

/* ================================
   RESPONSIVE
================================= */
@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 30px;
  }
}

@media (max-width: 700px) {
  .site-header-inner {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-nav {
    gap: 12px;
    flex-wrap: wrap;
  }

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

/* Homepage grid gallery match */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap:15px;
}
.grid-gallery figure {
  position: relative;
  margin:0;
  cursor:pointer;
}
.grid-gallery img {
  width:100%; border-radius:8px; display:block;
}
.grid-gallery figcaption {
  position:absolute;
  bottom:0; left:0; right:0;
  background:rgba(0,0,0,0.6);
  color:#fff;
  padding:6px 8px;
  font-size:14px;
  border-bottom-left-radius:8px;
  border-bottom-right-radius:8px;
  text-align:center;
}
@media(max-width:900px){.grid-gallery{grid-template-columns:repeat(3,1fr);} }
@media(max-width:600px){.grid-gallery{grid-template-columns:repeat(2,1fr);} }

.lightbox-backdrop{
  display:none; position:fixed; inset:0; background:rgba(0,0,0,.9);
  justify-content:center; align-items:center; z-index:2000;
}
.lightbox-content{position:relative; max-width:95%; max-height:95%;}
.lightbox-content img{
  max-width:90vw;
  max-height:90vh;
  width:auto;
  height:auto;
  display:block;
}
.lb-close, .lb-prev, .lb-next{
  position:absolute; top:50%; transform:translateY(-50%);
  font-size:40px; color:white; cursor:pointer; padding:10px;
}
.lb-close{top:-40px; right:0; transform:none;}
.lb-prev{left:-60px;} .lb-next{right:-60px;}
@media(max-width:600px){
  .lb-prev{left:10px;} .lb-next{right:10px;}
}
