/* =====================================
   MJG Renovations LLC - Global Styles
   Author: Prince Gentillon
   ===================================== */

/* -------- Typography -------- */
body {
  font-family: 'Roboto', sans-serif;
  color: #111;
}

/* Headings brand style */
h1, h2, h3, .navbar-brand {
  font-family: 'DM Serif Display', serif;
}

/* --------------------------------------
   NAVIGATION BAR
--------------------------------------- */
.bg-black {
  background: #FFFFFF !important;
}

.navbar-brand {
  color: #c90000 !important;
  font-size: 1.8rem;
}

/* NAVBAR LINKS */
.navbar .nav-link {
  color: #000 !important;          /* Black default */
  font-weight: 500;
  transition: 0.3s ease;
}

.navbar .nav-link:hover {
  color: #c90000 !important;        /* Red on hover */
}

.navbar .nav-link.active {
  color: #c90000 !important;        /* Red when active */
}

/* Toggler icon (hamburger) color fix for white bg */
.navbar-light .navbar-toggler-icon {
  filter: brightness(0); /* Makes it black */
}


/* Desktop navbar spacing */
.navbar {
  padding: 0.8rem 4rem;
}

/* Mobile navbar spacing */
@media (max-width: 992px) {
  .navbar {
    padding: 0.8rem 1.2rem !important;
  }
}


.navbar-nav {
  margin-left: auto;
  display: flex;
  gap: 1.5rem;
}
.logo-img {
  height: 120px;
  width: auto;
  margin-right: 0;       /* Remove fixed margin */
  max-width: 100%;       /* Prevent overflow */
}

/* Mobile */
@media (max-width: 768px) {
  .logo-img {
    height: 60px;        /* smaller logo */
    max-width: 100%;      /* keep it inside screen */
    margin: 0 auto;      /* center it */
    display: block;
  }
}





/* ================= HERO SECTION ================= */

#hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image 0.8s ease-in-out;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}

/* HERO ARROWS */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 20;
  padding: 0 15px;
  transition: 0.3s;
  user-select: none;
}

.hero-arrow:hover {
  color: #c90000;
  transform: translateY(-50%) scale(1.15);
}

.hero-arrow-left {
  left: 20px;
}

.hero-arrow-right {
  right: 20px;
}

/* Mobile Scaling */
@media (max-width: 768px) {
  #hero { height: 60vh; }

  .hero-arrow { 
    font-size: 2.5rem; 
  }
  .hero-arrow-left {
    left: -5px;
    top: 50%;   
      
  }

  .hero-arrow-right {
    right: -5px;
    top: 50%;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* --------------------------------------
   INTRO SECTION
--------------------------------------- */
.intro-text {
  font-size: 1.3rem;
  max-width: 900px;
  margin: auto;
}

/* --------------------------------------
   SERVICES SECTION
--------------------------------------- */
@media (max-width: 992px) {
  .services-section .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .card img {
    height: 180px;
  }
}



.services-section {
  background: #D73745; /* Deep red */
}


.card {
  border: none;
  border-radius: 8px;
}

.card img {
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: .5em;
}

.card-body {
  padding: 1.5em;
}

/* Hover effect */
.card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}
/* --------------------------------------
   SERVICES PAGE
--------------------------------------- */


.service-section-wrapper {
  max-width: 1100px;    /* EDIT WIDTH HERE */
  margin: auto;
  width: 100%;
}

/* Controls the ENTIRE card's height (optional) */
.service-card {
  border-radius: 10px;
  overflow: hidden;
  height: auto;          /* change to a number if you want fixed height */
}

/* Controls the image height */
.service-img {
  height: 450px !important;   /* Change to ANY height you want */
  width: 100% !important;
  object-fit: cover !important;
}


.lead text-muted{
    color: #c90000 !important; 
    
}



/* --------------------------------------
   GALLERY GRID
--------------------------------------- */

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  width: 90%;
  margin: 3rem auto;
}


.gallery-grid img {
  width: 100%;
  height: 230px;           /* made slightly taller for balance */
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .gallery-grid {
    width: 95%;
    grid-template-columns: 1fr; /* single column */
  }

  .gallery-grid img {
    height: 200px; /* shorter for phones */
  }
}


/* --------------------------------------
   LIGHTBOX POPUP
--------------------------------------- */

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.88);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px; /* prevents image from touching the edges on phones */
}

#lightbox.active {
  display: flex;
}

/* The image inside popup */
#lightbox-img {
  max-width: 95%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 35px rgba(255,255,255,0.15);
  animation: fadeIn .25s ease;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* Close button (X) */
#lightbox-close {
  position: absolute;
  top: 22px;
  right: 32px;
  font-size: 3.2rem;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

#lightbox-close:hover {
  color: #c90000;
  transform: scale(1.15);
}


/* ===================== FOOTER (White Background) ===================== */
/* -------- FOOTER -------- */
.mjg-footer {
  background: #2b2b2b;     /* dark grey (same as screenshot) */
  color: #ffffff;
  border-top: 3px solid #c90000;
}

/* Logo */
.footer-logo {
  color: #c90000 !important;
  font-family: 'DM Serif Display', serif;
}

/* Quick action links */
.footer-action-link {
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 4px;
  font-weight: 500;
}

.footer-action-link:hover {
  color: #c90000;
}

/* Navigation row */
.footer-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  margin: 0 8px;
}

.footer-nav-link:hover {
  color: #c90000;
}

.sep {
  color: #c90000;
  font-weight: bold;
}

/* Social Icons */
.footer-social i {
  font-size: 28px;        /* size of icons */
  color: white;           /* default icon color */
  opacity: 0.9;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

.footer-social i:hover {
  opacity: 1;
  transform: scale(1.15);
  color: #c90000;         /* MJG red hover */
}



/* Copyright */
.footer-bottom {
  color: white;
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-bottom .privacy {
  color: #c90000;
  text-decoration: none;
}

.footer-bottom .privacy:hover {
  text-decoration: underline;
}



