/* GLOBAL RESET / BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;              /* Use left+right instead of width:100% */
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 24px;
    background-color: rgba(0,0,0,0.7);
}

/* Logo */
.nav-logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    white-space: nowrap;
}

/* Desktop links */
.nav-links {
    display: flex;
    gap: 24px;
    min-width: 0;          /* Allow shrinking if needed */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    white-space: nowrap;   /* Keep each label on one line */
}

/* Hamburger (hidden on desktop) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 16px;
}

.hamburger span {
    height: 3px;
    width: 24px;
    background: #fff;
    margin-bottom: 5px;
    border-radius: 5px;
}

/* Mobile dropdown menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.9);
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    padding: 12px 16px;
}

.mobile-menu a {
    color: #fff;
    padding: 8px 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background: url('img/matt-clean-crop.jpg') center/cover no-repeat;
//    background: #333;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5%;
}

@media (max-width: 768px) {
	.hero {
		background-position: 33% center;
	}
}

/* Make room for fixed navbar */
body {
    padding-top: 70px;
}

/* Hero text */
.hero-text {
    color: #fff;
    font-size: 4rem;
    font-weight: bold;
    max-width: 40%;
    text-align: right;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

/* MAIN CONTENT */
main {
    padding: 40px 40px 60px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-text {
        font-size: 2.5rem;
        max-width: 80%;
    }
}

