/* ACF Construction - Main Stylesheet */

:root {
  --dark: #111111;
  --charcoal: #1c1c1c;
  --grey: #666666;
  --light-grey: #f4f4f4;
  --white: #ffffff;
  --accent: #d6a100;
  --accent-dark: #aa8000;

  --max-width: 1180px;
  --section-padding: 90px;
  --radius: 14px;
}

/* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* That image on home scren*/
.about-image {
    border-radius: 16px;
}

/*hero image backdrop*/
.page-hero {
  background:
    linear-gradient(
      rgba(0,0,0,0.7),
      rgba(0,0,0,0.7)
    ),
    url('/images/about-banner.jpg');

  background-size: cover;
  background-position: center;
  color: white;

  padding: 180px 0 140px;
}

/* Layout */
.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--light-grey);
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.1);

  transition:
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.site-header .nav a {
  color: white;
}

.site-header.scrolled {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.site-header.scrolled .nav a {
  color: white;
}

.site-header.scrolled .logo {
  color: white;
}


.site-header.home-header {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.home-header.scrolled {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


.logo img {
  height: 54px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.nav a:hover,
.nav a.active {
  color: var(--accent-dark);
}


/* for the why choose us*/
.why-choose .card h3 {
    color: #111111;
}

.why-choose .card p {
    color: #666666;
}


/* Home page transparent header */

.site-header.home-header {
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  position: fixed;
}

.site-header.home-header.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
}

.site-header.home-header .nav a {
  color: #ffffff;
}

.site-header.home-header .nav a.active {
  color: var(--accent);
}


/* Hero */
.hero {
  position: relative;
  min-height: 110vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.page-hero {
  padding: 130px 0 90px;
}

.hero-content {
  max-width: 760px;
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero p,
.page-hero p {
  max-width: 680px;
  margin: 0 0 32px;
  font-size: 1.15rem;
  color: #eeeeee;
}

/* Buttons */
.button,
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: 0.2s ease;
}

.button:hover,
.btn:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.button-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--dark);
}

/* Headings */
.section-title {
  max-width: 760px;
  margin: 0 0 45px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.section-title p {
  margin: 0;
  color: var(--grey);
  font-size: 1.05rem;
}

.section-dark .section-title p {
  color: #cccccc;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  height: 100%;
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.card p {
  margin: 0;
  color: var(--grey);
}

/* Project Cards */
.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.project-card-content {
  padding: 26px;
}

.project-card h3 {
  margin: 0 0 10px;
}

.project-card p {
  margin: 0;
  color: var(--grey);
}

/* CTA */
.cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: #dddddd;
}

/* Forms */
.form {
  display: grid;
  gap: 18px;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
}

/* Footer */
.site-footer {
  background: #0d0d0d;
  color: var(--white);
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.site-footer h3,
.site-footer h4 {
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  color: #cccccc;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaaaaa;
}

.footer-logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 20px;
}
/* Socials */
.footer-social {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-links a {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.08);
    border-radius: 50%;

    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.social-links img {
    width: 24px;
    height: 24px;
}


/* Admin */
.admin-panel {
  max-width: 720px;
  margin: 80px auto;
}

.admin-links {
  display: grid;
  gap: 18px;
}

.admin-link {
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--light-grey);
  font-weight: 700;
}

.admin-link:hover {
  background: var(--accent);
}

/*projects CSS*/
.project-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.project {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #111;
  cursor: pointer;
  border: none;
  padding: 0;
}

.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project:hover img {
  transform: scale(1.08);
}

.project-title {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: white;
  font-weight: bold;
  z-index: 2;
  text-align: left;
  text-shadow: 0 2px 8px black;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
}

.project-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 9999;
}

.project-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.project-overlay-content {
  position: relative;
  background: #111;
  color: white;
  width: min(680px, 92%);
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.9);
  transition: 0.25s ease;
}

.project-overlay.active .project-overlay-content {
  transform: scale(1);
}

.project-overlay-content img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.project-overlay-content h2 {
  margin: 20px 22px 8px;
}

.project-overlay-content strong {
  display: block;
  margin: 0 22px;
  color: var(--accent);
}

.project-overlay-content p {
  margin: 14px 22px 24px;
  line-height: 1.6;
  color: #dddddd;
}

.project-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 5;
  border: none;
  background: transparent;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* contact form*/
.contact-card {
  background: var(--light-grey);
  padding: 34px;
  border-radius: var(--radius);
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 700;
}

.form-success {
  background: #e7f7ec;
  color: #146c2e;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.form-error {
  background: #fde8e8;
  color: #9b1c1c;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}



@media (max-width: 950px) {
  .project-collage {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {

  .page-hero {
    padding-top: 220px;
  }

}


@media (max-width: 520px) {
  .project-collage {
    grid-template-columns: 1fr;
  }
}


/* Mobile */
@media (max-width: 850px) {
  :root {
    --section-padding: 60px;
  }

  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    min-height: 620px;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 26px;
  }
}


@media (max-width: 768px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-brand,
    .footer-social,
    .footer-contact {
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
        display: block;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        text-align: center;
    }

}


@media (max-width: 480px) {
  .nav a {
    font-size: 0.85rem;
  }

  .hero,
  .page-hero {
    background-position: center;
  }

  .button,
  .btn {
    width: 100%;
    text-align: center;
  }
}