/* ------------------- */
/* Custom properties   */
/* ------------------- */

:root {
    /* colors */
    --clr-dark: 230 35% 7%;
    --clr-light: 231 77% 90%;
    --clr-white: 0 0% 50%;
    --black: 230 100% 100%;    
    /* font-sizes */
    --fs-900: clamp(5rem, 8vw + 1rem, 9.375rem);
    --fs-800: 3.5rem;
    --fs-700: 1.5rem;
    --fs-600: 1rem;
    --fs-500: 1rem;
    --fs-400: 0.9375rem;
    --fs-300: 1rem;
    --fs-200: 0.875rem;
    
    /* font-families */
  --ff-serif: "Bellefair", serif;
  --ff-sans-cond: "Barlow Condensed", sans-serif;
  --ff-sans-normal: "Barlow", sans-serif;
  --ff-acme: 'Acme', sans-serif;
  }
  
  /* ------------------- */
/* Reset               */
/* ------------------- */

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

/* Reset margins */
body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
picture {
  margin: 0; 
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-weight: 400;
}

/* set up the body */
body {
    font-family: var(--ff-sans-normal);
    font-size: var(--fs-400);
    color: hsl( var(--clr-white) );
    background-color: hsl( var(--clr-dark) );
    line-height: 1.5;
    min-height: 100vh;
    display: grid;
    grid-template-rows: min-content 1fr;
    overflow-x: hidden;
  }

  /* make images easier to work */
img,
picutre {
  max-width: 30%;
  display: block;
  margin: auto;
}

/* make form Elements easier to work */
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;
}
}

/* ------------------- */
/* Utility classes     */
/* ------------------- */

/* general */
.p1 {
    font-weight: 600;
    color: black;
    margin: 5px;
    background: hsl( var(--clr-white) / 0.05);
    backdrop-filter: blur(1.5rem); 
    font-family: 'Acme', sans-serif;
}

.p5 {
    margin: 15px 0px 0px 15px;
}

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.grid {
  display: grid;
  gap: var(--gap, 1rem);
}

.d-block {
  display: block;
}


.flow > *:where(:not(:first-child)) {
    margin-top: var(--flow-space, 1rem);
  }
  
  .flow--space-small {
    --flow-space: .75rem;
  }
  
  .container {
    padding-inline: 2em;
    margin-inline: auto;
    max-width: 80rem;
  }
  
  .sr-only {
  position: absolute; 
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px; 
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* added line */
  border: 0;
  }

  .skip-to-content {
    position: absolute;
    z-index: 9999;
    background: hsl( var(--clr-white) );
    color: hsl( var(--clr-dark) ); 
    padding: .5em 1em;
    margin-inline: auto;
    transform: translateY(-100%);
    transition: transform 250ms ease-in;
  }
  
  .skip-to-content:focus {
    transform: translateY(0);
  }
  
  /* colors */
  
  .bg-text2 { color: black;}
  .bg-dark { background-color: hsl( var(--clr-dark) );}
  .bg-accent { background-color: hsl( var(--clr-light) );}
  .bg-white { background-color: hsl( var(--clr-white) );}
  
  .text-dark { color: hsl( var(--clr-dark) );}
  .text-accent { color: hsl( var(--clr-light) );}
  .text-white { color: hsl( var(--clr-white) );}
  
  /* typography */

.ff-serif { font-family: var(--ff-serif); } 
.ff-sans-cond { font-family: var(--ff-sans-cond); } 
.ff-sans-normal { font-family: var(--ff-sans-normal); } 

.letter-spacing-1 { letter-spacing: 4.75px; } 
.letter-spacing-2 { letter-spacing: 2.7px; } 
.letter-spacing-3 { letter-spacing: 2.35px; } 

.uppercase { text-transform: uppercase; }

.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); }

.fs-900,
.fs-800,
.fs-700,
.fs-600 {
  line-height: 1.1;
}

.numbered-title {
  font-family: var(--ff-sans-cond);
  font-size: var(--fs-500);
  text-transform: uppercase;
  letter-spacing: 4.72px; 
}

.numbered-title span {
  margin-right: .5em;
  font-weight: 700;
  color: hsl( var(--clr-white) / .25);
}

  @media (min-width: 35em) {
    :root {
        --fs-800: 5rem;
        --fs-700: 2.5rem;
        --fs-600: 1.5rem;
        --fs-500: 1.25rem;
        --fs-400: 1rem;
    }
  }
  
  /* ------------------- */
/* Compontents         */
/* ------------------- */

.bg-marble {
    background-image: url(./images/marble.jpg);
  }
  
  .large-button {
    font-size: 2rem;
    position: relative;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    padding: 0 2em;
    border-radius: 50%;
    aspect-ratio: 1;
    text-decoration: none;
  }
  
  .large-button::after {
    content: '';
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: hsl( var(--clr-white) / .1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 500ms linear, transform 750ms ease-in-out;
  }
  
  .large-button:hover::after,
  .large-button:focus::after {
    opacity: 1;
    transform: scale(1.5);
  }
  
  /* primary-header */
  
  .logo {
    margin: 1.5rem clamp(1.5rem, 5vw, 3.5rem);
  }
  
  .primary-header {
    justify-content: space-between;
    align-items: center;
  }
  
.primary-navigation {
  --gap: clamp(1.5rem, 5vw, 3.5rem);
  --underline-gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 9px;
  padding: 7px 13px;
  background: radial-gradient(black, transparent);
}
  
  .primary-navigation a {
    text-decoration: none;
  }
  
  .primary-navigation a > span {
    font-weight: 700;
    margin-right: .5em;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  @media (min-width: 45em) {
    :root {
        /* font-sizes */
        --fs-800: 6.25rem;
        --fs-700: 3.5rem;
        --fs-600: 2rem;
        --fs-500: 1.75rem;
        --fs-400: 1.125rem;
    }
  }

.skip-to-content {
    position: absolute;
    z-index: 9999;
    background: hsl( var(--clr-white) );
    color: hsl( var(--clr-dark) ); 
    padding: .5em 1em;
    margin-inline: auto;
    transform: translateY(-100%);
    transition: transform 250ms ease-in;
  }
  
  .skip-to-content:focus {
    transform: translateY(0);
  }

  .primary-header {
    align-items: center;
    justify-content: space-between;
  }

  .primary-navigation {
    --gap: clamp(1.5rem, 5vw, 3.5rem);
    --underline-gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    border-radius: 9px;
    padding: 7px 13px;
    background: radial-gradient(black, transparent);
  }
  
  .primary-navigation a {
    background: white;
    border-radius: 7px;
    padding: 7px 13px;
    color: black;
  }
  
  .primary-navigation a > span {
    font-weight: 700;
    margin-right: .5em;
  }

  .flex {
    display: flex;
    gap: var(--gap, 1rem);
  }

  .logo {
    margin: 1.5rem clamp(1.5rem, 5vw, 3.5rem);
  }

  .mobile-nav-toggle {
    display: none;
  }

  .sr-only {
    position: absolute; 
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px; 
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; 
    border: 0;
    }

    @media (max-width: 35rem) {
        .primary-navigation {
            --underline-gap: .5rem;
            position: fixed;
            z-index: 1000;
            inset: 0 0 0 30%;
            list-style: none;
            padding: min(20rem, 15vh) 2rem;
            margin: 0;
            flex-direction: column;
            transform: translateX(100%);
            transition: transform 500ms ease-in-out;
            background: radial-gradient(black, transparent);
        }
        
        .primary-navigation[data-visible="true"] {
            transform: translateX(0);
        }
        
        .primary-navigation .underline-indicators > .active {
           border: 0;
        }
        
        .mobile-nav-toggle {
            display: block;
            position: absolute;
            z-index: 2000;
            right: 1rem;
            top: 2rem;
            background: transparent;
            background-image: url(./images/menu-gif.gif);
            background-repeat: no-repeat;
            background-position: center;
            width: 1.5rem;
            aspect-ratio: 1;
            border: 0;
        }
        
        .mobile-nav-toggle[aria-expanded="true"] {
            background-image: url(./images/close.gif);
        }
        
        .mobile-nav-toggle:focus-visible {
            outline: 5px solid white;
            outline-offset: 5px;
        }
        
      }
      
      @media (min-width: 35em) {
        .primary-navigation {
            padding-inline: clamp(1rem, 7vw, 2rem);
        }
      }
      
      @media (min-width: 35em) and (max-width: 44.999em) {
        .primary-navigation a > span {
            display: none;
        }
      }

      @media (min-width: 45em) {
        .primary-header::after {
            content: '';
            display: block;
            position: relative;
            height: 1px;
            width: 100%;
            margin-right: -2.5rem;
            background: hsl( var(--clr-white) / .25);
            order: 1;
        }
        
       nav {
           order: 2;
       }
       
       .primary-navigation {
           margin-block: 2rem;
       } 
     
       img,
       picutre {
           max-width: 100%;
           display: block;
       }
     }


.underline-indicators > * {
    cursor: pointer;
    padding: var(--underline-gap, .5rem) 0;
    border: 0;
    border-bottom: .2rem solid hsl( var(--clr-white) / 0 );
    background-color: transparent;
  }
  
  .underline-indicators > *:hover,
  .underline-indicators > *:focus {
    border-color: hsl( var(--clr-white) / .5);
  }
  
  .underline-indicators > .active,
  .underline-indicators > [aria-selected="true"] {
    color: hsl( var(--clr-white) / 1);
    border-color: hsl( var(--clr-white) / 1); 
  }
  
  .tab-list {
    --gap: 2rem;
  }
  
  .dot-indicators > * {
    cursor: pointer;
    border: 0;
    border-radius: 50%;
    padding: .5em;
    background-color: hsl( var(--clr-white) / .25);
  }
  
  .dot-indicators > *:hover,
  .dot-indicators > *:focus { 
    background-color: hsl( var(--clr-white) / .5);
  }
  
  .dot-indicators > [aria-selected="true"] {
    background-color: hsl( var(--clr-white) / 1); 
  }  

     footer {
        background: dodgerblue;
        width: 100%;
        height: 160px;
        margin-top: 142px;
     }

/*____________-------------*/
     /* About-Us */
.about-us {
    background-image: url(./images/kitchenpic005.jpeg);
    align-content: center;  
    text-align: center;
  }
  
  .p2 {
    align-content: center;  
    text-align: center;
  }
  
  
  
  @media (min-width: 35rem) {
    .about-us {
        background-position: center center;
        background-image: url(./images/kitchenpic005.jpeg);
    }
  
    .p2 {
    align-content: center;  
    text-align: center;
   }
  }
  
  @media (min-width: 45rem) {
    .about-us {
        background-image: url(./images/kitchenpic005.jpeg);
    }
  } 

