/* ============================================
   Global Styles
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Make the body a column flex container so footer can be pushed to the bottom
   when page content is short. Use min-height so pages longer than the viewport
   still scroll normally. */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #FFF7F0;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.app-header {
    width: 100%;
    height: 60px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    height: 60px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.nav-link {
    color: #333333;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 6px 14px;
    border-radius: 6px;
}

.nav-link:hover {
    color: #FF7A00;
    background-color: rgba(255, 122, 0, 0.05);
}

.nav-link.active {
    color: #FF7A00;
    background-color: rgba(255, 122, 0, 0.1);
}

.header-right {
    position: absolute;
    right: 40px;
    display: flex;
    align-items: center;
}

/* Auth Button */
.btn-auth {
    background-color: #FF7A00;
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-auth:hover {
    background-color: #CC6200;
    color: #FFFFFF;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn-auth:active {
    transform: translateY(0);
}

/* ============================================
   BODY/MAIN CONTENT STYLES
   ============================================ */

.app-body {
    width: 100%;
    background-color: #FFF7F0;
    padding: 40px 20px;
    /* Allow the main content area to grow and push the footer down */
    flex: 1 0 auto;
}

.content-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.app-footer {
    width: 100%;
    height: 70px;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* In a column flex layout the footer will stay at the bottom when
       the content is short. If the content grows, the footer follows the flow. */
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    height: 70px;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    margin: 0;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FF7A00;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .header-nav {
        gap: 30px;
    }

    .nav-link {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .app-header {
        height: 55px;
    }

    .header-container {
        padding: 0 20px;
        height: 55px;
    }

    .header-right {
        right: 20px;
    }

    .header-nav {
        gap: 25px;
    }

    .nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }

    .btn-auth {
        font-size: 13px;
        padding: 7px 18px;
    }

    .content-wrapper,
    .footer-container {
        padding: 0 20px;
    }

    .footer-text {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .app-header {
        height: 50px;
    }

    .header-container {
        padding: 0 15px;
        height: 50px;
    }

    .header-right {
        right: 15px;
    }

    .header-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 12px;
        padding: 4px 8px;
    }

    .btn-auth {
        font-size: 12px;
        padding: 6px 14px;
    }

    .content-wrapper,
    .footer-container {
        padding: 0 15px;
    }

    .footer-text {
        font-size: 11px;
    }
}

