/* ==========================================================
   THE CHEEKY BRIT
   Main Stylesheet
   ========================================================== */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5efe2;
    color: #24344d;
    line-height: 1.6;
}

/* ==========================================================
   HEADER
   ========================================================== */

header {
    background: #fcfaf5;
    border-bottom: 4px solid #0b3b6f;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.header-container {
    max-width: 1400px;
    margin: auto;
    padding: 15px 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    max-width: 300px;
    height: auto;
}
.header-title {
    display: none;
}

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

nav {
    background: #11208b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links > a,
.dropdown-button {
    color: white;
    text-decoration: none;
    padding: 18px 28px;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: .5px;
    transition: .25s;
    display: block;
}

.nav-links > a:hover,
.dropdown-button:hover {
    background: #c8102e;
}

.nav-links > a.active,
.dropdown-button.active {
    background: #c8102e;
}

.gift-button {
    color: #fff;
}
/* ==========================================================
   MAP
   ========================================================== */

.map-container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
.map-instructions{
    background:#f8f4e8;
    color:#24344d;
    text-align:center;
    padding:12px 20px;
    font-size:1.05rem;
    font-weight:bold;
    border-top:1px solid #ddd;
    border-bottom:1px solid #ddd;
}
.explore-map {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* ==========================================================
   STATION LINKS
   ========================================================== */

.station {
    position: absolute;
    border-radius: 50%;
    transition: .25s ease;

    /* REMOVE AFTER ALIGNING */
   background: transparent;
}

.station:hover {
    transform: scale(1.08);
    cursor: pointer;
    background: rgba(255,255,255,.18);
}

/* ==========================================================
   STATION POSITIONS
   ========================================================== */

.chocolate {
    top: 29%;
    left: 28%;
    width: 11%;
    height: 19%;
}

.drinks {
    top: 25%;
    left: 46%;
    width: 11%;
    height: 19%;
}

.picknmix {
    top: 23%;
    left: 63%;
    width: 11%;
    height: 19%;
}

.crisps {
    top: 20%;
    left: 88%;
    width: 11%;
    height: 19%;
}

.kitchen {
    top: 66%;
    left: 36%;
    width: 11%;
    height: 19%;
}

.postbox {
    top: 71%;
    left: 76%;
    width: 11%;
    height: 19%;
}

.puzzles {
    top: 70%;
    left: 53%;
    width: 11%;
    height: 19%;
}

.gifts {
    top: 68%;
    left: 8%;
    width: 11%;
    height: 19%;
}

/* ==========================================================
   CONTENT PAGES
   ========================================================== */

main {
    max-width: 1400px;
    margin: auto;
    padding: 0 20px 40px;
}

.page-content {
    background: #fffdf8;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.page-content h2 {
    color: #c8102e;
    margin-bottom: 20px;
}

.page-content h3 {
    color: #0b3b6f;
    margin: 30px 0 10px;
}

.page-content p {
    margin-bottom: 18px;
}

.button {
    display: inline-block;
    background: #c8102e;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: .25s;
}

.button:hover {
    background: #0b3b6f;
}

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

footer {
    margin-top: 0;
    background: #24344d;
    color: white;
    text-align: center;
    padding: 25px;
}

footer p {
    margin: 8px 0;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    color: #ffd84a;
}


/* ==========================
   STATION PAGES
========================== */

.station-subtitle{

    font-size:1.3rem;
    color:#666;
    margin-bottom:30px;
    text-align:center;

}

.station-hero{

    display:block;
    width:100%;
    max-width:900px;
    margin:0 auto 40px;
    border-radius:12px;

}

.product-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin:30px 0;

}

.product-card{

    background:#faf7f0;
    border:1px solid #ddd;
    border-radius:10px;
    padding:20px;
    transition:.25s;

}

.product-card:hover{

    transform:translateY(-5px);

}

.product-card h3{

    color:#0b3b6f;
    margin-bottom:10px;

}

hr{

    margin:40px 0;
    border:none;
    border-top:1px solid #ddd;

}
.story-photo{

    display:block;

    width:100%;

    max-width:900px;

    margin:30px auto 40px;

    border-radius:12px;

    box-shadow:0 8px 20px rgba(0,0,0,.20);

}

.story-highlight{

    text-align:center;

    font-size:1.6rem;

    color:#c8102e;

    margin:25px 0;

}

.story-quote{

    text-align:center;

    font-size:2rem;

    color:#0b3b6f;

    font-weight:bold;

    font-style:italic;

    margin:50px auto;

    max-width:700px;

}

/* ==========================================================
   DROPDOWN MENU
   ========================================================== */

.dropdown {
    position: relative;
}

.dropdown-button {
    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    border: none;
    outline: none;

    color: white;
    font: inherit;
    font-weight: bold;

    padding: 18px 28px;

    cursor: pointer;
}

.dropdown-button:hover {
    background: #c8102e;
}

.dropdown-button:focus {
    outline: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #fcfaf5;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
    overflow: hidden;
    z-index: 9999;
}

.dropdown-content a {
    display: block;
    padding: 14px 18px;
    color: #0b3b6f;
    text-decoration: none;
    font-weight: normal;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f5efe2;
    color: #c8102e;
}

/* Desktop */

@media (min-width:769px){

    .dropdown:hover .dropdown-content{
        display:block;
    }

}

/* Mobile */

@media (max-width:768px){

    nav{
        flex-direction:column;
        align-items:stretch;
    }

    nav > a,
    .dropdown{
        width:100%;
    }

    nav > a,
    .dropdown-button{
        display:block;
        text-align:center;
        padding:14px;
    }

    .dropdown-content{
        position:static;
        min-width:100%;
        border-radius:0;
        box-shadow:none;
    }

    .dropdown.open .dropdown-content{
        display:block;
    }

    .dropdown-content a{
        text-align:left;
        padding-left:30px;
    }

}
/* ==========================================================
   MOBILE MENU
   ========================================================== */

.menu-toggle{
    display:none;
}

.nav-links{
    display:flex;
    align-items:center;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
        width:100%;
        background:#11208b;
        color:white;
        border:none;
        padding:14px 18px;
        font:inherit;
        font-weight:bold;
        text-align:left;
        cursor:pointer;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        width:100%;
    }

    .nav-links.show{
        display:flex;
    }

    .nav-links > a,
    .nav-links .dropdown,
    .nav-links .dropdown-button{
        width:100%;
    }

    .nav-links > a,
    .nav-links .dropdown-button{
        text-align:center;
        padding:14px;
    }

    .dropdown-content{
        position:static;
        min-width:100%;
        box-shadow:none;
        border-radius:0;
    }

}
.location-map{
    width:100%;
    height:300px;
    border:0;
    border-radius:12px;
    margin:20px 0;
}

.parchment-page {
    background:
        linear-gradient(rgba(255,253,248,.65), rgba(255,253,248,.65)),
        url("../images/parchment.png");
    background-size: cover;
    background-position: center;
}