* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default !important;
}

html {
    zoom: 0.9;
}

html, body {
    background-color: #141414;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    height: 100%;
}

header {
    width: 100%;
    background-color: #141414;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
}

nav a.nav-contact {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: lowercase;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

nav a.nav-contact:hover {
    opacity: 1;
}

.contact-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.contact-heading {
    font-size: 10.5rem;
    color: #ffffff;
}

.contact-modal-content {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: slideUp 0.3s ease;
}

.contact-modal-content p {
    color: #cccccc;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-email {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem !important;
}

.twitter-link {
    display: flex;
    align-items: center;
    width: fit-content;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.twitter-link:hover {
    opacity: 1;
}

.contact-close {
    position: absolute;
    right: 16px;
    top: 12px;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.contact-close:hover {
    opacity: 1;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background-color: #141414;
}

section {
    margin-bottom: 0;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.media-item {
    width: 25%;
    aspect-ratio: 5 / 4;
    background-color: #141414;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: filter 0.3s ease;
    z-index: 0;
    position: relative;
}

.media-item:hover {
    z-index: 10;
}

.media-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.media-item:hover::after {
    background: rgba(0, 0, 0, 0.5);
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.media-item-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.media-item:hover .media-item-label {
    opacity: 1;
}

.media-item-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.media-item-duration {
    color: #ffffff;
    font-size: 0.85rem;
    margin-top: 5px;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.modal-close-btn {
    position: fixed;
    top: 24px;
    right: 32px;
    font-size: 36px;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.7;
    z-index: 1100;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.modal-close-btn:hover {
    opacity: 1;
}

.modal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    max-width: 900px;
    cursor: default;
    animation: slideUp 0.3s ease;
}

#modal-media video,
#modal-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

#modal-media {
    width: 100%;
}

.modal-info {
    background-color: #1a1a1a;
    width: 100%;
    padding: 24px 32px;
    border-radius: 0 0 10px 10px;
}

.modal-info h2 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.modal-info p {
    color: #888888;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

@media (max-width: 768px) {
    .media-item { width: 50%; }
    .modal-inner { width: 95%; }
}

@media (max-width: 480px) {
    .media-item { width: 100%; }
}
