:root {
    --text-color: #fff;
    --bg-color: #000;
    --accent-color: #fff;
    /* Red theme color */
}

header ul,
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*-----Header Menu-------*/
.header {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.header-right {
    display: flex;
    align-items: flex-start;
    pointer-events: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    height: 50px;
    margin-right: 20px;
}

.social-icons a {
    display: inline-block;
    color: var(--accent-color);
    transition: transform 0.3s, color 0.3s;
}

.social-icons .icon12 {
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover .icon12 {
    transform: scale(1.1);
    color: #ff334b;
}

/* Hamburger */
.hamburger {
    background-color: var(--accent-color);
    border: none;
    cursor: pointer;
    width: 50px;
    height: 50px;
    position: relative;
    z-index: 1001;
    padding: 0;
    transition: background-color 0.3s;
}

.hamburger .bar {
    position: absolute;
    left: 50%;
    margin-left: -14px;
    width: 28px;
    height: 2px;
    background-color: #000;
    transition: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger .bar:nth-child(1) {
    top: 15px;
}

.hamburger .bar:nth-child(2) {
    top: 50%;
    margin-top: -1px;
}

.hamburger .bar:nth-child(3) {
    bottom: 15px;
}

/* Hamburger active */
.hamburger.active {
    background-color: transparent;
}

.hamburger.active .bar {
    background-color: #fff;
    margin-left: -14px;
}

.hamburger.active .bar:nth-child(1) {
    top: 50%;
    margin-top: -1px;
    transform: rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    bottom: auto;
    top: 50%;
    margin-top: -1px;
    transform: rotate(-45deg);
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -50vw;
    /* Hidden off-screen right matching its width */
    width: 50vw;
    /* PC: half screen */
    height: 100vh;
    background-color: rgba(0, 0, 0, 1);
    z-index: 999;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.side-menu.active {
    right: 0;
}

.menu-links {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.menu-links li a {
	font-family: "Lora", serif;
    font-size: 19px;
    letter-spacing: 4px;
    color: #fff;
    transition: color 0.3s, text-shadow 0.3s;
    font-weight: 700;
}

.menu-links li a:hover {
    color: #557177;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.menu-logo {
    text-align: center;
}

.menu-logo img {
    max-width: 80%;
    max-height: 15vh;
    height: auto;
    object-fit: contain;
}

/* Overlay for outside menu clicking */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    z-index: 998;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


@media screen and (max-width: 767px) {
	/*-----HEADER-------*/
    .header {
        padding: 0;
        height: auto;
    }

    ul.social-icons {
        width: 100px;
        height: 40px;
        margin-right: 15px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .hamburger .bar {
        width: 22px;
        margin-left: -11px;
    }

    .hamburger .bar:nth-child(1) {
        top: 12px;
    }

    .hamburger .bar:nth-child(3) {
        bottom: 12px;
    }

    .hamburger.active .bar {
        margin-left: -11px;
    }

    .side-menu {
        width: 100vw;
        /* SP: Full screen */
        right: -100vw;
    }

    .side-menu.active {
        right: 0;
    }

    .menu-links {
        gap: 18px;
    }

    .menu-links li a {
        font-size: 18px;
    }

}