/* Import Inria Sans Font */
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@300;400;700&display=swap');

/* CSS for Location Webpage */

body {
    font-family: 'Inria Sans',sans-serif;
    line-height: 1.6;
    color: #321be2;
    margin: 0;
}

/* Navigation Bar background color */
.main-header {
    background-color: white;
}

.main-nav .btn,
.main-nav a {
    color:black;
    align-items: center; 
    justify-content: flex-end;
    gap: 15px;
    font-weight: bold;
}

h1 {
    font-family: 'Inria Sans',sans-serif;
    color:black;
}

.logo h1 {
    color: black;
}

.centered-text {
    text-align: center;
}

/* Pipes Hero Image */
.hero-image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), 
    url("location-hero-img.png");
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Styling for the Hero Text */
.hero-text {
    color: black;
    position: absolute;
    font-weight: bold;
    text-shadow: 4px 4px 4px white;
}

/* FlowFix Location Hero Text */
.top-left {
    top: 25%;
    left: 19%;
    transform: translate(-50%, -50%);
    font-size: 3vw;
}

/* NYC Hero Text */
.bottom-right {
    top: 75%;
    left: 70%;
    transform: translate(-50%, -50%);
    font-size: 3vw;
    text-align: center;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    background-color: white;
    margin: 0px;
    font-size: 20pt;
    font-family: 'Inria Sans',sans-serif;
    font-weight: bold;
    color: black;
    text-shadow: 4px 4px 4px rgb(184, 178, 178);   
    min-height: auto; 
}

/* Headquarters Section of Text */
.dividerHQ {
    display: block;
    text-align: center;
    color: black;
    font-size: 20pt;
    font-family: 'Inria Sans',sans-serif;
    font-weight: bold;
    text-shadow: 4px 4px 4px rgb(184, 178, 178); 
    justify-content: center;
    background-color: white;
    margin: 0px;
    min-height: auto;
    padding: 30px 10%; /* Padding around the text for a spacious look */
}

[data-theme="dark"] .dividerHQ {
    background-color: #1e3a5f !important;
    color: white;
    text-shadow: none;
    margin: none !important;
    border: none !important;
    /* Removes the black margin on the top/bottom of divider */
    margin-top: -8px;
    margin-bottom: -8px;
}

.divider::before,
.divider::after {
    content: "";
    height: 50px;
    background-color: white;
    flex-grow: 1;
    /* border-top: 5px solid tan; */
    /* border-bottom: 4px solid tan; */
}

.divider span {
    padding-left: 10px;
    padding-right: 10px;
}

.dividerHQ span {
    padding-left: 10px;
    padding-right: 10px;
}

/* Removes stray margin color in light mode */
/* .dividerHQ {
    margin-top: -10px;
    margin-bottom: -10px;
} */

/* Footer Styles */
.footer {
    /* background-color: lightgray; */
    background-image: linear-gradient(to bottom, white, tan);
    color: black;
    padding: 20px 0;
    text-align: center;
    margin-top: 4px;
}

/* Styling for Footer in dark mode - Background */
[data-theme="dark"] .footer {
    background-image: linear-gradient(to bottom, #1e3a5f, black);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 4px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

/* Social Media Links */
.footer-social a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

/* Footer Social Media Links in Dark Mode */
[data-theme="dark"] .footer-social a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease-in-out;
}

.footer-social a:hover {
    color: orange; /* Highlight color on hover */
}

/* Business Hours */
.footer-hours {
    text-align: center;
    font-size: 16px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-social,
    .footer-hours {
        margin: 10px 0;
    }
}

/* Location Navigation Bar */
.location-nav {
    overflow: hidden;
    background-color: rgb(182, 166, 154);
}

.location-nav a {
    float: right;
    color:brown;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
}

/* 
    Dark Mode Settings
    - Navigation bar background switches to Navy color 
    - Logo color switches to white
*/

[data-theme="dark"] .main-header {
    background-color: #1e3a5f;
}

/* Dark Mode - Logo switches to white */
[data-theme="dark"] .logo h1 {
    color: white;
}

/* Dark Mode - Nav Bar buttons switch to white */
[data-theme="dark"] .main-nav .btn,
[data-theme="dark"] .main-nav a {
    color: white;
}

/* Light & Dark Mode - Hamburger */ 
.hamburger span {
    background-color: black;
}

[data-theme="dark"] .hamburger span {
    background-color: #ffffff;
}

/* Styling for Divider in dark mode */
[data-theme="dark"] .divider {
    background-color: #1e3a5f !important;
    color: white !important;
    text-shadow: none !important;
}

[data-theme="dark"] .divider::before,
[data-theme="dark"] .divider::after {
    background-color: #1e3a5f !important;
}

[data-theme="dark"] .dividerHQ::before,
[data-theme="dark"] .dividerHQ::after {
    background-color: #1e3a5f !important;
}

/* Styling for DividerHQ in dark mode */
[data-theme="dark"] .dividerHQ {
    background-color: #1e3a5f !important;
    color: white !important;
    text-shadow: none !important;
}


/* TO DO - Styling for Footer in dark mode */


/* The nav buttons are hidden on mobile by default */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        background-color: #ffffff; /* Light mode background */
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .main-nav.active {
        display: flex;
    }

    [data-theme="dark"] .main-nav {
        background-color: #1e3a5f;
    }
}

/* Light/Dark mode icon */
.btn.theme-toggle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.btn.theme-toggle {
    background:none;
    border:none;
    padding: 0;
    margin: 0;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    height: 20px;
}

.btn.theme-toggle:hover {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Styling for Emergency Button */
.btn-emergency {
    background-color: #ff8c00;
    border: none;
    border-radius: 15px;  /* Rounded Edges */
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 2px 5px 0 rgba (0, 0, 0, 0.15);
    color: white !important;
    padding: 10px;
}
 /* Styling for Emergency Button in Dark Mode */
[data-theme="dark"] .btn-emergency {
    background-color: #ff8c00;
    border: none;
    border-radius: 15px;  /* Rounded Edges */
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 2px 5px 0 rgba (0, 0, 0, 0.15);
    color: #1e3a5f !important;
    padding: 10px;
}