html {
    margin: 0;
    padding: 0;
    /* Use min-height 100vh on the body for sticky footer */
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    /* Ensures the body covers at least the full viewport height */
    display: flex;
    flex-direction: column;
    /* Allows main and footer to stack and footer to push down */
    background: rgb(255, 255, 255);
    /* Set a background for the whole page content */
}

main {
    flex-grow: 1;
    /* Allows the main content area to take up available space, pushing the footer down */
}


/* Navigation Bar */

.nav {
  background: rgb(255, 255, 255);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.nav li {
    margin: 0 1.5rem;
}

.nav a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.nav a:hover {
    color: #c02727;
}

/* The hamburger button itself */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background: #000000;
    border-radius: 5px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

.hero-image {
    background-image: url('contact-heder.png.jpg');
    background-color: #cccccc;
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    filter: brightness(75%);
}

.hero-text {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Bebas neue', sans-serfif;
    font-size: 100px;
    text-shadow: 0 5px 20px rgba(238, 46, 8, 0.4);
    letter-spacing: 10px;
}

/* New Styles for Contact Info Display */
.contact-info-display {
    padding: 50px 20px;
    max-width: 800px;
    margin: 40px auto;
    /* Center the block and add vertical spacing */
    background: white;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Optional subtle shadow */
    border-radius: 8px;
}

.contact-info-display h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 32px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
}

.info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item .label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    color: #c02727;
    /* Highlight the label */
    margin: 0;
}

.info-item .value a,
.info-item .value {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0;
}

.info-item .value a:hover {
    color: #e9451f;
}

/* End New Styles */


/* Footer Section */

footer {
    background-color: rgb(208, 208, 208);
    text-align: center;
    padding: 1rem 0;
    margin-top: auto;
    /* Pushes the footer to the bottom of the page */
    width: 100%;
}

.footer-list li {
    display: inline;
    margin: 0 1rem;
    color: rgb(0, 0, 0);
    list-style: none;
}

.footer-list a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #c02727;
}

.get-in-touch-and-socials {
    margin-top: 200px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    gap: 50%;
    justify-content: center;
}

.contact-info-container {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
    column-gap: 2rem;
    row-gap: 1rem;
}

.info {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.info img {
    width: 32px;
    height: 32px;
    filter: invert(0%);
    transition: filter 0.3s;
}

.info a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 1px;
    transition: color 0.2s;

}

.social-media-accounts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.social-media-accounts a img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 8px;
}

/* Footer Section End */

/* Developed by Section */
.developed-by {
    background-color: rgb(208, 208, 208);
    text-align: center;
    padding: 1rem 0;
    margin-top: 50px;
    color: #000000;
    font-size: 16px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* ================================================================= */
/* MEDIA QUERIES FOR RESPONSIVENESS */
/* ================================================================= */

/* ----------------------------------------------------------------- */
/* Tablet/Small Laptop Size (max-width: 1024px) */
/* ----------------------------------------------------------------- */
@media (max-width: 1024px) {

    /* Navigation */
    .nav li {
        margin: 0 1rem;
    }

    /* Hero */
    .hero-image {
        height: 400px;
    }

    .hero-text {
        font-size: 80px;
        letter-spacing: 8px;
    }

    /* Contact Info Display */
    .contact-info-display {
        max-width: 90%;
    }

    .contact-info-display h2 {
        font-size: 28px;
    }

    .info-item .label {
        font-size: 22px;
    }

    .info-item .value a,
    .info-item .value {
        font-size: 18px;
    }

    /* Contact/Socials Footer Section */
    

    .get-in-touch-and-socials {
        margin-top: 100px;
        gap: 20%;
    }
}

/* ----------------------------------------------------------------- */
/* Mobile Size (iPhone/Android, max-width: 767px) */
/* ----------------------------------------------------------------- */
@media (max-width: 767px) {

    /* NAVIGATION - Hamburger Menu Implementation */
    .nav {
        padding: 0.5rem 0;
        position: relative;
    }

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
        margin: 0;
    }

    .nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
    }

    .nav li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav li:last-child {
        border-bottom: none;
    }

    /* Show the hamburger button */
    .menu-toggle {
        display: flex;
    }

    /* JavaScript will add the 'active' class to .nav ul to show it */
    .nav ul.active {
        display: flex;
    }

    /* HERO SECTION */
    .hero-image {
        height: 300px;
    }

    .hero-text {
        font-size: 50px;
        letter-spacing: 5px;
    }

    /* CONTACT INFO DISPLAY */
    .contact-info-display {
        padding: 30px 15px;
        margin: 30px auto;
    }

    .contact-info-display h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .info-item {
        flex-direction: column;
        gap: 5px;
        align-items: center;
        margin-bottom: 15px;
    }

    .info-item .label {
        font-size: 20px;
    }

    .info-item .value a,
    .info-item .value {
        font-size: 16px;
    }

    /* FOOTER SECTIONS */
    .get-in-touch-and-socials {
        margin-top: 50px;
        flex-direction: column; /* Stack contact info and socials vertically */
        gap: 50px;
        align-items: center;
    }

    .footer-list li {
        margin: 0 0.5rem;
    }

    .footer-list a {
        font-size: 16px;
    }

    .developed-by {
        padding: 0.5rem 10px;
        margin-top: 30px;
        font-size: 14px;
    }
}


/* ----------------------------------------------------------------- */
/* ULTRA-MOBILE SIZE (e.g., iPhone SE, Max-width: 480px) */
/* ----------------------------------------------------------------- */
@media (max-width: 480px) {

    .hero-text {
        font-size: 40px;
        letter-spacing: 3px;
    }

    /* Stack footer links vertically for ultra-small screens */
    .footer-list li {
        display: block;
        margin: 5px 0;
    }

    .footer-list {
        padding: 0;
    }
}