/* ========== NAVBAR - GRANATOWA PALETA ========== */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(22, 46, 81, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 162, 39, .3);
    transition: all .3s;
}

nav.scrolled {
    background: rgba(22, 46, 81, .98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: .5rem 0;
    transition: color .3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: all .3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #162e51;
    border-left: 1px solid var(--accent);
    z-index: 1001;
    padding: 5rem 2rem;
    transition: right .3s;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: .8rem 0;
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mobile-menu a:hover {
    color: var(--accent);
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SECTIONS */
section {
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--light);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header p {
    color: rgba(255, 255, 255, .8);
    max-width: 600px;
    margin: 1.5rem auto 0;
}