@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

* {
    box-sizing: border-box;
}


/* ── BODY ── */
body {
   background-color: #2c1a0e;
    background-image: url('images/velvet.jfif');
    background-size: contain;
    background-attachment: fixed;
    background-repeat: repeat;
    font-family: Georgia, serif;
    color: #e8d5b7;
    margin: 0;
    padding: 0;
}

/* ── CONTAINER ── */
.container {
    width: 980px;
    margin: 0 auto;
     background-color: rgba(61, 35, 20, 0.80);
    overflow: hidden;
}

/* ── H1 ── */
h1 {
    font-family: "DM Serif Display", serif;
    color: transparent;
    -webkit-text-stroke: 1px #c9a84c;
    text-stroke: 1px #c9a84c;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 15px;
    padding: 30px 20px 10px 20px;
    margin: 0;
    font-size: 100px;
}

/* ── H2 ── */
h2 {
    font-family: "DM Serif Display", serif;
    color: #8b4a8b;
    border-top: 3px solid #c9a84c;
    padding: 20px 0px 5px 0px;
    margin: 30px 0px 5px 0px;
    letter-spacing: 2px;
    font-size: 26px;
}

/* ── H3 ── */
h3 {
    font-family: "DM Serif Display", serif;
    color: #d4aa70;
    border-top: 2px solid #5c2d5c;
    padding: 20px 0px 0px 0px;
    margin: 20px 0px 8px 0px;
}

/* ── PARAGRAPHS ── */
p {
    color: #e8d5b7;
    line-height: 1.8;
    font-family: "DM Serif Display", serif;
    font-size: 20px;
    margin-top: 5px;              
    margin-bottom: 16px;
    text-align: justify;
}

.tagline {
    font-family: "DM Serif Display", serif;
    font-style: italic;
    color: #c9a84c;
    font-size: 28px;
    letter-spacing: 7px;
    text-align: center;
    margin: 0;
    padding: 10px 20px 30px 20px;
    text-shadow: 2px 6px 8px #5c245c; 
}

figure figcaption {
    text-align: center;
    font-style: italic;
    color: #c9a84c;
    font-size: 14px;
    padding: 6px 0;
}

/* ── HEADER ── */
header {
    position: relative;
    background-image: url('images/coco_drawing_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a0a00;
    padding: 20px 10px; 
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 10, 0, 0.60); 
    z-index: 0;
}


header h1,
header p {
    position: relative;
    z-index: 1;
}

header img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── NAV ── */
nav {
    background-color: #5c2d5c;
    padding: 0;
    text-align: center;
}

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

nav ul li a {
    color: #c9a84c;
    text-decoration: none;
    padding: 14px 24px;
    display: block;
    font-family: Georgia, serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

nav ul li a:hover,
nav ul li a:focus {
    background-color: #c9a84c;
    color: #1a0a00;
}

/* ── MAIN ── */
main {
    padding: 30px 40px;
    margin: 0;
    min-height: 600px;    
}

main ul {
    line-height: 2.2;
    margin: 15px 0;
    padding-left: 20px;
    
}

main ul li {
    font-family: Georgia, serif;
    color: #e8d5b7;
    line-height: 2.2;
    margin-bottom: 10px;
    font-size: 18px;
}

main p {
    overflow: hidden;
}

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

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

.float-left {
    float: left;
    margin: 20px 30px 15px 0px;
    width: 40%;
    min-width: 250px;
    display: inline-block;
}

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

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

/* ── FOOTER ── */
footer {
    position: relative;
    background-color: #1a0a00;
    background-image: url('images/velvet.jfif');
    background-size: contain;
    background-attachment: fixed;
    background-repeat: repeat;
    color: #c9a84c;
    text-align: center;
    padding: 20px;
    margin-top: 0;
    border-top: 3px solid #5c2d5c;
    overflow: hidden;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 10, 0, 0.40); 
    z-index: 0;
}

footer p,
footer a {
    position: relative;         
    z-index: 1;            
}      

/* ── HYPERLINK PSEUDO CLASSES ── */
main a:link    { color: #b06bb0; }
main a:visited { color: #8b4a8b; }
main a:hover   { color: #c9a84c; }
main a:active  { color: #d4aa70; }

footer a:link    { color: #c9a84c; }
footer a:visited { color: #c9a84c; }
footer a:hover   { color: #f5e6d3; }
footer a:active  { color: #f5e6d3; }

/* ── STRONG AND EM ── */
strong {
    color: #c9a84c;
}

em {
    color: #d4aa70;
    font-style: italic;
}

/* ── SOURCE CITATION ── */
.source {
    font-size: 16px;
    color: #8b4a8b;
    border-top: 1px solid #5c2d5c;
    padding-top: 10px;
    margin-top: 30px;
}