/* Ohio State University Golf Club Theme - Navigation Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #f8f8f5;
}

/* ---- Navbar Styles - Ohio State Theme ---- */
.navbar {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
.logo {
    flex: 0 0 200px;
}

.logo img {
    height: auto;
    max-height: 60px;
    width: auto;
}

/* Navigation Menu - Desktop */
.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.menu-items {
    display: flex;
    list-style: none;
    gap: 10px;
}

.menu-items li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #1b1c1e;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.menu-items > li > a {
    position: relative;
}

.menu-items > li > a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 15px;
    background-color: #bb0000; /* Ohio State Scarlet */
    transition: width 0.3s ease;
}

.menu-items li a:hover {
    color: #bb0000; /* Ohio State Scarlet */
}

.menu-items > li > a:hover:after {
    width: calc(100% - 30px);
}

/* Submenu styling */
.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 3px solid #bb0000; /* Ohio State Scarlet */
    list-style: none;
    z-index: 100;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li a {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 400;
    color: #4a4a4a;
}

.submenu li a:hover {
    background-color: #f9f2f2; /* Light scarlet tint */
    padding-left: 18px;
    color: #bb0000;
}

.fa-chevron-down {
    font-size: 12px;
    margin-left: 5px;
}

/* Sign In Button */
.sign-in {
    margin-left: 20px;
}

.sign-in-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #bb0000; /* Ohio State Scarlet */
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #bb0000;
}

.sign-in-button:hover {
    background-color: #990000; /* Darker scarlet */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu-container {
    padding: 80px 0 30px;
}

.mobile-menu-items {
    list-style: none;
}

.mobile-menu-items li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.mobile-has-submenu > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    display: none;
    list-style: none;
    background-color: #f9f2f2; /* Light scarlet tint */
}

.mobile-submenu li a {
    padding-left: 40px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.mobile-sign-in a {
    color: #bb0000; /* Ohio State Scarlet */
    font-weight: 600;
}

/* Hero section for demonstration */
.main-content {
    padding-top: 100px;
}

.hero {
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://placehold.co/1600x900?text=OSU+Golf+Course');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 992px) {
    .navbar-container {
        padding: 0 4%;
    }
    
    .menu-items li a {
        padding: 10px 10px;
        font-size: 15px;
    }
    
    .sign-in-button {
        padding: 8px 15px;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu, .sign-in {
        display: none;
    }
    
    .hamburger-menu {
        display: block;
    }
    
    .navbar-container {
        padding: 0 5%;
        height: 70px;
    }
    
    /* Logo centering on mobile */
    .logo {
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    /* Mobile menu active state */
    .mobile-menu.active {
        right: 0;
    }
    
    /* Hamburger menu animation */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        flex: 0 0 auto;
        margin-right: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}