/* CSS File for Elements on the Website like navbar/the card/contents of the cards etc*/

/*Navbar stuffs*/
.nav-custom {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 99%;
    height: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 1.5rem;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-custom ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-custom li {
    padding: 0 1rem;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: 'Share Tech', sans-serif;
    color: #888 !important;
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: #DDD !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav-logo {
    height: 40px !important; 
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-dropdown summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 1rem;
    font-family: 'Share Tech', sans-serif; 
}
.nav-dropdown summary::-webkit-details-marker { display: none; }

/*General layout and card layout*/

#main-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    box-sizing: border-box;
}

.vj-card {
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    overflow: hidden; 
    view-transition-name: card-morph;
    display: flex;
    flex-direction: row;
    max-width: 900px;
    width: 100%;
    text-align: left;
}

.card-portrait {
    width: 45%;
    object-fit: cover;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.card-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h1 {
    text-align: center;
    margin-top: 0;
    width: 100%;
}

.vj-card p {
    font-size: 1.2rem;
    line-height: 1.5;
    opacity: 0.9;
    white-space: pre-line;   
    text-align: left;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

/*Social list*/

.social-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    margin-top: 1.5rem; 
}

.social-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-item:hover { 
    background: var(--hov-bg) !important;
    border: 1px solid var(--hov-bor) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px) scale(1.02); 
}

.social-item:hover .social-handle {
    color: var(--hov-text) !important;
}

.social-item img, 
.social-item .material-symbols-outlined { 
    height: 48px !important; 
    width: 48px !important; 
    margin-right: 18px; 
    object-fit: contain;
    transition: filter 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.social-item .material-symbols-outlined {
    font-size: 48px !important; 
}

.social-handle {
    font-family: 'Share Tech', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;   
    transition: color 0.3s ease;
}

.social-item h3 span:first-child {
    text-shadow: none; 
    font-family: sans-serif;
    font-size: 1.6rem; 
    font-style: normal;
}

/*Event list stuff*/

.event-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding: 0 !important;
    gap: 0 !important;
}

.event-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin: 0 !important;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white !important;
    transition: background 0.2s ease;
    position: relative;
}

.event-row:hover { 
    background: rgba(255, 255, 255, 0.03); 
}

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

.event-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.event-header {
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: flex-start;
    color: #ffffff !important;
}

.country-flag {
    margin-right: 12px;
    font-style: normal;
}

.event-title {
    white-space: pre-line;
    display: block;
    line-height: 1.2;
}

/*General Icon Styling*/
.event-info .material-symbols-outlined {
    font-variation-settings: 'wght' 300;
    flex-shrink: 0;
}

/*Date Row*/
.date-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-icon {
    font-size: 1.1rem !important;
    color: #ffffff !important;
}

.date-text {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
}

/*Location Row*/
.loc-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.loc-pin {
    font-size: 0.95rem !important; 
    color: #888 !important; 
    margin-top: 2px;
}

.loc-text {
    font-size: 1rem;
    color: #bbb !important;
    font-family: 'Share Tech', sans-serif;
    white-space: pre-line !important;
    line-height: 1.3;
}

.details-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
}

.details-text {
    font-size: 0.9rem;
    color: #ffffff;
    white-space: pre-line !important;
    line-height: 1.4;
}

/*Page animation stuff (The card morph and the vid blur transition*/

.page-flip-anim { animation: portrait-fade 0.5s ease-out both; }

@keyframes portrait-fade {
    0% { opacity: 0; filter: brightness(1.5) blur(5px); }
    100% { opacity: 1; filter: brightness(1) blur(0px); }
}

::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal;
}

::view-transition-old(card-morph),
::view-transition-new(card-morph) {
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}