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

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    background-color: #333; /* match nav bar color */
    color: #fff; /* set default text color to white */
}

header {
    background-color: #333;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
}

.nav-links li {
    list-style: none;
    margin-left: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
}

.logo img {
    width: 100px;
    height: auto;
}

.hamburger {
    display: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: #fff;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* make image cover entire section */
}

.hero {
    position: relative;
    text-align: center;
    height: 100vh;
    overflow: hidden;  
}

.hero .bg {
    position: absolute;
    width: 120%; 
    height: 120%;
    right: 0;   /* Align the image to the right */
    top: 0;     /* Align the image to the top */
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    animation: backgroundMove 5s ease-in-out forwards;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: -1px 1px 2px #000,
				  1px 1px 2px #000,
				  1px -1px 0 #000,
				  -1px -1px 0 #000;
}

.hero-text h1 {
    font-size: 5rem; 
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 0.5s;
    white-space: nowrap; /* prevent text from wrapping to the next line */
}

.hero-text p {
    font-size: 3rem;
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 2.5s;
    white-space: nowrap; /* prevent text from wrapping to the next line */
}

.hero-text .divider {
    width: 0;
    height: 2px;
    background: #fff;
    margin: 0 auto;
    animation: divider 2s forwards;
    animation-delay: 1.5s;
}

.features {
    padding: 2rem 0;
    text-align: center; /* center the features section */
}

.features ul {
    margin-top: 1rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    text-align: center; /* center the features section */
}

.gallery img {
    width: calc(100% / 3 - 10px);
    height: auto;
}

.contact {
    padding: 2rem 0;
    text-align: center; /* center the features section */
}

.contact p {
    margin-top: 1rem;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

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

    .hamburger {
        display: block;
        cursor: pointer;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }
}

@keyframes fadeIn {
    100% { opacity: 1; }
}

@keyframes divider {
    100% { width: 50%; }
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(15%, -15%); }   /* Move image to the bottom left */
}
