/* Announcement Detail Page */
/* ================= New Styles for Announcement Detail ================= */

/* Key Details Section */
.key-details-section {
    background: #f9f7f3;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #8b5a2b;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.key-details-section h3 {
    color: #3a2a1f;
    margin-top: 0;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.key-details-section h3 i {
    color: #8b5a2b;
}

.key-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #e0d6c9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    color: #8b5a2b;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 24px;
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    color: #8b5a2b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.detail-value {
    display: block;
    color: #3a2a1f;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-share-mini {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.social-share-mini a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f0e6d9;
    color: #8b5a2b;
    transition: all 0.3s ease;
}

.social-share-mini a:hover {
    background: #8b5a2b;
    color: white;
    transform: translateY(-2px);
}

/* Related Events Section */
.related-events-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #f0e6d9;
    border-bottom: 1px solid #f0e6d9;
}

.related-events-section h3 {
    color: #3a2a1f;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-events-section h3 i {
    color: #8b5a2b;
}

.related-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-event-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0e6d9;
}

.related-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-event-image {
    height: 160px;
    overflow: hidden;
}

.related-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-event-card:hover .related-event-image img {
    transform: scale(1.05);
}

.related-event-content {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-event-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.related-event-meta {
    font-size: 0.85rem;
    color: #8b5a2b;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-event-meta i {
    font-size: 0.9rem;
}

.related-event-link {
    margin-top: auto;
    color: #8b5a2b;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
}

.related-event-link:hover {
    color: #6b4720;
    text-decoration: none;
}

.related-event-link i {
    transition: transform 0.2s ease;
}

.related-event-link:hover i {
    transform: translateX(3px);
}

.loading-related {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #8b5a2b;
    font-style: italic;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d9 100%);
    border-radius: 10px;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png') repeat;
    opacity: 0.1;
    z-index: 0;
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-section h3 {
    color: #3a2a1f;
    font-size: 1.8rem;
    margin: 0 0 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.cta-section p {
    color: #6d5c4b;
    max-width: 600px;
    margin: 0 auto 1.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: #8b5a2b;
    color: white;
}

.btn-primary:hover {
    background: #6b4720;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 90, 43, 0.2);
}

.btn-outline {
    background: transparent;
    border-color: #8b5a2b;
    color: #8b5a2b;
}

.btn-outline:hover {
    background: rgba(139, 90, 43, 0.1);
    transform: translateY(-2px);
}

/* Updated Tags Section */
.announcement-tags {
    margin: 2rem 0 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0e6d9;
}

.tags-label {
    font-size: 0.9rem;
    color: #8b5a2b;
    font-weight: 500;
    margin-right: 0.3rem;
}

.announcement-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: #f5efe8;
    color: #8b5a2b;
    border-radius: 50px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #e0d6c9;
}

.announcement-tag:hover {
    background: #8b5a2b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .key-details-grid {
        grid-template-columns: 1fr;
    }
    
    .related-events-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
}

/* ================= End of New Styles ================= */
.announcement-detail-container {
    max-width: 1100px;
    margin: 2rem auto 4rem;
    padding: 0 20px;
}

.announcement-detail {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.announcement-header {
    padding: 3rem 3rem 1.5rem;
    position: relative;
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d9 100%);
    border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.announcement-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.announcement-header h1 {
    font-size: 2.5rem;
    color: #3a2a1f;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.5px;
    flex: 1 1 100%;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.announcement-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(139, 90, 43, 0.1);
    color: #8b5a2b;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.status-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-left: 1rem;
}

.status-published {
    background-color: #e3f7e9;
    color: #0a5c36;
}

.status-draft {
    background-color: #fff3cd;
    color: #856404;
}

.status-archived {
    background-color: #f8f9fa;
    color: #6c757d;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    color: #6c757d;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    padding: 1rem 0;
    border-top: 1px dashed rgba(139, 90, 43, 0.15);
    border-bottom: 1px dashed rgba(139, 90, 43, 0.15);
}

.announcement-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5a5a5a;
    font-size: 0.95rem;
}

.announcement-meta i {
    color: #8b5a2b;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.announcement-meta .divider {
    color: #ddd;
    font-size: 1.2rem;
    line-height: 1;
    opacity: 0.7;
}

.featured-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: #f8e5b9;
    color: #8b5a2b;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.announcement-hero {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}

.announcement-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 600px;
    transition: transform 0.5s ease;
}

.announcement-hero:hover .announcement-hero-image {
    transform: scale(1.02);
}

.announcement-content {
    padding: 0 3rem 3rem;
}

.announcement-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #3a3a3a;
    margin: 2rem 0 3rem;
    padding: 0 1rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.announcement-description:before {
    content: '"';
    font-size: 4rem;
    color: rgba(139, 90, 43, 0.1);
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.5;
}

.announcement-main-content {
    margin-top: 3rem;
    line-height: 1.8;
    color: #444;
    font-size: 1.05rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.announcement-main-content h2 {
    color: #3a2a1f;
    margin: 2.5rem 0 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 0.8rem;
}

.announcement-main-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5a2b, #d4a76a);
    border-radius: 3px;
}

.announcement-main-content h3 {
    color: #4a3428;
    margin: 2rem 0 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.announcement-main-content h4 {
    color: #5a4a3a;
    margin: 1.8rem 0 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.announcement-main-content p {
    margin-bottom: 1.5rem;
    color: #4a4a4a;
    line-height: 1.8;
}

.announcement-main-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-main-content img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.announcement-main-content a {
    color: #8b5a2b;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 90, 43, 0.3);
    transition: all 0.2s ease;
}

.announcement-main-content a:hover {
    color: #6b3f1f;
    border-bottom-color: #8b5a2b;
}

.announcement-main-content ul,
.announcement-main-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.announcement-main-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.announcement-main-content ul li:before {
    content: '•';
    color: #8b5a2b;
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.announcement-main-content blockquote {
    border-left: 4px solid #8b5a2b;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: #f9f5f0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5a4a3a;
    position: relative;
}

.announcement-main-content blockquote:before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(139, 90, 43, 0.1);
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}

.announcement-footer {
    margin-top: 4rem;
    padding: 2.5rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.announcement-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: #f9f5f0;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(139, 90, 43, 0.1);
}

.share-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.share-buttons span {
    color: #5a4a3a;
    font-size: 0.95rem;
    font-weight: 500;
    margin-right: 0.5rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.share-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.share-btn:hover:before {
    opacity: 1;
}

.share-btn i {
    position: relative;
    z-index: 1;
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.whatsapp { background-color: #25D366; }
.share-btn.email { background-color: #8b5a2b; }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-announcements {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #8b5a2b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
}

.back-to-announcements i {
    transition: transform 0.2s ease;
}

.back-to-announcements:hover {
    color: #6b3f1f;
}

.back-to-announcements:hover i {
    transform: translateX(-3px);
}

.announcement-meta-footer {
    font-size: 0.9rem;
    color: #6c757d;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

.announcement-meta-footer i {
    color: #8b5a2b;
    margin-right: 0.5rem;
}

.announcement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.announcement-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 90, 43, 0.1);
    color: #8b5a2b;
    border-radius: 4px;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.announcement-tag:hover {
    background: rgba(139, 90, 43, 0.2);
    color: #6b3f1f;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .announcement-header {
        padding: 2rem 1.5rem 1rem;
    }
    
    .announcement-header h1 {
        font-size: 2rem;
    }
    
    .announcement-content {
        padding: 0 1.5rem 2rem;
    }
    
    .announcement-description {
        font-size: 1.1rem;
        padding: 0;
    }
    
    .announcement-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .announcement-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    
    .share-section {
        width: 100%;
        justify-content: space-between;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        display: inline-flex;
        margin-top: 1rem;
    }
}

/* Print Styles */
@media print {
    .announcement-detail {
        box-shadow: none;
        border: 1px solid #eee;
    }
    
    .announcement-actions,
    .share-buttons {
        display: none;
    }
    
    .announcement-content {
        padding: 1rem 0;
    }
}

.breadcrumb a {
    color: #8B4513; /* Coffee color */
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #5d2e0f; /* Darker coffee color */
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

/* Announcement Detail */
.announcement-detail {
    padding: 50px 0;
    background-color: #fff;
}

.announcement-article {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.announcement-header {
    padding: 30px 30px 20px;
    position: relative;
    border-bottom: 1px solid #eee;
}

.featured-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-badge i {
    margin-right: 5px;
}

.announcement-title {
    font-size: 2.2rem;
    margin: 0 0 15px;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

.announcement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    color: #8B4513; /* Coffee color */
    width: 16px;
    text-align: center;
}

/* Announcement Image */
.announcement-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-image:hover img {
    transform: scale(1.02);
}

/* Announcement Content */
.announcement-content {
    padding: 30px;
    line-height: 1.8;
    color: #444;
}

.announcement-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    white-space: pre-line;
}

.additional-info {
    background-color: #f9f9f9;
    border-left: 3px solid #8B4513; /* Coffee color */
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

.additional-info h3 {
    margin-top: 0;
    color: #333;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Gallery */
.announcement-gallery {
    margin-top: 40px;
}

.announcement-gallery h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-bottom: 10px;
}

.announcement-gallery h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 2px;
    background-color: #8B4513; /* Coffee color */
}

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

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Announcement Footer */
.announcement-footer {
    padding: 20px 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background-color: #fafafa;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-buttons span {
    font-weight: 500;
    color: #555;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn i {
    font-size: 1rem;
}

.facebook { background-color: #3b5998; }
.twitter { background-color: #1da1f2; }
.email { background-color: #8B4513; } /* Coffee color */

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #8B4513; /* Coffee color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-back:hover {
    background-color: #6d360a; /* Darker coffee color */
    transform: translateY(-2px);
    color: white;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff8f8;
    border: 1px solid #ffdddd;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.error-message i {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.error-message p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 20px;
}

.error-message .btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #8B4513; /* Coffee color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.error-message .btn:hover {
    background-color: #6d360a; /* Darker coffee color */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(139, 69, 19, 0.8); /* Semi-transparent coffee color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #8B4513; /* Solid coffee color on hover */
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .announcement-title {
        font-size: 1.8rem;
    }
    
    .announcement-image {
        height: 400px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .announcement-header {
        padding: 20px 20px 15px;
    }
    
    .announcement-title {
        font-size: 1.6rem;
    }
    
    .announcement-content {
        padding: 20px;
    }
    
    .announcement-image {
        height: 300px;
    }
    
    .announcement-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .announcement-title {
        font-size: 1.4rem;
    }
    
    .announcement-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .announcement-image {
        height: 250px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top i {
        font-size: 0.9rem;
    }
}



        :root {
            --primary-color: #4a3428; /* Coffee brown */
            --secondary-color: #8b5a2b; /* Lighter brown */
            --accent-color: #d4a76a; /* Gold accent */
            --text-light: #f5f5f5;
            --text-dark: #333333;
            --bg-light: #f9f5f0;
            --transition: all 0.3s ease;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--bg-light);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Contact Page Styles */
        .contact-hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/gallery-hero.jpg') center/cover no-repeat;
            color: white;
            padding: 150px 0 100px;
            text-align: center;
            margin-top: 80px;
        }

        .contact-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .contact-container {
            padding: 80px 0;
            background-color: white;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .contact-info {
            padding: 20px;
        }

        .contact-info h2 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            font-size: 2rem;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }

        .contact-info h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .contact-details {
            margin-bottom: 40px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }

        .contact-icon {
            width: 50px;
            height: 50px;
            background-color: var(--bg-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: var(--primary-color);
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .contact-text h4 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            margin-bottom: 5px;
            font-size: 1.1rem;
        }

        .contact-text p, 
        .contact-text a {
            color: #666;
            text-decoration: none;
            line-height: 1.6;
            transition: var(--transition);
        }

        .contact-text a:hover {
            color: var(--accent-color);
        }

        .social-media h3 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            margin-bottom: 20px;
            font-size: 1.3rem;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--bg-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 1.1rem;
            transition: var(--transition);
        }

        .social-link:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-3px);
        }

        .contact-form {
            background-color: var(--bg-light);
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .contact-form h2 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 15px;
        }

        .contact-form h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .map-container {
            margin-top: 60px;
            height: 400px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Header */
        header {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .main-nav ul {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        
        .main-nav li {
            margin-left: 30px;
            position: relative;
        }
        
        .main-nav a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            padding: 5px 0;
            transition: var(--transition);
            position: relative;
        }
        
        .main-nav a:after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            bottom: 0;
            left: 0;
            transition: var(--transition);
        }
        
        .main-nav a:hover:after,
        .main-nav a.active:after {
            width: 100%;
        }
        
        .main-nav a:hover,
        .main-nav a.active {
            color: var(--accent-color);
        }
        
        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .logo img {
            height: 50px;
            margin-right: 15px;
        }
        
        .logo-text {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        /* Main Content */
        main {
            margin-top: 100px;
            padding: 40px 0;
            min-height: calc(100vh - 200px);
            display: flex;
            align-items: flex-start;
        }
        
        .page-title {
            text-align: center;
            margin-bottom: 40px;
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            position: relative;
            padding-bottom: 15px;
        }
        
        .page-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        /* Main Layout */
        .main-container {
            display: flex;
            gap: 40px;
            width: 100%;
        }
        
        /* Events Section */
        .events-section {
            flex: 2;
        }
        
        .events-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
        }
        
        .event-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            display: flex;
            align-items: stretch;
        }
        
        .event-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .event-card:hover .select-indicator {
            color: var(--accent-color);
            border-color: var(--accent-color);
        }
        
        .event-image {
            width: 40%;
            height: auto;
            object-fit: cover;
        }
        
        .event-details {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .event-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
        
        .event-date, .event-location {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
            color: #666;
            font-size: 0.95rem;
        }
        
        .event-date i, .event-location i {
            margin-right: 8px;
            color: var(--secondary-color);
        }
        
        .event-description {
            margin: 15px 0;
            color: #555;
            font-size: 0.95rem;
        }
        
        .btn-select {
            display: inline-block;
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            border: 2px solid var(--primary-color);
            width: 100%;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .select-indicator {
            margin-top: auto;
            padding: 12px 0 0;
            text-align: center;
            color: var(--primary-color);
            font-weight: 500;
            font-size: 0.9rem;
            border-top: 1px dashed #ddd;
            transition: var(--transition);
        }

        .event-card {
            transition: all 0.3s ease;
            border: 2px solid transparent;
            border-radius: 8px;
            overflow: hidden;
        }

        .event-card.selected {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 2px var(--accent-color);
            transform: translateY(-2px);
        }

        .btn-submit:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
            opacity: 0.7;
        }
        
        .btn-view:hover {
            background-color: transparent;
            color: var(--primary-color);
        }
        
        /* Login Section */
        .login-section {
            flex: 1;
            position: sticky;
            top: 120px;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            margin-top: 20px;
        }
        
        .login-section h2 {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            margin-bottom: 25px;
            text-align: center;
            font-size: 1.8rem;
        }
        
        /* Login Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 2000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .modal.show {
            display: flex;
            opacity: 1;
        }
        
        .modal-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            width: 100%;
            max-width: 450px;
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .modal.show .modal-content {
            transform: translateY(0);
        }
        
        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 1.5rem;
            background: none;
            border: none;
            cursor: pointer;
            color: #888;
            transition: var(--transition);
        }
        
        .close-modal:hover {
            color: var(--primary-color);
        }
        
        .modal-title {
            font-family: 'Playfair Display', serif;
            color: var(--primary-color);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(74, 52, 40, 0.1);
        }
        
        .btn-submit {
            width: 100%;
            padding: 12px;
            background-color: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn-submit:hover {
            background-color: var(--secondary-color);
        }
        
        /* Footer */
        footer {
            background-color: var(--primary-color);
            color: var(--text-light);
            padding: 30px 0;
            text-align: center;
        }
        
        .footer-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .footer-logo {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            margin-bottom: 15px;
            display: inline-block;
        }
        
        .footer-links {
            margin: 5px 0;
        }
        
        .footer-links a {
            color: var(--text-light);
            margin: 0 10px;
            text-decoration: none;
            transition: var(--transition);
        }
        
        /* Footer */
        .site-footer {
            background-color: var(--primary-color);
            color: white;
            padding: 60px 0 20px;
            margin-top: 60px;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-logo {
            flex: 1;
            min-width: 250px;
        }
        
        .footer-logo .logo {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .footer-logo .logo img {
            height: 40px;
            margin-right: 10px;
        }
        
        .footer-logo .logo-text {
            color: white;
            font-size: 1.3rem;
        }
        
        .footer-tagline {
            font-size: 1rem;
            opacity: 0.9;
            margin-top: 10px;
            line-height: 1.6;
        }
        
        .footer-links {
            flex: 1;
            flex-wrap: wrap;
            text-align: left;
        }
        
        .footer-section {
            flex: 1;
            min-width: 180px;
        }
        
        /* Footer Styles */
        .site-footer {
            background-color: #1a1a1a;
            color: #ffffff;
            padding: 70px 0 0;
            font-size: 15px;
            line-height: 1.7;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .footer-column {
            padding: 0 15px;
        }
        
        .footer-column h3 {
            color: var(--accent-color);
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
            font-family: 'Playfair Display', serif;
        }
        
        .footer-column h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: var(--accent-color);
        }
        
        .footer-logo a {
            display: flex;
            align-items: center;
            color: #ffffff;
            font-size: 22px;
            font-weight: 700;
            margin-bottom: 20px;
            text-decoration: none;
        }
        
        .footer-logo img {
            height: 40px;
            margin-right: 10px;
        }
        
        .footer-description {
            margin-bottom: 25px;
            color: #b3b3b3;
            line-height: 1.6;
            text-align: left;
        }
        
        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .footer-links li {
            margin-bottom: 12px;
            position: relative;
            padding-left: 20px;
        }
        
        .footer-links li:before {
            content: '\f054';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            top: 6px;
            color: var(--accent-color);
            font-size: 10px;
        }
        
        .footer-links a {
            color: #b3b3b3;
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
        }
        
        .footer-links a:hover {
            color: var(--accent-color);
            padding-left: 5px;
        }
        
        .contact-info {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: left;
        }
        
        .contact-info li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            color: #b3b3b3;
        }
        
        .contact-info i {
            color: var(--accent-color);
            margin-right: 15px;
            margin-top: 5px;
            width: 16px;
            text-align: center;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin: 20px 0;
            justify-content: flex-start;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50%;
            color: #ffffff;
            font-size: 18px;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }
        
        .payment-methods {
            margin-top: 25px;
        }
        
        .payment-methods h4 {
            font-size: 14px;
            margin-bottom: 10px;
            color: #b3b3b3;
        }
        
        .payment-icons {
            display: flex;
            gap: 10px;
        }
        
        .payment-icons i {
            font-size: 30px;
            color: #666;
            transition: all 0.3s ease;
        }
        
        .payment-icons i:hover {
            color: var(--accent-color);
        }
        
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-column {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-column {
                text-align: center;
                padding: 0;
            }
            
            .footer-column h3:after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-logo a {
                justify-content: center;
            }
            
            .footer-links li {
                text-align: left;
                padding-left: 25px;
            }
            
            .contact-info {
                max-width: 300px;
                margin: 0 auto;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .footer-legal {
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .social-links {
                justify-content: center;
            }
        }
        
        
        .copyright {
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        /* Responsive */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .footer-column {
                margin-bottom: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .event-card {
                flex-direction: column;
            }
            
            .event-image {
                width: 100%;
                height: 200px;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-column {
                text-align: center;
                padding: 0;
            }
            
            .footer-column h3:after {
                left: 50%;
                transform: translateX(-50%);
            }
            
            .footer-logo a {
                justify-content: center;
            }
            
            .social-links {
                justify-content: center;
            }
            
            .footer-links li {
                text-align: left;
                padding-left: 25px;
            }
            
            .contact-info {
                max-width: 300px;
                margin: 0 auto;
            }
            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .footer-legal {
                justify-content: center;
                flex-wrap: wrap;
            }
        }
        
        @media (max-width: 992px) {
            .main-container {
                flex-direction: column;
            }
            
            .login-section {
                position: static;
                margin-top: 40px;
            }
            
            .event-card {
                max-width: 600px;
                margin-left: auto;
                margin-right: auto;
            }
        }
        
        @media (max-width: 768px) {
            .events-grid {
                grid-template-columns: 1fr;
            }
            
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            .logo {
                margin-bottom: 10px;
            }
            
            main {
                margin-top: 140px;
            }
        }
  