/* =====================================================
   LEON DEMOLITION AND MAINTENANCE
   VERSION 3
===================================================== */

/* ==========================
   RESET
========================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

[id] {
    scroll-margin-top: 140px !important;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(92%, 1200px);
  margin: auto;
}

/* ==========================
   HEADER
========================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,.95);
    backdrop-filter: blur(8px);
    border-bottom: 3px solid #f2b705;
    z-index: 9999;
}

header .container {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================
   LOGO
========================== */

.logo img {
  width: 180px;
}

/* ==========================
   NAVIGATION
========================== */

nav {
  margin-left: auto;
  margin-right: 40px;
}

nav ul {
  display: flex;

  gap: 35px;

  align-items: center;
}

nav a {
  color: #fff;

  font-size: 17px;

  font-weight: bold;

  transition: 0.3s;

  position: relative;
}

nav a:hover {
  color: #d4af37;
}

nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 2px;

  background: #d4af37;

  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ==========================
   PHONE BUTTON
========================== */

.phone-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  /* Wider button */
  height: 52px;

  padding: 14px 32px;

  background: #000;

  color: #f2b705;

  border: 4px solid #f2b705;
  font-size: 23px;
  font-weight: 900;

  letter-spacing: 0.5px;

  transition: all 0.3s ease;
}

.phone-button:hover {
  background: #f2b705;
  color: #000;
}

/* ==========================
   HAMBURGER
========================== */

.menu-toggle{
    display:none;
    width:42px;
    height:32px;
    background:none;
    border:none;
    cursor:pointer;
    position:relative;
    padding:0;
    margin-left:auto;
    margin-right:20px;
    z-index:10002;
}

.menu-toggle span{
    position:absolute;
    left:0;
    width:100%;
    height:4px;
    background:#f2b705;
    border-radius:4px;
    transition:.35s ease;
}

.menu-toggle span:nth-child(1){
    top:0;
}

.menu-toggle span:nth-child(2){
    top:14px;
}

.menu-toggle span:nth-child(3){
    top:28px;
}

.menu-toggle.active span:nth-child(1){
    top:14px;
    transform:rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){
    top:14px;
    transform:rotate(-45deg);
}

/* ==========================
   HERO
========================== */

.hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  position: relative;

  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/hero.jpg");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;

  inset: 0;
}

.hero-content {
  position: relative;

  z-index: 2;

  max-width: 760px;
}

.subtitle {
  display: inline-block;

  color: #d4af37;

  font-size: 15px;

  letter-spacing: 3px;

  font-weight: bold;

  margin-bottom: 20px;
}

.hero h1 {
  font-size: 72px;

  line-height: 1.08;

  margin-bottom: 25px;
}

.hero h2 {
  font-size: 34px;

  color: #d4af37;

  margin-bottom: 20px;
}

.hero p {
  font-size: 22px;

  color: #f1f1f1;

  margin-bottom: 45px;
}

/* ==========================
   BUTTONS
========================== */

.hero-buttons {
  display: flex;

  gap: 20px;

  flex-wrap: wrap;
}

.btn-red,
.btn-gold {
  display: inline-flex;

  justify-content: center;

  align-items: center;

  padding: 18px 34px;

  border-radius: 8px;

  font-size: 18px;

  font-weight: bold;

  transition: 0.35s;
}

.btn-red {
  background: #c62828;

  color: #fff;
}

.btn-red:hover {
  background: #ef2d2d;

  transform: translateY(-3px);
}

.btn-gold {
  background: #d4af37;

  color: #111;
}

.btn-gold:hover {
  background: #efc14d;

  transform: translateY(-3px);
}

/* ==========================
   SECTION TITLES
========================== */

.section-title {
  text-align: center;

  max-width: 850px;

  margin: 0 auto 70px;
}

.section-title span {
  font-size: 50px;
  font-weight: 900;
  color: #ffcc00;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 48px;

  margin: 15px 0;
}

.section-title p {
  color: #bbb;

  font-size: 19px;

  line-height: 1.8;
}

/* =====================================================
   ABOUT
===================================================== */

#about {
  padding: 40px 0 110px 0;
  background: #111;
}

.about-wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.about-image img {
  width: 100%;

  border-radius: 18px;

  border: 4px solid #d4af37;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.about-text h3 {
  font-size: 42px;

  margin-bottom: 25px;

  line-height: 1.2;
}

.about-text p {
  color: #d0d0d0;

  font-size: 18px;

  line-height: 1.9;

  margin-bottom: 25px;
}

/* =====================================================
   SERVICES
===================================================== */

#services {
  padding: 110px 0;

  background: #0d0d0d;
}

.services-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.service-card {
  background: #1b1b1b;

  padding: 40px;

  border-radius: 16px;

  border-top: 5px solid #d4af37;

  transition: 0.35s;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.service-card:hover {
  transform: translateY(-10px);

  background: #242424;

  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.service-card h3 {
  font-size: 28px;

  margin-bottom: 18px;

  color: #fff;
}

.service-card p {
  color: #cfcfcf;

  line-height: 1.8;

  font-size: 17px;
}

/* =====================================================
   WHY CHOOSE US
===================================================== */

.why-us {
  padding: 110px 0;

  background: #111;
}

.why-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.why-box {
  background: #1b1b1b;

  padding: 35px;

  border-radius: 16px;

  text-align: center;

  border-bottom: 5px solid #d4af37;

  transition: 0.35s;
}

.why-box:hover {
  background: #252525;

  transform: translateY(-10px);
}

.why-box h3 {
  font-size: 26px;

  color: #fff;

  margin-bottom: 18px;
}

.why-box p {
  color: #cccccc;

  line-height: 1.8;
}

/* =====================================================
   GALLERY
===================================================== */

#gallery {
  padding: 110px 0;

  background: #0f0f0f;
}

.gallery-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin-top: 60px;
}

.gallery-grid img {
  width: 100%;

  height: 300px;

  object-fit: cover;

  border-radius: 16px;

  border: 3px solid #222;

  transition: 0.35s;

  cursor: pointer;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

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

  border-color: #d4af37;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
}

/* ==========================================
   SINGLE RECENT PROJECT IMAGE
========================================== */

.gallery-single {
  width: 100%;
  max-width: 1100px;
  margin: 40px auto 0;
  text-align: center;
}

.gallery-single img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 3px solid #2b2b2b;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* ==========================================
   CONTACT
========================================== */

/* =====================================================
   CONTACT
===================================================== */

#contact {
  padding: 110px 0;

  background: #111;
}

.contact-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin: 60px 0;
}

.contact-card {
  background: #1b1b1b;

  padding: 40px;

  border-radius: 16px;

  text-align: center;

  border-top: 5px solid #d4af37;

  transition: 0.35s;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.contact-card:hover {
  transform: translateY(-10px);

  background: #252525;
}

.contact-card h3 {
  font-size: 28px;

  margin-bottom: 18px;

  color: #fff;
}

.contact-card p {
  color: #d5d5d5;

  line-height: 1.8;
}

.contact-card a {
  color: #ffffff;

  transition: 0.3s;
}

.contact-card a:hover {
  color: #d4af37;
}

.contact-buttons {
  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  margin-top: 40px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
  background: #090909;

  border-top: none;

  padding: 70px 20px;
}

.footer-content {
  max-width: 900px;

  margin: auto;

  text-align: center;
}

.footer-content img {
  width: 260px;

  margin: 0 auto 35px;
}

.footer-content h3 {
  font-size: 34px;

  color: #ffffff;

  margin-bottom: 15px;
}

.footer-content p {
  color: #cccccc;

  margin: 15px 0;

  line-height: 1.9;
}

.footer-content a {
  color: #d4af37;

  transition: 0.3s;
}

.footer-content a:hover {
  color: #ffffff;
}

.copyright {
  margin-top: 35px;

  padding-top: 25px;

  border-top: 1px solid #2a2a2a;

  color: #888;

  font-size: 15px;
}

.admin-login {
  margin-top: 10px;
}

.admin-login a {
  color: #d4af37;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.admin-login a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =====================================================
   RESPONSIVE LAYOUT
===================================================== */

@media (max-width: 992px) {
  html {
    scroll-padding-top: 100px;
  }
  header .container {
    min-height: 90px;
    position: relative;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 32px;
    margin-left: auto;
    margin-right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10002;
}

  .phone-button {
    display: none;
  }

  nav{
    position:absolute;
    top:90px;
    left:0;
    width:100%;
    background:#111;
    display:none;
    border-top:1px solid #333;
    z-index:9998;
}

nav.active{ display:block; }

  nav ul {
    flex-direction: column;

    gap: 0;
  }

  nav li {
    width: 100%;

    border-bottom: 1px solid #2a2a2a;
  }

  nav a {
    display: block;

    text-align: center;

    padding: 18px;

    font-size: 18px;
  }

  .hero {
    min-height: auto;

    padding: 160px 0 90px;

    text-align: center;
  }

  .hero-content {
    max-width: 100%;

    margin: auto;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h2 {
    font-size: 28px;
  }

  .hero p {
    font-size: 20px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-wrapper {
    grid-template-columns: 1fr;

    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* =====================================================
   PHONES
===================================================== */

@media (max-width: 768px) {
  .container {
    width: 94%;
  }

  .hero {
    padding: 140px 0 70px;
  }

  .hero h1 {
    font-size: 40px;

    line-height: 1.2;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 18px;
  }

  .subtitle {
    font-size: 13px;

    letter-spacing: 2px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .about-text h3 {
    font-size: 32px;
  }

  .why-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: center;
  }

  .btn-red,
  .btn-gold {
    width: 100%;

    max-width: 320px;
  }

  .footer-content img {
    width: 220px;
  }
}

/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 480px) {
  header .container {
    min-height: 80px;
  }

  nav {
    top: 80px;
  }

  html {
    scroll-padding-top: 90px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero p { font-size: 17px; }

/* 1. Make the header span the full width of the screen */
header {
  width: 100%;
  background-color: #ffffff; /* Change this to match your design */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Adds a subtle bottom shadow */
}

/* 2. Align the items horizontally inside the container */
header .container {
  display: flex;
  justify-content: space-between; /* Pushes logo to the left, nav to center, button to right */
  align-items: center; /* Centers everything perfectly from top to bottom */
  max-width: 1200px; /* Keeps your content from stretching too wide on giant screens */
  margin: 0 auto; /* Centers the whole container on the screen */
  padding: 15px 20px; /* Adds breathing room inside the header */
}

/* 3. Remove default bullet points and spacing from your navigation list */
header nav ul {
  display: flex;
  list-style: none;
  gap: 20px; /* Puts a clean 20px space between each menu link */
  margin: 0;
  padding: 0;
}

/* 4. Style your links (Optional placeholder styling) */
header a {
  text-decoration: none;
  color: #333333;
}