/*
COLOURS:
Granite:    color: #4d6864;
Muted Teal: color: #849E94;
            background-color: rgba(132,158,148, .80);
Ash Grey:   color: #BBCDC2;
Beige:      color: #ECEFDB;

FONTS:
font-family: "Open Sans", sans-serif;
font-family: "Playfair Display", serif;

*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:"wdth" 100;
    line-height: 1.6;
    color: #333;
    background: url(../images/background-leaves-header.png) no-repeat;
    background-size: contain;
    background-position: top;
    background-color: #bbcdc2;
}
h1, h2, h3{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    color: #4d6864;
}
.site-main{
    background: url(../images/background-leaves-body.png) repeat-y;
    background-size: contain;
}
/* Navigation */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(132,158,148, .80);
    padding: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-family: "Playfair Display", serif;
}
.skip-link {
    position: absolute;
    left: -999px;
    top: auto;
    background: black;
    color: white;
    padding: 10px;
    z-index: 999;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
}   
.nav ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
}
.nav a {
    color: #ECEFDB;
    text-decoration: none;
    font-weight: 600;
}
.nav a:hover {
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 1001;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.nav ul {
    display: flex;
    justify-content: center;
    gap: 28px;
    list-style: none;
}

.open-icon {
    display: inline;
}

.close-icon {
    display: none;
}

.nav-open + .nav-toggle .open-icon {
    display: none;
}

.nav-open + .nav-toggle .close-icon {
    display: inline;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media (max-width: 768px) {
    .site-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
    }
    
    .nav {
        position: absolute;
        top: 48px;
        left: 0;
        width: 100%;
        background: #7f9687;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav ul {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 16px;
    }

    .nav-open {
        max-height: 300px;
    }

    .nav-toggle {
        display: block;
    }

    .site-header button{
        font-size: 18px;
    }

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

/* Hero */
.hero {
    text-align: center;
    padding: 120px 20px 100px;
}
.hero h1 {
    font-size: 65px;
    font-size: clamp(32px, 6vw, 65px);
    letter-spacing: 2px;
    margin-bottom: 16px;
    color: #4d6864;
}
.tagline {
    font-size: 24px;
    font-size: clamp(16px, 3vw, 24px);
    font-family: "Playfair Display", serif;
    font-weight: bold;
    margin-bottom: 36px;
    color: #4d6864;
}
.cta-button {
    display: inline-block;
    padding: 14px 26px;
    background: #849e94;
    color: #ECEFDB;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    font-family: "Playfair Display", serif;
    font-size: 1.5em;
}
.cta-button:hover {
    background: #5f7468;
}


/* Sections */

.section {
    position: relative;
    z-index: 2;
    padding: 70px 20px;
    margin: auto; 
    max-width: 100%;
}
.wrap{
     max-width: 1100px;
} 
@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
    }
}
.section h2 {
    font-size: clamp(24px, 4vw, 30px);
}
.alt {
    background-color: rgba(132,158,148, .60);
}
.alt h2{
    color: #ECEFDB;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: auto;
    align-items: center;
}
.alt .two-col{
    align-items: normal;
}
.two-col.small {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 900px) {
    .two-col {
        grid-template-columns: 1fr;
    }
    .image {
        order: -1;
    }
}
.text h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.text p {
    margin-bottom: 14px;
}

.text ul {
    margin: 10px 0 20px 20px;
}

/* Images */
.image{
    text-align: center;
}
.image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    text-align: center;
}
.alt .image img {
    width: 80%;
}
.icon{
    width: 22px;
    margin-bottom: -5px;
}
/* Contact */

#contact .two-col{
    align-items: normal;
 }
.contact-info a {
    color: #333;
    text-decoration: none;
}
.contact-info a:hover{
    color: #4d6864;
    text-decoration: underline;
}
form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 12px;
}

input,
textarea, button {
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #bbb;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

textarea {
    min-height: 120px;
}

.site-main button {
    margin-top: 16px;
    padding: 14px;
    background: #5f7468;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    border: none;
}

.site-main button:hover {
    background: #4c5f55;
}

.site-main .submit-btn {
    /* padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px; */
    cursor: pointer;
}

.site-main .submit-btn:disabled {
    background-color: #909392;
    cursor: not-allowed;
}

.site-main .form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.site-main .form-feedback.success {
    background-color: #d4edda;
    color: #155724;
}

.site-main .form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
}


/* Footer */
.footer-wrapper{
    background: url(../images/background-leaves-footer.png) no-repeat;
    background-position: bottom right;
    background-size: contain;
}
.notice {
    max-width: 700px;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}
.site-footer {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(132,158,148, .80);
    color: #ECEFDB;
    font-family: "Playfair Display", serif;
}
.site-footer a{
    color: #ECEFDB;
    text-decoration: none;
}
.site-footer a:hover{
    text-decoration: underline;
}