/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rubik Dirt', cursive;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Covered By Your Grace', cursive;
    font-weight: normal;
}

h1 {
    font-size: clamp(3rem, 8vw, 8rem);
    transform: rotate(-2deg);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    transform: rotate(1deg);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    transform: rotate(-1deg);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    transform: rotate(0.5deg);
    margin-bottom: 1.5rem;
}

/* Navigation */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: url('/uploads/photocopy_texture_dark.jpg') center/cover;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 3px solid #333;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transform: rotate(1deg);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    position: relative;
    padding-bottom: 5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: white;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    transform: rotate(-2deg) scale(1.1);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Section Base Styles */
.section {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: visible;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section Backgrounds */
.section-dark {
    background: url('/uploads/photocopy_texture_dark.jpg') center/cover, 
                linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
}

.section-light {
    background: url('/uploads/photocopy_texture_light.jpg') center/cover,
                linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #1a1a1a;
}

/* Section Styling */
.section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: inherit;
    z-index: -1;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transform: rotate(0.2deg);
}

/* Hero Section */
#hero {
    background-image: url('/uploads/swamprat_hero_bg.PNG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    text-align: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/uploads/photocopy_texture_dark.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

#hero .section-content {
    position: relative;
    z-index: 2;
}

/* Sections with longer content should not center vertically */
#about .section-content,
#music .section-content,
#streaming .section-content,
#album .section-content,
#social .section-content,
#merch .section-content {
    justify-content: flex-start;
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 6rem;
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.hero-logo {
    margin-top: 2rem;
    flex-shrink: 0;
}

.logo-icon {
    width: 375px;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.8));
}

.hero-title {
    color: white;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.9);
    margin-bottom: 0;
    margin-top: 8rem;
}

.hero-subtitle {
    color: #f0f0f0;
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: 2rem;
    flex-shrink: 0;
}

/* About Section */
.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    text-align: justify;
    margin-bottom: 2rem;
}

/* Music Player Section */
.music-player {
    max-width: 800px;
    margin: 0 auto;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.track-item {
    position: relative;
    background: white;
    padding: 2rem;
    margin: 20px 0;
    border: 3px solid black;
    border-radius: 8px;
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease;
}

.track-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.track-item:hover {
    transform: rotate(0deg) scale(1.02);
}

.track-item h3 {
    margin-bottom: 1rem;
    color: black;
}

audio {
    width: 100%;
    height: 60px;
    background: black;
    border: 3px solid black;
    outline: none;
    border-radius: 4px;
    margin-top: 10px;
}

/* Hide default controls on Webkit browsers */
audio::-webkit-media-controls-panel {
    background-color: black;
    border: 2px solid white;
}

audio::-webkit-media-controls-play-button {
    background-color: white;
    border-radius: 0;
    border: 2px solid black;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: white;
    font-family: 'Rubik Dirt', cursive;
    font-size: 0.9rem;
}

audio::-webkit-media-controls-timeline {
    background-color: white;
    border-radius: 0;
    border: 1px solid black;
    height: 8px;
}

audio::-webkit-media-controls-timeline::-webkit-slider-thumb {
    background-color: black;
    border-radius: 0;
    border: 1px solid white;
    width: 15px;
    height: 15px;
}

audio::-webkit-media-controls-volume-slider {
    background-color: white;
    border-radius: 0;
    border: 1px solid black;
}

audio::-webkit-media-controls-volume-slider::-webkit-slider-thumb {
    background-color: black;
    border-radius: 0;
    border: 1px solid white;
}

/* Firefox audio controls */
audio::-moz-range-thumb {
    background-color: black;
    border: 2px solid white;
    border-radius: 0;
    width: 15px;
    height: 15px;
}

audio::-moz-range-track {
    background-color: white;
    border: 1px solid black;
    height: 8px;
    border-radius: 0;
}

/* Streaming Links */
.streaming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.streaming-link {
    text-decoration: none;
    color: inherit;
}

.streaming-item {
    background: black;
    color: white;
    padding: 2rem;
    border: 3px solid black;
    text-align: center;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.section-light .streaming-item {
    background: white;
    color: black;
    border: 3px solid black;
}

.streaming-item:nth-child(even) {
    transform: rotate(1deg);
}

.streaming-item:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-light .streaming-item:hover {
    background: black;
    color: white;
}

.section-dark .streaming-item:hover {
    background: white;
    color: black;
}

.streaming-item h3 {
    margin-bottom: 0.5rem;
}

.streaming-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 1rem;
}

/* Newsletter Section */
.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto;
    transform: rotate(-1deg);
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    font-size: 1.2rem;
    border: 3px solid black;
    background: white;
    color: black;
    font-family: 'Rubik Dirt', cursive;
}

.newsletter-form button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: 3px solid black;
    background: black;
    color: white;
    cursor: pointer;
    font-family: 'Rubik Dirt', cursive;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

.newsletter-note {
    font-size: 1rem;
    opacity: 0.7;
    font-style: italic;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.social-link {
    text-decoration: none;
    color: inherit;
}

.social-item {
    background: black;
    color: white;
    padding: 2rem;
    border: 3px solid black;
    text-align: center;
    transform: rotate(1deg);
    transition: all 0.3s ease;
}

.section-light .social-item {
    background: white;
    color: black;
    border: 3px solid black;
}

.social-item:nth-child(2n) {
    transform: rotate(-1deg);
}

.social-item:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-light .social-item:hover {
    background: black;
    color: white;
}

.section-dark .social-item:hover {
    background: white;
    color: black;
}

/* Album Section */
.album-showcase {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.album-artwork {
    text-align: center;
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.album-artwork:hover {
    transform: rotate(0deg) scale(1.05);
}

.album-cover {
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 5px solid black;
}

.album-info h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.album-info p {
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.track-listing {
    background: white;
    padding: 2rem;
    border: 3px solid black;
    margin-bottom: 2rem;
    transform: rotate(1deg);
}

.track-listing h4 {
    font-family: 'Covered By Your Grace', cursive;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: black;
    transform: rotate(-1deg);
}

.track-listing ol {
    list-style: none;
    counter-reset: track-counter;
}

.track-listing li {
    counter-increment: track-counter;
    padding: 0.5rem 0;
    font-size: 1.2rem;
    transform: rotate(-0.5deg);
    color: black;
}

.track-listing li:before {
    content: counter(track-counter, decimal-leading-zero) ". ";
    color: black;
    font-weight: bold;
    margin-right: 0.5rem;
}

.purchase-links h4 {
    font-family: 'Covered By Your Grace', cursive;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: white;
    transform: rotate(-1deg);
}

.purchase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.purchase-btn {
    display: block;
    padding: 1rem 2rem;
    background: black;
    color: white;
    text-decoration: none;
    border: 3px solid black;
    font-family: 'Rubik Dirt', cursive;
    font-size: 1.1rem;
    text-align: center;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.purchase-btn:nth-child(even) {
    transform: rotate(1deg);
}

.purchase-btn:hover {
    transform: rotate(0deg) scale(1.05);
    background: white;
    color: black;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Merch Section */
.merch-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.merch-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.merch-item {
    background: white;
    padding: 2rem;
    border: 3px solid black;
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.merch-item:nth-child(even) {
    transform: rotate(1deg);
}

.merch-item:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.merch-image {
    margin-bottom: 1.5rem;
    transform: rotate(1deg);
    transition: transform 0.3s ease;
}

.merch-item:hover .merch-image {
    transform: rotate(0deg);
}

.product-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border: 3px solid black;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.merch-item h3 {
    color: black;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.merch-item p {
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.8;
}

.merch-button {
    display: inline-block;
    padding: 2rem 4rem;
    font-size: 2rem;
    background: black;
    color: white;
    text-decoration: none;
    border: 4px solid black;
    font-family: 'Covered By Your Grace', cursive;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.merch-button:hover {
    transform: rotate(0deg) scale(1.1);
    background: white;
    color: black;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Section Visibility */
.section {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        padding: 0 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .section-content {
        padding: 8rem 1rem 4rem;
    }
    
    #about .section-content,
    #music .section-content,
    #streaming .section-content,
    #album .section-content,
    #social .section-content,
    #merch .section-content {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .streaming-grid,
    .social-links {
        grid-template-columns: 1fr;
    }
    
    .album-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .purchase-grid {
        grid-template-columns: 1fr;
    }
    
    .merch-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 250px;
    }
    
    .hero-content {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    p {
        font-size: 1.2rem;
    }
    
    .section-content {
        padding: 8rem 1rem 2rem;
    }
} 