/* NOSTARVE Project Plugin Styles */

/* Project Single Page */
.project-header {
    background: linear-gradient(135deg, #FDB813 0%, #FFD700 100%);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    color: #1A1A1A;
}

.project-title-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.project-download-section {
    display: block;
    margin-top: 1.5rem;
}

.inline-download-form {
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.form-input {
    flex: 1;
    min-width: 150px;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #FDB813;
}

.form-input.error {
    border-color: #dc3545;
}

.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.download-btn {
    background: #1A1A1A;
    color: #FDB813;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.download-info {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Project Images Carousel */
.project-images-section {
    margin: 2rem 0;
}

.project-images-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.project-images-carousel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.project-images-carousel .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-images-carousel .swiper-pagination-bullet {
    background: #FDB813;
}

.project-images-carousel .swiper-button-next,
.project-images-carousel .swiper-button-prev {
    color: #FDB813;
}

/* Download Modal */
.project-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #1A1A1A;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: #1A1A1A;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1A1A1A;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
    outline: none;
    border-color: #FDB813;
}

.download-status {
    margin-top: 1rem;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.download-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.download-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Project Tags and Categories */
.project-tags,
.project-categories {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.project-tags h4,
.project-categories h4 {
    margin-bottom: 0.5rem;
    color: #1A1A1A;
}

.tag-list,
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-list li,
.category-list li {
    background: #FDB813;
    color: #1A1A1A;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tag-list li a,
.category-list li a {
    color: #1A1A1A;
    text-decoration: none;
}

.tag-list li a:hover,
.category-list li a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .project-header {
        padding: 1.5rem;
    }
    
    .project-title-section h1 {
        font-size: 2rem;
    }
    
    .project-download-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .project-images-carousel .swiper-slide img {
        height: 250px;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .project-header {
        padding: 1rem;
    }
    
    .project-title-section h1 {
        font-size: 1.75rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
