/* ===========================
   BASE
=========================== */
body {
    margin: 0;
    min-height: 100vh;
    background: url("images/7bg.png") no-repeat center center / cover;
    display: flex;
    flex-direction: column;
    font-family: 'PT Sans', sans-serif;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(2px);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

p {
    font-family: 'PT Sans', sans-serif;
}

/* ===========================
   NAVBAR
=========================== */
nav {
    background: rgba(94, 76, 19, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 30px;
}

.navbar-brand,
.nav-link {
    color: white !important;
}

.nav-link {
    opacity: 0.75;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
    color: #2ED573 !important;
}

/* ===========================
   CARD (glassmorphism)
=========================== */
.card {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ===========================
   HOME PAGE — HERO
=========================== */
.hero-section {
    padding-bottom: 1rem;
}

.cathy-hero-frame {
    position: relative;
    display: inline-block;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    max-width: 360px;
    width: 100%;
}

.cathy-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cathy-hero-frame:hover .cathy-hero-img {
    transform: scale(1.03);
}

.cathy-hero-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    padding: 20px 16px 14px;
    letter-spacing: 0.5px;
}

/* Home text */
.home-badge {
    display: inline-block;
    background: rgba(46, 213, 115, 0.18);
    border: 1px solid rgba(46, 213, 115, 0.4);
    color: #2ED573;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
}

.home-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.home-name {
    color: #2ED573;
}

.home-tagline {
    color: rgba(255,255,255,0.65);
    font-size: 15px;
    margin-bottom: 0;
}

.home-divider {
    border-color: rgba(255,255,255,0.15);
    margin: 1.2rem 0;
}

.home-desc {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.75;
}

.cathy-cta-btn {
    display: inline-block;
    background-color: #2ED573;
    color: black;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(46, 213, 115, 0.35);
}

.cathy-cta-btn:hover {
    background-color: #25c265;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 213, 115, 0.45);
    color: black;
}

/* ===========================
   HOME PAGE — MEMORY CARDS
=========================== */
.memory-card {
    padding: 10px 8px;
}

.memory-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.memory-card h5 {
    color: white;
    font-size: 16px;
    margin-bottom: 6px;
}

.memory-card p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.65;
}

/* ===========================
   HOME PAGE — QUOTE SECTION
=========================== */
.quote-card {
    border-left: 3px solid #2ED573;
}

.quote-text {
    font-family: 'PT Sans', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.quote-attr {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    font-family: 'Inter', sans-serif;
}

/* ===========================
   MOOD PAGE — IMAGE
=========================== */
#cathyImage {
    width: 100%;
    height: 380px;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

/* ===========================
   MOOD PAGE — BADGES
=========================== */
.mood-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-top: 6px;
    transition: all 0.3s ease;
}

.mood-happy  { background: rgba(46,213,115,0.2);  border: 1px solid #2ED573; color: #2ED573; }
.mood-confuse{ background: rgba(255,107,107,0.2); border: 1px solid #FF6B6B; color: #FF6B6B; }
.mood-smirk  { background: rgba(255,209,102,0.2); border: 1px solid #FFD166; color: #FFD166; }
.mood-meh    { background: rgba(112,161,255,0.2); border: 1px solid #70A1FF; color: #70A1FF; }

/* ===========================
   MOOD PAGE — BUTTONS
=========================== */
#happybtn  { background-color: #2ED573; }
#confusebtn{ background-color: #FF6B6B; }
#smirkbtn  { background-color: #FFD166; }
#mehbtn    { background-color: #70A1FF; }

.cathy-btn {
    width: 100%;
    padding: 13px;
    margin-bottom: 10px;
    border: none;
    border-radius: 10px;
    color: black;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.cathy-btn:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.cathy-btn:active {
    transform: scale(0.98);
}

/* ===========================
   MOOD PAGE — QUOTE BOX
=========================== */
.cathy-quote-box {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 14px 18px;
}

.cathy-quote-text {
    font-style: italic;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.7;
    transition: opacity 0.25s ease;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
    margin-top: auto;
    padding: 14px 0;
    text-align: center;
    background: rgba(94, 76, 19, 0.45);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   ABOUT PAGE (reusable)
=========================== */
.about-hero-img {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* ===========================
   ALBUM PAGE
=========================== */
.album-card {
    padding: 0;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.album-img-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.album-card:hover .album-img {
    transform: scale(1.06);
}

.album-info {
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.album-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 6px;
    line-height: 1.6;
}

.album-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-style: italic;
}

/* ===========================
   ALBUM MODAL
=========================== */
.custom-modal {
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    color: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.custom-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-desc {
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-style: italic;
}