/* presentations.css - Styles for workshop presentations */

.presentation-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.presentation-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.presentation-header h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.presentation-header .author {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 15px;
}

.presentation-nav {
    margin-top: 15px;
}

.nav-button, .download-button {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.nav-button:hover, .download-button:hover {
    background-color: #2980b9;
}

.download-button {
    background-color: #27ae60;
}

.download-button:hover {
    background-color: #219653;
}

.presentation-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

#slide-counter {
    font-size: 14px;
    color: #7f8c8d;
}

.slides-container {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px;
    min-height: 400px;
    position: relative;
}

.slide {
    display: none;
}

.slide h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.slide-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.slide-text {
    flex: 1;
    min-width: 300px;
}

.slide-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.presentation-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.herb-link {
    color: #16a085;
    text-decoration: none;
    border-bottom: 1px dotted #16a085;
}

.herb-link:hover {
    color: #1abc9c;
    border-bottom: 1px solid #1abc9c;
}

/* Related herbs section */
.related-herbs {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.herbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.herb-card {
    background-color: white;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.herb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.herb-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c3e50;
}

.herb-card a {
    color: #16a085;
    text-decoration: none;
}

.herb-card a:hover {
    text-decoration: underline;
}

.database-link {
    text-align: center;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .slide-content {
        flex-direction: column;
    }
    
    .presentation-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .herbs-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}