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

html, body {
    margin: 0;
    padding: 0;
    background-color: #2c5091;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.Main-Container {
    width: 100%;
    height: 100svh;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-shrink: 1;    
    background-color: #2c5091;
}

.Right-Section, .Left-Section {
    display: inherit;
    max-width: 50%;
    max-height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.Left-Section {
    justify-content: center;
    align-items: center;
    background-color: white;
}

.Right-Section {
    justify-content: space-evenly;
    align-items: center;
    background-color: #2c5091;
    opacity: 1;
}

/* Left-Section Items - Logo, Heading, Services & Company Info */
/* Image - the is the logo on the left or top of the page */
.Image {
    background-color: transparent;
    width: auto;
    padding-top: 4vh; /* Increase top buffer for visual parity */
    padding-bottom: 2vh; /* Maintain breathing room below */
    padding-left: 2vw;
    padding-right: 2vw;
    max-width: 92%;
    box-sizing: border-box;
    /*height: 96%*/
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
    object-fit: contain;
}

/* Heading - this is 'Commercial Services' or 'About Us' on the left or top of the page */
.Heading {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: calc(2vw + 2vh);
    /*line-height: calc(2.5vw + 2.5vh);*/
    color: #333;
    text-align: center;
    background-color: transparent;
    opacity: 1;
   /* white-space: nowrap;*/ /* Prevent text wrapping */
   flex-grow: 1;
   flex-shrink: 1;
}

/* List - the list of Commercial Services */
.List {
    background-color: transparent;
    /* padding: 2vh 4vw; /* vertical and horizontal breathing room */
    /* margin: 0 auto; */
    margin: 1 auto;
    box-sizing: border-box;
    list-style-type: none;
}

/* List Item - each Commercial Service */
.List-Item {
    display: list-item;
    /* padding-left: 1vw; */
    color: #000;
    font-family: Arial, sans-serif;
    font-size: calc(1.1vh + 1.1vw);
    background-color: transparent;
    text-align: left;
    white-space: normal;
    text-decoration: none;
    list-style-image: url('images/JRs-Optics-Wrench-Pipe-Wrench-Icon.png'); /* Only setting the image */
    list-style-position: inside; /* Optional: setting marker position */
    list-style-type: none; /* Optional: removing the default marker */
    flex-grow: 0;
    flex-shrink: 0;
}

/* JR Paragraph is the 'About Us' info paragraph */

.JRParagraph {
    font-family: Arial;
    font-weight: 400;
    font-size: calc(1.2vh + 1.2vw);
    color: #333;
    text-align: left;
    text-decoration: none;
    background-color: transparent;
    opacity: 1;
    cursor: auto;
    object-fit: contain;
    max-width: 92%; /* reduce from 96% */
    padding: 1vh 2vw; /* reduce padding */
    box-sizing: border-box;
    height: auto;
    flex-grow: 1;
    flex-shrink: 1;
}

/* Right-Section Items - Nav Links, Tagline Quote, Phone, Email */
.Navigation-Links {    
    background-color: #2c5091;
    display: flex;
    font-family: Montserrat, sans-serif;
    font-weight: 600;
    font-size: calc(2vw + 2vh); /* Adjust as needed */
    color: #f8f3f2;
    text-align: center;
    text-decoration: none;
    cursor: auto;
}

a .Navigation-Links {
    margin: 0 10px; /* Add some spacing between the links */
}

.Navigation-Links:hover {
    color: #edc23a;
    text-decoration: underline;
}

.Quote {
    background-color: #2c5091;
    font-family: 'Montserrat','DM Sans';
    font-weight: 600;
    font-size: calc(1.75vw + 1.75vh); /* Adjust as needed */
    font-style: italic;
    color: #edc23a;
    text-align: center;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    opacity: 1;
    cursor: auto;
}

.Phone-Number, .Bold-Text {    
    background-color: #2c5091;
    font-family: Arial;
    font-weight: 700;
    font-size: calc(2.25vw + 2.25vh); /* Adjust as needed */
    color: #edc23a;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    cursor: auto;
}

.Contact-Us-Email {    
    background-color: #2c5091;
    font-family: Arial;
    font-weight: 700;
    font-size: calc(1.5vw + 1.5vh); /* Adjust as needed */
    color: #edc23a;
    text-align: center;
    text-decoration: none;
    opacity: 1;
}

.Navigation-Links, .Quote, .Phone-Number, .Bold-Text, .Contact-Us-Email {
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
}

/* Mobile Landscape Styles */
@media screen and (max-width: 767px) {
    .Left-Section, .Right-Section {
        /* width: 100vw; */
        width: 100%;
    }

    .List-Item {
        list-style-image: 
            url('images/JRS-Optics-Wrench-Pipe-Wrench-Icon-18sq.png'); /* Only setting the image */
    }

    .Quote {
        line-height: calc(1vw + 1vh); /* Adjusted for mobile landscape */
    }
}

@media screen and (max-width: 479px) {
    .Main-Container {
        flex-direction: column;
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .Left-Section {
        max-width: 100vw;
        height: 58%;
        max-height: 58%;
        overflow: hidden;
    }

    .Right-Section {
        max-width: 100vw;
        height: 42%;
        max-height: 42%;
        overflow: hidden;
    }

    .List-Item {
        list-style-image: 
            url('images/JRS-Optics-Wrench-Pipe-Wrench-Icon-12sq.png');
    }

    .Quote {
        font-size: calc(1.75vw + 1.75vh); /* original size preserved */
        line-height: calc(2.5vw + 2.5vh); /* increased spacing */
    }
}
