/*CSS by Abby Napier */

/*CSS RESET */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*Custom styles*/

/*Root styles*/
:root {
    --pl-blue: #E9EEF2;
    --dk-blue: #135070;
    --title-font: "Lavishly Yours", cursive;
    --h-font: "Lugrasimo", cursive;
    --body-font: "Enriqueta", serif;
    --orange: #C2890A;
    --lt-gold: #fff6d5;
    --md-blue: #0E4E7B;
    --gold: #D99E30;
    --gray: #576B79;
}

/*Font styles*/
h1{
    font-family: var(--title-font);
    font-size: 4rem;
    color: var(--pl-blue);
}

h2{
    font-size: 2rem;
    font-family: var(--h-font);
}

h3{
    font-size: 1.5rem;
    font-family: var(--h-font);
}

h4{
    font-size: 1.3rem;
    font-family: var(--h-font);
}

p{
    font-size: 1.2rem;
    font-family: var(--body-font);
}

/*Body styles*/
body{
    background-color: var(--pl-blue);
    width: 1280px;
    margin: auto;
}

/*Skip link*/
.skip-link{
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*Light and dark modes for background*/
body.light-mode {
  background-color: var(--pl-blue);
  color: black;
}

body.dark-mode {
  background-color: var(--gray);
  color: var(--pl-blue);
}

body.dark-mode .nailArtGrid h4, body.dark-mode .nailArtGrid h3, body.dark-mode .nailArtGrid p, body.dark-mode #quiz label, body.dark-mode #result{
    background-color: var(--gray);
}

body.dark-mode #appForm{
    color: black;
}

/*Light/Dark toggle*/
#light-toggle {
  position: absolute;
  top: 0.5rem;
  right: 8rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--dk-blue);
  border: 1px solid #576B79;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  appearance: none;
  z-index: 1;
}

/*Header styles*/
header{
    background-color: var(--dk-blue);
    padding-bottom: 2rem;
    flex-direction: column; 
    display: flex;
}

header h1{
    text-align: center;
    margin-top: 30px;
    margin-right: 20rem;
}

header img{
    margin-top: -80px;
    margin-left: 7rem;
}

/*Nav styles*/
nav ul {
  display: grid;
  grid-template-columns: 6rem 7rem 10rem 10rem;
  gap: .4rem; 
  margin-top: -60px;
  justify-content: end;
  margin-right: 1.2rem;
  list-style: none;
  padding: 0;
}

nav a {
  position: relative;
  text-decoration: none;
  font-family: var(--h-font);
  font-size: 18px;
  display: inline-block;
  text-align: center;
  color: var(--orange);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.4s ease;
  overflow: hidden;
  letter-spacing: 0.5px; 
}

nav a::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(194, 137, 10, 0.3) 40%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(194, 137, 10, 0.3) 60%,
    transparent 100%
  );
  transform: rotate(-25deg) translateY(-200%);
  opacity: 0;
  pointer-events: none;
  transition: transform 1.5s ease, opacity 0.8s ease; 
}

nav a:hover {
  color: var(--lt-gold);
  text-shadow: 0 0 10px rgba(194, 137, 10, 0.8);
  box-shadow: 0 0 20px rgba(194, 137, 10, 0.4);
  transform: scale(1.05);
}

nav a:hover::before {
  opacity: 1;
  transform: rotate(-25deg) translateY(250%);
}


/*About section styles*/
.aboutImg {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.aboutImg::before,
.aboutImg::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 8%; 
  pointer-events: none;
}

.aboutImg::before {
  top: 0;
  background: linear-gradient(to bottom, var(--dk-blue) 0%, transparent 100%);
}

.aboutImg::after {
  bottom: 0;
  background: linear-gradient(to top, var(--md-blue) 0%, transparent 100%);
}
.aboutDiv {
  position: relative;
  text-align: center;
}

#about {
    background-color: var(--md-blue);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
}

#about p{
    padding: 2rem;
    color: var(--pl-blue);
    text-indent: 50px;
    margin-left: 70px;
    margin-right: 70px;
    line-height: 30px;
}

.aboutHeader {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  color: var(--lt-gold);
  backdrop-filter: blur(20px) saturate(60%);
  padding: 2rem;
}

/*Services section styles*/

#services h2{
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.servicesGrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 4rem;
    row-gap: 4rem;
    max-width: 1000px;
    margin: auto;
}

.servicesGrid h3{
    text-align: center;
    padding-bottom: 1rem;
}

/*Nail art examples styles*/
.slideshow{
    margin: auto;
    max-width: 500px; 
}

.slideshow div {
  position: relative;
}

.slideshow img {
  width: 100%;  
  max-width: 700px;         
  height: 400px;        
  object-fit: cover;    
  border-radius: 12px;  
}

.nailArtGrid{
    text-align: center;
    margin: auto;
    background-image: url("images/backgroundImg.png"); /*Image licensed with the Adobe Stock Photo educational license*/
    background-size: cover;
}

.nailArtGrid h4, .nailArtGrid h3{
    max-width: 20rem;
    margin: 2rem auto 1rem auto;
    padding: 15px;
    border-radius: 12px;  
    background-color: var(--pl-blue);
}

.nailArtGrid p{
    max-width: 700px;
    margin: 2rem auto 1.5rem auto;
    border-radius: 12px;  
    padding: 15px;
    background-color: var(--pl-blue);
}

/*Booking form styles*/

#booking h2{
    text-align: center;
 }
#booking{
    padding-top: 2rem;
}

.bookingDiv{
    padding-top: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    font-size: 1.2rem;
    font-family: var(--body-font);
    width: 450px;
    background-color: #CEDEF2;
    margin: 1rem auto;
    border: 3px solid var(--orange);
    border-radius: 10px;
}

.emailDiv, .numDiv, .nameDiv, .fieldsetDiv, .dateDiv, .timeDiv, .outputDiv{
    padding: .85rem;
}

.dateDiv input{
    width: 250px;
}

.outputDiv{
    width: 400px;
    margin: 0 auto;
}

#appForm input[type="text"], #appForm input[type="tel"], #appForm input[type="email"]{
    background-color: var(--lt-gold);
    height: 30px;
    font-size: 1rem;
    font-family: var(--body-font);
    box-shadow: 3px 3px 3px #6D6E68;
    border: .5px solid var(--orange);
}

#appForm input[type="text"]:focus, #appForm input[type="tel"]:focus, #appForm input[type="email"]:focus{
    outline: none;
    border: 2px solid var(--orange);
    box-shadow: inset 3px 3px 3px #A6A29F;
}

input[type="radio"]{
    accent-color: var(--md-blue); 
}

.required{
    color: #732439;
}

#appForm button{
    padding: 10px 20px;
    font-size: 1.2rem;
    font-family: var(--body-font);
    margin-bottom: 20px;
    cursor: pointer;
    background-color: var(--md-blue);
    color: var(--pl-blue);
    font-weight: bold;
    letter-spacing: 5px;
    border: 4px solid var(--pl-blue);
    box-shadow: 3px 3px 3px #6D6E68;
}

#appForm button:hover{
    background-color: var(--pl-blue);
    color: var(--md-blue);
    border: 4px solid var(--md-blue);
    box-shadow: inset 3px 3px 3px #A6A29F;
}


/*Quiz Styles*/

#quiz{
    text-align: center;
    background-image: url("images/gold_swoop.png"); /*Image licensed with the Adobe Stock Photo educational license*/
    background-size: cover;
    height: 800px;

}

#quiz h2{
    max-width: 20rem;
    margin: 2rem auto 1rem auto;
    padding: 60px;
}

#quiz label{
    font-size: 1.5rem;
    font-family: var(--h-font);
}

#mood{
    margin-top: 3rem;
    font-size: 1.5rem;
    font-family: var(--body-font);
}

#quiz button{
    padding: 10px 20px;
    font-size: 1.2rem;
    font-family: var(--body-font);
    margin-bottom: 20px;
    cursor: pointer;
    background-color: var(--gold);
    color: var(--lt-gold);
    font-weight: bold;
    letter-spacing: 5px;
    border: 2px solid var(--lt-gold);
    box-shadow: 3px 3px 3px #6D6E68;
}

#quiz button:hover{
    background-color: var(--lt-gold);
    color: var(--gold);
    border: 4px solid var(--gold);
    box-shadow: inset 3px 3px 3px #A6A29F;
}

#result{
    max-width: 15rem;
    margin: 2rem auto;
    background-color: var(--pl-blue);
}

/*Footer Styles*/

footer{
    background-color: var(--orange);
    height: 12rem;
    color: var(--lt-gold);
}

.socialText{
    padding-top: 3rem;
    padding-left: 2rem;
}

.social-icons{
    padding-top: 2rem;
    padding-left: 3.5rem;
    float: left;
}

.copyright p{
    text-align: center;
    font-size: 15px;
}

