html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    text-align: center;
    font-family: 'Lora', Georgia, serif;
}

h2 {
    font-style: italic;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.3em;
}

p {
    font-size: 1.1em;
}

/* Header & Navigation */
header {
    top: 0;
    position: sticky;
    background-color: #404050;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
    padding: 0 20px;
}

nav {
    height: 60px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.logo {
    text-decoration: none;
    color: antiquewhite;
    font-weight: 500;
    font-size: 1.5em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: antiquewhite;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #D9BFCB;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url(images/big-thach-hero.jpg);
    background-position: center;
    background-size: cover;
    color: antiquewhite;
    height: 500px;
    padding: 20px;
}

#hero-title {
    font-family: "Mr Bedfort", cursive;
    padding: 0px 20px;
    margin: 0 0 11px 0;
    font-size: 7em;
}

#hero-subtitle {
    background: #8B6841;
    max-width: 450px;
    padding: 10px 15px;
    margin: 0;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 8px;
    font-size: 1.2em;
}

/* Activities Section */
#activities {
    background-color: #D9BFCB;
    color: #272B26;
    padding: 60px 20px;
}

#activities-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto
}

.activity-item {
    width: 300px;
}

.activity-item h3 {
    margin: 15px 0 0 0;
}

.img-item {
    width: 150px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px;
}

/* History Section */
#history {
    background-color: #F5EFE6;
    padding: 60px 20px 10px 20px;
    color: #272B26;
}

.history-card {
    display: flex;
    align-items: center;
    max-width: 900px;
    gap: 40px;
    margin: 0 auto 45px auto;
}

.history-card.reverse {
    flex-direction: row-reverse;
}

.history-img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
    flex-shrink: 0;
}

.history-text {
    text-align: left;
}

.history-text h3 {
    color: #8B6841;
}

/* Guide Section */
#guide {
    background-color: #B8D4D0;
    padding: 60px 20px;
    color: #272B26;
}

.guide-card {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    gap: 50px;
    background-color: #E8F3F1;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px;
}

.guide-content {
    text-align: left;
}

.guide-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.guide-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 10px;
}

.guide-quote {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 15px;
}

.guide-name {
    font-weight: bold;
    color: #8B6841;
    margin: 0;
}

/* Footer */
footer {
    background-color: #272B26;
    color: antiquewhite;
    padding: 25px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

#hero, #activities, #history, #guide {
    scroll-margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
        font-size: 0.9em;
    }

    .logo {
        font-size: 1.2em;
    }

    #hero-title {
        font-size: 5em;
    }

    #hero-subtitle {
        font-size: 1em;
    }

    h2 {
        font-size: 1.7em;
    }

    .history-card,
    .history-card.reverse {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .history-text {
        text-align: center;
    }

    .history-img {
        width: 100%;
        max-width: 350px;
    }

    .guide-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .guide-content {
        text-align: center;
    }

    .guide-img {
        width: 150px;
        height: 150px;
    }
}

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