/* ====================================
   BLACK HISTORY OF MAURY COUNTY
   STYLE SHEET
==================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    background:#f7f1e3;

    color:#2f2f2f;

    font-family:'Libre Baskerville', serif;

    line-height:1.8;

}

/* CONTAINER */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ==========================
   NAVIGATION
========================== */

nav{

    position:fixed;

    top:0;

    width:100%;

    background:#2d2418;

    padding:18px 0;

    z-index:999;

    box-shadow:0 2px 10px rgba(0,0,0,.25);

}

nav .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    color:#e9d8a6;

    font-family:'Cormorant Garamond', serif;

    font-size:2rem;

}

nav ul{

    display:flex;

    list-style:none;

}

nav li{

    margin-left:30px;

}

nav a{

    color:white;

    text-decoration:none;

    transition:.3s;

    font-size:1rem;

}

nav a:hover{

    color:#d4af37;

}

/* ==========================
   HERO
========================== */

header{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    background:url("hero-banner.png");

    background-size:cover;

    background-position:center;

}

/* Dark overlay */

header::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.35);

}

.hero{

    position:relative;

    z-index:2;

    max-width:900px;

    padding:20px;

}

.hero h1{

    font-family:'Cormorant Garamond', serif;

    font-size:5rem;

    margin-bottom:20px;

    text-shadow:3px 3px 8px rgba(0,0,0,.7);

}

.hero p{

    font-size:1.4rem;

    margin-bottom:40px;

    text-shadow:2px 2px 5px rgba(0,0,0,.7);

}

/* ==========================
   BUTTONS
========================== */

.button{

    display:inline-block;

    margin:10px;

    padding:16px 34px;

    background:#8b6b2d;

    color:white;

    text-decoration:none;

    border-radius:8px;

    transition:.3s;

    font-weight:bold;

}

.button:hover{

    background:#b48b3d;

    transform:translateY(-3px);

}

.secondary{

    background:#34543b;

}

.secondary:hover{

    background:#4f7655;

}

/* ==========================
   SECTIONS
========================== */

section{

    padding:90px 0;

}

section h2{

    text-align:center;

    font-family:'Cormorant Garamond', serif;

    font-size:3rem;

    color:#3f2f1d;

}

.line{

    width:120px;

    height:4px;

    background:#c8a646;

    margin:18px auto 50px;

}

section p{

    margin-bottom:25px;

    font-size:1.05rem;

}

/* ==========================
   IFRAME
========================== */

iframe{

    width:100%;

    border:none;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

/* ==========================
   FOOTER
========================== */

footer{

    background:#2d2418;

    color:white;

    text-align:center;

    padding:60px 20px;

}

footer h3{

    font-family:'Cormorant Garamond', serif;

    font-size:2rem;

    margin-bottom:15px;

}

footer p{

    margin:12px 0;

}

footer a{

    color:#d4af37;

    text-decoration:none;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

    nav .container{

        flex-direction:column;

    }

    nav ul{

        margin-top:20px;

        flex-wrap:wrap;

        justify-content:center;

    }

    nav li{

        margin:10px 15px;

    }

    .hero h1{

        font-size:3.2rem;

    }

    .hero p{

        font-size:1.1rem;

    }

    section h2{

        font-size:2.3rem;

    }

}

@media(max-width:600px){

    .button{

        display:block;

        width:100%;

        margin:15px auto;

        text-align:center;

    }

    .hero h1{

        font-size:2.5rem;

    }

}
