/* =============================================
   ANNE LINDSAY - MUSICIAN WEBSITE STYLESHEET
   =============================================
   Colours, fonts and layout can be changed here.
   ============================================= */

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #f9f5ef;
}

a {
    color: #8b4513;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #5a2d0c;
}

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

/* --- HEADER --- */
#site-header {
    background-color: #000000;
    text-align: center;
    padding: 10px 0;
}

#site-header img {
    max-height: 120px;
    margin: 0 auto;
}

#site-title {
    color: #f5e6c8;
    font-size: 2em;
    letter-spacing: 2px;
    padding: 10px 0 4px;
}

#site-tagline {
    color: #c4a882;
    font-size: 0.95em;
    letter-spacing: 1px;
    padding-bottom: 10px;
}

/* --- NAVIGATION --- */
#main-nav {
    background-color: #5a2d0c;
}

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

#main-nav ul li a {
    display: block;
    color: #f5e6c8;
    padding: 12px 16px;
    font-size: 0.9em;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
}

#main-nav ul li a:hover,
#main-nav ul li a.active {
    background-color: #8b4513;
    color: #ffffff;
}

/* --- SOCIAL ICONS BAR --- */
#social-bar {
    background-color: #ffffff;
    text-align: center;
    padding: 8px 0;
    border-bottom: 2px solid #d6c4a0;
}

#social-bar a {
    display: inline-block;
    margin: 0 5px;
}

#social-bar img {
    width: 28px;
    height: 28px;
    display: inline;
    vertical-align: middle;
}

/* --- MAIN CONTENT WRAPPER --- */
#content-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* --- PAGE HERO / BANNER --- */
.page-hero {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin-bottom: 30px;
    border-bottom: 3px solid #8b4513;
    display: block;
}

/* --- HEADINGS --- */
h1 {
    font-size: 2em;
    color: #5a2d0c;
    margin-bottom: 16px;
}

h2 {
    font-size: 1.5em;
    color: #8b4513;
    margin: 24px 0 10px;
    border-bottom: 1px solid #c4a882;
    padding-bottom: 4px;
}

h3 {
    font-size: 1.15em;
    color: #5a2d0c;
    margin: 16px 0 6px;
}

/* --- PARAGRAPHS & LISTS --- */
p {
    margin-bottom: 14px;
}

ul,
ol {
    margin: 10px 0 16px 24px;
}

li {
    margin-bottom: 4px;
}

/* --- CALL-OUT BOX --- */
.callout {
    background-color: #f0e4cc;
    border-left: 4px solid #8b4513;
    padding: 14px 18px;
    margin: 20px 0;
    border-radius: 2px;
}

.callout p {
    margin: 0;
}

/* --- ALBUM GRID (Music page) --- */
.album-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
}

.album-card {
    flex: 1 1 180px;
    max-width: 220px;
    text-align: center;
    background: #fff;
    border: 1px solid #d6c4a0;
    border-radius: 4px;
    padding: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.album-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 10px;
}

.album-card h3 {
    font-size: 1em;
    margin: 0 0 6px;
}

.album-card a {
    display: inline-block;
    padding: 6px 14px;
    background-color: #8b4513;
    color: #fff;
    border-radius: 3px;
    font-size: 0.85em;
    margin-top: 6px;
    text-decoration: none;
}

.album-card a:hover {
    background-color: #5a2d0c;
    text-decoration: none;
}

/* --- PROMO TABLE (About page) --- */
.promo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.promo-table td {
    text-align: center;
    padding: 12px;
    vertical-align: top;
}

.promo-table img {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 8px;
    border: 2px solid #d6c4a0;
}

.promo-table a {
    display: inline-block;
    font-size: 0.85em;
    margin-top: 4px;
}

/* --- DATES TABLE --- */
.dates-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95em;
}

.dates-table th {
    background-color: #5a2d0c;
    color: #f5e6c8;
    padding: 10px 14px;
    text-align: left;
}

.dates-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #d6c4a0;
}

.dates-table tr:nth-child(even) {
    background-color: #f0e4cc;
}

/* --- GALLERY SLIDESHOW --- */
.gallery-slideshow {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
    text-align: center;
    margin-bottom: 20px;
}

.gallery-slideshow img {
    display: none;
    max-height: 480px;
    max-width: 100%;
    margin: 0 auto;
}

.gallery-slideshow img.active {
    display: block;
}

.gallery-controls {
    text-align: center;
    padding: 12px 0;
}

.gallery-controls a {
    display: inline-block;
    padding: 8px 18px;
    margin: 0 6px;
    background-color: #5a2d0c;
    color: #f5e6c8;
    border-radius: 3px;
    font-size: 0.9em;
    cursor: pointer;
}

.gallery-controls a:hover {
    background-color: #8b4513;
    text-decoration: none;
}

.gallery-thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.gallery-thumb-row a img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 2px solid transparent;
}

.gallery-thumb-row a img:hover {
    border-color: #8b4513;
}

/* --- CONNECT FORM & MAILING LIST --- */
.form-section {
    background-color: #f0e4cc;
    padding: 24px;
    border-radius: 4px;
    margin: 20px 0;
    border: 1px solid #d6c4a0;
}

.form-section h2 {
    border: none;
    margin-top: 0;
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 0.9em;
    color: #5a2d0c;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c4a882;
    border-radius: 3px;
    font-family: inherit;
    font-size: 1em;
    background-color: #fff;
}

.form-row textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #8b4513;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-family: inherit;
    font-size: 1em;
    cursor: pointer;
}

.btn:hover {
    background-color: #5a2d0c;
}

/* --- CONNECT IMAGE --- */
.connect-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 3px;
    display: block;
}

/* --- MERCH GRID --- */
.merch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 20px 0;
}

.merch-item {
    flex: 1 1 140px;
    max-width: 180px;
    text-align: center;
    font-size: 0.9em;
}

.merch-item img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 6px;
}

/* --- NEWS SECTION --- */
.news-entry {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d6c4a0;
}

.news-entry:last-child {
    border-bottom: none;
}

/* --- BIO HEADSHOT (About page) --- */
.bio-headshot {
    float: left;
    margin: 0 20px 16px 0;
    max-width: 240px;
    border: 2px solid #d6c4a0;
    border-radius: 3px;
}

.bio-headshot-wrap::after {
    content: '';
    display: table;
    clear: both;
}

/* --- RESPONSIVE VIDEO EMBED --- */
.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 16px 0 24px;
    border: 2px solid #d6c4a0;
    border-radius: 3px;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- FOOTER --- */
#site-footer {
    background-color: #2c1a0e;
    color: #c4a882;
    text-align: center;
    padding: 20px;
    font-size: 0.85em;
    margin-top: 40px;
}

#site-footer a {
    color: #f5e6c8;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    #site-title {
        font-size: 1.4em;
    }

    #main-nav ul li a {
        padding: 10px 10px;
        font-size: 0.8em;
    }

    .album-grid {
        justify-content: center;
    }

    .promo-table,
    .promo-table tbody,
    .promo-table tr,
    .promo-table td {
        display: block;
        width: 100%;
    }

    .promo-table td {
        padding: 10px 0;
    }

    .dates-table {
        font-size: 0.85em;
    }

    .dates-table th,
    .dates-table td {
        padding: 8px 8px;
    }

    h1 {
        font-size: 1.5em;
    }
}