/* --- Fixed Header & Menu Button --- */
.fixed-header {
    position: fixed;
    top: 30px;
    right: 6%;
    z-index: 2000; /* Above everything */
}

.menu-btn {
    background-color: #650c30;
    color: #fff;
    border: none;
    border-radius: 50px; /* Capsule shape */
    padding: 12px 35px;
    font-family: 'gogh-regular', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy transition */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    outline: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-btn:hover {
    transform: scale(1.05);
}

/* Active State (Rhombus Rotation) */
.menu-btn.active {
    transform: rotate(360deg); /* Full spin to keep text upright */
    background-color: #fff;
    color: #650c30;
}

/* --- Menu Overlay (Card Style) --- */
.menu-overlay {
    position: fixed;
    top: 20px; /* Align with button area */
    right: 5%; /* Align with button */
    width: 400px; /* Fixed width card */
    height: auto;
    min-height: 560px;
    background-color: #650c30;
    z-index: 1999; /* Just below button */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px; /* Padding inside card */
    border-radius: 30px; /* Rounded corners */
    clip-path: circle(0% at 90% 5%); /* Reveal from top right corner of card */
    transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    visibility: hidden;
    box-shadow: -10px 10px 30px rgba(0,0,0,0.3);
}

.menu-overlay.open {
    clip-path: circle(150% at 90% 5%);
    visibility: visible;
}

.menu-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

/* Navigation Links */
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    font-family: 'gogh-regular', sans-serif;
    font-size: 2rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    width: fit-content;
    display: flex;
    align-items: center;
    transition: padding-left 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* Animate padding instead of transform */
    padding-left: 0;
}

/* Arrow Effect */
.nav-link::before {
    content: '\27F6'; /* Long arrow unicode */
    font-family: sans-serif; 
    font-weight: 300;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-20px, -50%); /* Start slightly left and centered vertically */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 2rem;
    line-height: 1; /* Ensure visibility */
    color: #fff;
    pointer-events: none;
}

.nav-link:hover {
    padding-left: 50px; /* Push text to the right by increasing padding */
    /* transform: translateX(50px); REMOVED to avoid hit-area issues */
}

.nav-link:hover::before {
    opacity: 1;
    transform: translate(0, -50%); /* Move to final position (left:0) */
}

/* Social Links */
.menu-socials {
    display: flex;
    gap: 50px;
    margin-top: 20px;
}

.social-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-social-link {
    font-family: 'gogh-regular', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    position: relative;
    width: fit-content;
    padding-bottom: 2px;
}

/* Loading Bar / Underline Effect */
.menu-social-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.4s ease;
}

.menu-social-link:hover::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-overlay {
        padding-left: 10%;
    }
    .nav-link {
        font-size: 2rem;
    }
    .menu-socials {
        flex-direction: column;
        gap: 20px;
    }
}
