@font-face {
    font-family: "Raleway";
    src: url(Raleway.ttf);
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    font-family: 'Raleway', sans-serif;
}

:root {
    --highland-mist: hsla(210, 60%, 90%, 1);
    --thistle-bloom: hsla(270, 50%, 65%, 1);
    --tartan-forest: hsla(120, 40%, 30%, 1);
    --celtic-sky: hsla(210, 70%, 50%, 1);
    --celtic-sky-90: hsla(210, 70%, 50%, 0.9);
    --heather-haze: hsla(300, 40%, 55%, 1);
    --castle-stone: hsla(30, 20%, 70%, 1);
    --bannockburn-gold: hsla(45, 100%, 50%, 1);
    --pure-highland-snow: hsla(0, 0%, 100%, 1);
    --loch-ness-depths: hsla(210, 50%, 20%, 1);
    --loch-ness-depths-95: hsla(210, 50%, 20%, 0.95);
    --loch-ness-depths-10: hsla(210, 50%, 20%, 0.1);
    --loch-ness-depths-30: hsla(210, 50%, 20%, 0.3);
}

.italic {
    font-style: italic;
}

.white-space-no-wrap {
    white-space: nowrap;
}

.celtic-sky {
    color: var(--celtic-sky);
}

.bannockburn-gold {
    color: var(--bannockburn-gold);
}

nav {
    background-color: var(--celtic-sky);
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    width: 110px;
    margin-right: auto;
    transition: all 0.3s ease;
}

.logo img {
    display: block;
    height: 100px;
    width: 100px;
    object-fit: cover;
}

/* No longer seems affected by descenders - need to investigate on a simple example */
/* .logo a {
    line-height: 0;
} */

.logo:hover {
    background: var(--highland-mist);
}

.toggle i {
    font-size: 1.5rem;
    padding: 0px;
    color: var(--pure-highland-snow);
}

.menu li a {
    display: block;
    color: var(--pure-highland-snow);
    padding: 10px;
    text-decoration: none;
    font-weight: 700;
}

.toggle i:hover,
.menu li a:hover,
.menu li a:hover::after {
    color: var(--highland-mist);
}

.item {
    width: 100%;
    text-align: center;
    padding: 10px;
    display: none;
    font-size: 1.2rem;
}

.active .item {
    display: block;
}

.has-submenu {
    position: relative;
}

.submenu {
    display: none;
    position: static;
    width: 100%;
    left: 0;
    top: 100%;
    z-index: 1;
    padding: 10px;
    background: var(--loch-ness-depths);
}

.has-submenu > a::after {
    content: "\e801";
    font-weight: 900;
    font-size: 0.75rem;
    font-family: "Fontello";
    padding-left: 5px;
    color: var(--pure-highland-snow);
}

.has-submenu:hover .submenu {
    display: block;
}

@media (min-width: 1024px) {
    .logo {
        margin-right: auto;
    }
       
    .toggle {
        display: none;
    }

    .item {
        order: 1;
        display: block;
        width: auto;
        text-align: center;
    }

    .submenu {
        position: absolute;
    }
}

/* Social banner */

.social-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--celtic-sky);
}

.social-menu {
    display: flex;
    flex-wrap: wrap;
    /* need width to use justify-content */
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}

.social-item {
    display: block;
    font-size: 1.5rem;
    /* padding: 10px; */
    color: var(--pure-highland-snow);
    text-decoration: none;
}

.social-item p {
    font-weight: 700;
    padding: 10px;
}

.social-item a i {
    order: 0;
    color: var(--pure-highland-snow);
    font-size: 1.5rem;
    margin-right: 10px;
}

.social-item a i:hover {
    color: var(--highland-mist);
}

.connect-below {
    display: flex;
    background: var(--celtic-sky);
    color: var(--pure-highland-snow);
    width: 100%;
    justify-content: flex-end;
    font-size: 1.5rem;
    margin-right: 10px;
    padding: 10px;
    font-weight: 700;
}

.connect-inline {
    display: none;
}

@media (min-width: 768px) {
    .connect-inline {
        display: block;
    }

    .connect-below {
        display: none;
    }
}

/* Hero */

.hero-section-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    height: auto;
    width: 100%;
    padding: 5px 0;
}

.hero-text-inner {
    display: block;
    color: var(--pure-highland-snow);
    text-align: center;
}

.hero-text-inner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 5px;
}

.hero-text-inner p {
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    padding: 5px;
    color: var(--highland-mist);
}

/* INDEX */

.home-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--loch-ness-depths);
}

.home-intro p {
    display: block;
    color: var(--pure-highland-snow);
    font-size: 1.5rem;
}

.home-scotland-awaits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: var(--bannockburn-gold);
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.home-scotland-awaits .home-scotland-awaits-heading {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--loch-ness-depths);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.home-scotland-awaits .home-scotland-awaits-text {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--loch-ness-depths);
    font-size: 1rem;
    line-height: 1.2;
    /* font-weight: 700; */
    text-align: justify;
}

@media (min-width: 600px) {
    .home-scotland-awaits .home-scotland-awaits-text {
        font-size: 1.4rem;
        line-height: 1.5;
    }    
}

/* NEXT UP - FEATURED PROPERTY TITLE AND PROPERTY INFO */

.featured-property-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #19334d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40' width='80' height='40'%3E%3Cpath fill='%233380ff' fill-opacity='0.3' d='M0 40a19.96 19.96 0 0 1 5.9-14.11 20.17 20.17 0 0 1 19.44-5.2A20 20 0 0 1 20.2 40H0zM65.32.75A20.02 20.02 0 0 1 40.8 25.26 20.02 20.02 0 0 1 65.32.76zM.07 0h20.1l-.08.07A20.02 20.02 0 0 1 .75 5.25 20.08 20.08 0 0 1 .07 0zm1.94 40h2.53l4.26-4.24v-9.78A17.96 17.96 0 0 0 2 40zm5.38 0h9.8a17.98 17.98 0 0 0 6.67-16.42L7.4 40zm3.43-15.42v9.17l11.62-11.59c-3.97-.5-8.08.3-11.62 2.42zm32.86-.78A18 18 0 0 0 63.85 3.63L43.68 23.8zm7.2-19.17v9.15L62.43 2.22c-3.96-.5-8.05.3-11.57 2.4zm-3.49 2.72c-4.1 4.1-5.81 9.69-5.13 15.03l6.61-6.6V6.02c-.51.41-1 .85-1.48 1.33zM17.18 0H7.42L3.64 3.78A18 18 0 0 0 17.18 0zM2.08 0c-.01.8.04 1.58.14 2.37L4.59 0H2.07z'%3E%3C/path%3E%3C/svg%3E");
}

.featured-property-text-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
    /* background: var(--loch-ness-depths); */
    background: var(--loch-ness-depths);
    gap: 20px;
}

.featured-property-text-heading .fp-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bannockburn-gold);
}

.featured-property-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.featured-property-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    flex-wrap: nowrap;
    z-index: 1;
}

.featured-property-inner-major {
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-property-inner-minor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fp-frame-major {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    max-width: 600px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.fp-frame-minor {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
    max-width: 200px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

/* Added these two classes to the respective parent containers of the images to target that specific image - needs to be on parent, not on the image itself. Both of these (and the dining room picture) are also fp-frame-minor containers, so the overflow: hidden instruction above works here */

/* Parent container of .bathroom */
.top-right {
    border-top-right-radius: 20px;
    /* overflow: hidden; */
}

/* Parent container of .living-room */
.bottom-right {
    border-bottom-right-radius: 20px;
    /* overflow: hidden; */
}

.fp-frame-major::after,
.fp-frame-minor::after {
    display: block;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: var(--bannockburn-gold);
    opacity: 0;
    transition: all 0.3s ease;
}

.fp-frame-major:hover::after,
.fp-frame-minor:hover::after {
    opacity: 0.7;
}

.fp-frame-major img,
.fp-frame-minor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.fp-frame-major:hover img,
.fp-frame-minor:hover img {
    transform: scale(1.1);
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: var(--loch-ness-depths-95);
    z-index: 100;
}

.modal-content {
    display: block;
    margin: auto;
    margin-top: 3vh;
    border-radius: 20px;
    max-width: 80vw;
    max-height: 70vh;
    aspect-ratio: auto;
}

.close {
    position: absolute;
    font-size: 2rem;
    top: 2vh;
    right: 3vw;
    color: var(--pure-highland-snow);
}

#caption {
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2vh;
    text-align: center;
    color: var(--pure-highland-snow);
}

.modal-frame:hover {
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: var(--highland-mist);
    cursor: pointer;
}

/* @media (min-width: 768px) {
    .modal-content {
        width: 700px;
        max-width: 80vw;
        max-height: 70vh;
        margin-top: 8vh;
    }

    .close {
        font-size: 1.5rem;
        height: 24px;
        width: 24px;
    }

    #caption {
        margin-top: 3vh;
        font-size: 1.5rem;
    }
} */

.featured-property-text-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* background: var(--loch-ness-depths); */
    background: var(--loch-ness-depths);
    padding: 20px;
    width: 100%;
    gap: 20px;
}

.featured-property-text-body .description {
    color: var(--pure-highland-snow);
    line-height: 1.2;
    font-size: 1rem;
    text-align: justify;
}

.featured-property-text-body .address {
    text-align: center;
    line-height: 1.2;
    font-size: 1rem;
}

@media (min-width: 600px) {
    .featured-property-text-body .description {
        color: var(--pure-highland-snow);
        line-height: 1.5;
        font-size: 1.4rem;
        text-align: justify;
    }

    .featured-property-text-body .address {
        text-align: center;
        line-height: 1.5;
        font-size: 1.4rem;
    }    
}

.home-highlow-outer {
    display: flex;
    /* flex-wrap: nowrap; */
    justify-content: center;
    align-items: center;
    width: 100%;
}

.home-highlow-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.home-highlow-inner a {
    width: 100%;
}

.home-highlow-frame {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative; 
    overflow: hidden;
}

.home-highlow-frame-image {
    width: 100%;
}

.home-highlow-frame-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-highlow-frame-text {
    display: flex;
    justify-content: flex-end; /* Aligns text horizontally to the right */
    align-items: flex-end; /* Aligns text vertically to the bottom */
    position: absolute; /* Makes the text overlap the image */
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.home-highlow-frame-text p {
    color: var(--pure-highland-snow);
    font-size: 1.4rem;
}


@media (min-width: 600px) {
    .home-highlow-inner a {
        width: 50%;
    }
}

/* Footer */

.footer-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--bannockburn-gold);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.footer-frame {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 400px;
    overflow: hidden;
}

.hours-heading {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    padding: 0.5rem;
    margin: 0.5rem;
    color: var(--loch-ness-depths);
}

table {
    color: var(--pure-highland-snow);
    background-color: var(--celtic-sky);
    /* Prevents small lines appearing in the gaps between columns in a row */
    border-collapse: collapse;
    width: 100%;
    font-weight: 700;
    font-size: 1.2rem;
}

tr {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Gives the zebra-stripe effect */
tr:nth-child(even) {
background-color: var(--loch-ness-depths-10);
}

tr:hover {
    background-color: var(--loch-ness-depths-30);
}

td {
padding: 0.5rem;
}

.map {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map iframe {
    padding: 50px 0px;
}

.logo-socials {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.socials {
    order: 0;
    display: flex;
    justify-content: space-between;
}

.socials a i {
    color: var(--loch-ness-depths);
    font-size: 4rem;
}

.footer-logo {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--bannockburn-gold);
}

.copyright p {
    color: var(--loch-ness-depths);
    font-weight: 700;
    margin-bottom: 20px;
}

/* UNCOVERED GEMS PAGE */

/* Flexbox Thumbnails */

.uncovered-gems-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bannockburn-gold);
    padding: 20px;
}

.uncovered-gems-intro p {
    color: var(--loch-ness-depths);
    font-size: 1.5rem;
    text-align: center;
}

.outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--celtic-sky);
}

.inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.frame {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 250px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.frame::after {
    display: block;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: var(--bannockburn-gold);
    opacity: 0;
    transition: all 0.3s ease;
}

.frame:hover:after {
    opacity: 0.7;
}

.frame img {
    display: block;
    height: 100%;
    width: 100%;
    transition: all 0.3s ease;
}

.frame:hover img {
    transform: scale(1.1);
}

.ug-nested1,
.ug-nested2,
.ug-nested3,
.ug-nested4 {
    display: none;
}

@media (min-width: 847px) and (max-width: 1117px) {
    .inner:after {
        display: block;
        content: "";
        width: 250px;
        height: 250px;
        visibility: hidden;
    }
}

@media (min-width: 1657px) and (max-width: 1927px) {
    .ug-nested1,
    .ug-nested2,
    .ug-nested3 {
        display: block;
    }

    .ug-nested1:after,
    .ug-nested2:after,
    .ug-nested3:after,
    .inner::after {
        display: block;
        content: "";
        height: 250px;
        width: 250px;
        visibility: hidden;
    }
}

@media (min-width: 1927px) and (max-width: 2197px) {
    .inner:after {
        display: block;
        content: "";
        width: 250px;
        height: 250px;
        visibility: hidden;
    }
}

@media (min-width: 2197px) and (max-width: 2467px) {
    .ug-nested1,
    .ug-nested2,
    .ug-nested3 {
        display: block;
    }

    .ug-nested1:after,
    .ug-nested2:after,
    .ug-nested3:after,
    .inner::after {
        display: block;
        content: "";
        height: 250px;
        width: 250px;
        visibility: hidden;
    }
}

/* Layout for Highlands and Lowlands property pages - heavily borrowed from featured property on index */

.properties-page-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--tartan-forest);
    padding: 20px;
    gap: 20px;
}

.properties-page-intro .heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bannockburn-gold);
}

.properties-page-intro p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pure-highland-snow);
}

.property-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--heather-haze);
}

.property-heading h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bannockburn-gold);
    padding-top: 20px;
    text-transform: uppercase;
}

.property-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.property-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: var(--heather-haze);
}

.property-container .even {
    background: var(--highland-mist);
}

.property-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    flex-wrap: nowrap;
    z-index: 1;
}

.property-inner-major {
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-inner-minor {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pp-frame-major {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60vw;
    max-width: 600px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.pp-frame-minor {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20vw;
    max-width: 200px;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

/* Added these two classes to the respective parent containers of the images to target that specific image - needs to be on parent, not on the image itself. Both of these (and the dining room picture) are also fp-frame-minor containers, so the overflow: hidden instruction above works here */

/* Parent container of .bathroom */
.top-right {
    border-top-right-radius: 20px;
    /* overflow: hidden; */
}

/* Parent container of .living-room */
.bottom-right {
    border-bottom-right-radius: 20px;
    /* overflow: hidden; */
}

.pp-frame-major::after,
.pp-frame-minor::after {
    display: block;
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: var(--bannockburn-gold);
    opacity: 0;
    transition: all 0.3s ease;
}

.pp-frame-major:hover::after,
.pp-frame-minor:hover::after {
    opacity: 0.7;
}

.pp-frame-major img,
.pp-frame-minor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.pp-frame-major:hover img,
.pp-frame-minor:hover img {
    transform: scale(1.1);
}

.property-text-body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: var(--loch-ness-depths);
    padding: 20px;
    width: 100%;
    gap: 20px;
}

.property-text-body .description {
    color: var(--pure-highland-snow);
    line-height: 1.2;
    font-size: 1rem;
    text-align: justify;
}

.property-text-body .address {
    text-align: center;
    line-height: 1.2;
    font-size: 1rem;
}

@media (min-width: 600px) {
    .property-text-body .description {
        color: var(--pure-highland-snow);
        line-height: 1.5;
        font-size: 1.4rem;
        text-align: justify;
    }

    .property-text-body .address {
        text-align: center;
        line-height: 1.5;
        font-size: 1.4rem;
    }    
}

@media (min-width: 768px) {
    .property-text-body {
        flex-direction: column;
    }

    .property-text-body .description {
        width: 70vw;
    }
}

/* Events & Festivals */

.events-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: var(--tartan-forest);
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.events-intro .events-intro-heading {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--bannockburn-gold);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}

.events-intro .events-intro-text {
    display: block;
    height: 100%;
    width: 100%;
    color: var(--pure-highland-snow);
    font-size: 1rem;
    line-height: 1.2;
    /* font-weight: 700; */
    text-align: justify;
}

@media (min-width: 600px) {
    .events-intro .events-intro-text {
        font-size: 1.4rem;
        line-height: 1.5;
    }    
}

.e-outer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    background: var(--tartan-forest);
}

.e-inner {
    display: flex;
    flex-direction: column;
    /* flex-wrap: wrap; */
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 600px;
    padding: 5vw;
    gap: 5vw;
    /* background: var(--highland-mist); */
    background: var(--bannockburn-gold);
    /* border: 2px solid red; */
}

.e-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* aspect-ratio: 1/1; */
    overflow: hidden;
    gap: 25px;
}

.e-textbox {
    min-height: 30vh;
}

.e-frame img {
    display: block;
    height: 100%;
    width: 100%;
    /* aspect-ratio: 1/1;
    max-height: 500px; */
    object-fit: cover;
}

.e-frame h3 {
    color: var(--tartan-forest);
    font-size: 1.8rem;
    text-align: center;
    font-weight: 700;
}

.e-frame p {
    color: var(--loch-ness-depths);
    font-size: 1rem;
    text-align: center;
}

.e-textbox a {
    line-height: 0;
}

.more-info-button {
    padding: 15px 10px;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    background: linear-gradient(to top, var(--loch-ness-depths) 50%, var(--bannockburn-gold) 50%);
    background-size: 100% 200%;
    background-position: 0 100%;
    transition: all 0.3s ease;
    color: var(--bannockburn-gold);
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 400;
}

.more-info-button:hover {
    background-position: 0 0;
    color: var(--loch-ness-depths);
    border-color: var(--loch-ness-depths);
}

@media only screen and (min-width: 768px) {
    .e-inner {
        flex-direction: row;
    }

    .e-textbox {
        display: flex;
        height: 100%;
    }

    .e-frame h3 {
        font-size: 2.4rem;
        font-weight: 700;
    }

    .e-frame img {
        aspect-ratio: 1/1;
    }

    .e-frame p {
        font-size: 1.5rem;
        /* font-weight: 700; */
    }

    .more-info-button {
        font-weight: 700;
    }

    .e-even .e-picturebox {
        order: 1;
    }
}

/* Scenic Journeys */

.sj-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--bannockburn-gold);
    padding: 20px;
}

.sj-intro p {
    color: var(--loch-ness-depths);
    font-size: 1.5rem;
    width: 80%;
    text-align: center;
}

.nc500-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--tartan-forest);
    padding: 20px;
    gap: 20px;
}

.nc500-intro .heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bannockburn-gold);
}

.nc500-intro p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pure-highland-snow);
    line-height: 1.2;
}

.nc500-intro p a {
    text-decoration: none;
    color: var(--pure-highland-snow);
}

.nc500-intro p a:hover {
    color: var(--highland-mist);
}

.sj-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--tartan-forest);
    padding: 20px;
}

.sj-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 20px 0;
}

.sj-inner-1,
.sj-inner-2,
.sj-inner-3,
.sj-inner-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* overflow: hidden; */
}

.sj-inner-1,
.sj-inner-2,
.sj-inner-3 {
    gap: 20px;
}

.sj-inner-1 .frame-1,
.sj-inner-1 .frame-2,
.sj-inner-2 .frame-3,
.sj-inner-2 .frame-4,
.sj-inner-3 .frame-5,
.sj-inner-3 .frame-6,
.sj-inner-4 .frame-7 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 380px;
    /* max-width: 90vw; */
    height: auto;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.sj-inner-1 .modal-frame::after,
.sj-inner-2 .modal-frame::after,
.sj-inner-3 .modal-frame::after,
.sj-inner-4 .modal-frame::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: var(--highland-mist);
    opacity: 0;
    transition: all 0.3s ease;
}

.sj-inner-1 .modal-frame:hover::after,
.sj-inner-2 .modal-frame:hover::after,
.sj-inner-3 .modal-frame:hover::after,
.sj-inner-4 .modal-frame:hover::after {
    opacity: 0.7;
}

.sj-inner-1 .frame-1 img,
.sj-inner-1 .frame-2 img,
.sj-inner-2 .frame-3 img,
.sj-inner-2 .frame-4 img, 
.sj-inner-3 .frame-5 img,
.sj-inner-3 .frame-6 img,
.sj-inner-4 .frame-7 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.sj-inner-1 .modal-frame:hover img,
.sj-inner-2 .modal-frame:hover img,
.sj-inner-3 .modal-frame:hover img,
.sj-inner-4 .modal-frame:hover img {
    transform: scale(1.1);
}

@media (min-width: 808px) and (max-width: 1064px) {
    .sj-inner-1,
    .sj-inner-2 {
        flex-direction: column;
    }

    .sj-inner-3 {
        order: 1;
    }

    .sj-inner-1 .frame-1,
    .sj-inner-1 .frame-2,
    .sj-inner-2 .frame-3,
    .sj-inner-2 .frame-4,
    .sj-inner-3 .frame-5,
    .sj-inner-3 .frame-6 {
        width: 360px;
    }

    .sj-inner-4 .frame-7 {
        width: 740px;
    }

    .nc500-modal .modal .modal-content {
        /* min-height: 400px; */
        /* max-height: 480px; */
        max-height: 70vh;
        width: auto;
        max-width: 90vw;
        aspect-ratio: auto;
    }
}

@media (min-width: 1064px) {
    .sj-inner-1,
    .sj-inner-2,
    .sj-inner-3 {
        flex-direction: column;
    }

    .sj-inner-1 .frame-1,
    .sj-inner-1 .frame-2,
    .sj-inner-2 .frame-3,
    .sj-inner-2 .frame-4,
    .sj-inner-3 .frame-5,
    .sj-inner-3 .frame-6 {
        width: 320px;
    }

    .sj-inner-3 .frame-5 {
        height: 480px;
    }

    .sj-inner-4 .frame-7 {
        width: 1000px;
        aspect-ratio: 3/1;
    }

    .nc500-modal .modal .modal-content {
        /* min-height: 400px; */
        /* max-height: 480px; */
        max-height: 70vh;
        width: auto;
        /* min-width: 480px; */
        max-width: 90vw;
        aspect-ratio: auto;
    }
}

.borders-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--loch-ness-depths);
    padding: 20px;
    gap: 20px;
}

.borders-intro .heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bannockburn-gold);
}

.borders-intro p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pure-highland-snow);
    line-height: 1.2;
}

.borders-main {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--loch-ness-depths);
}

.borders-main-rosslyn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    padding: 30px;
}

.rosslyn-img-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90vw;
    overflow: hidden;
    border-radius: 20px;
    /* aspect-ratio: 2/1; */
    /* border: 2px solid red; */
}

.rosslyn-img-cont img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border: 2px solid blue; */
}

.rosslyn-text-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.rosslyn-text-cont p {
    display: block;
    width: 75%;
    height: 100%;
    color: var(--pure-highland-snow);
    font-size: 1.2rem;
}

@media (min-width: 600px) and (max-width: 768px) {
    .rosslyn-img-cont {
        width: 75vw;
    }

    /* .rosslyn-text-cont {
        width: 75vw;
    }

    .rosslyn-text-cont {
        font-size: 1.4rem;
    } */
}

@media (min-width: 768px) and (max-width: 1024px) {
    .rosslyn-img-cont {
        width: 60vw;
    }
}

@media (min-width: 1024px) {
    .rosslyn-img-cont {
        width: 50vw;
    }
}

/* CONTACT FORM */

.contact-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--tartan-forest);
    padding: 20px;
    gap: 20px;
}

.contact-intro h1 {
    color: var(--bannockburn-gold);
    font-size: 2.5rem;
    font-weight: 700;
    width: 80%;
    text-align: center;
    margin-bottom: 20px;
}

.contact-intro .intro {
    line-height: 1.3;
}

.contact-intro p {
    color: var(--pure-highland-snow);
    font-size: 1.5rem;
    width: 80%;
    text-align: center;
}

.contact-email,
.contact-phone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
    color: var(--pure-highland-snow);
    font-size: 1.5rem;
}

.contact-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.contact-socials a {
    line-height: 0;
}

.contact-socials a i {
    font-size: 3.5rem;
    color: var(--pure-highland-snow);
    text-decoration: none;
}

.contact-form {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--tartan-forest);
    color: var(--pure-highland-snow);
    font-weight: 700;
    padding: 20px;
    width: 100%;
}

form {
    background-color: var(--loch-ness-depths);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.5);
}

form p {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 10px;
    /* font-size: 1rem; */
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    /* border: 2px solid yellow; */
    background: var(--pure-highland-snow);
    color: var(--loch-ness-depths);
    /* font-size: 1rem; */
}

textarea {
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: var(--celtic-sky);
    outline: none;
    box-shadow: 0 0 0.25rem hsla(210, 70%, 50%, 0.5);
}

.submit-button {
    width: 100%;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 5px;
    background-color: var(--bannockburn-gold);
    color: var(--loch-ness-depths);
    /* font-size: 1rem; */
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: 700;
}

.submit-button:hover {
    background-color: var(--loch-ness-depths);
    border-color: var(--bannockburn-gold);
    color: var(--bannockburn-gold);
}

@media (min-width: 600px) {
    form {
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .contact-intro .intro {
        line-height: 1;
    }

    form {
        padding: 1.5rem;
        max-width: 600px;
    }
}