/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    transition: none;
}

/* Remove the CSS animation since we're using JavaScript */

/* Rotation animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
        height: 120px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .logo {
        width: 250px;
        height: 250px;
    }
}

/* Navigation styles */
.navigation {
    position: fixed;
    top: 40px;
    right: 50px;
    z-index: 1000;
    font-family: 'Bai Jamjuree', sans-serif;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 18px;
    justify-content: space-between;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.75);
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000FE0;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Bai Jamjuree', sans-serif;
    transition: all 0.2s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000FE0;
    transition: width 0.2s ease;
}

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

/* Mobile navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 30px;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        min-width: 120px;
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* Black mode overrides */
body.black-mode .nav-links a {
    color: #000;
}

body.black-mode .nav-links a::after {
    background-color: #000;
}