/* Events Page Styles */

/* Page Banner */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Events Navigation */
.events-navigation {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.events-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.events-tabs ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.events-tabs li {
    padding: 0;
}

.events-tabs a {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.events-tabs li.active a {
    color: #ff7b00;
}

.events-tabs li.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #ff7b00;
}

.events-tabs a:hover {
    color: #ff7b00;
}

/* Section Styles */
.events-section {
    padding: 80px 0;
}

.events-section.bg-light {
    background-color: #f8f8f8;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #ff7b00, #ff5100);
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Events Filter */
.events-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-label {
    margin-right: 15px;
    font-weight: 500;
    color: #333;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #ff7b00;
    color: #fff;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: rgba(255, 123, 0, 0.9);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    z-index: 2;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

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

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

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

.event-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff7b00, #ff5100);
    color: #fff;
}

.event-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.event-image-placeholder p {
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
    margin: 0;
}

.event-details {
    padding: 20px;
}

.event-details h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
}

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

.event-meta span i {
    margin-right: 5px;
    color: #ff7b00;
}

.event-details p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}

/* Calendar Styles */
.calendar-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.month-selector {
    display: flex;
    align-items: center;
    gap: 20px;
}

.month-nav {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #ff7b00;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.month-nav:hover {
    background-color: rgba(255, 123, 0, 0.1);
}

.current-month {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f0f0f0;
    padding: 15px 0;
    text-align: center;
    font-weight: 500;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: minmax(80px, auto);
}

.calendar-day {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: right;
    position: relative;
}

.calendar-day.prev-month,
.calendar-day.next-month {
    color: #aaa;
    background-color: #f9f9f9;
}

.calendar-day.has-event {
    background-color: rgba(255, 123, 0, 0.1);
    font-weight: 500;
    cursor: pointer;
}

.calendar-day.has-event::after {
    content: attr(data-event);
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    font-size: 0.8rem;
    text-align: center;
    color: #ff7b00;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.festival-details {
    margin-top: 40px;
}

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

.festival-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.festival-date {
    font-weight: 500;
    color: #ff7b00;
    margin-bottom: 5px;
}

.festival-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.festival-description {
    color: #555;
    line-height: 1.5;
}

/* Workshops Styles */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.workshop-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.workshop-image {
    height: 200px;
    overflow: hidden;
}

.workshop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.workshop-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8e44ad, #3498db);
    color: #fff;
}

.workshop-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.workshop-image-placeholder p {
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
    margin: 0;
}

.workshop-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.workshop-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
}

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

.workshop-meta span i {
    margin-right: 5px;
    color: #8e44ad;
}

.workshop-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.workshop-details {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    margin-bottom: 8px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-weight: 500;
    width: 80px;
    color: #333;
}

.detail-value {
    color: #555;
}

.workshop-content .btn {
    margin-top: auto;
}

/* Retreats Styles */
.retreats-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.retreat-slide {
    display: none;
}

.retreat-slide.active {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .retreat-slide.active {
        flex-direction: row;
    }
}

.retreat-image {
    flex: 0 0 100%;
    height: 250px;
}

@media (min-width: 768px) {
    .retreat-image {
        flex: 0 0 40%;
        height: auto;
    }
}

.retreat-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.retreat-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: #fff;
}

.retreat-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.retreat-image-placeholder p {
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
    margin: 0;
}

.retreat-content {
    flex: 1;
    padding: 30px;
}

.retreat-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

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

.retreat-meta span i {
    margin-right: 5px;
    color: #2ecc71;
}

.retreat-content p {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
}

.retreat-highlights {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.retreat-highlights h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.retreat-highlights ul {
    margin: 0;
    padding-left: 20px;
}

.retreat-highlights li {
    margin-bottom: 8px;
    color: #555;
}

.retreat-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.retreat-nav {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #2ecc71;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.retreat-nav:hover {
    background-color: rgba(46, 204, 113, 0.1);
}

.retreat-indicators {
    display: flex;
    gap: 10px;
}

.retreat-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.retreat-indicators span.active {
    background-color: #2ecc71;
}

/* Submit Event Form */
.submit-event-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .submit-event-container {
        grid-template-columns: 2fr 1fr;
    }
}

.submit-event-form {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    border-color: #ff7b00;
    outline: none;
}

input[type="file"] {
    padding: 10px 0;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
}

.terms-checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-submit {
    margin-top: 30px;
}

.submit-event-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.3rem;
}

.info-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.info-card li {
    margin-bottom: 10px;
    color: #555;
}

.info-card p {
    color: #555;
    margin-bottom: 10px;
}

.info-card p i {
    margin-right: 8px;
    color: #ff7b00;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .events-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .festival-list {
        grid-template-columns: 1fr;
    }
    
    .workshops-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 767px) {
    .page-banner {
        height: 300px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .events-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .workshops-grid {
        grid-template-columns: 1fr;
    }
    
    .calendar-day {
        padding: 5px;
        font-size: 0.9rem;
    }
    
    .calendar-day.has-event::after {
        font-size: 0.7rem;
    }
}

@media (max-width: 575px) {
    .page-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .events-tabs a {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .event-details h3 {
        font-size: 1.2rem;
    }
    
    .current-month {
        font-size: 1.3rem;
    }
    
    .calendar-header {
        font-size: 0.8rem;
    }
    
    .calendar-day {
        height: 60px;
    }
    
    .retreat-content {
        padding: 20px;
    }
    
    .retreat-content h3 {
        font-size: 1.3rem;
    }
}

/* Enhanced Calendar System Styles */

/* Calendar System Selector */
.calendar-system-selector {
    margin-bottom: 30px;
}

.calendar-options {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.calendar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-family: inherit;
}

.calendar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #ff7b00;
}

.calendar-btn.active {
    background: linear-gradient(135deg, #ff7b00 0%, #ff5100 100%);
    color: white;
    border-color: #ff7b00;
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.3);
}

.calendar-btn i {
    font-size: 1.2rem;
}

.calendar-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Enhanced Calendar Controls */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.month-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.month-nav {
    background: #ff7b00;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.month-nav:hover {
    background: #ff5100;
    transform: scale(1.05);
}

.month-display {
    text-align: center;
    min-width: 200px;
}

.current-month {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.calendar-year {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2px;
}

.view-options {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 4px;
}

.view-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: #ff7b00;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 123, 0, 0.3);
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 15px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
}

.legend-title {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.legend-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #555;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-color.sankranti { background: #ff6b35; }
.legend-color.purnima { background: #ffd700; }
.legend-color.ekadashi { background: #4ecdc4; }
.legend-color.chaturdashi { background: #a8e6cf; }
.legend-color.festival { background: #ff7b00; }
.legend-color.amavasya { background: #6c5ce7; }

/* Enhanced Calendar Container */
.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 10px;
}

.day-header {
    text-align: center;
    padding: 15px 5px;
    font-weight: 600;
    color: #555;
    background: #f8f9fa;
    font-size: 0.9rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.calendar-day {
    background: white;
    min-height: 80px;
    padding: 8px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.02);
}

.calendar-day.prev-month,
.calendar-day.next-month {
    background: #f8f9fa;
    color: #ccc;
}

.calendar-day.today {
    background: linear-gradient(135deg, #ff7b00 0%, #ff5100 100%);
    color: white;
    font-weight: bold;
}

.calendar-day.today:hover {
    background: linear-gradient(135deg, #ff5100 0%, #ff3300 100%);
}

/* Special Date Highlights */
.calendar-day.sankranti {
    border-left: 4px solid #ff6b35;
}

.calendar-day.purnima {
    border-left: 4px solid #ffd700;
}

.calendar-day.ekadashi {
    border-left: 4px solid #4ecdc4;
}

.calendar-day.chaturdashi {
    border-left: 4px solid #a8e6cf;
}

.calendar-day.festival {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0b3 100%);
    border: 2px solid #ff7b00;
}

.calendar-day.amavasya {
    border-left: 4px solid #6c5ce7;
}

.day-number {
    font-weight: 500;
    margin-bottom: 4px;
}

.day-events {
    font-size: 0.7rem;
    color: #666;
    line-height: 1.2;
}

.day-lunar {
    font-size: 0.6rem;
    color: #888;
    margin-top: auto;
    font-style: italic;
}

/* List View */
.calendar-list-view {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff7b00;
    transition: all 0.2s ease;
}

.event-list-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.event-date-info {
    min-width: 100px;
    text-align: center;
}

.event-date-day {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7b00;
    line-height: 1;
}

.event-date-month {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

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

/* Month Highlights */
.month-highlights {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.month-highlights h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 1.3rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.highlight-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease;
}

.highlight-item:hover {
    transform: translateY(-2px);
}

.highlight-date {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ff7b00;
    margin-bottom: 8px;
}

.highlight-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.highlight-type {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Odia Calendar Specific */
.odia-calendar-info {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid #e6f3ff;
}

.odia-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.odia-month-info {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.odia-month-info h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.odia-month-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7b00;
    margin-bottom: 8px;
}

.odia-season {
    color: #666;
    font-style: italic;
}

.odia-special-days {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.odia-special-days h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.odia-special-days ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.odia-special-days li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.odia-special-days li:last-child {
    border-bottom: none;
}

/* Festival Timeline */
.festival-timeline {
    position: relative;
    padding-left: 30px;
}

.festival-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ff7b00, #ff5100);
}

.festival-timeline-item {
    position: relative;
    padding: 20px 0;
    margin-bottom: 15px;
}

.festival-timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: #ff7b00;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #ff7b00;
}

.festival-timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-left: 20px;
}

.festival-timeline-date {
    font-weight: bold;
    color: #ff7b00;
    margin-bottom: 8px;
}

.festival-timeline-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.festival-timeline-description {
    color: #666;
    line-height: 1.5;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .calendar-controls {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .calendar-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calendar-btn {
        min-width: auto;
        padding: 12px 15px;
    }
    
    .legend-items {
        justify-content: center;
    }
    
    .calendar-day {
        min-height: 60px;
        font-size: 0.8rem;
    }
    
    .day-events {
        font-size: 0.6rem;
    }
    
    .odia-info-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .calendar-options {
        grid-template-columns: 1fr;
    }
    
    .legend-items {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 4px;
    }
    
    .current-month {
        font-size: 1.2rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Interactive Calendar Enhancements */
.calendar-day {
    cursor: pointer;
    user-select: none;
}

.calendar-day:hover {
    background-color: #f0f7ff;
    border-color: #4ecdc4;
}

.calendar-day.today {
    background-color: #fff3e0;
    border: 2px solid #ff7b00;
    font-weight: bold;
}

.calendar-day.other-month {
    opacity: 0.3;
    color: #999;
}

.calendar-day .day-number {
    font-weight: 500;
    margin-bottom: 2px;
}

.calendar-day .day-events {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    min-height: 12px;
}

.event-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.event-dot.sankranti {
    background-color: #ff6b35;
}

.event-dot.purnima {
    background-color: #ffd700;
}

.event-dot.ekadashi {
    background-color: #4ecdc4;
}

.event-dot.chaturdashi {
    background-color: #a8e6cf;
}

.event-dot.amavasya {
    background-color: #9b59b6;
}

.event-dot.festival {
    background-color: #e74c3c;
}

/* Day Details Modal */
.day-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: white;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.event-detail {
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ddd;
}

.event-detail.sankranti {
    background-color: #fff3f0;
    border-left-color: #ff6b35;
}

.event-detail.purnima {
    background-color: #fffef0;
    border-left-color: #ffd700;
}

.event-detail.ekadashi {
    background-color: #f0fffc;
    border-left-color: #4ecdc4;
}

.event-detail.chaturdashi {
    background-color: #f0fff4;
    border-left-color: #a8e6cf;
}

.event-detail.amavasya {
    background-color: #f8f0ff;
    border-left-color: #9b59b6;
}

.event-detail.festival {
    background-color: #fdf2f2;
    border-left-color: #e74c3c;
}

.event-detail h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 1.1rem;
}

.event-detail p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* List View Styles */
.calendar-list-view {
    max-height: 600px;
    overflow-y: auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.list-day-container {
    border-bottom: 1px solid #f0f0f0;
}

.list-day-container:last-child {
    border-bottom: none;
}

.list-day-header {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #ff7b00;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.list-day-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff7b00;
}

.list-day-name {
    color: #666;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.list-month-year {
    color: #888;
    font-size: 0.9rem;
}

.list-events-container {
    padding: 10px 20px 20px;
}

.list-event {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.list-event:last-child {
    border-bottom: none;
}

.list-event-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.list-event.sankranti .list-event-indicator {
    background-color: #ff6b35;
}

.list-event.purnima .list-event-indicator {
    background-color: #ffd700;
}

.list-event.ekadashi .list-event-indicator {
    background-color: #4ecdc4;
}

.list-event.chaturdashi .list-event-indicator {
    background-color: #a8e6cf;
}

.list-event.amavasya .list-event-indicator {
    background-color: #9b59b6;
}

.list-event.festival .list-event-indicator {
    background-color: #e74c3c;
}

.list-event-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1rem;
}

.list-event-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Event Submission Success */
.submission-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease-out;
}

.success-content i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.success-content h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.success-content p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
}

/* Enhanced Highlight Cards */
.highlight-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.highlight-date {
    text-align: center;
    min-width: 50px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #ff7b00;
}

.highlight-day {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff7b00;
    line-height: 1;
}

.highlight-month {
    display: block;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    margin-top: 2px;
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    margin: 0 0 5px 0;
    font-size: 1rem;
    color: #333;
}

.highlight-content h4.sankranti {
    color: #ff6b35;
}

.highlight-content h4.purnima {
    color: #ff8c00;
}

.highlight-content h4.ekadashi {
    color: #4ecdc4;
}

.highlight-content h4.chaturdashi {
    color: #27ae60;
}

.highlight-content h4.amavasya {
    color: #9b59b6;
}

.highlight-content h4.festival {
    color: #e74c3c;
}

.highlight-content p {
    margin: 0 0 5px 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.highlight-content small {
    color: #999;
    font-style: italic;
}

/* Mobile Optimizations for Interactive Features */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .list-day-header {
        padding: 12px 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .list-events-container {
        padding: 10px 15px 15px;
    }
    
    .highlight-card {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-date {
        align-self: center;
    }
    
    .calendar-day .day-events {
        gap: 1px;
    }
    
    .event-dot {
        width: 4px;
        height: 4px;
    }
}

@media (max-width: 480px) {
    .calendar-day {
        min-height: 45px;
        padding: 2px;
    }
    
    .calendar-day .day-number {
        font-size: 0.85rem;
    }
    
    .success-content {
        padding: 30px 20px;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
}