/* base.css */

/* Reset-ish */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

/* Layout helpers */
.section {
    padding: 5rem 1.25rem;
    scroll-margin-top: 4.5rem; /* keeps content visible under fixed header */
    background: var(--color-section-bg);
}

.alt-section {
    background: var(--color-section-bg-alt);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.site-title img,
.artist-logo-small {
    max-height: 80px;      /* adjust to taste */
    width: auto;
    height: auto;
    object-fit: contain;
}

h1, h2, h3 {
    margin-top: 0;
    color: var(--color-heading);
}

h2 {
    margin-bottom: 0.5rem;
}

.section-description {
    margin-bottom: 2rem;
    color: var(--color-muted);
}

/* Header / Nav */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-header-bg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.artist-name {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-nav-text);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    background: var(--color-accent-soft);
    color: var(--color-accent-text);
}

/* Hero / Home */
.home-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 800px) {
    .home-layout {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: center;
    }
}

.hero-title {
    font-size: clamp(2.4rem, 3.2vw + 1.2rem, 3.5rem);
}

.hero-tagline {
    font-size: 1.05rem;
    margin: 0.75rem 0 1.5rem;
    color: var(--color-muted);
}

/* Simple, text-based "icons" that can later be swapped for SVG if you want */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.social-icon img {
    width: 28px;
    height: 28px;
    display: block;
}


.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 1px solid var(--color-accent);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.social-icon:hover,
.social-icon:focus-visible {
    background: var(--color-accent);
    color: var(--color-accent-on);
    transform: translateY(-1px);
}

/* Home media (photo + optional logo) */
.home-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-image-wrapper {
    width: 100%;
    max-width: 360px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.artist-logo-wrapper {
    max-width: 200px;
}

.artist-logo {
    display: block;
    width: 100%;
    height: auto;
}

/* Embeds (Docs, Photos, Calendar, YouTube) */
.embed-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-embed-bg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.embed-frame {
    border: 0;
    width: 100%;
    min-height: 420px;
}

/* You can give calendar a bit more height if you like */
.embed-frame--calendar .embed-frame,
.embed-frame--calendar iframe {
    min-height: 600px;
}

/* Media grid */
.media-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.media-block h3 {
    margin-bottom: 0.5rem;
}

.media-note {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

/* Booking */
.booking-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 850px) {
    .booking-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

.booking-details p {
    margin: 0.2rem 0;
}

.booking-details a {
    color: var(--color-link);
    text-decoration: none;
}

.booking-details a:hover,
.booking-details a:focus-visible {
    text-decoration: underline;
}

.booking-notes ul {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}

.booking-notes li {
    margin-bottom: 0.35rem;
}

/* Footer */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 1.5rem 1.25rem;
    font-size: 0.85rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
    align-items: center;
}

.site-footer a {
    color: var(--color-footer-link);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    text-decoration: underline;
}

/* Basic link styling */
a {
    color: var(--color-link);
}

a:hover,
a:focus-visible {
    color: var(--color-link-hover);
}

.gdoc-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Let the imported content read nicely */
.gdoc-content p {
    line-height: 1.6;
}

/* Section header bar */
.section-header {
    background: var(--color-section-header-bg); /* use the new darker color */
    padding: 1.5rem 1.75rem;
    margin: 0 0 2rem;          /* no negative margins → lines up with content */
    border-radius: 12px;       /* optional: gives it a nice card look */
}

/* Title inside header */
.section-header h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--color-heading);
}

/* Subtitle inside header */
.section-header .section-description {
    margin: 0.5rem 0 0;
    color: var(--color-muted);
    font-size: 1rem;
}
