* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --black: #1a1a1a;
    --white: #ffffff;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Header Styles */
.site-header {
    background: none;
    padding: 0;
    border-radius: 16px;
    margin: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 1100;
    overflow: visible;
}

.top-bar {
    max-width: 1400px;
    width: 100%;
    margin: 3px auto 0 auto;
    padding: 15px 20px;
    border-radius: 16px;
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1100;
    backdrop-filter: blur(10px);
}

.website-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 50px;
    flex-shrink: 0;
}

.website-logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

/* SVG Logo Styles - Optimized for all devices */
.logo-image {
    height: 40px;
    width: auto;
    max-width: none;
    
    /* SVG-specific optimizations */
    display: block;
    
    /* Smooth transitions */
    transition: opacity 0.3s ease, transform 0.2s ease;
    
    /* Ensure crisp rendering */
    shape-rendering: geometricPrecision;
    text-rendering: optimizeLegibility;
}

.logo-image:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.hamburger {
    display: block;
    font-size: 24px;
    background: none;
    border: none;
    color: #b8860b;
    cursor: pointer;
    padding: 5px;
    z-index: 1101;
    transition: color 0.3s ease;
}

.hamburger:hover {
    color: var(--gold);
}

/* Navigation Styles */
.navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--black);
    padding: 20px;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    gap: 15px;
    align-items: center;
    z-index: 1099;
}

.navbar.active {
    display: flex !important;
}

.navbar a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.navbar a:hover,
.navbar a.active {
    color: #b8860b;
    font-weight: 600;
    border-bottom-color: #b8860b;
}

.nav-link.active {
    color: #b8860b;
    font-weight: bold;
    border-bottom: 2px solid #b8860b;
}

/* Mobile-specific optimizations */
@media screen and (max-width: 768px) {
    .site-header {
        margin: 15px;
    }

    .top-bar {
        padding: 15px 25px;
    }

    .website-logo {
        height: 50px;
    }

    /* Mobile logo sizing */
    .logo-image {
        height: 36px;
    }

    .hamburger {
        font-size: 26px;
    }

    .navbar {
        align-items: center;
    }

    .navbar a {
        font-size: 19px;
        text-align: center;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .top-bar {
        padding: 12px 20px;
    }

    .logo-image {
        height: 32px;
    }

    .hamburger {
        font-size: 24px;
    }
}

/* Tablet and small desktop */
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .site-header {
        margin: 20px;
    }

    .top-bar {
        padding: 10px 32px;
        gap: 60px;
    }

    .logo-image {
        height: 38px;
    }
}

/* Large desktop */
@media screen and (min-width: 1200px) {
    .top-bar {
        gap: 80px;
    }

    .navbar {
        gap: 50px;
    }

    .logo-image {
        height: 42px;
    }
}

/* Extra large screens */
@media screen and (min-width: 1600px) {
    .logo-image {
        height: 45px;
    }
}

/* Responsive navigation breakpoints */
@media screen and (max-width: 900px) {
    .hamburger {
        display: block;
    }

    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--black);
        padding: 20px;
        border-radius: 0 0 16px 16px;
        gap: 15px;
        align-items: center;
    }

    .navbar.active {
        display: flex !important;
    }

    .top-bar {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (min-width: 901px) {
    .hamburger {
        display: none;
    }

    .navbar {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: transparent;
        padding: 0;
        gap: 40px;
        justify-content: center;
        align-items: center;
        z-index: 1100;
    }

    .navbar a {
        font-size: 20px;
        padding: 0;
        border-bottom: 2px solid transparent;
        text-align: center;
        width: auto;
    }

    .navbar a:hover,
    .navbar a.active {
        border-bottom-color: #b8860b;
    }
}

/* Print styles */
@media print {
    .logo-image {
        height: 30px;
    }
}