/*
Theme Name: GeneratePress Child - Ashley Love
Theme URI: https://ashleylove.com
Description: Custom child theme for Ashley Love R&B artist website
Author: Your Name
Author URI: https://yoursite.com
Template: generatepress
Version: 1.0.0
Text Domain: ashleylove-child
*/

/* ============================================
   CSS VARIABLES - Color Palette
   ============================================ */
:root {
    --color-hunter-green: #2d5d4f;
    --color-deep-green: #1a3a2e;
    --color-blush-pink: #f4a6b8;
    --color-coral: #ff6b6b;
    --color-sky-blue: #4fb3d4;
    --color-sunshine: #f7d794;
    --color-cream: #fef5ed;
    --font-primary: 'Poppins', sans-serif;
    /* CURRENT: Allura - elegant, readable script */
    /* ALTERNATIVES: 'Great Vibes', 'Parisienne', 'Dancing Script', 'Playlist Script' */
    --font-display: 'Allura', cursive;
}

/* ============================================
   GLOBAL RESETS & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--color-deep-green);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ============================================
NAVIGATION - DESKTOP & MOBILE
============================================ */

.ashleylove-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: rgba(26, 58, 46, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(
        90deg,
        var(--color-blush-pink),
        var(--color-sunshine),
        var(--color-blush-pink)
    ) 1;
}

.ashleylove-nav.scrolled {
    background: rgba(26, 58, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ashleylove-nav__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.ashleylove-nav__brand {
    font-family: var(--font-display);
    font-size: 2rem;
    color: white;
    text-decoration: none;
}

/* MOBILE FIRST - Default is mobile */

.ashleylove-nav__toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.ashleylove-nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--color-deep-green);
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    list-style: none;
    margin: 0;
    transition: right 0.3s ease;
}

.ashleylove-nav__menu.active {
    right: 0;
}

.ashleylove-nav__link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.ashleylove-nav__link:hover {
    color: var(--color-blush-pink);
}

/* DESKTOP - min-width 769px */

@media (min-width: 769px) {
    .ashleylove-nav__toggle {
        display: none !important;
    }

    .ashleylove-nav__menu {
        position: static !important;
        height: auto !important;
        width: auto !important;
        background: transparent !important;
        flex-direction: row !important;
        padding: 0 !important;
        gap: 2.5rem !important;
        right: auto !important;
    }

    .ashleylove-nav__link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-blush-pink);
        transition: width 0.3s ease;
    }

    .ashleylove-nav__link:hover::after {
        width: 100%;
    }
}

/* ============================================
FIX FOR WORDPRESS ADMIN BAR
============================================ */

body.logged-in {
    margin-top: 0 !important;
}

.admin-bar .ashleylove-nav {
    top: 0 !important;
}

#wpadminbar {
    position: fixed !important;
    z-index: 99999 !important;
}

/* ============================================
HERO SECTION
============================================ */

.ashleylove-hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, var(--color-hunter-green) 0%, var(--color-deep-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ashleylove-hero__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ashleylovemusic.com/wp-content/uploads/2026/02/ashley-love-hero-image.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.ashleylove-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(29, 93, 79, 0.4) 0%, rgba(26, 58, 46, 0.8) 100%);
}

.ashleylove-hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.ashleylove-logo {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.ashleylove-hero__headline {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--color-blush-pink);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.ashleylove-hero__bio {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 300;
    opacity: 0.95;
}

.ashleylove-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--color-blush-pink);
    color: var(--color-deep-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 166, 184, 0.4);
}

.ashleylove-cta:hover {
    background: var(--color-coral);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* Subtle noise / texture overlay on dark sections */
.ashleylove-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.12'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ============================================
MUSIC SECTION
============================================ */

.ashleylove-music {
    padding: 6rem 5%;
    background: var(--color-cream);
}

.ashleylove-section__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
    color: var(--color-deep-green);
}

.ashleylove-section__subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-hunter-green);
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Prominent display for album title under "Latest Album" */

.ashleylove-album__title-display {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-blush-pink);
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

/* Optional accent divider under the music section heading */

.ashleylove-music::before {
    content: '';
    display: block;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blush-pink), var(--color-sunshine), var(--color-blush-pink));
    margin: 0 auto 3rem;
    border-radius: 2px;
}

.ashleylove-album {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(45, 93, 79, 0.1);
    padding: 3rem;
}

.ashleylove-album__header {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ashleylove-album__cover-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--color-hunter-green), var(--color-blush-pink));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.ashleylove-album__info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-deep-green);
}

.ashleylove-album__info p {
    font-size: 1.1rem;
    color: var(--color-hunter-green);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ashleylove-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--color-hunter-green);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ashleylove-download-btn:hover {
    background: var(--color-deep-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 93, 79, 0.3);
}

/* Track List */

.ashleylove-tracklist {
    list-style: none;
}

.ashleylove-track {
    display: grid;
    grid-template-columns: 50px 1fr 100px 120px;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.ashleylove-track:hover {
    background: #f9f9f9;
}

.ashleylove-track__number {
    font-weight: 600;
    color: var(--color-hunter-green);
}

.ashleylove-track__title {
    font-weight: 500;
}

.ashleylove-track__duration {
    color: #999;
    font-size: 0.95rem;
}

.ashleylove-track__actions {
    display: flex;
    gap: 1rem;
}

.ashleylove-btn-icon {
    background: none;
    border: none;
    color: var(--color-hunter-green);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.ashleylove-btn-icon:hover {
    color: var(--color-blush-pink);
}

/* Audio Player */

.ashleylove-player-frame {
    margin-top: 2rem;
    padding: 3px;
    border-radius: 18px;
    background: linear-gradient(
        90deg,
        var(--color-blush-pink),
        var(--color-sunshine),
        var(--color-blush-pink)
    );
}

.ashleylove-player {
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-hunter-green), var(--color-deep-green));
    border-radius: 15px;
    color: white;
    transition: all 0.3s ease;
}

.ashleylove-player__info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ashleylove-player__track-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blush-pink);
    min-width: 50px;
}

.ashleylove-player__track-title {
    font-size: 1.3rem;
    font-weight: 500;
}

.ashleylove-player__controls {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.ashleylove-player__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--color-hunter-green);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ashleylove-player__btn:hover {
    background: var(--color-blush-pink);
    color: white;
    transform: scale(1.05);
}

.ashleylove-player__progress-container {
    flex: 1;
}

.ashleylove-player__progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative;
}

.ashleylove-player__progress-fill {
    height: 100%;
    background: var(--color-blush-pink);
    border-radius: 10px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.ashleylove-player__progress-fill::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ashleylove-player__time {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.9;
}

.ashleylove-player__volume {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ashleylove-player__volume i {
    font-size: 1.2rem;
}

.ashleylove-player__volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    outline: none;
}

.ashleylove-player__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.ashleylove-player__volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.ashleylove-player__notice {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* ============================================
BOOKING SECTION
============================================ */

.ashleylove-booking {
    padding: 5rem 5%;
    background: var(--color-cream);
}

.ashleylove-booking__frame {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 3px;
    border-radius: 22px;
    background: linear-gradient(
        90deg,
        var(--color-blush-pink),
        var(--color-sunshine),
        var(--color-blush-pink)
    );
}

.ashleylove-booking__card {
    padding: 2.5rem;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    text-align: center;
    background-image:
        radial-gradient(circle at 0 0, rgba(244, 166, 184, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(247, 215, 148, 0.18), transparent 55%);
}

.ashleylove-booking__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0 1rem;
    padding: 0.9rem 2.4rem;
    border-radius: 999px;
    background: var(--color-hunter-green);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.ashleylove-booking__button:hover {
    background: var(--color-deep-green);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ashleylove-booking__note {
    font-size: 0.95rem;
    color: var(--color-hunter-green);
    opacity: 0.9;
}

/* ============================================
SOCIAL SECTION
============================================ */

.ashleylove-social {
    position: relative;
    padding: 5rem 5%;
    background: var(--color-hunter-green);
    text-align: center;
    overflow: hidden;
}

.ashleylove-social h2 {
    color: white;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.ashleylove-social__icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 10;
}

.ashleylove-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    color: var(--color-hunter-green);
    border-radius: 50%;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ashleylove-social__link:hover {
    background: var(--color-blush-pink);
    color: white;
    transform: translateY(-5px) scale(1.1);
}

.ashleylove-social::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.12'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* ============================================
FOOTER
============================================ */

.ashleylove-footer {
    padding: 2rem 5%;
    background: var(--color-deep-green);
    color: white;
    text-align: center;
    border-top: 3px solid transparent;
    border-image: linear-gradient(
        90deg,
        var(--color-blush-pink),
        var(--color-sunshine),
        var(--color-blush-pink)
    ) 1;
}

/* ============================================
RESPONSIVE ADJUSTMENTS
============================================ */

@media (max-width: 768px) {
    .ashleylove-album__header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ashleylove-album__cover-placeholder {
        margin: 0 auto;
    }

    .ashleylove-track {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }

    .ashleylove-track__number,
    .ashleylove-track__title,
    .ashleylove-track__duration {
        justify-self: center;
    }

    .ashleylove-track__actions {
        justify-content: center;
    }

    /* Force player content to center on mobile */
    .ashleylove-player__info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ashleylove-player__track-num,
    .ashleylove-player__track-title {
        width: 100%;
        text-align: center;
    }

    .ashleylove-player__controls {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1rem;
    }

    .ashleylove-player__btn {
        margin: 0 auto;
    }

    .ashleylove-player__progress-container {
        width: 100%;
    }

    .ashleylove-player__volume {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.ashleylove-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.ashleylove-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   HIDE GENERATEPRESS ELEMENTS
   ============================================ */
.site-footer,
.site-header,
.main-navigation,
.page-header,
.entry-header {
    display: none !important;
}
