/* ===========================
   BASE PAGE STYLES
=========================== */

/* PAGE BACKGROUND */
body {
    background-color: #E8D0EF; /* pastel plum */
    font-family: sans-serif;
    margin: 20px 15px 10px 15px; /* consistent spacing */
    padding: 24px;
}

/* MATCHING HTML BACKGROUND */
html {
    background-color: #E8D0EF;
}

/* NAV MENU */
nav ul {
    list-style-type: none;
    background-color: #d8bccd;
    border: 4px solid #111111;
    border-radius: 10px;
    font-weight: bold;
    padding: 16px;
    margin: 0 auto 30px auto;
    text-align: center;
}

nav ul li {
    display: inline-block;
    border-right: 2px solid #111111;
    padding: 0 8px;
    cursor: pointer;
}

nav ul li:last-child { border-right: none; }

nav ul li a {
    text-decoration: none;
    color: #111111;
}

nav li.selected { color: #606060; }

nav li a:hover { text-decoration: underline; }

/* HEADER */
header {
    margin: 20px 15px 10px 15px;
}

header h1 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #4b2e4c; /* darker plum accent */
}

/* CONTENT CENTERING */
.container {
    text-align: center;
}

/* CENTERED PARAGRAPHS */
.center-content p,
.description {
    text-align: center;
    font-size: 18px;
    max-width: 700px;
    margin: 20px auto 0 auto;
    background: rgba(255, 255, 255, 0.25); /* subtle glass effect */
    padding: 15px 20px;
    border-radius: 12px;
    color: #4b2e4c;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    opacity: 0;
    animation: fadeInText 1.5s ease-out 1s forwards;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   COUNTDOWN BOX
=========================== */
.countdown-box {
    text-align: center;
    margin-bottom: 30px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.countdown-box h2 {
    margin: 0;
    font-size: 22px;
}

#countdown-timer {
    font-size: 20px;
    font-weight: bold;
    margin-top: 6px;
}

.countdown-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

.countdown-link:hover {
    cursor: pointer;
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* ===========================
   HOME PAGE IMAGE ANIMATION
=========================== */
.center-content img {
    display: block;
    margin: 20px auto;
    width: 600px;
    max-width: 90%;
    transition: transform 0.6s ease;
    animation: float 4s ease-in-out infinite;
}

.center-content img:hover {
    transform: scale(1.05) rotate(-1deg);
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* ===========================
   ABOUT ME CARDS
=========================== */
.about-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.about-card {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: center;
}

.about-card img {
    width: 100%;
    height: 250px;       /* you can adjust this */
    object-fit: cover;   /* crops nicely without distortion */
    border-radius: 10px; /* optional: keeps rounded edges */
}


.about-card img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* ===========================
   SONGS GRID
=========================== */
.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 50px auto;
    padding: 0 10px;
    justify-content: center;
}

.album-title {
    text-align: center;
    font-size: 26px;
    color: #6a3b70;
    margin: 30px 0 15px 0;
}

.song-card {
    background-color: rgba(255,255,255,0.35);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.song-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.song-card a {
    text-decoration: none;
    color: #4b2e4c;
    font-weight: bold;
    font-size: 18px;
}

.song-card a:hover { color: #6a3b70; }

/* ===========================
   CONTACT SOCIALS
=========================== */
.socials-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.social-card {
    background-color: rgba(255, 255, 255, 0.35);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 180px;
}

.social-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.social-card a {
    text-decoration: none;
    color: #4b2e4c;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.social-card a:hover { color: #6a3b70; }

.social-card i { font-size: 20px; }

/* ===========================
   FOOTER
=========================== */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.1);
}

.footer img {
    width: 100px;
    height: auto;
}

/* ===========================
   MUSIC PLAYER
=========================== */
#audio-player {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
}

.player-box {
    background: rgba(0, 0, 0, 0.75);
    padding: 10px 14px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.audio-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: none;
    background-color: #ffffff;
    color: #4b2e4c;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.audio-btn:active { transform: scale(0.9); }

#song-title {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.85;
}

#audio-player-frame {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 220px;
    height: 60px;
    border: none;
    z-index: 9999;
}

/* ===========================
   MEDIA QUERIES
=========================== */
@media (max-width: 700px) {
    nav ul {
        padding: 16px 10px;
        border-radius: 12px;
        width: 100%;
    }

    nav ul li {
        display: block;
        padding: 10px 0;
        border-right: none;
        border-bottom: 2px solid #111111;
    }

    nav ul li:last-child { border-bottom: none; }

    header h1 { font-size: 26px; margin-bottom: 15px; padding: 0 10px; }

    .center-content p { padding: 0 12px; font-size: 16px; }

    .center-content img { width: 90%; height: auto; max-width: 400px; }

    .countdown-box { width: 90%; padding: 10px; }
}

@media (max-width: 600px) {
    #audio-player { bottom: 10px; right: 10px; }

    .player-box { padding: 8px 12px; border-radius: 14px; gap: 8px; font-size: 12px; }

    .audio-btn { width: 24px; height: 24px; font-size: 16px; }

    #song-title { max-width: 80px; font-size: 12px; }
}

.album-row {
    display: flex;
    align-items: center;       /* vertically centers the photo with the cards */
    justify-content: center;   /* centers the whole row */
    gap: 40px;                 /* space between photo and cards */
    margin: 40px 0;
    width: 100%;
}

.album-cover {
    width: 200px;              /* you can adjust this */
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}


