/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');


/* Global */
body {
    background: white;
    color: black;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}


/* Navigation */
nav {
    padding: 30px 10px;
    text-align: center;
}

nav a {
    color: black;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}

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


/* Headings */
h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
}


/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 400;
}

.hero p {
    font-size: 12px;
    margin-top: 15px;
}


/* Buttons */
.hero-buttons a {
    display: inline-block;
    margin: 20px 10px;
    padding: 12px 30px;
    border: 1px solid black;
    color: black;
    text-decoration: none;
    transition: 0.3s;
}

.hero-buttons a:hover {
    background: black;
    color: white;
}


/* Intro Section */
.intro {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.intro h2 {
    font-size: 28px;
    letter-spacing: 2px;
}

.intro p {
    font-size: 18px;
    line-height: 1.8;
}


/* About Page */
.about {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.about h1 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}


/* Portfolio Page */
.portfolio {
    max-width: 900px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.portfolio h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.portfolio p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* Contact Page */
.contact {
    max-width: 700px;
    margin: 80px auto;
    padding: 20px;
    text-align: center;
}

.contact h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact p {
    font-size: 18px;
    margin-bottom: 40px;
}

.contact ul {
    list-style: none;
    padding: 0;
}

.contact li {
    margin: 20px 0;
    font-size: 18px;
}

.contact a {
    color: black;
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    text-align: center;
    padding: 30px;
    font-size: 12px;
}


/* Mobile Responsive */
@media (max-width: 768px) {

  @media (max-width: 768px) {

    nav {
        padding: 20px 10px;
        white-space: nowrap;
    }

    nav a {
        display: inline-block;
        margin: 0 8px;
        font-size: 12px;
    }

    .hero {
        min-height: 70vh;
        padding: 20px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .intro {
        padding: 20px;
    }

    .intro p {
        font-size: 16px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }

    .gallery img {
        height: auto;
    }

}
