* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lora', sans-serif;
    background: linear-gradient(135deg, #2c1a30 0%, #7a3b5c 40%, #d46a6a 80%, #f7d6c8 100%);
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 40px 20px; 
    color: #2c1a30;
}

.main-header {
    text-align: center; margin-bottom: 30px; background: rgba(255, 255, 255, 0.15);
    padding: 20px 40px; border-radius: 30px; backdrop-filter: blur(8px); box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    width: 100%; max-width: 750px;
}

.main-header h1 { font-family: 'Cinzel', serif; letter-spacing: 2px; font-size: 3rem; color: #ffffff; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.subtitle { font-size: 1.2rem; color: #f7d6c8; font-style: italic; }
.header-feather { display: block; margin: 15px auto 0 auto; width: 55px; height: auto; filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.2)); }

.bio-box { background: rgba(255, 255, 255, 0.95); padding: 20px 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); width: 100%; max-width: 750px; margin-bottom: 30px; text-align: center; }
.bio-box h3 { font-family: 'Playfair Display', serif; color: #4a2333; margin-bottom: 8px; font-size: 1.3rem; }
.bio-box p { font-size: 0.95rem; line-height: 1.6; color: #444; }

.carousel-wrapper { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 750px; margin-bottom: 40px; }

.carousel-container {
    position: relative; width: 100%; height: 720px; overflow: hidden; border-radius: 24px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25); background: #fffcf7; border: 1px solid rgba(255,255,255,0.5);
}

.poem-card {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 40px; display: flex; flex-direction: column;
    opacity: 0; transform: scale(0.95); transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; pointer-events: none;
}

.poem-card.active { opacity: 1; transform: scale(1); pointer-events: auto; }

.poem-title {
    font-family: 'Playfair Display', serif; font-size: 2rem; color: #4a2333; margin-bottom: 20px;
    text-align: center; border-bottom: 2px dashed #d46a6a; padding-bottom: 10px;
}

.poem-body {
    font-family: 'Playfair Display', serif; font-size: 1.25rem; line-height: 2; color: #2b2024;
    white-space: pre-line; text-align: center; overflow-y: auto; padding: 10px 20px; flex-grow: 1;
}

.poem-body::-webkit-scrollbar { width: 5px; }
.poem-body::-webkit-scrollbar-thumb { background-color: #d46a6a; border-radius: 10px; }

.comment-trigger-btn {
    display: inline-block; margin: 25px auto 0 auto; background: #2c1a30; color: white; padding: 10px 25px; border-radius: 12px;
    font-family: 'Poppins', sans-serif; font-weight: 600; text-decoration: none; font-size: 0.95rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: background 0.2s;
}
.comment-trigger-btn:hover { background: #7a3b5c; }
.arrow-btn {
    background: #2c1a30; border: none; color: #ffffff; width: 55px; height: 55px; border-radius: 50%; font-size: 1.6rem;
    cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: all 0.2s ease; margin: 0 15px; flex-shrink: 0;
}
.arrow-btn:hover { background: #ffffff; color: #2c1a30; transform: scale(1.15); }

.comments-wrapper { width: 100%; max-width: 750px; margin-bottom: 40px; }

.action-box { background: rgba(255, 255, 255, 0.95); padding: 35px; border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.18); text-align: center; }
.action-box h3 { font-family: 'Playfair Display', serif; margin-bottom: 10px; color: #4a2333; font-size: 1.5rem; }
.section-desc { font-size: 0.9rem; color: #555; margin-bottom: 20px; line-height: 1.5; }

.ideas-trigger-btn {
    display: inline-block; background: #7a3b5c; color: white; padding: 12px 30px; border-radius: 12px;
    font-family: 'Poppins', sans-serif; font-weight: 600; text-decoration: none; font-size: 1rem; box-shadow: 0 6px 15px rgba(0,0,0,0.15); transition: background 0.2s;
}
.ideas-trigger-btn:hover { background: #2c1a30; }

.site-footer { text-align: center; padding: 20px; color: #f7d6c8; font-size: 0.9rem; margin-top: auto; }
.warning-text { font-style: italic; font-size: 0.8rem; opacity: 0.75; margin-top: 4px; }

/* Mobile Layout Settings */
@media (max-width: 768px) {
    .carousel-wrapper { position: relative !important; width: 100% !important; }
    .carousel-container { width: 100% !important; height: 720px !important; }
    .poem-card { padding: 30px 45px !important; }
    .poem-body { font-size: 1.15rem !important; padding: 10px 5px !important; }
    .arrow-btn { 
        position: absolute !important; top: 45% !important; z-index: 150 !important;
        width: 44px !important; height: 44px !important; font-size: 1.2rem !important; margin: 0 !important; opacity: 0.85;
    }
    .arrow-btn:first-of-type { left: 8px !important; }  
    .arrow-btn:last-of-type { right: 8px !important; } 
}

/* Desktop Wide Screen Layout Settings */
@media (min-width: 769px) {
    .carousel-wrapper { position: relative; }
    .arrow-btn { position: absolute; top: 45%; z-index: 100; }
    .arrow-btn:first-of-type { left: -85px; }
    .arrow-btn:last-of-type { right: -85px; }
}

html { scroll-behavior: smooth; }

/* Translucent Top Menu Navigation Bar Styling */
.top-nav {
    display: flex; justify-content: center; gap: 30px;
    background: rgba(255, 255, 255, 0.12); backdrop-filter: blur(10px);
    padding: 15px 30px; border-radius: 50px; margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); width: 100%; max-width: 750px;
}
.top-nav a {
    color: #ffffff; text-decoration: none; font-family: 'Poppins', sans-serif;
    font-weight: 500; font-size: 1rem; transition: color 0.2s ease, transform 0.2s ease;
}
.top-nav a:hover { color: #f7d6c8; transform: scale(1.05); }

/* Floating Back to Top Navigation Button Styling */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; display: none; background: #7a3b5c;
    color: #ffffff; border: none; width: 50px; height: 50px; border-radius: 50%;
    font-size: 1.5rem; font-weight: bold; cursor: pointer; box-shadow: 0 6px 166px rgba(0, 0, 0, 0.3);
    z-index: 1000; transition: background 0.2s, transform 0.2s;
}
.back-to-top:hover { background: #2c1a30; transform: scale(1.1); }

@media (max-width: 768px) {
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.25rem; }
}

footer { text-align: center; padding: 20px; font-family: 'Poppins', sans-serif; font-size: 0.85rem; color: #fff; }

/* 🌟 PRECISE MASONRY FIX FOR GALLERY PAGE 🌟 */
.gallery-grid {
    display: block !important;
    column-count: 3 !important;
    column-gap: 30px !important;
    width: 100% !important;
    margin-top: 20px !important;
}

.art-card {
    background: #fff !important;
    padding: 15px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    border: 1px solid #f0e6eb !important;
    display: inline-block !important; /* Crucial: Stops cards from breaking across columns */
    width: 100% !important;
    margin-bottom: 30px !important; /* Tight spacing between rows */
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .gallery-grid { column-count: 2 !important; }
}
@media (max-width: 600px) {
    .gallery-grid { column-count: 1 !important; }
}
#scrollTopButton {
  display: none; 
  position: fixed; 
  bottom: 20px; 
  left: 20px; 
  z-index: 99; 
  border: none; 
  outline: none; 
  background-color: #32052d; 
  color: rgb(220, 193, 207); 
  cursor: pointer; 
  padding: 15px; 
  border-radius: 50%; 
  font-size: 18px; 
  width: 50px; 
  height: 50px; 
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
  transition: background-color 0.3s, transform 0.3s; 
}

#scrollTopButton:hover {
  background-color: #555; 
  transform: scale(1.1); 
}
/* This locks my poetry and text from being selected or copied */
p, h1, h2, h3, li {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE/Edge */
  user-select: none;         /* Standard modern browsers */
}

