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

body {
    font-family: 'Georgia', serif;
    color: #e0e0e0;
    background-color: #1a1a1a;
    overflow-x: hidden;
}

/* Header */
header {
    background-color: #000;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 90px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo a {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Navigation */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav > a, .dropdown > .nav-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 18px;
    transition: all 0.3s;
    cursor: pointer;
    display: block;
    border-radius: 4px;
    white-space: nowrap;
}

nav > a:hover, .dropdown > .nav-link:hover {
    background-color: rgba(255, 215, 0, 0.15);
    color: #FFF;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a1a1a;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    z-index: 1001;
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 2px;
    transition: opacity 0.2s, visibility 0.2s;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

.dropdown-content > a {
    color: #FFD700;
    padding: 14px 22px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    font-size: 16px;
}

.dropdown-content > a:hover {
    background-color: #FFD700;
    color: #000;
}

/* Town Items with Sub-menus */
.town-item {
    position: relative;
}

.town-item > a {
    color: #FFD700;
    padding: 14px 22px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    font-size: 16px;
    position: relative;
}

.town-item > a::after {
    content: '\25B8';
    position: absolute;
    right: 15px;
    opacity: 0.6;
}

.town-item > a:hover {
    background-color: #FFD700;
    color: #000;
}

.town-submenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border-radius: 4px;
    padding: 8px 0;
    margin-left: 2px;
    transition: opacity 0.2s, visibility 0.2s;
}

.town-item:hover .town-submenu {
    visibility: visible;
    opacity: 1;
}

.town-submenu a {
    color: #FFD700;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    font-size: 15px;
}

.town-submenu a:hover {
    background-color: #FFD700;
    color: #000;
}

/* Icons */
.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
    border-radius: 50%;
}

.icon-button:hover {
    background-color: rgba(255, 215, 0, 0.15);
}

.search-icon {
    width: 24px;
    height: 24px;
    stroke: #FFD700;
    stroke-width: 2;
    fill: none;
    transition: all 0.3s;
}

.icon-button:hover .search-icon {
    stroke: #FFF;
}

.user-icon {
    width: 38px;
    height: 38px;
    background-color: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.user-icon svg {
    width: 22px;
    height: 22px;
    fill: #000;
}

.icon-button:hover .user-icon {
    background-color: #FFF;
    transform: scale(1.05);
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

/* Footer */
footer {
    background-color: #000;
    color: #FFD700;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 3px solid #FFD700;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #444;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 16px;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #FFD700;
}

.footer-social {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-social a {
    color: #FFD700;
    transition: all 0.3s;
}

.footer-social a:hover {
    color: #FFF;
    transform: scale(1.15);
}

.footer-social svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 10px;
        gap: 6px;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: #FFD700;
        transition: all 0.3s;
        border-radius: 3px;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .nav-wrapper {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        min-height: 400px;
        max-height: calc(100vh - 100px);
        background-color: #000;
        flex-direction: column;
        padding: 20px;
        transition: left 0.3s;
        box-shadow: 0 5px 10px rgba(0,0,0,0.5);
        overflow-y: auto;
        z-index: 999;
        align-items: flex-start;
    }

    .nav-wrapper.active {
        left: 0;
    }

    nav {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: flex-start;
    }

    nav > a, .dropdown > .nav-link {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        border-bottom: 1px solid #333;
        white-space: nowrap;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        visibility: visible;
        opacity: 1;
        box-shadow: none;
        background-color: #1a1a1a;
        margin-top: 0;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px;
        padding: 8px 0;
    }

    .dropdown-content > a {
        padding: 12px 20px 12px 40px;
        border-bottom: 1px solid #2a2a2a;
    }

    .icon-button {
        margin-top: 15px;
        align-self: flex-start;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
