/* ==================================================
   SOLID STEEL FABRICATIONS
   Responsive Static Site
   ================================================== */

:root {
    --yellow: #f2dd21;
    --yellow-dark: #dfca14;
    --charcoal: #303030;
    --black: #1b1b1b;
    --white: #ffffff;
    --grey: #a8a8a8;
    --max-width: 1200px;
}

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

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.7;
}

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

a {
    text-decoration: none;
}

.container {
    width: min(92%, var(--max-width));
    margin: auto;
}

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

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: var(--yellow);
    box-shadow: 0 2px 10px rgba(0,0,0,.2);
}

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

.logo img {
    height: 70px;
    width: auto;
}

#mainNav {
    display: flex;
    gap: 35px;
}

#mainNav a {
    color: #111;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
    transition: .3s;
}

#mainNav a:hover {
    opacity: .7;
}

.mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
}

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

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 2rem;
}

.hero-overlay h1 {
    max-width: 900px;
    font-size: clamp(2.2rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-overlay p {
    max-width: 700px;
    font-size: 1.2rem;
}

/* ==================================================
   STRAPLINE
   ================================================== */

.strapline {
    background: var(--yellow);
    color: #111;
    text-align: center;
    padding: 18px;
    font-weight: 700;
}

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

.services {
    background: var(--charcoal);
    padding: 100px 0;
}

.services h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
}

.services p {
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: center;
}

/* ==================================================
   STATS
   ================================================== */

.stats {
    margin-top: 70px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat {
    text-align: center;
}

.number {
    display: block;
    color: var(--yellow);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.label {
    display: block;
    color: var(--grey);
    margin-top: 10px;
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: 1px;
}

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

.gallery-section {
    background: #020202;
    padding: 100px 0;
}

.gallery-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
}

.gallery-grid {
    width: min(95%, 1600px);
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-grid a {
    overflow: hidden;
    display: block;
}

.gallery-grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .4s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.08);
}

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

.contact {
    background: var(--charcoal);
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 50px;
}

.contact h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.contact address {
    font-style: normal;
    margin-bottom: 25px;
}

.contact a {
    color: var(--yellow);
}

.map img {
    width: 100%;
    border-radius: 4px;
}

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

footer {
    background: #111;
    text-align: center;
    padding: 30px;
    color: #888;
}

/* ==================================================
   LIGHTBOX
   ================================================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 2000;

    display: flex;
    justify-content: center;
    align-items: center;

    visibility: hidden;
    opacity: 0;

    transition: .3s;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-close {
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
}

/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 992px) {

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

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

/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 768px) {

    .mobile-toggle {
        display: block;
    }

    #mainNav {
        position: absolute;
        top: 90px;
        left: 0;
        right: 0;

        background: var(--yellow);

        flex-direction: column;
        gap: 0;

        display: none;
    }

    #mainNav.active {
        display: flex;
    }

    #mainNav a {
        padding: 20px;
        border-top: 1px solid rgba(0,0,0,.1);
    }

    .hero-overlay h1 {
        font-size: 2.5rem;
    }

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

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

    .services,
    .gallery-section,
    .contact {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {

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

    .number {
        font-size: 3rem;
    }

    .services h2,
    .gallery-section h2,
    .contact h2 {
        font-size: 2rem;
    }
}


/* ==================================================
   SOCIAL LINK
   ================================================== */
.ss-instagram-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: 'Open Sans', Arial, sans-serif; /* Matching site typography */
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffd700; /* Primary Brand Yellow */
    transition: all 0.3s ease;
    padding: 10px;
  }
  .ss-instagram-icon {
    width: 24px;
    height: 24px;
    fill: #ffd700; /* Primary Brand Yellow */
    margin-right: 12px;
    transition: transform 0.3s ease;
  }
  .ss-instagram-link:hover {
    color: #ffffff; /* Contrast white on hover */
  }
  .ss-instagram-link:hover .ss-instagram-icon {
    fill: #ffffff;
    transform: scale(1.1);
  }
  /* Ensuring visibility on the footer's black background */
  footer, .footer-container {
    background-color: #000000;
  }