/* latin */
@font-face {
    font-family: 'Gentium Basic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/gentiumbasic/v18/Wnz9HAw9aB_JD2VGQVR80We3LA2JiBA8YII.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Gentium Basic';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/gentiumbasic/v18/WnzgHAw9aB_JD2VGQVR80We3JLasnTMebaiLbBR2kw.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin-ext */
@font-face {
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/dancingscript/v24/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSo3ROp8hNX6plRPjLo.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://img1.wsimg.com/gfonts/s/dancingscript/v24/If2cXTr6YS-zF4S-kcSWSVi_sxjsohD9F50Ruu7BMSo3Sup8hNX6plRP.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    padding: 30px;
    padding-top: 16px;
    font-family: 'Gentium Basic', Georgia, serif;
}

h1, h2, h3 {
    text-shadow: 0.3px 0 0 rgb(27, 27, 27), -0.3px 0 0 rgb(27, 27, 27);
    font-weight: 300;
    letter-spacing: 0.214em;
}
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
h4 {
    font-family: 'Dancing Script', serif, system-ui;
    line-height: 1.4;
    font-size: 38px;
    font-weight: 400;
}

/* ------ Header Styles --------- */

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.appointment-banner {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: black;

    font-size: 16px;
    letter-spacing: 0.214em;
    color: rgb(226, 226, 226);
    line-height: 0.3;
    font-weight: 500;
    text-shadow: 0.3px 0 0 rgb(226, 226, 226), -0.3px 0 0 rgb(226, 226, 226);
    margin-top: 0;
    margin-bottom: 0;
}

.appointment-banner-flower {
    height: 30px;
    max-width: 20px;
}

.image-logo {
    padding-top: 30px;
}

nav {
    padding-bottom: 40px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li a {
    text-decoration: none; 
    color: #333;
    padding: 8px 12px;
    font-size: 16px;
}

nav ul li a.selected {
    text-decoration: underline;
}

/* ------ Main Body Styles --------- */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main p, main ul, main li, main td { 
    color: rgb(94, 94, 94);
    font-size: 18px;
    line-height: 34px;
}

main section.content {
    margin-left: 12%;
    margin-right: 12%;
}

/* ------ Footer Styles --------- */

footer {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

footer .copyright {
    font-family: 'Gentium Basic', Georgia, serif;
    font-size: 14px;
}

/* -------- Index Page Custom Styles -------- */

/* Picture of the trees */
section#index-trees {
    background-color: rgb(239, 239, 239);
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 70px;
}
section#index-trees #index-tree-frame {
    width: 550px;
    height: 600px;
    background-color: white;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
    top: 40px;
}
section#index-trees img {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* "Pay My Bill" link on the index page */
a#index-paybill         { color: green; }
a#index-paybill:hover   { color: darkgreen; }
a#index-paybill:visited { color: green; }

/* Services Photos and Captions */
section#index-services {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    justify-content: center;
}
section#index-services > section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    text-align: center;
}
section#index-services > section > img {
    max-width: 300px;
}

/* We speak spanish */
section#index-spanish {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    background-color: black;
    justify-content:  center;
    align-items: center;
}
section#index-spanish img {
    max-width: 600px;
    padding: 40px;
}
section#index-spanish div {
    height: 150px;
    max-width: 500px;
    text-align: center;
    align-items: center;
}
section#index-spanish h1 {
    color: white;
    letter-spacing: normal;
}

/* ----------- About Us --------------- */
section#about-flowers img {
    max-width: 960px;
}

section#about-adult-child img {
    max-width: 800px;
    margin-bottom: 50px;
}

section#about-review {
    max-width: 700px;
    text-align: center;
}
section#about-review a {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 300;
    text-shadow: 0.3px 0 0 rgb(27, 27, 27), -0.3px 0 0 rgb(27, 27, 27);
    letter-spacing: 0.214em;
    display: inline-block;
    padding: 15px 30px;
    color: black;
    background-color: transparent;
    border: 2px solid black;
    text-decoration: none;
    border-radius: 0;
}
section#about-review a:hover {
    background-color: black;       /* Background turns black on hover */
    color: rgb(185, 185, 185);  
}

/* --------------- Resources Page ------------------- */
section#resources-links ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    margin-bottom: 30px;
}
section#resources-links li {
    line-height: 1.2;
}
section#resources-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    text-shadow: 0.3px 0 0 rgb(27, 27, 27), -0.3px 0 0 rgb(27, 27, 27);
    letter-spacing: 0.214em;
}
section#resources-links a:hover {
    text-decoration: underline;
}
section#resources-flowers img {
    max-width: 500px;
}

/* ------------------- Contact Us Page ----------------- */
section#contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
section#contact-info div {
    flex: 1;
    margin-right: 20px;
}
section#contact-info ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
section#contact-info img {
    max-width: 500px;
    max-height: 400px;
}

@media (max-width: 768px) { /* Adjust this breakpoint as needed */
    section#contact-info {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Align items to the left */
    }
    section#contact-info div {
        margin-right: 0;        /* Remove right margin on smaller screens */
        margin-top: 10px;       /* Add some space above the text */
        order: 2;
    }
    section#contact-info img {
        order: 1;
    }
}

section#contact-map {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
}