/* ================================================
   savanna-styles.css
   Author: Sydney Flahive
   Savanna's Coffee House
   ================================================ */

/* ── LOCAL FONT ── */
@font-face {
    font-family: 'Thunky';
    src: url('fonts/Thunky DEMO.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Lato:wght@300;400;700&display=swap');

/* ── UNIVERSAL SELECTOR ── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── BODY ── */
body {
    background-color: #0d0805;
    font-family: 'Lato', sans-serif;
    color: #e8d5b0;
    margin: 0;
    padding: 0;
    
}

/* ── CONTAINER ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background-color: rgba(26, 15, 10, 0.92);    
}

/* ── GROUPED SELECTOR , all headings ── */
h1, h2, h3, h4 {
    letter-spacing: 2px;
}

/* ── H1 , Thunky brand font ── */
h1 {
    font-family: 'Thunky', cursive;
    color: #c9a84c;
    font-size: 64px;
    text-align: center;
    padding: 0px;
    margin: 0;
    text-shadow: 2px 2px 12px rgba(201, 168, 76, 0.4);
}

/* ── H2 ── */
h2 {
    font-family: 'Fredoka', sans-serif;
    color: #c9a84c;
    font-size: 32px;
    border-bottom: 2px solid #049b9b;
    padding-bottom: 10px;
    margin: 10px 0 10px 0;
}

/* ── H3 ── */
h3 {
    font-family: 'Fredoka', sans-serif;
    color: #049b9b;
    font-size: 22px;
    margin: 15px 0 8px 0;
    padding: 8px 0;
    border-top: 1px solid #2c1a10;
}

/* ── H4 ── */
h4 {
    font-family: 'Fredoka', sans-serif;
    color: #8b0057;
    font-size: 18px;
    margin: 10px 0 6px 0;
}

/* ── PARAGRAPHS ── */
p {
    font-family: 'Lato', sans-serif;
    color: #e8d5b0;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 15px;
}

/* ── IMAGES ── */
img {
    border: 3px solid #049b9b;
    margin: 10px;
}

/* ── HEADER ── */
header {
    background-color: #080503;
    text-align: center;
    padding: 30px 20px 10px 20px;
    border-bottom: 4px solid #8b0057;
    position: relative;
}

header img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border: none;
}

/* ── TAGLINE ── */
.tagline {
    font-family: 'Lato', sans-serif;
    font-style: italic;
    color: #049b9b;
    font-size: 16px;
    letter-spacing: 4px;
    text-align: center;
    padding: 0 20px 20px 20px;
    margin: 0;
    text-transform: uppercase;
}

/* ── NAV ── */
nav {
    background-color: #120a06;
    padding: 0;
    border-bottom: 2px solid #049b9b;
    border-top: 2px solid #049b9b;
}

nav ul {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    display: block;
    color: #e8d5b0;
    text-decoration: none;
    padding: 16px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

/* ── PSEUDO CLASS , nav hover ── */
nav ul li a:hover,
nav ul li a:focus {
    background-color: #8b0057;
    color: #c9a84c;
}

/* ── MAIN ── */
main {
    padding: 30px 40px;
}

/* ── FLEXBOX ROW ── */
.flex-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* ── FLEX CARDS , three column ── */
.flex-card {
    flex: 1 1 280px;
    background-color: #241208;
    border: 2px solid #2c1a10;
    border-top: 4px solid #8b0057;
    padding: 20px;
    text-align: center;
}

.flex-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 0 15px 0;
    border: none;
    border-bottom: 3px solid #049b9b;
}

.flex-card h3 {
    border-top: none;
    padding: 0 0 8px 0;
    margin: 0 0 10px 0;
    text-align: center;
}

.flex-card p {
    font-size: 14px;
    margin: 0;
}

.flex-card a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #8b0057;
    color: #e8d5b0;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    border: 2px solid #8b0057;
}

.flex-card a:hover {
    background-color: #049b9b;
    border-color: #049b9b;
    color: #c9a84c;
}

/* ── TWO COLUMN LAYOUT ── */
.two-col {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.two-col .col-text {
    flex: 2;
}

.two-col .col-image {
    flex: 1;
    max-width: 350px;
}

.two-col .col-image img {
    width: 100%;
    height: 450px;
    display: block;
    margin: 0;
    border: 3px solid #049b9b;
}

/* ── HIGHLIGHT BOX ── */
.highlight {
    background-color: #241208;
    padding: 20px 30px;
    margin: 20px 0;
    border-left: 6px solid #8b0057;
}

/* ── INDEPENDENT CLASS ── */
.gold-text {
    color: #c9a84c;
    font-weight: bold;
}

.teal-text {
    color: #049b9b;
}

/* ── DEPENDENT CLASS , pseudo element ── */
p.drop-cap::first-letter {
    font-family: 'Thunky', cursive;
    font-size: 3em;
    color: #8b0057;
    float: left;
    margin-right: 8px;
    line-height: 0.8;
}

/* ── FLOAT CLASSES ── */
.float-right {
    float: right;
    margin: 0 0 15px 20px;
    width: 40%;
}

.float-left {
    float: left;
    margin: 0 20px 15px 0;
    width: 40%;
}

.float-right img,
.float-left img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* ── CLEAR ── */
.clear {
    clear: both;
}

/* ── HYPERLINK PSEUDO CLASSES ── */
main a:link    { color: #049b9b; }
main a:visited { color: #8b0057; }
main a:hover   { color: #c9a84c; }
main a:active  { color: #e8d5b0; }

/* ── STRONG AND EM ── */
strong {
    color: #c9a84c;
    font-weight: bold;
}

em {
    color: #049b9b;
    font-style: italic;
}

/* ── UL LISTS ── */
main ul {
    margin: 10px 0 15px 20px;
    color: #e8d5b0;
    line-height: 2;
    font-family: 'Lato', sans-serif;
}

/* ── FOOTER ── */
footer {
    background-color: #080503;
    color: #e8d5b0;
    text-align: center;
    padding: 30px 20px;
    border-top: 4px solid #8b0057;
    margin-top: 0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}

footer a:link    { color: #c9a84c; }
footer a:visited { color: #c9a84c; }
footer a:hover   { color: #049b9b; }
footer a:active  { color: #e8d5b0; }

/* ── SOURCE CITATION ── */
.source {
    font-size: 12px;
    color: #8b0057;;
    border-top: 1px solid #8b0057;;
    padding-top: 10px;
    margin-top: 20px;
}

/* ── ID SELECTOR ── */
#hours {
    background-color: #241208;
    border: 2px solid #049b9b;
    padding: 5px;
    margin: 20px 0;
}

#hours h3 {
    border-top: none;
    color: #c9a84c;
    margin-bottom: 10px;
}

/* ── BANNER SECTION ── */
.banner-text {
    background-color: #241208;
    text-align: center;
    padding: 40px;
    border-bottom: 2px solid #8b0057;
}

.banner-text h2 {
    border-bottom: none;
    margin: 0 0 15px 0;
    padding: 0;
    font-size: 42px;
}

.banner-text p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    font-style: italic;
    color: #c9a84c;
}

/* ── MENU ITEM ── */
.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dotted #2c1a10;
    padding: 8px 0;
}

.menu-item span {
    color: #c9a84c;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
}

/* ── FORM STYLES ── */
form {
    background-color: #241208;
    padding: 25px;
    border: 2px solid #049b9b;
    margin: 20px 0;
}

fieldset {
    border: 2px solid #2c1a10;
    padding: 15px;
    margin-bottom: 15px;
}

legend {
    font-family: 'Fredoka', sans-serif;
    color: #c9a84c;
    font-size: 18px;
    padding: 0 10px;
    letter-spacing: 2px;
}

label {
    font-family: 'Lato', sans-serif;
    color: #e8d5b0;
    font-size: 14px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    background-color: #1a0f0a;
    border: 2px solid #049b9b;
    color: #e8d5b0;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    padding: 8px;
    width: 100%;
    margin-bottom: 10px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8b0057;
    background-color: #241208;
}

input[type="submit"] {
    background-color: #8b0057;
    color: #e8d5b0;
    border: 2px solid #8b0057;
    padding: 12px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    font-weight: bold;
}

input[type="submit"]:hover {
    background-color: #049b9b;
    border-color: #049b9b;
    color: #c9a84c;
}

input[type="reset"] {
    background-color: transparent;
    color: #e8d5b0;
    border: 2px solid #2c1a10;
    padding: 12px 30px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

input[type="reset"]:hover {
    border-color: #049b9b;
    color: #049b9b;
}

/* ── MEDIA QUERY , 768px AND BELOW ── */
@media (max-width: 768px) {

    body {
        background-attachment: scroll;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    h2 {
        font-size: 24px;
    }

    main {
        padding: 20px 15px;
    }

    .flex-row {
        flex-direction: column;
    }

    .flex-card {
        flex: 1 1 100%;
    }

    .two-col {
        flex-direction: column;
    }

    .two-col .col-image {
        max-width: 100%;
    }

    .float-right,
    .float-left {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        padding: 12px 20px;
        width: 100%;
        text-align: center;
        display: block;
    }

    .banner-text {
        padding: 20px 15px;
    }

    .banner-text h2 {
        font-size: 28px;
    }
   


}