/* ------------------- */
/* Reset               */
/* ------------------- */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
    margin: 0; 
}

/* set up the body */
body {
    line-height: 1.5;
    min-height: 100vh;
}

/* make images easier to work with */
img,
picutre {
    max-width: 100%;
    display: block;
}

/* make form elements easier to work with */
input,
button,
textarea,
select {
    font: inherit;
}

/* remove animations for people who've turned them off */
@media (prefers-reduced-motion: reduce) {  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ------------------- */
/* Importing           */
/* ------------------- */

/* Colors */

:root {
    --clr-primary-dark: #22333b;
    --clr-primary-light: #556770;
    --clr-secondary-dark: #94695c;
    --clr-secondary-light: #ffe4d4;
    --clr-white: #f2f4f3;
}

/* Font Sizes */

:root {
    --fs-900: 90px;
    --fs-800: 72px;
    --fs-700: 50px;
    --fs-600: 40px;
    --fs-500: 35px;
    --fs-400: 28px;
    --fs-300: 25px;
    --fs-200: 15px;
}

/* ------------------- */
/* Utility Classes     */
/* ------------------- */

/* Font Sizes */

.fs-900{font-size: var(--fs-900);}
.fs-800{font-size: var(--fs-800);}
.fs-700{font-size: var(--fs-700);}
.fs-600{font-size: var(--fs-600);}
.fs-500{font-size: var(--fs-500);}
.fs-400{font-size: var(--fs-400);}
.fs-300{font-size: var(--fs-300);}
.fs-200{font-size: var(--fs-200);}

/* Colors */

.primary-dark {background-color: var(--clr-primary-dark);}
.primary-light {background-color: var(--clr-primary-light);}
.secondary-dark {background-color: var(--clr-secondary-dark);}
.secondary-light {background-color: var(--clr-secondary-light);}
.white {background-color: var(--clr-white);}

/* Font Colors */

.text-primary-dark {color: var(--clr-primary-dark);}
.text-primary-light {color: var(--clr-primary-light);}
.text-secondary-dark {color: var(--clr-secondary-dark);}
.text-secondary-light {color: var(--clr-secondary-light);}
.text-white {color: var(--clr-white);}

/* Font Families */

.ff-blackchancery {font-family: 'BlackChancery', sans-serif;}
.ff-broadway {font-family: 'Broadway BT', sans-serif;}
.ff-acumin {font-family: 'Acumin Pro', sans-serif;}


/* ------------------- */
/* Styling             */
/* ------------------- */

/* Header */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    padding: 2rem;
    position: fixed;
    top: 0;
    z-index: 10;
    transition: background-color 300ms ease-in-out;
}

.header-background-color {
    background-color: var(--clr-primary-dark);
}

header img, header .socials {
    width: 10%;
}

.primary-navigation .tab-list {
    display: flex;
    list-style: none;
    gap: 1rem;
    width: max-content;
}

.primary-navigation .tab-list .tab-link {
    text-decoration: none;
    border: 2px solid var(--clr-secondary-light);
    color: var(--clr-secondary-light);
    border-radius: .5rem;
    padding: 6px 16px;
    transition: all 200ms ease-in-out;
}

.primary-navigation .tab-list .tab-link:hover,
.primary-navigation .tab-list .tab-link:focus {
    background-color: var(--clr-secondary-light);
    color: var(--clr-primary-dark);
}

.active-tab-link {
    background-color: var(--clr-secondary-light) !important;
    color: var(--clr-primary-dark) !important;
}

.socials {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.socials svg{
    color: var(--clr-white);
}

.socials svg:nth-child(1) {
    width: 53%;
}

.socials svg:nth-child(3) {
    width: 85%;
}

/* Header Animation */

header {
    transition: all 300ms ease-in-out;
}

header .socials {
    transition: all 300ms ease-in-out;
}

header img {
    transition: all 300ms ease-in-out;
}

header .tab-list {
    transition: all 300ms ease-in-out;
}

.header-animation {
    translate: 0 -50%;
    .socials {
        scale: 0.7;
        translate: 20% 70%;
    }
    .header__logotype {
        scale: 0.5;
        translate: -30% 45%;
    }
    .tab-list {
        translate: 0 150%;

    }
    .primary-navigation .tab-list .tab-link {
        border: 0;
        border-radius: 0;
    }
    .primary-navigation .tab-list .tab-link:hover,
    .primary-navigation .tab-list .tab-link:focus {
        border-bottom: 2px solid var(--clr-secondary-light);
        background-color: transparent;
        color: var(--clr-secondary-light);
    }
}

/* Header Section */

.header-section {
    width: 100%;
    height: 100vh;
    background-image: url(assets/homepage/Main-Banner.jpg);
    background-size: cover;
    background-position: center;
}

.header-section img{
    width: 20%;
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -40%;
}

.header-section p{
    position: absolute;
    top: 80%;
    left: 50%;
    translate: -50% -50%;
    text-align: center;
}

/* Opening Hours */

.opening-hours {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding-top: 10vh;
    padding-bottom: 20vh;
}

.opening-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Previews */

.preview {
    text-align: center;
}

.preview__image {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.preview__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    z-index: -1;
}

.preview__image h2{
    font-weight: 400;
    letter-spacing: 4px;
}

.preview__text {
    padding: 9rem;
}

.smaller-parallax{
    height: 45vh;
}

/* Reviews */

.reviews {
    padding: 4rem;
    display: grid;
    grid-template-areas: 
    'title title title'
    'one two three';
    gap: 4rem;
    text-align: center;
    border-bottom: 1px solid var(--clr-white);
}

/* .reviews > * {
    width: 100%;
} */

.reviews h1 {
    grid-area: title;
    font-weight: 400;
    letter-spacing: 5px;
}

.reviews h2 {
    color: rgba(0, 0, 0, 0.450);
}

.reviews div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-radius: 1.5rem;
}

footer {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer h1 {
    font-size: 50px;
    color: var(--clr-white);
}