/* ============================= */
/*        Root Variables         */
/* ============================= */
:root {
    --primary-color: #000;
    --secondary-color: #007BFF;
}

/* ============================= */
/*       Visually Hidden         */
/* ============================= */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================= */
/*          Body Styles          */
/* ============================= */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--primary-color);
    color: #fff;
    overflow-x: hidden;
}

/* ============================= */
/*         Navbar Styles         */
/* ============================= */
.custom-navbar {
    width: 100%;
    padding-right: 20px;
    background-color: #1c1c1c;
    position: sticky;
    top: 0;
    z-index: 1030;
    overflow-x: hidden;
}

.container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.navbar-brand {
    flex-shrink: 1;
    max-width: 80%;
    overflow: hidden;
}

.navbar-brand img {
    max-height: 45px;
    width: auto;
    height: 45px;
    max-width: 100%;
    display: block;
}

.nav-link {
    color: white !important;
    padding: 10px 16px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
    margin-top: 4px;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-nav {
    gap: 5px;
}

/* ============================= */
/*        Hamburger Styles       */
/* ============================= */
.hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 1050;
}

.hamburger span {
    background: white;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    transition: all 0.4s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
}

/* ============================= */
/*      Responsive Styles        */
/* ============================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 10px 0;
    }

    .nav-link {
        text-align: left;
        padding: 12px 20px;
        border-bottom: 1px solid #333;
    }

    .navbar-brand img {
        max-width: 240px;
    }

    .navbar-toggler {
        margin-left: auto;
    }
}

/* ============================= */
/*         CV Button             */
/* ============================= */
.cv-button {
    background: #3390ffcc;
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(51, 144, 255, 0.6);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    user-select: none;
    text-decoration: none;
}

.cv-button:hover,
.cv-button:focus {
    background-color: #1e6fdbcc;
    box-shadow: 0 10px 28px rgba(30, 111, 219, 0.8);
    transform: translateY(-3px);
    outline: none;
}

/* ============================= */
/*         CTA Button            */
/* ============================= */
.cta-btn {
    background-color: #3390ffcc;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 6px 18px rgba(51, 144, 255, 0.6);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover,
.cta-btn:focus {
    background-color: #1e6fdbcc;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 111, 219, 0.8);
    outline: none;
}
