/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
    --heads: #1d3858;
    --text: #575757;
    --links: #e70f0f;
    --accentBkg: #4471a7;
    --accentTxt: #ffffff;
    --socialTxt: #fff;
    --navLinks: #4471a7;
    --navTabBkg: #e70f0f;
    --navTabTxt: #e70f0f;
    --logo: #7d7d7d;
    --footTxt: #ffffff;
    --footLinks: #fff;
    --imgBkg: rgba(0, 0, 0, .2);
    --mainBkg: #ffffff;
    --socialBkg: #1c3c62;
    --navBkg: #ffffff;
    --headBkg: #ffffff;
    --contentBkg: rgba(255, 255, 255, .9);
    --itemBkg: #ededed;
    --footBkg: #000000;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--mainBkg);
    color: var(--text);
}

h1, h2, h3 {
    color: var(--heads);
}

.accent_color_bg {
    background-color: var(--links);
    color: var(--accentTxt);
}

.black-ops-one-regular {
    font-family: "Black Ops One", system-ui;
    font-weight: 400;
    font-style: normal;
}

.page-content {
    border-radius: 1.77rem;
    max-width: 63rem;
    margin: 0 auto;
    padding: 2rem;
}

header .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    align-items: center;
    background-color: #1d3858;
}

header .top-bar .header_share_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .top-bar .share_list {
    position: relative;
}

header .top-bar .share_icons {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--socialBkg);
    color: var(--socialTxt);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header .top-bar .share_list:hover .share_icons {
    display: block;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    text-align: center;
}

.nav-bar {
    background-color: var(--navBkg);
}

.sf-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
}

.sf-menu li {
    position: relative;
    margin: 0 1rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.sf-menu li a {
    color: var(--navLinks);
    &:hover {
        color: var(--navTabTxt);
    }
}

.sf-menu li:hover .sub-menu {
    display: block;
    background-color: white;
    border-radius: 0.5rem;
}

.sf-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999;
    line-height: 2rem;
}

.sf-menu .sub-menu li {
    margin: 0;
    white-space: nowrap;
}

.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
    min-height: 650px;
}

.hero-bg {
    background-image: url('https://reelrockcharters.com/files/2021/02/dl02.jpg');
    background-size: cover;
    background-position-y: 15%;
    background-position-x: 50%;
    background-repeat: no-repeat;
    height: 100dvh;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.30;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 20px;
}

.memories-section {
    width: 100%;
    height: 100%;
    padding: 4rem;
    background: linear-gradient(to bottom right, hsl(213, 50%, 45%), #000000) !important;
    background-image: linear-gradient(to right bottom, hsl(213, 50%, 45%), rgb(0, 0, 0));
    background-position-x: initial;
    background-position-y: initial;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    background-color: initial;
}

header {
    background-color: #252525;
    color: #ffffff;
}

footer {
    background-color: #252525;
    color: #ffffff;
}

/* Media queries for mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 300px;
    }
    .hero-content {
        padding: 50px 10px;
    }
}

@media (min-width: 768px) {
    .main-content {
        width: 67%; /* Approx w652 / (w652 + w316) */
    }

    .sidebar-images {
        width: 33%; /* Approx w316 */
    }

    .single-main-content {
        width: 50%; /* Approx w652 / (w652 + w316) */
    }

    .sidebar-image {
        width: 50%; /* Approx w316 */
    }
}

.mobile-abovepost {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mobile-abovepost ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-abovepost a {
    color: #1B76D2;
}

.sf-menu li.current-menu-item a {
    font-weight: bold;
    text-decoration: underline;
}

.mobileview #the_header .sa-mobile-triggers {
    display: inline-block;
    padding: 1.4rem 2rem 1.4rem 0;
    text-align: right;
    vertical-align: middle;
    position: relative;
    width: 40%;
    z-index: 1;
}
