/* Main Styles for Hemp Processing & CBD Animation Website */

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

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #D4AF37;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    font-style: italic;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

#animation-container {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    margin: 1rem auto;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

canvas {
    display: block;
}

.instructions {
    text-align: center;
    margin: 1rem 0;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.stage-info {
    margin: 2rem 0;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 4px solid #D4AF37;
}

.stage-info h2 {
    color: #FFD700;
    margin-bottom: 0.5rem;
}

/* Hemp Info Section Styles */
.hemp-info {
    margin: 3rem 0;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid #333;
}

.hemp-info h2 {
    color: #FFD700;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.info-block {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-block h3 {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-block p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-block ul, .info-block ol {
    margin: 1rem 0 1.5rem 2rem;
}

.info-block li {
    margin-bottom: 0.5rem;
}

.info-block strong {
    color: #FFD700;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #333;
}

footer a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #FFD700;
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    #animation-container {
        height: 50vh;
        min-height: 350px;
    }
    
    .hemp-info {
        padding: 1.5rem;
    }
    
    .hemp-info h2 {
        font-size: 1.6rem;
    }
    
    .info-block h3 {
        font-size: 1.3rem;
    }
}

/* Animation Effects */
@keyframes goldPulse {
    0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { text-shadow: 0 0 15px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
}

h1 {
    animation: goldPulse 3s infinite;
}
