@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.fade-in-right {
    animation: slideInRight 0.8s ease-out;
}

.fade-in-text {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.fade-in-text:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in-text:nth-child(3) {
    animation-delay: 0.4s;
}

.create-event-btn {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.create-event-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(45deg, #059669, #047857);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #089f6f 0%, #764ba2 100%);
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.7;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #f8fafc;
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

/* Main Content */
.main {
    padding: 4rem 0;
    animation: fadeInUp 1s ease-out;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

/* Event Content */
.event-content {
    border-radius: 5px;
    overflow: hidden;
    padding: 15px 20px !important;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
    /* animation: slideInLeft 0.8s ease-out; */
}

.event-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}



.date-badge {
    background: var(--linear-gradient-2);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    /* animation: pulse 2s infinite; */
}

.month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

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

.event-title-section {
    flex: 1;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c !important;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #718096;
    font-size: 0.9rem;
}

.views {
    color: #4a5568;
}

.free-badge {
    background: #10b981;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 2rem;
    /* opacity: 0; */
    transition: opacity 0.3s ease;
}

.event-image:hover .image-overlay {
    opacity: 1;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.alert-btn {
    color: var(--secondary-color);
}

.share-btn {
    color: var(--secondary-color);
}

.event-description {
    padding: 2rem 0;
}

.event-description h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.event-description p {
    margin-bottom: 1.5rem;
    color: #4a5568;
    line-height: 1.8;
}

.event-highlights {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.additional-info {
    padding: 2rem;
    background: #f8fafc;
}

.additional-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    /* margin-bottom: 1rem; */
    margin-top: 2rem;
}

.info-item span {
    font-size: 14px !important;
}

.additional-info h3:first-child {
    margin-top: 0;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 1rem; */
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
    color: #10b981;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.organizer-section {
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.organizer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.organizer-card {
    margin-bottom: 20px;
}

/* .organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
} */

.organizer-avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 10px;
}

.organizer-avatar i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.organizer-avatar h4 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.organizer-info p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.organizer-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-direction: column;
}

.visit-profile-btn,
.connect-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.visit-profile-btn {
    background: #089f6f;
    color: white;
}

.visit-profile-btn:hover {
    transform: translateY(-2px);
}

.connect-btn {
    background: #089f6f;
    color: white;
}

.connect-btn:hover {
    background: #059669;
    transform: translateY(-2px);
}

/* Event Sidebar */
.event-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideInRight 0.8s ease-out;
}

.sidebar-card {
    background: white;
    border-radius: 5px;
    padding: 2rem;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}

.sidebar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    padding-bottom: 1rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.detail-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--linear-gradient-2);
    /* background: linear-gradient(135deg, #10b981, rgb(237, 218, 255)); */
    /* background: linear-gradient(135deg, rgb(102, 126, 234), rgb(118, 75, 162)); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.detail-content {
    flex: 1;
}

.detail-label {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.detail-content strong {
    color: #1a202c;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.view-profile,
.download-link {
    color: #089f6f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-profile:hover,
.download-link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

.pricing-section {
    /* padding-top: 2rem;
    margin-top: 2rem; */
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.price-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a202c;
}

.price-label {
    color: #4a5568;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    max-width: 10rem;
    word-break: break-word;
    /* line-break :  */
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border-radius: 25px;
    padding: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qty-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: var(--linear-gradient-2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    /* background: #5a67d8; */
    transform: scale(1.1);
}

.qty {
    font-weight: 600;
    color: #1a202c;
    /* min-width: 20px; */
    border: 0;
    width: 20px;
    text-align: center;
}

.book-now-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    margin-top: 1rem;
}

.book-now-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669, #047857);
}

.map-section {
    position: sticky;
    top: 10px;
}

.map-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.map-section iframe {
    margin-bottom: -7px;
}

.map-container {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #e6fffa, #b2f5ea);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #10b981;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    background: linear-gradient(135deg, #b2f5ea, #81e6d9);
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-placeholder span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.organizer-link {
    background-color: white;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.organizer-link span {
    width: 16px;
    height: 16px;
    color: linear-gradient(45deg, #10b981, #059669);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .create-event-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .event-title {
        font-size: 2rem;
        text-align: start;
    }

    .event-header {
        flex-direction: column;
        gap: 1rem;
    }

    .date-badge {
        align-self: flex-start;
    }

    .event-highlights {
        flex-direction: column;
        gap: 1rem;
    }

    .organizer-card {
        flex-direction: column;
        text-align: center;
    }

    .organizer-actions {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .organizer-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sidebar-card,
    .event-content {
        margin: 0 -10px;
        border-radius: 15px;
    }

    .main {
        padding: 2rem 0;
        margin: 1rem;
    }

    .event-image {
        height: 250px;
    }

    .price-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Loading Animation */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
button:focus,
input:focus,
a:focus {
    outline: none;
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .action-buttons,
    .book-now-btn,
    .create-event-btn {
        display: none;
    }

    .main {
        padding: 0;
    }

    .content-grid {
        display: block;
    }
}