/* ==========================================================================
   VectorCutter - Common Layout Styles (Header & Footer)
   ========================================================================== */

:root {
    --main-font: 'Roboto', Tahoma, Geneva, Verdana, sans-serif;
    --primary-color: #182a69;
    --primary-color-trans: rgba(24, 42, 105, 0.8);
    --secondary-color: #a0a0ff;
    --bg-gradient-start: #182a69;
    --bg-gradient-end: #02133e;
    --text-color: #333;
}

/* ==========================================================================
   NAVBAR & TOP NAVIGATION
   ========================================================================== */
.topnav {
    position: fixed;
    top: 10px;
    left: 20px;
    right: 20px;
    border-radius: 15px;
    padding: 10px 20px;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #182a6995;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Circular Logo Styling */
.nav-logo {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: 50%;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--bg-gradient-start);
    border: 2px solid white;
    flex-shrink: 0;
}

.nav-title {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.nav-title a {
    color: white;
    text-decoration: none;
}

.nav-right {
    display: flex;
    gap: 5px;
    align-items: center;
}

.topnav a,
.dropbtn {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-family: var(--main-font);
    font-size: 1rem;
    border: none;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.topnav a:hover,
.dropdown:hover .dropbtn,
.topnav a.active {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #02133e;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-top: 0px;
}

.dropdown-content::before {
    content: "";
    display: block;
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--primary-color);
    transform: none;
}

/* ==========================================================================
   MOBILE SIDENAV DRAWER
   ========================================================================== */
.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #182a69;
    overflow-x: hidden;
    transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding-top: 60px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.sidenav a,
.sidenav .sidenav-header {
    padding: 10px 16px 10px 32px;
    text-decoration: none;
    font-size: 1.15rem;
    color: #f1f1f1;
    display: block;
    transition: 0.2s;
    font-family: var(--main-font);
}

.sidenav a:hover,
.sidenav a.active {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.sidenav .closebtn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    margin-left: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.sidenav .closebtn:hover {
    background: none;
    color: #ccc;
}

.sidenav-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 12px 20px;
}

.sidenav-subitem {
    font-size: 1rem !important;
    padding-left: 48px !important;
    opacity: 0.9;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    margin-right: 15px;
    user-select: none;
    line-height: 1;
}

/* Sidenav backdrop */
.sidenav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.sidenav-backdrop.active {
    display: block;
}

@media (max-width: 768px) {
    .topnav {
        flex-direction: row;
        justify-content: flex-start;
    }
    .nav-right {
        display: none;
    }
    .hamburger {
        display: block;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-row-1 {
    background-color: #02133e;
    font-family: var(--main-font);
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 0;
    border-radius: 10px;
    border-bottom: none;
    position: relative;
    bottom: 0;
    margin-top: 40px;
    box-sizing: border-box;
    width: 100%;
}

.footer-row-container {
    margin: 0 auto;
    padding: 10px 20px;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.footer-row-1 nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: none;
    padding: 4px;
}

.footer-row-1 a {
    color: #f9f8ff !important;
    text-decoration: underline !important;
    font-family: var(--main-font);
    font-size: 12px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.footer-row-1 a:hover {
    color: #a0a0ff !important;
}

.footer-row-1 p {
    color: #f9f8ff;
    justify-content: center;
    font-family: var(--main-font);
    font-size: 9px;
    padding: 2px 0;
    margin: 0;
    white-space: nowrap;
}
