/* Basic Reset and Global Styles (No change here) */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    color: #333;
    line-height: 1.6;
}

/* --- Navbar Styling (Updated for Centered Logo) --- */
.navbar {

    /* Centering the logo only */
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center;
    padding: 15px 40px;
    
}

.navbar .logo img {
    height: 55px; 
    vertical-align: middle;
}

.brandlogo{
    align-self: flex-start;
    padding: 20px;
    position: absolute;
    top: 10px;
    z-index: 2;
}
.brandlogo img {
    height: 55px; 
    
}

/* Remove Nav List Styles */
.navbar nav {
    /* Hide the entire nav container */
    display: none; 
}


/* --- Main Content Layout (No change here) --- */
.landing-page {
    display: flex;
    /* Adjusted min-height calculation based on typical header/footer sizes */
    min-height: calc(100vh - 100px); 
}

.column-steel {
    flex: 1; 
    position: relative;
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

.column-civil {
    flex: 1; 
    position: relative;
    padding: 50px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 600px;
}

/* --- Ghost Image/Background Styling (No change here) --- */
.steel-structure {
    background-color: floralwhite;
}

.civil-construction {
    background-color: #004d99; 
}

.ghost-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5; 
    z-index: 1; 
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s;
}

.steel-drawings {
    background-image: url(img/civil_column_bg.jpg);
}

.civil-drawings {
    background-image: url(img/steel_column_bg.jpg);
}

.column:hover .ghost-image {
    opacity: 0.3;
}

/* --- Content Overlay Styling (No change here) --- */
.content-overlay {
    position: relative;
    z-index: 2; 
    padding: 20px;
    background: rgba(0, 0, 0, 0); 
    border-radius: 10px;
   

} 

.column-steel h2 {
    font-size: 3.5em;
    font-weight: lighter;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: left;
    line-height: 70px;
    color: #9fce68;
    padding-top: 40px;
    
}

.column-steel p {
    font-size: 1.1em;
    margin-bottom: 30px;
    font-weight: lighter;
    text-align: left;
    line-height: 20px;
    color: #9fce68;
}

.column-civil h2 {
    font-size: 3.5em;
    font-weight: lighter;
    margin-bottom: 15px;
    padding-bottom: 10px;
    display: inline-block;
    text-align: left;
    line-height: 70px;
    color: #9fce68;
    padding-top: 40px;
    
}

.column-civil p {
    font-size: 1.1em;
    margin-bottom: 30px;
    font-weight: lighter;
    text-align: left;
    line-height: 20px;
    color: #9fce68;
}
.btn {
    display: inline-block;
    padding: 10px 25px;
    text-decoration: none;
    background-color: #9fce68;
    color: #3a459c;
    border-radius: 25px;
    font-weight: lighter;
}

steel-structure .btn:hover {
    background-color: #fff;
    color: #004d99;
}

civil-construction .btn:hover {
    background-color: #fff;
    color: #ff6600;
}

/* --- Footer Styling (No change here) --- */
.footer {
    display: flex;
    justify-content: space-around;
    padding: 20px 40px;
    background-color: #333;
    color: #ccc;
    text-align: center;
    
    min-height: 100px;
}

.footer h3 {
    color: #fff;
    margin-bottom: 5px;
}

.footer p{
    line-height: 20px;
    font-size: 1em;
}

.address-group {
    padding: 0 10px;
}

/* =================================================== */
/* MOBILE RESPONSIVENESS (Media Query)     */
/* =================================================== */

@media (max-width: 768px) {
    
    /* 1. Main Content: Stacks Columns */
    .landing-page {
        flex-direction: column; /* Stack columns vertically */
        min-height: auto; /* Allow height to adjust */
    }

    .navbar .logo img {
        height: 45px; 
        vertical-align: middle;
    }

    .column-steel {
        min-height: 450px; /* Give each stacked section a minimum height */
        padding: 40px 20px;
    }

    .column-civil {
        min-height: 450px; /* Give each stacked section a minimum height */
        padding: 40px 20px;
    }

    .brandlogo img {
        height: 45px; 
        
    }

    .column-steel h2 {
        font-size: 2.1em; /* Slightly smaller heading on mobile */
        line-height: 40px;
        padding-top: 60px;
        font-weight: bold;

    }

    .column-civil h2 {
        font-size: 2.1em; /* Slightly smaller heading on mobile */
        line-height: 40px;
        font-weight: bold;

        
    }

    .column-steel p {
        font-size: 1em;
        margin-bottom: 30px;
        font-weight: bold;
        text-align: left;
        line-height: 20px;
        color: #9fce68;
    }

    .column-civil p {
        font-size: 1em;
        margin-bottom: 30px;
        font-weight: bold;
        text-align: left;
        line-height: 20px;
        color: #9fce68;
    }

    /* 2. Footer: Stacks Addresses */
    .footer {
        flex-direction: column; /* Stack address groups vertically */
        padding: 20px;
    }

    .address-group {
        margin-bottom: 15px; /* Add space between stacked addresses */
    }

    .address-group:last-child {
        margin-bottom: 0;
        margin-top: 10px;
    }
}