@import url("variables.css");

/* =========================================
   GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--textcolor);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    font-weight: 600;
}

/* =========================================
   HEADER STYLES
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    width: 100%;
    max-width: 87vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4vh 3.2rem;
}

.logo-container {
    flex: 1;
}

.navlogo {
    max-width: 15vh;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.navbaritem a {
    color: var(--textcolor);
    text-decoration: none;
    font-size: 2.3vh;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.navbaritem a:hover {
    transform: translateY(-3px);
    color: var(--primary);
}

.nav-toggle {
    display: none;
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.unavailable-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15vh 2rem 5rem 2rem;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon */
.icon-wrapper {
    margin-bottom: 2rem;
}

.icon-wrapper i {
    font-size: 5rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Typography */
h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    font-style: italic;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--textcolor);
    margin-bottom: 2rem;
    font-weight: 500;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--textcolor);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--textcolor);
    opacity: 0.7;
    margin-top: 2rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 108, 91, 0.3);
}

.cta-button:hover {
    background-color: #d15a49;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 108, 91, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 5%;
        width: 90%;
        background-color: var(--white);
        padding: 1rem 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        border-radius: 20px;
        margin-top: 10px;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }

    .nav-links.closing {
        display: flex;
        animation: slideUp 0.3s ease-in forwards;
        pointer-events: none;
    }

    .nav-links li {
        text-align: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .nav-links li a {
        color: var(--textcolor);
        display: block;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        text-align: center;
        font-weight: 500;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    .nav-links li a:hover {
        background-color: rgba(225, 108, 91, 0.08);
        color: var(--primary);
    }

    .nav-toggle {
        display: block;
        cursor: pointer;
        transition: transform 400ms;
        stroke: var(--primary);
        margin-right: -15px;
    }

    .nav-toggle.active {
        transform: rotate(45deg);
    }

    .nav-line {
        fill: none;
        transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
        stroke-width: 5.5;
        stroke-linecap: round;
    }

    .nav-animation .top {
        stroke-dasharray: 40 121;
    }

    .nav-animation .bottom {
        stroke-dasharray: 40 121;
    }

    .nav-animation.active .top {
        stroke-dashoffset: -68px;
    }

    .nav-animation.active .bottom {
        stroke-dashoffset: -68px;
    }

    .navbar {
        padding: 1.2rem;
    }

    /* Content Adjustments */
    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .description {
        font-size: 1rem;
    }

    .icon-wrapper i {
        font-size: 4rem;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

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

        to {
            opacity: 0;
            transform: translateY(-10px);
        }
    }
}