/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Add font family and color to body */
body {
    font-family: sans-serif;
}

/* Style header */
header {
    /* Make header background color dark */
    background-color: #111;
    /* Make text color white */
    color: white;
    /* Add padding to header */
    padding: 1rem 2rem;
    /* Make header display as flex box */
    display: flex;
    /* Make header content justify to space-between */
    justify-content: space-between;
    /* Align header content to center */
    align-items: center;
}

/* Style logo */
.logo {
    /* Make logo font bold and font size 1.5rem */
    font-weight: bold;
    font-size: 1.5rem;
}

/* Style links in nav */
nav a {
    /* Make link color white */
    color: white;
    /* Remove underline from links */
    text-decoration: none;
    /* Add margin to links */
    margin-left: 1.5rem;
    /* Make link font size 1rem */
    font-size: 1rem;
}

/* Style menu toggle */
.menu-toggle {
    /* Hide menu toggle by default */
    display: none;
    /* Make menu toggle font size 1.5rem */
    font-size: 1.5rem;
    /* Make menu toggle cursor a pointer */
    cursor: pointer;
}

/* Media query for screen width less than 768px */
@media (max-width: 768px) {
    /* Hide nav by default */
    nav {
    display: none;
    /* Make nav display as flex box */
    flex-direction: column;
    /* Make nav background color dark */
    background-color: #222;
    /* Make nav position absolute */
    position: absolute;
    /* Make nav top position 60px */
    top: 60px;
    /* Make nav right position 0 */
    right: 0;
    /* Make nav width 200px */
    width: 200px;
    /* Add padding to nav */
    padding: 1rem;
    }

    /* Make nav active */
    nav.active {
    /* Make nav display as flex box */
    display: flex;
    }

    /* Make menu toggle visible */
    .menu-toggle {
    /* Make menu toggle display as block */
    display: block;
    }
}

.banner {
    height: 100vh;
    background: url('../assets/slider1.png') center center/cover no-repeat; /* centered, covers entire element, doesn't repeat*/
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.banner p {
    font-size: 1.2rem;
}

.about {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image {
    flex: 1 1 40%;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

.about-text {
    flex: 1 1 55%;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-text button {
    padding: 0.75rem 1.5rem;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
}

.about-text button:hover {
  background-color: #333;
}