*{
    padding: 0;
    margin: 0;
    font-family: Open Sans;
    scroll-behavior: smooth;

    --gray: #D3D3D3;
    --L-blue: #B2E3FC;
    --blue: #6CB4EE;
    --dark_blue: #004162;

    /* Light Mode */
    --em-text-color: bisque;

    --xxl: 4rem;
    --xl: 3.5rem;
    /* h2 */
    --l: 3rem;
    /* h3 */
    --m: 2.5rem;
    /* h4 */
    --s: 2rem;
    /* h5 */
    --pl: 1.5rem;
    /* p */
    --p: 1rem;

}
@font-face {
    font-family: Open Sans;
    src: url(Assets/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}

/* Light Mode */
:root{
    --background-color: #ffffff;
    --text-color: #004162;
    --em-text-color: bisque;
    --heading-color: #004162;
    --outer-section-bg: #004162;
    --inner-section-bg: #E5E4E2;
    --section-text: #004162;
    --black-bar-bg: #004162;
    --black-bar-txt: bisque;
    --btn-background: #6CB4EE;
    --btn-text: white;
    --btn-bg-hover: bisque;
    --btn-txt-hover: black;
    --navbar-color: bisque;
    --menu-txt-color: white;
    --menu-bar-color: #004162;
    --menu-background: bisque;
    --list-txt: #004162;
}

body{
    scrollbar-width: none;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::-webkit-scrollbar {
    display: none;
}
h1{
    margin-left: 0.5rem;
}
h2{
    font-size: var(--l);
    color: var(--heading-color);
}
h3{
    font-size: var(--m);
    color:var(--heading-color);
}
h4{
    font-size: var(--pl);
    color:var(--heading-color);
}
.hp4{
    font-weight: 300;
}
p{
    font-size: var(--p);
    padding: 0.6rem 0;
}
em{
    background-color: var(--black-bar-bg);
    color: var(--em-text-color);
    padding: 0 5px;
    font-style: normal;
    border-radius: 5px;
}
img{
    border-radius: 10px;
}
/* Default Settings */
.container{
    width: 100%;
    max-width: 1200px;
    margin: auto auto;
    padding: 1.5rem 0;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flex-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.flex-img{
    max-width: 100%;
    height: auto;
    display: flex;
}

.flex-img img{
    height: auto;
    display: block;
    flex: 1 1 40%;
}

.button{
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 1rem;
}
.btn{
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.2rem 1rem;
    border-radius: 1rem;
    background-color: var(--btn-background);
    color: var(--btn-text);
    align-items: center;
}
.btn:hover{
    background-color: var(--btn-bg-hover);
    color: var(--btn-txt-hover);
}
  /* ############### Altered Setti-ngs ################*/
 

  /* Header/Navbar */
.navbar{
    background-color: var(--navbar-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position:fixed;
    width: 100%;
}
.navbar a{
    text-decoration: none;
    color: var(--menu-txt-color);
}

.Site-Title h2{
    color: var(--heading-color);
    font-weight: 300;
    font-size: 2rem;
    margin-left: 0.5rem;
    margin-bottom: 0.1rem;
}

.black-bar-0{
    width: 100%;
    background-color: var(--black-bar-bg);
}
.black-bar-0 h1{
    font-size: 0.75rem;
    font-weight: 400;
    text-align: center;
    padding-top: 3rem;
    color: var(--black-bar-txt)
}

.navlinks a{
    text-decoration: none;
    font-weight: 400;
    padding: 0 1rem;
    color: var(--text-color);
    list-style: none;
}
.navlinks .n-link:hover{
   color: var(--em-text-color);
   background-color: var(--btn-background);
}
.hamburger{
    display: none;
}
.m-icon{
    color: var(--text-color);
    text-decoration: none;
    font-size: 2rem;    
}
.Menu{
    display: none;
}
.x-icon{
    position: absolute;
    top: -2%;
    right: 0;
    display: none;
}
.x-icon p{
    color: white; 
    font-size: 1.5rem;
}

/* Hero Section(s) */
.hero{
    align-items: center;
    height: auto;
    /* min-height: 100px; add a smaller version of the picture @ that breakpoint*/
    width: auto;
    flex-wrap: nowrap;
}
.hero em{
    background-color: var(--black-bar-bg);
    color: var(--black-bar-txt);
}

.hero-2{
    align-items: center;
    flex-direction: row-reverse;
    height: auto;
    width: auto;
    /* min-height: 100px;  add a smaller version of the picture @ that breakpoint */
    flex-wrap: nowrap;
}

.hero-2 em{
    background-color: var(--black-bar-bg);
    color: var(--black-bar-txt);
}


/* Service Section */
.service-h2{
    text-align: center;
    color: white;
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: var(--s);
}
.service-p{
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}
.Services{
    background-color: var(--outer-section-bg);
}

.service-container{
    display: flex;
    flex-wrap: nowrap;
}
.service-box{
    max-width: 30rem;
    display: flex;
    flex-direction: column;
    background-color: var(--inner-section-bg);
    text-align: center;
    border-radius: 1rem;
    padding: 2rem;
}

.text-box-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.text-box-overlay.show{
    display: flex;
    opacity: 1;
}

.text-box-content{
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 5px solid bisque;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
    position: relative;
}


.text-box-overlay.show .text-box-content{
    transform: scale(1);
}

.close-btn{
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s;
}

.close-btn:hover{
    background: #c82333;
}

.close-btn:focus{
    outline: 2px solid #c82333;
    outline-offset: 2px;
}

.text-box-content p{
    font-size: 1em;
    margin-bottom: 15px;
}
.read-more-btn{
    border: none;
    text-decoration: underline 1px solid var(--blue);
    background: none;
    font-size: 1rem;
    color: var(--blue);
}
.read-more-btn:hover{
    cursor: pointer;
    color: red;
     text-decoration: underline 1px solid red;
}

/* Prime Pieces */
.pp{
    text-align: center;
    color: var(--heading-color);
    font-weight: 400;
}
.prime-pieces{
    background-color: var(--inner-section-bg);
    margin: 1rem auto;
}
.slideshow-card{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: 10px;
    max-width: 32rem;
}

.part-1{ 
    margin: 0 1rem;
}
.part-1 ul{
    list-style: none;
}

.part-1 .i-put{
    color: var(--blue);
    font-weight: 500;
}
.part-1 h4{
    margin-bottom: 1rem;
}

.part-2{
    display: flex;
    align-items: center;
    margin: 0 1rem;
}


/* Social Media Section */
.sm{
    text-align: center;
    font-weight: 400;
    color: white;
}
.social-media{
    background-color: var(--outer-section-bg);
    margin: 2rem auto;
}

.s-icon{
    padding: 2rem;
    background-color: var(--inner-section-bg);
    display: flex;
    align-items: center;
    flex-direction: column;
    min-width: 300px;
    text-align: center;
    border-radius: 10px;
}

.s-icon{
    color: var(--text-color);
    font-weight: 300;
}
.s-icon h4{
    color:var(--heading-color);
}

/* Call To Action Section */

.CTA-C{
    background-color: var(--inner-section-bg);
    padding: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.CTA{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.sm-btn:hover{
    background-color: var(--text-color);
    color: var(--btn-text);
}

.tag{
    font-weight: 200;
}

form{
    display: flex;
    flex-direction: column;
    text-align: left;
}
.form-inputs{
    margin: 0.25rem 0;
    color:var(--text-color);
}
.form-borders{
    border-radius: 5px;
    border: none;
    padding:0.25rem;
}

.submit{
    background-color: #6CB4EE;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.25rem 0;
    margin: 1rem 0;
}
.submit:hover{
    cursor: pointer;
    color: var(--text-color);
}


/* Footer */
.fter{
    justify-content: space-around;  /* add a media query to swp to space between @320px */
}
.footer-li{
    list-style: none;
}
.footer-li a{
    color: var(--list-txt);
    text-decoration: none;
}
.footer-li a:hover{
    text-decoration: underline 2px solid var(--blue);
    color: var(--blue);
}



.privacy-text-box{
    margin-top: 2rem;
    border-bottom: 1px solid var(--text-color);
    padding-bottom: 2rem;
}

.about-us{
    margin-top: 2rem;
    border-bottom: 1px solid var(--text-color);
}

.order-services{
    margin-top: 2rem;
    border-bottom: 1px solid var(--text-color);
}

#hide{
    display: none;
}
#services{
    visibility: hidden;
}
.black-bar{
    background-color: black;
    color: white;
    padding: 0.25rem 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
}
.pp-li{
    list-style: disc var(--text-color);
    color: var(--text-color);
}
.pp-a{
    color: var(--blue);
}

.popup-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.popup-consent {
    background: white;
    padding: 20px;        
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-consent h2{
    margin-top: 0;
    font-size: 1.5rem;
}

.popup-consent p{
    margin: 10px 0;
    font-size: 1em;
    color: #333;
}
.popup-buttons{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.popup-buttons button{
    padding: 10px 20px;
    border: none; 
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}
.accept_btn{
    background: #28a745;
    color: white;
}
.decline-btn{
    background: #dc3545;
    color: white;
}
.accept_btn:hover{
    background: #218838;
}
.decline-btn:hover{
    background: #c82333;
}
.popup-content:focus{
    outline: 2px solid #007bff;
}

.collection{
    font-size: 1rem;
    color: var(--blue);
}


.JR{
    padding-top: 2rem;
}
.map-container{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: var(--inner-section-bg);
}
.mapcon-item{
    padding: 1rem;
    align-items: center;
}
.mapcon-item p{
    padding: 1rem;
}

@media (max-width: 600px) {
    .popup-content{
        width: 95%;
        padding: 15px;
    }   
    .popup-content h2{
        font-size: 1.2em;
    }
    .popup-content p{
        font-size: 0.9em;
    }
    .popup-buttons button{
        padding: 8px 15px;
        font-size: 0.9em;
    }
}
@media (max-width: 600px) {
    .content-container {
        margin: 15px;
        padding: 15px;
    }

    .read-more-btn {
        padding: 8px 8px;
        font-size: 0.9em;
    }

    .text-box-content {
        max-width: 95%;
        padding: 15px;
    }

    .text-box-content p {
        font-size: 0.9em;
    }

    .close-btn {
        padding: 6px 10px;
        font-size: 0.9em;
    }
    .text-box-content h4{
        font-size: 1.25rem;
    }
}
@media screen and (max-width: 1059px){
    .hero-txt h2{
        font-size: 2rem;
    }
    .service-container{
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px){
    .hero{
        flex-wrap: wrap;
        text-align: center;
    }

    h2{
        font-size: var(--m);
    }
    .hero img{
        width: auto;
        height: auto;
        max-width: 100%;
    }

    .hero-2{
        flex-wrap: wrap;
        text-align: center;
    }
    .hero-2 img{
        width: auto;
        height: auto;
        max-width: 100%;
    }
    .container{
        border-radius: 0%;
    }

    .slideshow-card{
        flex-wrap: wrap;
        max-width: 80%;
        justify-content: center;
    }
    .slideshow-card img{
        min-width: 400px;
        min-height: 400px;
        margin: auto;
        padding: 1rem 0;
        flex-shrink: 1;
    }
    .part-2{
        border-radius: 10px;
    }
    .map-container{
        flex-wrap: wrap;
        text-align: center;
    }
    .mapcon-item iframe{
        width: 100%;
        width: 400px;
        height: 250px;
    }

}
@media screen and (max-width: 477px){
    .slideshow-card img{
        min-width: 300px;
        min-height: 300px;
    }
    .mapcon-item iframe{
        width: 100%;
        width: 300px;
        height: 250px;
    }
    .black-bar-0 h1{
        font-size: 0.5rem;
    }
    .service-box{
        text-align: left;
    }
    .CTA{
        text-align: left;
    }
}
@media screen and (max-width: 363px){
    .slideshow-card img{
        min-width: 250px;
        min-height: 250px;
        border-radius: 10px;
    }
    .s-icon{
       text-align: center;
       padding: 0.5rem;
       width: 280px;
    }
}

@media screen and (max-width: 768px){
    footer h4{
        font-size: var(--p);
    }

}

@media screen and (max-width: 479px){

    h2{
        font-size:var(--s);
    }

    h3{
        font-size: var(--pl);
    }
    .tab{
        margin: 0.25rem;
    }
    .fter .flex-item{
        min-width: 200px;
    }
    .fter{
        flex-direction: column;
    }
    .f-item{
        display: flex;
        padding-left: 1rem;
        flex-direction: column;
    }
}

@media screen and (max-width: 768px){

    h1{
        font-size: var(--pl);
    }
    .navbar{
        justify-content: center;
    }
    .navlinks{
        display: none;
    }
    .navlinks .Menu{
        color: var(--menu-txt-color);
    }
    .navlinks .n-link:hover{
        background-color: #6CB4EE;
    }
    .hamburger{
        display: block;
    }
    .m-icon img{
        display: flex;
        align-items: center;
    }
    .Menu{
        display: flex;
        align-items: center;
        background-color: var(--menu-bar-color);
        color: var(--menu-txt-color);
        padding-top: 1rem;
    }
    .navlinks.dropdown{
        display: flex;
        flex-direction: column;
        position:absolute;
        top: 0%;
        right: 0%;
        width: 100%;
        height: 100vh;
        overflow-y: hidden;
        overscroll-behavior-block: contain;
        z-index: 999;
    }
    .navlinks .x-icon{
        display: block;
    }
    .navlinks{
        background-color: var(--menu-background);
       
    }
    .navlinks a{
        padding: 1rem;
    }

}