/* New Header Styles */
.mobile-header {
    display: none;
}
body {
    background-color: #131722;
    color: #fff;
}

.new-header {
    background-color: #000000; /* Main header background color */
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.5); /* Shadow at the top */
}

.top-bar {
    background-color: #000000; /* Top bar background color */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px; /* Increased horizontal padding */
}

.dark-mode-toggle span {
    color: white;
}

.dark-mode-toggle .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.dark-mode-toggle .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.dark-mode-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444; /* Darker gray when off */
    -webkit-transition: .4s;
    transition: .4s;
    overflow: hidden; /* Hide overflowing moon/stars */
}

.dark-mode-toggle input:checked + .slider {
    background-color: #2196F3; /* Blue when on */
}

.dark-mode-toggle input:focus + .slider {
    box-shadow: 0 0 1px #2196F3; /* Accent color for focus */
}

.dark-mode-toggle input:checked + .slider:before {
    content: none; /* Remove default circle */
}

/* Rounded sliders */
.dark-mode-toggle .slider.round {
    border-radius: 34px;
}

/* Moon styles */
.dark-mode-toggle .moon {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #FFD700; /* Gold color for moon */
    border-radius: 50%;
    transition: transform .4s;
    box-shadow: inset -5px -5px 0px 0px rgba(0,0,0,0.2); /* Moon craters */
}

.dark-mode-toggle input:checked + .slider .moon {
    transform: translateX(26px); /* Move moon to the right when checked */
}

/* Stars styles */
.dark-mode-toggle .stars {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    transition: opacity .4s;
    opacity: 0; /* Hidden by default */
}

.dark-mode-toggle input:checked + .slider .stars {
    opacity: 1; /* Show stars when checked */
}

.dark-mode-toggle .stars::before, .dark-mode-toggle .stars::after {
    content: '';
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
}

.filter-button button {
    background-color: #c00; /* Red background */
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
}

.main-header {
    padding: 20px;
    background-color: #1A1A1A; /* Updated logo background color */
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 250px;
}

.logo p {
    font-size: 14px;
    color: #aaa;
}

.main-nav {
    background-color: #1A1A1A;
    display: flex;
    justify-content: space-between; /* Align items to left and right */
    align-items: center;
    padding: 10px 10px 10px 20px; /* Increased left padding */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Made shadow bolder */
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
}

.main-nav a:first-child {
    background-color: #c00; /* Red background for the first link (Home) */
}

.main-nav a:hover {
    background-color: #c00;
}

.main-nav form {
    display: flex;
    flex-grow: 1; /* Allow form to take available space */
}

.main-nav input[type="text"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    flex-grow: 1; /* Allow input to take available space */
    background-color: #333; /* Dark gray background */
    color: #fff; /* White text */
}

.main-nav button {
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.menu-toggle {
    display: none; /* Hidden by default on desktop */
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}


