/* Strawberry Summer - Brand System Refactor */

/* Brand Font System */
@font-face {
    font-family: 'Compadre Extended';
    src: url('../fonts/Compadre-Extended.woff2') format('woff2'),
         url('https://cdn.iamdavehawkins.com/Compadre-Extended.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Degular Text';
    src: url('../fonts/DegularText-Regular.woff2') format('woff2'),
         url('https://cdn.iamdavehawkins.com/DegularText-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vulf Mono';
    src: url('../fonts/Vulf_Mono-Light_Italic_web.woff2') format('woff2'),
         url('https://cdn.iamdavehawkins.com/Vulf_Mono-Light_Italic_web.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Brand Color Tokens */
:root {
    --charcoal: #222222;
    --paper: #F4F0E6;
    --denim: #4F6A89;
    --rust: #9B4A34;
    --mustard: #D8A34A;
    
    /* Typography */
    --font-heading: 'Compadre Extended', serif;
    --font-body: 'Degular Text', sans-serif;
    --font-mono: 'Vulf Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    background: var(--charcoal);
    color: var(--paper);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.texture-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg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uxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==') repeat;
    opacity: 0.03;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--mustard);
    outline-offset: 2px;
}

/* Layout - Mobile First */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    z-index: 3;
}

@media (min-width: 769px) {
    .container {
        padding: 2rem;
    }
}

/* Prefers reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .parallax-shallow {
        transform: none !important;
    }
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    position: relative;
}

/* Dave Hawkins Logo */
.dh-logo {
    margin-bottom: 2rem;
}

.random-song-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.dh-logo img {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.dh-logo img:hover {
    transform: scale(1.05);
}

/* Typography - Mobile First */
.title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--paper);
    margin: 1.5rem 0 0.5rem 0;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

@media (min-width: 769px) {
    .title {
        font-size: 3.5rem;
    }
}

.subtitle {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--denim);
    margin-bottom: 2rem;
}

/* Album Art with Paper Frame - Mobile First */
.album-art-frame {
    max-width: 240px;
    margin: 1.5rem auto;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--denim);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

@media (min-width: 769px) {
    .album-art-frame {
        max-width: 280px;
        margin: 2rem auto;
        padding: 12px;
    }
}

.album-art-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.album-art {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Minimal Fruit Motifs */
.fruit-motifs {
    margin: 2rem 0;
    position: relative;
}

.fruit-icon {
    font-size: 1.5rem;
    margin: 0 0.5rem;
    opacity: 0.7;
}

/* CTA Buttons */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1.5rem 0;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--rust);
    border: 1px solid var(--denim);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    position: relative;
}

.cta-button:hover,
.cta-button:focus {
    background: var(--mustard);
    color: var(--charcoal);
    border-color: var(--charcoal);
    transform: translateY(-1px);
}

.cta-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.cta-sublabel {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 0.25rem;
}

/* Section Dividers */
.section-divider {
    height: 1px;
    background: var(--denim);
    margin: 2.5rem 0;
    opacity: 0.3;
}

/* Motion Section */
.motion-section {
    text-align: center;
    margin: 2.5rem 0;
}

.motion-content {
    margin-bottom: 1.5rem;
}

.main-gif {
    max-width: 300px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.motion-caption {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--denim);
    margin-top: 0.5rem;
}

.video-embed {
    margin-top: 1.5rem;
}

.video-embed iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Lyrics Section */
.lyrics-section {
    margin: 2.5rem 0;
    text-align: center;
}

.section-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--paper);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.lyric-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.chip {
    background: var(--denim);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--rust);
    transition: all 0.2s ease;
}

.chip:hover {
    background: var(--mustard);
    color: var(--charcoal);
}

.lyric-excerpt {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--paper);
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    border-left: 3px solid var(--rust);
    background: rgba(75, 106, 137, 0.1);
    border-radius: 4px;
    font-style: italic;
}

/* Floating Accents */
.floating-accents {
    position: relative;
    margin: 1.5rem 0;
}

.accent-fruit {
    font-size: 1.2rem;
    margin: 0 1rem;
    opacity: 0.6;
}

/* Animation */
.floating {
    animation: float 8s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-12px) scale(1.05); }
    100% { transform: translateY(8px) scale(0.95); }
}

.parallax-shallow {
    will-change: transform;
    transition: transform 0.3s ease;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    background: var(--denim);
    border: 1px solid var(--rust);
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--paper);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.newsletter-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--paper);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--rust);
    border-radius: 4px;
    background: var(--paper);
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--mustard);
    box-shadow: 0 0 0 2px rgba(216, 163, 74, 0.2);
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background: var(--rust);
    border: 1px solid var(--mustard);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-button:hover,
.newsletter-button:focus {
    background: var(--mustard);
    color: var(--charcoal);
    border-color: var(--charcoal);
}

/* Footer */
.site-footer {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--denim);
    border-top: 1px solid var(--denim);
    opacity: 0.7;
}

.site-footer a {
    color: var(--denim);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: var(--mustard);
}

/* Mobile-First Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 1rem 0.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin: 1rem 0 0.5rem 0;
    }
    
    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .album-art-frame {
        max-width: 200px;
        padding: 6px;
        margin: 1.5rem auto;
    }
    
    .fruit-motifs {
        margin: 1rem 0;
    }
    
    .fruit-icon {
        font-size: 1.2rem;
        margin: 0 0.3rem;
    }
    
    .cta-row {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .cta-button {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        justify-content: center;
        min-height: 48px; /* Better touch target */
    }
    
    .cta-icon {
        width: 18px;
        height: 18px;
    }
    
    .section-divider {
        margin: 3rem 0;
    }
    
    .motion-section {
        margin: 3rem 0;
    }
    
    .main-gif {
        max-width: 220px;
        width: 90vw;
    }
    
    .motion-caption {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    .video-embed {
        margin-top: 1.5rem;
    }
    
    .video-embed iframe {
        width: 100%;
        height: 180px;
        max-width: 100%;
    }
    
    .lyrics-section {
        margin: 3rem 0;
        padding: 0 0.5rem;
    }
    
    .section-label {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .lyric-chips {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .chip {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
        min-height: 36px; /* Better touch target */
        display: flex;
        align-items: center;
    }
    
    .lyric-excerpt {
        padding: 1.5rem 1rem;
        font-size: 1rem;
        line-height: 1.7;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .floating-accents {
        margin: 1.5rem 0;
    }
    
    .accent-fruit {
        font-size: 1rem;
        margin: 0 0.75rem;
    }
    
    .newsletter-section {
        padding: 2rem 1rem;
        margin: 3rem 0.5rem;
        max-width: 100%;
    }
    
    .newsletter-title {
        font-size: 1.3rem;
    }
    
    .newsletter-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input[type="email"] {
        min-width: auto;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
    }
    
    .newsletter-button {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
    }
    
    .site-footer {
        margin-top: 3rem;
        padding: 1.5rem 0;
        font-size: 0.8rem;
    }
    
    .jump-pill {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
        right: -15px;
        top: -6px;
    }
    
    .dh-logo img {
        width: 80px;
    }
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .title {
        font-size: 3rem;
    }
    
    .album-art-frame {
        max-width: 260px;
    }
    
    .cta-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-button {
        flex: 1;
        min-width: 200px;
        max-width: 280px;
    }
    
    .lyric-chips {
        gap: 0.75rem;
    }
    
    .newsletter-section {
        max-width: 600px;
    }
    
    .newsletter-form {
        flex-direction: row;
    }
    
    .newsletter-form input[type="email"] {
        flex: 1;
        min-width: 250px;
    }
}
