

/*--- General site layout + default styling ---*/ /*--- NOAH LOUIS IS FEELING STYLISH ---*/

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.5;
    font-family: 'Calibri', sans-serif;
}

* {
    box-sizing: border-box;
}

main {
    width: 100%;
    max-width: 960px;
    padding-left: 2em;
    padding-right: 2em;
    text-align: center;
}

header {
    border-bottom: 1px solid #000000;
    margin-bottom: 0.5em;
}

footer, footer h3, footer p {
    margin-top: auto;
    background-color: #202945;
    color:#ffffff;
    align-self: stretch;
    text-align: center;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 0.5em;
    -webkit-mask-image: linear-gradient(to top, black 90%, transparent 100%);
    mask-image: linear-gradient(to top, black 90%, transparent 100%);
}

h3,h4,h5,h6 {
    color: #253c8a;
    margin-top: 1em;
    margin-bottom: 0.3em;
    font-weight: normal;
}

h1 {
    color: #000000;
    display: inline-block;
    font-size: clamp(1.4em, 3.5vw, 2em);
    box-shadow: 8px 8px 5px #00000089;
    font-family: 'Calibri', sans-serif;
    padding: 0.2em 1em;
    background-color: #ffffff;
    border-radius: 0.5em;
}

h2 {
    color: #1A3D6D;
    display: inline-block;
    font-size: clamp(0.8em, 2vw, 1.5em);
    font-style: italic;
    box-shadow: 8px 8px 5px #00000089;
    padding: 0.2em 1em;
    background-color: #ffffff;
    border-radius: 0.5em;
}

p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 8em;
    padding: 0 80px;
    background-color: #ffffffdc;
    align-self: stretch;
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.site-logo {
    color: #000000;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: auto;
    font-size: 2em;
    font-weight: bold;
}

.navigation {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    top: 0.1em;
    list-style-type: none;
}

.navigation-link {
    color: #374d94;
    padding: 0em 1em 0em 1em;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    list-style-type: none;
}

.navigation-link:hover {
    color: #f3c300;
}

/* Table styling */

table {
    margin: 2em 0;
    border-collapse: collapse;
}

thead {
    background-color: #eaebf5;
}

th, td {
    border: 1px solid #d7d7d7;
    padding: 0.5em 0.8em;
    text-align: left;
}


/* Form styling */

form {
    width: 100%;
    max-width: 40em;
    border: 10px solid #f3c300;
    background-color: #ffffff;
    box-shadow: 8px 8px 5px #00000089;
    border-radius: 1em;
    padding: 1.5em;
    margin: 2em 0;
}


label {
    font-size: 0.9em;
}

input[type='text'], input[type='email'], textarea {
    border-style: solid;
    border-width: 1px;
    border-color: #b3b3b3;
    width: 100%;
    margin-bottom: 1em;
    padding: 0.3em;
}

input[type='radio'] {
    display: inline;
    margin-right: 0.5em;
}

textarea {
    resize: none;
}

input[type='submit'] {
    width: auto;
    padding: 0.5em 2em;
    background-color: #1a3d6d;
    color: white;
    border-style: none;
    border-radius: 0.3em;
    margin: 1.5em 0 0 0;
}

.form-header {
    margin-top: 0;
}

.form-description {
    margin-bottom: 1.5em;
}

/*-- All of my additions are below here --*/

svg {
    width: 30%;
    height: auto;
}

.site-icon {
    width: 6em;
    transform:scale(1.3);
    transition: ease, 0.8s;
}

.site-icon:hover {
    transform: scale(1.6);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 1.5em;
    text-align: center;
    padding-bottom: 0.8em;
}

.socials a {
    display: inline-block;
    width: 36px;
    height: 36px;
}

.bi {
    color: #ffffff;
    transform: scale(4);
    transition: color 0.8s ease, transform 0.5s ease;
}

.bi:hover {
    color: #f3c300; transform: scale(4.5); 
}

.privacy-policy {
    color:#ffffff;
    text-align: center;
    padding: 0.7em;
}

.page-number {
    text-align: end;
    color: #ffffff;
    margin-bottom: 0em;
    font-family: 'Calibri-Light','sans-serif';
    font-size: 8.5pt;
    padding: 0.8em;
}

.pf1, .pf2 {
    display: inline-block;
    width: 49%;
    margin-bottom: 0em;
    font-family: 'Calibri-Light','sans-serif';
    font-size: 8.5pt;
    padding: 0.3em;
}

.pf1 {
    text-align: start;
    padding-left: 0.3em;
    color:#202945;
}

.pf2 {
    text-align: end;
    padding-right: 0.1em;

}
.copyright {
    font-family: 'Calibri-Light','sans-serif';
    font-size: 8.5pt
}

body.index {
    background-image: url(images/AdobeStock_1087353328.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
}

body.service {
    background-image: url(images/AdobeStock_63511291.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
}

body.contact {
    background-image: url(images/AdobeStock_39219837.jpeg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
}

body.contact main {
    max-width: 1200px
}

.homepage-info {
    display: flex;
    flex-direction: column;       
    gap: 10px;                
    padding: 20px;
    width: 100%;                      
    margin-left: auto;
    margin-right: 0;          
}

.about {
    display: inline-block;
    font-size: clamp(0.7em, 1.5vw, 1em);
    text-align: start;
    align-self: end;
    width: clamp(400px, 20vw, 500px);
    padding: clamp(0.5em, 1vw, 1em);
    box-shadow: 8px 8px 5px #00000089;
    background-color: #ffffff;
    border-radius: 1em;
    margin-top: 2em;
    order: 1;
}

.why {
    display: inline-block;
    font-size: clamp(0.7em, 1.5vw, 1em);
    text-align: start;
    align-self: end;
    width: clamp(400px, 20vw, 500px);
    padding: clamp(0.5em, 1vw, 1em);
    box-shadow: 8px 8px 5px #00000089;
    background-color: #ffffff;
    border-radius: 1em;
    margin-bottom: 2em;
    order: 3;
}

ul {
    padding-left: 2em;
}

.planning-button {
    background-color: #1a3d6d;                        
    border-radius: 3em;              
    font-weight: bold;               
    font-size: 30px;                     
    padding: 5px 20px;              
    max-width: fit-content;
    box-shadow: 4px 4px 5px #00000089;
    transform: scale(1);
    transition: ease 0.5s;
    position: relative;
    order: 2;
    animation: pulse 1500ms infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px 0 #ffffff;
    }

    100% {
        box-shadow: 0 0 10px 30px transparent;
    }
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

.planning-button a {
    color:#f3c300;
    text-decoration: none;
    transition: ease 0.5s;
}

.planning-button:hover {
    background-color: #f3c300;  
    transform: scale(1.1);                  
}

.planning-button a:hover {
    color:#1a3d6d;       
    transform: scale(1.1);                  
}

.servicemembershipinfo {
    display: flex;
    flex-direction: row;
    gap: 2em;
    margin-bottom: 1em;
    margin-top: 2em;
}

.membershiptype {
    font-size: clamp(0.7em, 1.5vw, 1em);
    text-align: start;
    width: clamp(400px, 60vw, 700px);
    padding: clamp(1em, 2vw, 2em);
    box-shadow: 8px 8px 5px #00000089;
    background-color: #ffffff;
    border-radius: 1em;
    margin: 0 auto;
}

.membershiptype table {
    width: 100%;
    border-collapse: collapse;
    border: 3px solid #000;
    box-shadow: 8px 8px 5px #00000089;
}

.membershiptype th {
    background-color: #e0e0e0;
    font-weight: bold;
}

.membershiptype th, .membershiptype td {
    border: 2px solid #000;
    padding: 10px;
    text-align: left;
}

.membershiptype tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}

.membershiptype tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.servicetype {
    font-size: clamp(0.7em, 1.5vw, 1em);
    text-align: start;
    width: clamp(280px, 45vw, 500px);
    padding: clamp(0.5em, 1vw, 1em);
    box-shadow: 8px 8px 5px #00000089;
    background-color: #ffffff;
    border-radius: 1em;
    margin: 0 auto;
}

.servicetype li {
    margin-bottom: 0.75em; 
    line-height: 1.6;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 2em;
}

.gallery img {
    width: 40%;
    box-shadow: 8px 8px 5px #00000089;
    margin-bottom: 1em;
    transform:scale(1);
    transition: ease-in-out 0.5s;
}

.gallery img:hover {
    transform:scale(1.1)
}

.contacttype {
    width: 100%;
    display: flex;
    gap: 3em;
    justify-content: center;
    align-items: center;
    margin-top: 3em;
}

.contactinfo {
    flex: 1;
    background-color: #ffffff;
    box-shadow: 8px 8px 5px #00000089;
    border-radius: 3em;
    padding: 1em 0 1em 1.2em;
    text-align: left;
    max-width: 350px;
    margin: 0;
    list-style: none;
}


.contactinfo ul {
    margin-top: 1em;
    padding-left: 0.5em;
}

.contactinfo li svg {
    width: 40px;
    height: auto;
    fill: #000000;
    flex-shrink: 0;
    transform:scale(1);
    transition: fill 0.5s ease, transform 0.5s ease;
}

.contactinfo li {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: 1.5em;
}

.contactinfo li:hover svg {
    fill: #f3c300;
    transform:scale(1.15);
}

.contactform {
    flex: 2;
    max-width: 650px;
}


/*--- MOBILE FRIENDLY CSS ---*/

@media (hover: none) and (pointer: coarse) {
    .planning-button {
        animation: pulse 1500ms infinite, breathe 3s ease-in-out infinite;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding-top: 1.5em;
    }

    .navigation {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 2em;
        font-size: smaller;
        padding: 0.5em;
    }

    .navigation-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0em 1em 0em 1em;
    }

    .homepage-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .about, .why {
        width: 80%;
        margin-bottom: 15px;
        padding: 0.5em;
        align-self: center;
        margin-top: 0em;
    }

    .servicemembershipinfo {
        flex-direction: column;
        margin: 0;
        padding: 0.5em;
        align-self: center;
    }

    .servicetype, .membershiptype {
        width: 90%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .planning-button {             
        font-size: 15px;                     
        position: static;
        order: 4; 
    }

    .gallery img {
        width: 30%;
        max-width: 500px;
    }

    .contacttype {
        flex-direction: column;
        align-items: center;
        gap: 1.5em;
    }

    .contactinfo, .contactform {
        width: 88%;
        max-width: 420px;
        padding: 0.6em 0.8em;
        font-size: 0.9em
    }

    .contactinfo ul {
        font-size: 0.95em;
    }

    .contactinfo li {
        margin-bottom: 1em;
        gap: 0.5em;
    }

    .contactinfo li svg {
        width: 16px;
        height: 16px;
    }

    .contactform form {
        padding: 0.8em;
    }

    .contactform textarea {
        height: 120px;
        max-height: 150px;
    }

}