/* Custom Styles - Extracted from inline styles */

/* Header Scroll Effect */
header.header-scrolled {
    background: rgba(91, 107, 159, 0.95) !important;
}

/* Resources Page */
.resources-section {
    padding: 4rem 2rem;
    min-height: 80vh;
}

.resources-container {
    max-width: 1200px;
    margin: 0 auto;
}

.resources-title {
    text-align: center;
    color: #5a6a9e;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.resources-subtitle {
    text-align: center;
    color: #5a6a9e;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.resources-section-title {
    color: #5a6a9e;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.resources-empty {
    text-align: center;
    padding: 3rem;
}

.resources-empty-text {
    color: white;
    font-size: 1.1rem;
}

/* Event Registration Page */
.event-registration-section {
    padding: 4rem 2rem;
    min-height: 80vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.event-registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.event-detail-icon-color {
    color: #5b6b9f;
}

.event-detail-text-color {
    color: #333;
}

.organizer-logo-wrapper {
    flex-shrink: 0;
}

.organizer-description-text {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.organizer-contact-icon {
    color: #5b6b9f;
    margin-top: 0.2rem;
}

.organizer-address-text {
    color: #666;
}

.organizer-social-link-icon {
    color: #5b6b9f;
    font-size: 1.2rem;
    text-decoration: none;
}

.alert-success-message {
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.alert-error-list {
    margin-top: 0.5rem;
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-input-blur:focus {
    border-color: #e0e0e0;
}

.submit-button-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 107, 159, 0.4);
}

.submit-button-normal {
    transform: translateY(0);
    box-shadow: none;
}

.event-not-found-icon-large {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.event-not-found-text-color {
    color: #666;
    margin-bottom: 2rem;
}

.footer-simple {
    background: #2c3e50;
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.event-card-wrapper {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.event-title {
    color: #5b6b9f;
    margin-bottom: 1rem;
}

.event-description {
    color: #666;
    margin-bottom: 1rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-detail-icon {
    color: #5b6b9f;
}

.event-detail-text {
    color: #333;
}

.event-registrations-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.organizer-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.organizer-header {
    color: #5b6b9f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.organizer-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.organizer-logo-wrapper {
    flex-shrink: 0;
}

.organizer-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.organizer-info {
    flex: 1;
    min-width: 200px;
}

.organizer-name {
    color: #333;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.organizer-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.organizer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.organizer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.organizer-contact-link {
    color: #5b6b9f;
    text-decoration: none;
}

.organizer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.organizer-social-link {
    color: #5b6b9f;
    font-size: 1.2rem;
    text-decoration: none;
}

.registration-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.registration-form-title {
    color: #5b6b9f;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #f5c6cb;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: #333;
    font-weight: 600;
}

.form-input {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-textarea {
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-textarea:focus {
    border-color: #5b6b9f;
    outline: none;
}

.form-help-text {
    color: #666;
}

.submit-button {
    background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 107, 159, 0.4);
}

.event-not-found {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.event-not-found-icon {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.event-not-found-title {
    color: #5b6b9f;
    margin-bottom: 1rem;
}

.event-not-found-text {
    color: #666;
    margin-bottom: 2rem;
}

.back-to-events-link {
    display: inline-block;
    background: linear-gradient(135deg, #5b6b9f 0%, #4a5a8a 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

/* Index Page - About Section */
.about-vision-title {
    margin-top: 2rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image-placeholder {
    font-size: 120px;
    text-align: center;
}

/* Event Cards */
.event-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.event-card-content {
    padding: 1.5rem;
}

.event-date {
    display: block;
    margin-bottom: 0.5rem;
}

.event-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.event-registrations-info {
    color: #666;
    font-size: 0.9rem;
}

.event-register-btn {
    background: #5b6b9f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.event-register-btn:hover {
    background: #4a5a8a;
}

/* Admin Views - Common Styles */
.admin-image-preview {
    max-height: 100px;
}

.admin-image-preview-circle {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.admin-image-preview-rounded {
    width: 60px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.admin-image-placeholder {
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}

.admin-image-placeholder-rounded {
    background-color: #f8f9fa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 40px;
}

/* Resource Card Styles */
.resource-card {
    cursor: pointer;
}

.resource-card.disabled {
    cursor: not-allowed;
}

.resource-card-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.resource-author {
    font-size: 0.85rem;
    color: white;
}

.resources-featured-section {
    margin-bottom: 4rem;
}

/* Communities Page */
.communities-section {
    padding: 4rem 2rem;
    min-height: 80vh;
}

.communities-container {
    max-width: 1200px;
    margin: 0 auto;
}

.communities-title {
    text-align: center;
    color: #5a6a9e;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.communities-subtitle {
    text-align: center;
    color: #5a6a9e;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.community-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.community-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.community-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
}

.community-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid #e0e0e0;
    padding: 0.5rem;
}

.community-logo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border: 3px solid #e0e0e0;
    font-size: 2.5rem;
    color: #5b6b9f;
}

.community-name {
    color: #5b6b9f;
    margin: 0;
    font-size: 1.5rem;
}

.community-card-body {
    color: #333;
}

.community-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.community-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.community-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community-contact-icon {
    color: #5b6b9f;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.community-contact-link {
    color: #5b6b9f;
    text-decoration: none;
    transition: color 0.3s;
}

.community-contact-link:hover {
    color: #4a5a8a;
    text-decoration: underline;
}

.community-address-text {
    color: #666;
}

.community-social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.community-social-link {
    color: #5b6b9f;
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
}

.community-social-link:hover {
    color: #4a5a8a;
    transform: translateY(-3px);
}

.communities-empty {
    text-align: center;
    padding: 3rem;
}

.communities-empty-text {
    color: #5a6a9e;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .resources-title {
        font-size: 2rem;
    }

    .resources-section-title {
        font-size: 1.5rem;
    }

    .event-registration-section {
        padding: 2rem 1rem;
    }

    .organizer-content {
        flex-direction: column;
    }

    .communities-title {
        font-size: 2rem;
    }

    .communities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .communities-section {
        padding: 2rem 1rem;
    }
}

