:root {
    --bg: #ffffff;
    --bg-alt: #ffffff;
    --accent: #000000;
    --text: #000000;
    --text-muted: #000000;
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    border-bottom: 1px solid #1e293b;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--accent);
    overflow: hidden;
}

.hamburger {
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--bg);
    border-radius: 2px;
    left: 0;
    transition: all 0.3s ease;
}

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

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

.hamburger span:nth-child(3) {
    top: 20px;
}

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

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

.hamburger.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

nav.menu {
    position: fixed;
    top: 64px;
    right: -280px;
    width: 260px;
    height: calc(100% - 64px);
    background: var(--bg-alt);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 20px;
    z-index: 999;
    box-shadow: -4px 0 12px rgba(219, 213, 213, 0.4);
}

nav.menu.open {
    right: 0;
}

nav.menu a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 14px 10px;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

nav.menu a:hover,
nav.menu a.active {
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent);
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.show {
    display: block;
}

main {
    padding-top: 64px;
}

section {
    min-height: 100vh;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

section.active {
    display: flex;
}

section h1 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: var(--accent);
}

section h2 {
    margin-top: 16px;
    margin-bottom: 16px;
}

section h3 {
    margin-top: 16px;
    margin-bottom: 15px;
}

section p {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

.badge {
    margin-top: 24px;
    padding: 10px 20px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
    font-size: 0.9rem;
}

.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 700px;
}

.gallery-img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    background: var(--bg-alt);
}

.gallery-arrow {
    background: var(--bg-alt);
    border: 1px solid #334155;
    color: var(--text);
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.gallery-arrow:hover {
    background: var(--accent);
    color: var(--bg);
}

.gallery-counter {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.plain-img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    margin: 16px 0;
    object-fit: contain;
}

.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--accent);
}

.mini-gallery {
    position: relative;
    max-width: 100%;
    margin: 12px auto;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-alt);
}

.mini-gallery img {
    width: 100%;
    max-height: 55vh;
    object-fit: contain;
    display: block;
}

.mini-gallery .mg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    border: none;
    color: var(--text);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mini-gallery .mg-arrow:hover {
    background: var(--accent);
    color: var(--bg);
}

.mini-gallery .mg-prev {
    left: 10px;
}

.mini-gallery .mg-next {
    right: 10px;
}

.mini-gallery .mg-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.mini-gallery .mg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.mini-gallery .mg-dot.active {
    background: var(--accent);
}

.logo-home {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
}

.logo-icon {
    height: 36px;
    width: auto;
    max-width: 120px;
    max-height: 100%;
    object-fit: contain;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s;
}

.logo-icon:hover {
    opacity: 0.8;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid #1e293b;
}