/* =============
   Fonts & Reset
   ============= */


/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Outfit:wght@600&display=swap');

/* Reset default browser styles */
* {
    margin: 0;
    border: 0;
    box-sizing: border-box; /* Ensures padding/borders don’t expand elements */
}


/* =============
   Global Styles
   ============= */


body {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    background-color: rgb(255, 222, 234);
    font-family: "Fredoka", sans-serif;
    color: rgb(228, 0, 96);
}

h1 {
    font-size: 3em;
    font-weight: 400;
    margin: 0.5em 0;
}

h2 {
    font-size: 2em;
    font-weight: 400;
    margin: 0.5em 0;
}

p {
    font-size: 1.5em;
    font-weight: 200;
}


/* ======
   Footer
   ====== */


footer {
    background-color: rgb(255, 117, 140);
}

footer p {
    justify-self: center;
    color: white;
}


/* ==============
   Navigation Bar
   ============== */


nav {
    grid-row: 1;
    /* Nav bar at the top */
    height: 3em;
    background-color: rgb(255, 117, 140);

    display: flex;
    justify-content: space-between;
    /* Logo left, buttons on the right */
    align-items: center;
    /* Vertically centred */
}

nav ul {
    list-style: none;
}

/* Logo section */
#logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

#logo img {
    height: 3em;
}

#logo p {
    color: white;
    font-weight: 600;
    font-size: 2em;
    text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

nav li a,
.button {
    text-decoration: none;
    color: white;
    font-weight: 600;
    border-radius: 0.25em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

/* Specific link styles */
nav li a {
    font-size: 2em;
    margin: 0 0.1em;
    padding: 0 0.25em;
}

#intro div a {
    font-size: 2em;
}

/* Generic button */
.button {
    background-color: rgb(255, 117, 140);
    margin-top: 0.2em;
}


/* ============ 
   Main Content
   ============ */


main {
    grid-row: 2;
    text-align: center;
}

/* Shared section layout (intro, about, reviews) */
#intro,
#aboutUs {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    /* Img - Text - Img */
    align-items: center;
    padding-top: 2em;
}

#intro div,
#aboutUs div,
#reviews div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-column: 2;
    padding-top: 2em;
}

/* Reviews iframe */
#reviews iframe {
    padding: 1em;
    background-color: pink;
    border-radius: 2em;
    width: 80%;
    margin: 0;
    margin-bottom: 8em;
    height: 40em;
}

/* Images */
#salon,
.dogLeft,
.dogRight {
    background-color: pink;
    padding: 0.25em;
    border-radius: 0.25em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

#salon {
    margin-top: 2em;
    width: 40%;
}

.dogLeft {
    width: 80%;
    margin-left: 2em;
    grid-column: 1;
}

.dogRight {
    width: 80%;
    margin-right: 2em;
    grid-column: 3;
    justify-self: end;
}


/* ===============
   Contact Section
   =============== */


#contactGrid {
    padding: 2em;
    display: grid;
    grid-template-rows: auto 1fr;
    /* Header, content */
}

#contactGrid h1 {
    grid-row: 1;
    text-align: center;
}

/* Each column: address, contact, opening hours */
#address,
#contact,
#openingHours {
    display: grid;
    grid-template-rows: auto 1fr;
    /* Header at top, content fills rest */
    justify-items: center;
    /* Center horizontally */
    align-items: center;
    /* Center content vertically */
    margin: 1em;
    background-color: pink;
    border-radius: 2em;
    padding: 2em;
}

/* Keep section headers at top */
#address h2,
#contact h2,
#openingHours h2 {
    align-self: start;
}

/* Content stays centred */
#address div,
#contact div,
#openingHours>div {
    align-self: center;
}

/* Opening hours: two columns (days + status) */
#openingHours>div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em 2em;
    text-align: left;
}


/* ================
   Policies Section
   ================ */


#policyHeader {
    padding-top: 1em;
}

.informationPanel p,
h2 {
    text-align: justify;
    /* Put text for policies on the left side of the screen */
}

.informationPanel h2 {
    margin-top: 1em;
}

.informationPanel p {
    margin-bottom: 1em;
}


/* 
    ==============
    Prices Section
    ==============
                    */


#pricesImg,
#pricesList {
    border-radius: 0.25em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px, rgb(51, 51, 51) 0px 0px 0px 3px;
}

#pricesList {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5em 2em;
    text-align: left;
    background-color: #EA4B62;
    margin-right: 2em;

    /* Scroll bar settings */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: white #EA4B62;
}

#pricesList p {
    margin: .5em;
    color: white;
}

#breedPrice {
    text-align: right;
}


/* ===============
   Gallery Section
   =============== */


#instagramWidget {
    margin: 4em;
    padding: 1em;
    background-color: pink;
    border-radius: 2em;
    height: 85%;
    width: 75%;
}