﻿/* Event Details Section - Mobile First */

.event-detail-hero {
    position: relative;
    width: 100%;
    height: 600px;
}

    .event-detail-hero .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 1;
    }

    .event-detail-hero img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-banner-big {
    display: none;
}

.event-details-section {
    padding: 40px 20px;
}

.event-container,
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .sidebar > .item {
        padding: 24px;
        background-color: #f1f6fd;
        border-radius: 8px;
    }

.event-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.event-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-title {
    color: var(--primary-dark);
    background-color: #e7effb;
    padding: 4px 12px;
    max-width: max-content;
}

.event-header h2 {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 800;
    color: #282828;
    letter-spacing: -2%;
}

.event-description {
    font-size: clamp(14px, 4vw, 18px);
    color: #676f7e;
    font-family: "Newsreader", sans-serif;
    line-height: 180%;
    font-weight: 500;
}

/* Action Buttons */
.event-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    text-transform: capitalize;
}

    .btn.calendar-btn {
        border-color: var(--primary-dark);
    }

    .btn:hover {
        background-color: #000;
        color: white;
        border-color: black;
    }

.social-share {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f5f8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        transform: translateY(-3px);
        background: var(--primary-dark);
    }

/* Right Column - Event Sidebar */

.sidebar-card h3,
.share-section h3 {
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 800;
    color: #282828;
    letter-spacing: -2%;
    margin-bottom: 16px;
}

.info-item-card-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-content {
    flex: 1;
}

.info-value {
    font-size: clamp(14px, 4vw, 18px);
    color: #676f7e;
    font-family: "Newsreader", sans-serif;
    font-weight: 500;
}

.show-map {
    color: var(--primary-dark);
    font-size: clamp(14px, 4vw, 18px);
    font-family: "Newsreader", sans-serif;
    font-weight: 500;
    display: inline-block;
    text-decoration: underline;
    margin-top: 12px;
}

.contact-card p {
    font-size: clamp(14px, 4vw, 18px);
    font-family: "Newsreader", sans-serif;
    font-weight: 500;
    color: #676f7e;
    margin-bottom: 16px;
}

/* Tablet Styles */
@media (min-width: 640px) {
    .event-details-section {
        padding: 60px 30px;
    }

    .event-main {
        gap: 32px;
    }

    .event-header {
        gap: 12px;
    }

    .event-actions {
        flex-direction: row;
    }

    .event-banner-small {
        display: none;
    }

    .event-banner-big {
        display: block;
    }

    .sidebar-card h3,
    .share-section h3 {
        margin-bottom: 32px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .event-details-section {
        padding: 80px 40px;
    }

    .event-container {
        flex-direction: row;
    }

    .event-container,
    .sidebar {
        gap: 32px;
    }

    .sidebar {
        flex: 1;
    }

    .event-actions {
        max-width: 500px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.sidebar-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

    .sidebar-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .sidebar-card:nth-child(2) {
        animation-delay: 0.2s;
    }

/* Registration Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.modal-container {
    background: white;
    border-radius: 12px;
    padding: 32px 16px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #000;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

    .modal-close:hover {
        color: var(--primary-dark);
    }

.modal-header {
    margin-bottom: 16px;
}

.modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #282828;
    margin-bottom: 8px;
    letter-spacing: -2%;
}

.modal-subtitle {
    font-size: 16px;
    color: #676f7e;
    font-family: "Newsreader", sans-serif;
    font-weight: 500;
    margin-top: 10px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group input {
        padding: 12px 16px;
        border: 2px solid transparent;
        border-radius: 8px;
        font-size: 16px;
        font-family: inherit;
        background-color: #F5F7FA;
        transition: border-color 0.2s ease;
    }

        .form-group input::placeholder {
            color: #000;
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--primary-color);
        }

.modal-submit-btn {
    margin-top: 16px;
    text-transform: none;
    width: 100%;
}


.success-title {
    font-weight: 400;
    color: #34C759;
    margin-bottom: 16px;
}

.success-text {
    font-size: 16px;
    color: #676f7e;
    font-family: "Newsreader", sans-serif;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Tablet Styles */
@media (min-width: 640px) {
    .modal-container {
        padding: 32px;
    }

    .modal-header {
        margin-bottom: 24px;
    }

    .registration-form {
        gap: 24px;
    }

    .modal-title {
        font-size: 32px;
    }

    .success-title {
        font-size: 32px;
    }
}


/* SVG Icons */
.icon-calendar {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.icon-clock {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.icon-location {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
