*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Play around with colours and font sizes */
@font-face {
    font-family: Belgiano;
    src: url("../fonts/Belgiano-Serif.otf") format(opentype);
}

:root {
    --ff-primary: 'Poppins', sans-serif;
    --ff-secondary: 'Belgiano', serif;
    --fw-reg: 400;
    --fw-bold: 400;

    --clr-light: #f1f2ea;
    --clr-dark: #12552C;
    --clr-accent: #618B65;

    --fs-h1: 2rem;
    --fs-h2: 1.5rem;
    --fs-h3: 1.25rem;
    --fs-body: 1rem;

    --bs: 0.25em 0.25em 0.75em rgba(0,0,0,0.25),
          0.125em 0.125em 0.25em rgba(0,0,0,.125);
}


@media (min-width: 800px) {
    :root {
        --fs-h1: 2.25rem;
        --fs-h2: 1.5rem;
        --fs-h3: 1.25rem;
        --fs-body: 1rem;
    }
  
}

/* General styles */

html {
    scroll-behavior: smooth;
}


body {
    background: var(--clr-light);
    color: var(--clr-dark);
    margin: 0;
    font-family: var(--ff-primary);
    font-size: var(--fs-body);
    line-height: 1.6;
    padding-top: 100px;
}



body p {text-indent: 2rem;
    margin: 1rem;
}

section {
    margin: 2rem .5rem;
}

img{
    display: block;
    max-width: 100%;
}

strong {
    font-family: var(--ff-secondary);
    font-weight: var(--fw-reg);
}

:focus {
    outline: 3px solid var(--clr-accent);
    outline-offset: 3px;
}


/* Typography */

h1,
h2,
h3 {
    line-height: 1;
    margin: 1.5rem 1rem;
    font-family: var(--ff-secondary);
    font-weight: 400;
    letter-spacing: .02rem;
}

h1 { font-size: var(--fs-h1); padding-bottom: 0.25em; }
h2 { font-size: var(--fs-h2)  }
h3 { font-size: var(--fs-h3) }

.section__title {
    margin-bottom: .25em;

}

.section__title--intro {
    font-weight: var(--fw-reg);
}

.section__subtitle {
    margin: 0;
    font-size: var(--fs-h3);
}

.section__subtitle--intro,
.section__subtitle--about {
    background: var(--clr-accent);
    font-family: var(--ff-secondary);
    padding: 0.25em 0.5em;
    
}

/* Header */



header {
    display:flex;
    justify-content: space-between;
    align-items: center;
    max-height: 100px;
}

/* Navbar Styles */
.nav {
    display: flex;
    justify-content: space-between; /* Space between logo and button */
    align-items: center; /* Vertically center items */
    background-color: var(--clr-light); 
    padding-right: 1rem; /* Padding on the right */
    position: fixed; /* Fixed at the top */
    top: 0; /* Stick to the top */
    width: 100%; /* Full width */
    z-index: 1000; /* Ensure it stays above other content */
}

/* Basic Button Styles */
.book-button {
    background-color: transparent; /* Transparent background */
    border: 2px solid var(--clr-dark); /* Blue border */
    color: var(--clr-dark); /* Blue text color */
    font-weight: var(--fw-reg); /* Reg font weight */
    font-family: var(--ff-secondary); /* Secondary font family */
    padding: 10px 20px; /* Padding for better spacing */
    font-size: var(--fs-h3); /* Font size */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    position: relative; /* For pseudo-elements */
}


/* Hover Effect */
.book-button:hover {
    background-color: var(--clr-dark); /* Solid background on hover */
    color: var(--clr-light); /* White text on hover */
}


/* Intro section */


.intro {
    margin: 0 auto;
    padding-bottom: 1em;
}


.intro_button {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
    padding-right: 1rem;

}

@media (min-width: 800px) {
    .intro {
        display: flex;
        max-width: 1000px;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 1em;
    }
    .intro_body {
        width: 750px;
        height: auto;
        float: left;
        padding-right: 2em;

    }
    .intro_button {
        margin: 0 auto;
    }
        
    
}

/* Location section */

.location {
max-width: 1000px;
margin: 0 auto;
    margin-bottom: 1em;
}
.googlemaps {
    position: relative;
    padding-bottom: 50%; 
    height: 0;
    overflow: hidden;
    margin: 0 1em;
  }
  .googlemaps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
  }


    

/* My services section */

.my-services {
    max-width: 1000px;
    margin: 0 auto;

    }




/* About me section */

.about-me {
    max-width: 1000px;
    margin: 0 auto;

}
.about-me__img {
    width: 40%;
    height: auto;
    display: block;
    margin: 0 auto;
    


} 

@media (min-width: 800px) {
    .about-me {
        margin: 0 auto;
    }
    
    .section__title--about {
        grid-area: title;
    }
    
    .about-me__img {
        width: 25%;
        height: auto;
        float: right;
        margin: 1em 1em 1em 2em;
        shape-outside: circle(100%);
    
    } 


}



/* footer */
.footer_pre {

width: 100%;
height: 100%;
object-fit:fill;
}

.footer {
    background-color: var(--clr-dark);
    background-size: cover;
    color: var(--clr-light);
    text-align: center;

    padding: 2.5em 0;


}
.footer p{

    max-width: 1000px;
    margin: 0 auto;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer__link {
    font-family: var(--ff-secondary);
}

/* email length */
.short__email {
    display: none;
}

@media (max-width: 600px) {
    .short__email {
        display: inline-block;
    }
    .long__email {
        display: none;
    }
}

span {
    display: block;
    margin: 0 0 1em 0;
}

/* Social list */

.footer__link:hover,
.social-list__link:hover,
.long__email:hover,
.short__email:hover {

    opacity: .7;
}

.footer__link:hover,
.long__email:hover,
.short__email:hover {
    text-decoration: underline;
}

.social-list {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 1em 0;
    padding: 0;
}

.social-list__item {
    margin: .5em;
}

