/* ====================================
   Font Face Declarations
   ==================================== */
@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 400;
    src: url(../gfonts/s/droidsans/v18/SlGVmQWMvZQIdix7AFxXkHNSbQ.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Droid Sans';
    font-style: normal;
    font-weight: 700;
    src: url(../gfonts/s/droidsans/v18/SlGWmQWMvZQIdix7AFxXmMh3eDs1Zw.woff2) format('woff2');
}

@font-face {
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 400;
    src: url(../gfonts/s/cabin/v27/u-4X0qWljRw-PfU81xCKCpdpbgZJl6XFpfEd7eA9BIxxkbqDH7alxw.woff2) format('woff2');
}

@font-face {
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 500;
    src: url(../gfonts/s/cabin/v27/u-4X0qWljRw-PfU81xCKCpdpbgZJl6XFpfEd7eA9BIxxkbqDH7mlx17r.woff2) format('woff2');
}

@font-face {
    font-family: 'Cabin';
    font-style: normal;
    font-weight: 700;
    src: url(../gfonts/s/cabin/v27/u-4X0qWljRw-PfU81xCKCpdpbgZJl6XFpfEd7eA9BIxxkbqDH7ilx17r.woff2) format('woff2');
}

@font-face {
    font-family: 'Caveat Brush';
    font-style: normal;
    font-weight: 400;
    src: url(../gfonts/s/caveatbrush/v11/EYq0maZfwr9S9-ETZc3fKXt8XLOS.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Caveat Brush';
    font-style: normal;
    font-weight: 400;
    src: url(../gfonts/s/caveatbrush/v11/EYq0maZfwr9S9-ETZc3fKXt8UrOS43o.woff2) format('woff2');
}

/* ====================================
   CSS Reset & Base Styles
   ==================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Droid Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #5e5e5e;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ====================================
   Typography
   ==================================== */
h1, h2, h3, h4 {
    font-family: 'Cabin', Arial, sans-serif;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

/* ====================================
   Layout Components
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    flex: 1;
}

/* ====================================
   Header & Navigation
   ==================================== */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
}

.logo h1 {
    font-family: 'Caveat Brush', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1b1b1b;
    margin: 0;
    white-space: nowrap;
}

.logo a:hover h1 {
    color: #464651;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #464651;
    border-bottom-color: #e2e2e4;
}

.nav-link.active {
    border-bottom-color: #e2e2e4;
    font-weight: 500;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1b1b1b;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover .hamburger-icon span {
    background-color: #464651;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 2000;
    padding-top: 4rem;
    display: none; /* Hidden by default, shown by JS when hamburger clicked */
}

.mobile-nav.active {
    display: block;
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(185, 185, 185, 0.5);
    transition: background-color 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f5f5f5;
}

.mobile-nav-link.active {
    font-weight: 700;
    background-color: #fafafa;
}

/* Mobile Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1500;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ====================================
   Hero Section
   ==================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ====================================
   Content Sections
   ==================================== */
.content-section {
    padding: 3rem 0;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-family: 'Droid Sans', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #000000;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.content-image {
    text-align: center;
}

.content-image img {
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.content-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ====================================
   Cards
   ==================================== */
.card {
    background-color: #ffffff;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(226, 226, 226, 0.7);
}

.card h3 {
    font-family: 'Caveat Brush', sans-serif;
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #1b1b1b;
    line-height: 1.25;
    /* Two-column layout: emoji in first column, text in second */
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.3em;
    /* Balance text to avoid orphaned words on narrow screens */
    text-wrap: balance;
}

.card .btn {
    width: 100%;
}

/* ====================================
   Buttons
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1b1b1c;
    background-color: #e2e2e4;
    border: none;
    border-bottom: 4px solid #b8b8be;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #d4d4d7;
}

/* ====================================
   Book/Album Page Layout
   ==================================== */
.book-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.book-cover img {
    max-width: 400px;
    width: 100%;
    height: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
}

.book-subtitle {
    font-family: 'Caveat Brush', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #1b1b1b;
}

.book-description p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-weight: 400;
}

.availability {
    font-style: italic;
    color: #464651;
    margin-top: 1.5rem;
}

.book-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: #1b1b1b;
    background-color: transparent;
    border: 2px solid #e2e2e4;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    border-color: #d4d4d7;
}

/* Testimonials */
.testimonials {
    margin-top: 3rem;
    padding-top: 3rem;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.testimonial {
    padding: 1rem 0;
    border-bottom: 1px solid #e2e2e4;
}

.testimonial-author {
    font-weight: 400;
    color: #1b1b1b;
    margin-bottom: 0.75rem;
}

.testimonial p {
    margin-bottom: 1.25rem;
}

.testimonial p:last-child {
    margin-bottom: 0;
    font-weight: 400;
}

.song-title {
    font-family: 'Caveat Brush', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1b1b1b;
}

/* ====================================
   About Page Content
   ==================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1b1b1b;
}

.about-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #464651;
    font-style: italic;
}

.caveat-brush-title {
    font-family: 'Caveat Brush', sans-serif !important;
    font-style: normal !important;
}

.about-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-content p:last-child {
    font-size: 1.1rem;
    margin-top: 2rem;
}

/* ====================================
   Footer
   ==================================== */
.site-footer {
    background-color: #f5f5f5;
    padding: 2rem 0;
    margin-top: auto;
    text-align: center;
    color: #5e5e5e;
    font-size: 0.875rem;
}

/* ====================================
   Responsive Design - Tablet
   ==================================== */
@media (min-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .content-grid {
        grid-template-columns: 400px 1fr;
        gap: 3rem;
    }

    .content-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .book-layout {
        grid-template-columns: 400px 1fr;
        gap: 3rem;
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ====================================
   Responsive Design - Desktop
   ==================================== */
@media (min-width: 1024px) {
    .desktop-nav {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero {
        min-height: 600px;
    }

    .nav-link {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
    }
}

/* ====================================
   Responsive Design - Large Desktop
   ==================================== */
@media (min-width: 1280px) {
    h1 {
        font-size: 2.25rem;
    }

    .logo h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }
}
