/* ===============================
CABIER0 PRESENTATION FULL STYLESHEET
=============================== */

:root {
    --color-red: #8B0000;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-lion: #B5966E;
    --font-main: 'Montserrat', sans-serif;
}

html{scroll-behavior:smooth}

body{
    font-family: var(--font-main);
    color: var(--color-black);
    background: var(--color-white);
    line-height:1.6;
    margin:0;
    font-size:18px;
}

/* TYPOGRAPHY */

h1,h2,h3,h4{
    text-transform:uppercase;
    letter-spacing:1px;
}

h1{font-size:3.2rem}
h2{font-size:2.4rem;color:var(--color-red)}
h3{font-size:1.6rem}

/* LAYOUT */

.container{
    max-width:1200px;
    margin:auto;
    padding:0 24px;
}

.content-section{
    padding:100px 0;
    min-height:80vh;
    position:relative;
}

/* HERO */

.hero-section{
    height:100vh;
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.7);
}

.hero-content{position:relative;z-index:2}

.hero-logo{max-width:260px;margin-bottom:20px}

/* IMAGE SECTIONS */

.bg-image{
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    color:#fff;
}

.bg-image::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.85);
    z-index:1;
}

.bg-image .container{
    position:relative;
    z-index:2;
}

/* BUTTONS */

.btn{
    display:inline-block;
    padding:14px 28px;
    text-transform:uppercase;
    font-weight:700;
    margin:6px;
    text-decoration:none;
}

.btn-primary{background:var(--color-red);color:#fff}
.btn-secondary{border:2px solid #fff;color:#fff}

/* MENU */

.nav-trigger-container{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;
}

.hamburger-line{
    width:36px;
    height:4px;
    background:var(--color-red);
    margin:6px 0;
}

.flyout-menu{
    position:fixed;
    right:-400px;
    top:0;
    width:400px;
    height:100vh;
    background:#000;
    color:#fff;
    padding:40px;
    transition:.4s;
}

.flyout-menu.active{right:0}

.menu-list{list-style:none;padding:0}
.menu-list a{
    color:#fff;
    text-decoration:none;
    display:block;
    padding:12px 0;
}

/* TABLES */

table{width:100%;border-collapse:collapse}
th,td{padding:12px;border-bottom:1px solid #ddd}
th{background:var(--color-red);color:#fff}

/* PULL QUOTES */

.pull-quote{
    font-size:1.4rem;
    border-left:5px solid var(--color-red);
    padding-left:20px;
    margin:40px 0;
    font-style:italic;
}

/* BACK TO TOP */

#back-to-top{
    position:fixed;
    bottom:20px;
    right:20px;
    width:50px;
    height:50px;
    background:var(--color-lion);
    border:none;
    font-size:20px;
    display:none;
}

/* MOBILE FIX */

@media(max-width:768px){
    .hero-section,
    .bg-image{
        background-attachment:scroll;
    }
}