:root {
    --primary: #330000;
    --secondary: #666633;
    --primary-light: #67391a;
    --secondary-light: #666538;
    --bg-color: #f5f5f5;
    --text-color: #0a0a0a;
    --accent: #000000;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Syne', sans-serif;
}

/* Custom Selection */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

.top-bar {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.contact-address {
    display: flex;
    gap: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.contact-address .name {
    color: var(--primary);
    font-weight: 700;
}

.sep {
    opacity: 0.2;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
}

.contact-link {
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    background: var(--secondary);
}

.contact-link:hover {
    background: var(--primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}


/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Minimalist Container */
.minimal-container {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    /* Align logo to the right */
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-wrapper {
    width: 45%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    animation: fadeIn 2s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

#main-logo {
    width: 100%;
    height: auto;
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}


/* Responsive */
@media (max-width: 800px) {
    .top-bar {
        padding: 1.5rem 0;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-end;
        /* Align whole block to the right */
        padding: 0 1.5rem;
    }

    .contact-address {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-end;
        /* Right-align address lines */
        text-align: right;
    }

    .contact-links {
        flex-direction: column;
        /* Stack buttons */
        gap: 0.8rem;
        align-items: flex-end;
        /* Right-align stacked buttons */
        width: 100%;
    }

    .contact-link {
        width: fit-content;
    }

    .sep {
        display: none;
    }

    .logo-wrapper {
        width: 85%;
        justify-content: flex-end;
    }
}