
.site-title {
    font-size: 42px;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
    letter-spacing: 0.12em;
    color: #3a2f2a;
    margin-top: 60px;
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}
body {
  background-color: #e9dfc8;
  font-family: "Cormorant Garamond", serif;
  color: #2f2a27;
  margin: 0;
}
.divider {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;           /* responsive: 80% of container width */
    max-width: 300px;     /* optional: prevents it from getting too large */
    height: auto;         /* maintains aspect ratio */
}

.poem-title {
    font-family: "Great Vibes", cursive;;
    font-size: 30px;
    text-align: center;
    margin: 25px 0 35px;
    color: #3a2f2a;
    letter-spacing: 0.08em;
    font-weight: 400;
    font-style: italic;
    position: relative;
}

.note {
    font-style: italic;
    font-size: 0.7em;
    color: #b0b0b0;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 0.3em;
}

.poem-title::after {
    content: "     ";
    display: block;
    width: 80px;
    height: 1px;
    background: rgba(201, 187, 167, 0.5);
    margin: 10px auto 0;
}

.author {
    font-family: "Great Vibes", cursive;
    font-style: italic;
    text-align: center;
    opacity: 0.7;
}

.author::before {
    content: "~";
    transform: scaleX(-1);
    }
.poem-context h2 {
    font-size: 14px; 
    font-weight: 400;
    text-align: center;
    margin-bottom: 6px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
}
.poem-about-title {
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.55;
    text-align: center;
    margin-bottom: 8px;
}

.poem-context p {
    font-size: 15px;
    line-height: 1.75;
    text-align: center;
    opacity: 0.78;
    max-width: 500px;
    margin: 0 auto;
}
.author::after {
    content: "~ ";
}
.photo-container {
    text-align: center;
}

.photo-container figcaption {
    font-size: 0.8em;
    color: #666;
    font-style: italic;
    margin-top: 5px;
}
.image1{
   display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;           /* responsive: 80% of container width */
    max-width: 100px;     /* optional: prevents it from getting too large */
    height: auto;         /* maintains aspect ratio */ 
}
.paper {
    max-width: 800px;
    margin: 60px auto;
    background: rgba(255, 250, 240, 0.96);
    padding: 50px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}
.intro {
  text-align: center;
  font-style: italic;
  opacity: 0.8;
  margin-bottom: 40px;
}
.intro-stone {
    text-align: center;
    font-style: italic;
    opacity: 0.8;
    font-size: 28px;
   
}

.footer {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    margin-top: 40px;
    font-style: italic;
} 
.home-link {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    font-size: 18px;
    color: #3a2f2a;
    border-bottom: 1px solid #c9bba7;
    transition: 0.3s ease;
}

.home-link:hover {
    transform: translateX(-5px);
    color: #000;
}
.poem {
    max-width: 650px;
    margin: 40px auto;
    font-size: 18px;
    line-height: 1.8;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
}
.section-title {
    margin-top: 30px;
    font-size: 22px;
    border-bottom: 1px solid #c9bba7;
    padding-bottom: 5px;
}

.poem-image {
    display: block;
    margin: 0 auto;
}
.poem-link {
    display: block;
    padding: 12px 0;
    font-size: 20px;
    text-decoration: none;
    color: #3a2f2a;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.poem-link:hover {
    transform: translateX(8px);
    color: #000;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/* ===== MUSIC PLAYER ===== */
.music-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 15px 0 10px 0;
}

.music-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 10px 18px;
    max-width: 350px;
    width: 100%;
    background: rgba(255, 250, 240, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 2px solid #c9bba7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.music-container:hover {
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 250, 240, 0.95);
    border-color: #b5a48c;
}

.music-container audio {
    width: 100%;
    height: 36px;
    outline: none;
    border-radius: 30px;
    background: transparent;
}

/* Chrome/Safari - Custom Styling */
.music-container audio::-webkit-media-controls-panel {
    background: transparent;
}

.music-container audio::-webkit-media-controls-play-button {
    background-color: #8b7a6a;
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.music-container audio::-webkit-media-controls-play-button:hover {
    background-color: #5a4f45;
}

.music-container audio::-webkit-media-controls-volume-slider {
    background-color: #c9bba7;
    border-radius: 10px;
    padding: 0 4px;
}

.music-container audio::-webkit-media-controls-timeline {
    background-color: #d4c8b8;
    border-radius: 10px;
}

/* Credit Text */
.credit-text {
    text-align: center;
    font-size: 10.5px;
    color: rgba(120, 110, 100, 0.55);
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    letter-spacing: 1.2px;
    margin: 6px 0 0 0;
}




/* ===== PHOTO ===== */
.photo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 20px 0;
}

.poem-image {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ddd2;
    max-width: 100%;
    height: auto;
}

.photo-container figcaption {
    font-size: 10px;
    color: #b5a699;
    margin-top: 6px;
    font-style: italic;
}

/* ===== POEM ===== */
.poem {
    max-width: 650px;
    margin: 20px auto;
    font-size: 18px;
    line-height: 1.8;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
}

.poem p {
    margin-bottom: 18px;
}

/* ===== HOME LINK ===== */
.home-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-size: 18px;
    color: #3a2f2a;
    border-bottom: 1px solid #c9bba7;
    transition: 0.3s ease;
}

.home-link:hover {
    transform: translateX(-5px);
    color: #000;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .paper {
        padding: 30px 20px;
    }

    .site-title {
        font-size: 28px;
    }

    .intro-stone {
        font-size: 20px;
    }

    .poem {
        font-size: 16px;
    }

    .music-container {
        padding: 8px 14px;
        max-width: 280px;
    }

    .music-container audio {
        height: 32px;
    }

    .credit-text {
        font-size: 10px;
    }
}

@media (max-width: 400px) {
    .paper {
        padding: 20px 12px;
    }

    .site-title {
        font-size: 22px;
    }

    .intro-stone {
        font-size: 17px;
    }

    .poem {
        font-size: 14px;
    }

    .music-container {
        padding: 6px 10px;
        max-width: 220px;
    }

    .music-container audio {
        height: 28px;
    }
}

/* ==========================================
   MOBILE FIXES - Poem List
   ========================================== */

/* Poem list container */
.poem-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.poem-list li {
    margin-bottom: 12px;
}

/* Poem links - Remove blue color and style properly */
.poem-link {
    display: block;
    padding: 14px 18px;
    font-size: 18px;
    text-decoration: none;
    color: #3a2f2a !important;  /* Force dark color, not blue */
    background: rgba(255, 250, 240, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(201, 187, 167, 0.3);
    transition: all 0.3s ease;
    font-family: "Cormorant Garamond", serif;
    text-align: center;
}

.poem-link:hover {
    transform: translateX(5px);
    color: #000 !important;
    background: rgba(255, 250, 240, 0.9);
    border-color: #8b7a6a;
}

/* Fix for visited links (prevents purple color) */
.poem-link:visited {
    color: #3a2f2a ;
}

/* Fix for any other blue links on the page */
a {
    color: #3a2f2a;
    text-decoration: none;
}

a:visited {
    color: #3a2f2a;
}

/* ==========================================
   MOBILE RESPONSIVE - Poem List
   ========================================== */

@media (max-width: 768px) {
    .paper {
        padding: 20px 15px;
        margin: 10px;
    }

    /* Poem list on mobile - stacked properly */
    .poem-list {
        margin: 15px 0;
    }

    .poem-list li {
        margin-bottom: 10px;
    }

    .poem-link {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 6px;
    }

    /* Site title smaller */
    .site-title {
        font-size: 28px;
        margin-top: 20px;
    }

    /* Intro text smaller */
    .intro-stone {
        font-size: 20px;
        padding: 0 10px;
    }

    /* Poem text smaller */
    .poem {
        font-size: 16px;
        padding: 0 5px;
    }

    .poem p {
        margin-bottom: 14px;
    }

    /* Images responsive */
    .image1 {
        max-width: 70px;
    }

    .divider {
        max-width: 200px;
    }

    .poem-image {
        width: 100% !important;
        max-width: 250px;
        height: auto;
    }
}

@media (max-width: 480px) {
    .paper {
        padding: 15px 10px;
        margin: 5px;
        border-radius: 4px;
    }

    .site-title {
        font-size: 22px;
        letter-spacing: 0.05em;
        margin-top: 15px;
    }

    .intro-stone {
        font-size: 17px;
    }

    .poem-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .poem {
        font-size: 14px;
        line-height: 1.7;
    }

    .poem p {
        margin-bottom: 12px;
    }

    .image1 {
        max-width: 50px;
    }

    .divider {
        max-width: 150px;
    }

    .home-link {
        font-size: 15px;
    }

    .credit-text {
        font-size: 10px;
    }
}

/* Center the entire music wrapper */
.music-wrapper {
    text-align: center;
    margin: 20px auto;
}

/* Center the audio player container */
.music-container {
    display: inline-block;
    /* or use block with margin auto */
    width: 100%;
    max-width: 400px;
}

/* Center the audio player itself */
audio {
    display: block;
    margin: 0 auto;
    width: 100%;
}

/* Center the credit text */
.credit-text {
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
    font-style: italic;
    margin-top: 10px;
    color: #3a2f2a;
}

/* ===== POEM COLLECTIONS ===== */

.poem-group{
    margin:30px 0;
    border-bottom:1px solid rgba(201,187,167,.5);
    padding-bottom:10px;
}

.poem-group summary{
    cursor:pointer;
    list-style:none;
    outline:none;
    padding:10px 0;
}

.poem-group summary::-webkit-details-marker{
    display:none;
}

/* Custom arrow */

.poem-group summary::before{
    content:"▸";
    display:inline-block;
    margin-right:10px;
    transition:.3s ease;
    color:#8b7a6a;
}

.poem-group[open] summary::before{
    transform:rotate(90deg);
}

.poem-group strong{
    font-size:28px;
    font-weight:500;
    color:#3a2f2a;
}

.group-subtitle{
    display:block;
    margin-left:25px;
    margin-top:4px;
    font-size:15px;
    color:#7a6b5d;
    font-style:italic;
    letter-spacing:.05em;
}


