/* Base Styles */
:root {
    --primary-color: #00A3FF;
    --secondary-color: #4CAF50;
    --accent-color: #8BC34A;
    --dark-color: #2C3E50;
    --light-color: #F5F9FC;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f9f9f9;
    --card-background: white;
    --border-radius: 10px;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* Header Styles */
header {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

header h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--dark-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover:after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.headline {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.highlight {
    color: var(--primary-color);
}

.subheadline {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 30px;
    font-size: 1.1rem;
    transition: var(--transition);
    margin-bottom: 20px;
}

.cta-button:hover {
    background-color: #0087d5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 163, 255, 0.3);
}

.no-signup {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Strain Explorer Section */
.strains-explorer {
    padding: 80px 0;
    background-color: var(--light-color);
}

.search-container {
    display: flex;
    margin: 30px 0;
    max-width: 600px;
}

#strain-search {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
    outline: none;
}

#search-btn {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
}

.filter-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter label {
    font-weight: 600;
}

.filter select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
}

.strain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.strain-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.strain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.strain-img {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.strain-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.strain-card p {
    padding: 0 20px 20px;
    color: var(--light-text);
}

.strain-type {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0 20px 20px;
}

.sativa {
    background-color: #ffecb3;
    color: #ff6f00;
}

.indica {
    background-color: #e1f5fe;
    color: #0288d1;
}

.hybrid {
    background-color: #e8f5e9;
    color: #388e3c;
}

.loading-card {
    animation: pulse 1.5s infinite alternate;
}

.placeholder {
    background-color: #eee;
}

.placeholder-text {
    height: 20px;
    background-color: #eee;
    margin: 10px 0;
    border-radius: 4px;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

#strain-details {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    box-shadow: var(--shadow);
}

#back-to-results {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.strain-detail-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.hidden {
    display: none;
}

/* Research Section */
.research-section {
    padding: 80px 0;
    background-color: white;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.research-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.research-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.chart-container {
    margin: 20px 0;
    height: 200px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.read-more:hover {
    text-decoration: underline;
}

/* Market Section */
.market-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.market-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.market-card {
    background-color: var(--card-background);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.market-card h3 {
    margin-bottom: 20px;
}

#stocks-table {
    width: 100%;
    border-collapse: collapse;
}

#stocks-table th, #stocks-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

#stocks-table th {
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.9rem;
}

.positive-change {
    color: #4CAF50;
}

.negative-change {
    color: #F44336;
}

.map-placeholder {
    height: 300px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    border-radius: var(--border-radius);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.about-text p {
    margin-bottom: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #eee;
    margin: 0 auto 15px;
}

.team-member h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member p {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter-section h2 {
    margin-bottom: 15px;
}

.newsletter-section p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1rem;
}

#newsletter-form button {
    padding: 15px 30px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .headline {
        font-size: 2.2rem;
    }
    
    nav {
        display: none;
    }
    
    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .strain-detail-content {
        grid-template-columns: 1fr;
    }
    
    #newsletter-form {
        flex-direction: column;
    }
    
    #newsletter-form input,
    #newsletter-form button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 1.8rem;
    }
    
    .research-grid,
    .market-dashboard {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-direction: column;
    }
}
