/* Reset and Responsive Base */

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

body {
    background-color: #f7f7f7;
    color: #222222;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
/* Keeps footer pushed to the bottom even on short pages */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NEW HEADER */

.site-header {
    background-color: #262e43;
    color:ffffff;
    width: 100%;
    padding: 25px 20px;
    min-height: 110px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.site-logo {
    height: 75px;
    width: auto;
    display: block;
}

/*Starts near center and spreads cleanly to the right */

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;            /* ADJUST HERE: Space between menu items */
    margin-left: auto;    /* Pushes group toward the right half of header*/
}

.nav-link {
    color: #95959d;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
}

.nav-link:hover {
    text-decoration: underline;
    color: #ffffff;
}

.search-icon {
    display: inline-block;
    vertical-align: middle;
}

.caret {
    font-size: 0.75rem;
    vertical-align: middle;
}

/*DROPDOWN MENUS ('browse' & 'more') */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1d2436;
    min-width: 170px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    padding: 6px 0;
}

.dropdown-menu a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    padding: 9px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #323d59;
}

/* Reveals dropdown on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* My Oz outline button */

.acct-btn {
    color: #b0b7c3;
    background-color: transparent;
    border: 1px solid #b0b7c3;
    border-radius: 4px;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.acct-btn:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #ffffff;
}

/*HEADER 

.site-header {
  background-color: #262e43;
  color: #ffffff;
  width: 100%;
  padding: 10px 40px;  /*ADJUST HERE: top/bottom padding controls header thickness 
  min-height: 100px;  /*ADJUST HERE: overall header height
  display: flex;
  align-items: center;
  
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Pushes logo left, nav right 
    align-items: center;            /* Vertically centers logo and menu links with each other
    flex-wrap: wrap;
    gap: 20px;
}

.site-logo {
    max-height: 80px;  /*ADJUST HERE: header logo height
    width: auto;
    display: block;
    flex-shrink: 0;     /* prevents flex layout from squishing logo to 0px
}

/*HEADER NAVIGATION LINKS

.main-nav {
    display: flex;
    flex-direction: row; /* keeps all futer menu links side by side 
    align-items: center; /* aligns link text horizontally with each other 
    gap: 25px;           /* ADJUST HERE: space between menu links
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.main-nav a:hover {
    text-decoration: underline;
}

/* MAIN CONTENT */

.content-wrapper {
    flex: 1;   /*Expands main area so footer sits cleanly at bottom */
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-box {
    background-color: #ffffff
    border: 1px solid #dddddd;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
 
.info-box h1 {
    color: #262e43;
    margin-bottom: 12px;
    font-size: 1.6rem;
}

/* New Footer */

.site-footer {
    background-color: #262e43;
    color: #ffffff;
    width: 100%;
    min-height: 240px;              /* ADJUST HERE: Overall footer height */
    padding: 50px 20px 40px 20px;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Column 1 (left logo) | Column 2 (links 1) | Column 3 (links 2 + Bottom logo) */
    grid-template-columns: 1.5fr 0.8fr 1fr;
    gap: 10px;
    align-items: start;
}

/* column 1: top left logo */
.footer-col-left {
    display: flex;
    justify-content: flex-start;
    padding-left: 10%;             /*ADJUST HERE: shifts left logo inward */
}

.footer-logo-top {
    height: 160px;                   /*ADJUST HERE: shifts left logo inward */
    width: auto;
    display: block;
}

/* columns 2 &3: left aligned link list */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;        /* aligns all link text cleanly to the left */
    gap: 0.5px;                      /* ADJUST HERE: vertical spacing between links */
}

.footer-links a {
    color: #cfd7c8;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
    color: #a4b3ac;
}

/* Column 3 Bottom stack: Logo & Copyright left-aligned under links */
.footer-col-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;          /* Keeps links, logo, and copyright flush left */
}

.footer-brand-bottom {
    margin-top: 20px;                 /* ADJUST HERE: Space between "contact" link and bottom logo */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-logo-bottom {
    height: 60px;                      /* ADJUST HERE: Bottom-right footer logo size */
    width: auto;
    display: block;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #cccccc;
    text-align: left;
}

@media (max-width: 768px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-col-left {
        padding-left: 0;
    }
}

/*FOOTER

.site-footer {
  background-color: #262e43;
  color: #ffffff;
  width: 100%;
  padding: 80px 20px;               /*ADJUST HERE: top/bottom padding controls footer thickness
  min-height: 230px;                /*ADJUST HERE: overall footer height
  display: flex;
  align-items: center;
}

.footer-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

                                    /* TOP ROW: LOGO 1 (center-left top) + Footer Links

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 10%;              /*ADJUST HERE: shifts top logo toward center-left
}

.footer-logo-top {
    height: 160px;                  /*ADJUST HERE: top-left footer logo size
    width: auto;
    display: block;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 10%;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

                                    /* Bottom row: stacks bottom logo & copyright on the right
.footer-bottom {
    display: flex;
    justify-content: flex-end;      /* pushes the logo/copyright stack to the right
  /*  align-items: flex-end; */
  /*  flex-wrap: wrap;
    gap: 20px;
    padding-right: 10%;              /*ADJUST HERE: Shifts bottom logo toward center-right
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;           /*stacks copyright directly under the logo
    align-items: center;              /* centers copyright text under logo
    gap: 10px;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #cccccc;
    text-align: center;
}

.footer-logo-bottom {
    height: 60px;                     /* ADJUST HERE: bottom-right footer logo size 
    width: auto;
    display: block;
}

/* MOBILE SCREEN SCALING */


/*
@media (max-width: 768px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-top, 
    .footer-bottom {
     /*   flex-direction: column; 
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-left: 0;
        padding-right: 0;
    }
    .footer-nav {
        padding-right: 0;
    }

    .info-box {
        padding: 20px;
    }

    info-box h1 {
        font-size: 1.35rem;
    }
}
