@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,800,800italic");

/* Box Model Hack */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    max-width: 100%;
}

/******************************************
/* LAYOUT
/*******************************************/

nav {
    margin-top: 2em;
}
nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 6em;
    list-style: none;
}

nav ul li:last-child {
    padding-right: 10em;
}
main {
    display: flex;
    flex-direction: column;
}

main ul li {
    display: inline-block;
}

a {
    color: black;
    text-decoration: none;
    font: bold;
}

.firstHeading {
    font-size: 5.1em;
    margin-bottom: 0.25em;
}

.icons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2em;
    font-size: 2em;
    color: lightsalmon;
    margin: 2em 2em;
}

.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    text-transform: none !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 400;
}

.icon.brands:before {
    font-family: 'Font Awesome 5 Brands';
}

.heading {
    font-size: 4em;
}

@media screen and (max-width: 344px){
    nav ul {
        display: flex;
        justify-content: flex-end;
        gap: 2em;
        list-style: none;
    }

}


/******************************************
/* ADDITIONAL STYLES
/*******************************************/


/*******************************************
/* NAV
/********************************************/

.nav li {
    font-size: 1em;
    font-weight: bold;
}

.nav li a:hover {
    color: lightsalmon;
}


/*******************************************
/* Main Section 
/********************************************/

.welcome {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 3em 3em;
    width: 40%;
    margin: 4em 0 0 4em;
    background: rgba(255, 255, 255, 0.521);
    border: 0.06em solid rgba(255, 160, 122, 0.3);
    box-shadow: 0 0.25em 0.475em rgba(0, 0, 0, 0.1);
    border-radius: 0.8em;
    backdrop-filter: blur(.06em);
}


.welcome-search {
    display: flex;
    width: 100%;
}

.welcome-search input {
    width: 75%;
    border: 1px solid gray;
    padding: 0 0 2em 0;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    text-align: center;
    line-height: -1;
}

.welcome-search span {
    height: 3em;
    padding: 0.6em 2em 0.6em 1.8em;
    margin: 0;
    text-align: center;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border: 1px solid gray;
    color: white;
    background: linear-gradient(
        to right,
        rgb(255, 160, 122, 0.8) 0%,      /* Light on left */
        rgba(255, 160, 122, 1.0) 70%        /* Fade to transparent */
    )
}

.banner {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1.0) 0%,      /* Light on left */
        rgba(255, 255, 255, 0) 70%        /* Fade to transparent */
    ),
    linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.6) 0%,      /* Light at top */
        rgba(255, 255, 255, 0) 30%,       /* Fade to transparent */
        rgba(255, 255, 255, 0) 70%,       /* Stay transparent */
        rgba(255, 255, 255, 0) 100%     /* Light at bottom */
    ), 
    url("../../images/banner-pexels-ella-olsson-572949-1640777.jpg") right/cover no-repeat;
    height: 60em;
    /* width: 100%; */
}

/*******************************************
/* About Us Section
/********************************************/


.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 1) 0%,      /* Light at top */
        rgba(255, 255, 255, 0) 40%,       /* Fade to transparent */
        rgba(255, 255, 255, 0) 70%,       /* Stay transparent */
        rgba(255, 255, 255, 0.4) 100%     /* Light at bottom */
    ), url("../../images/about-pexels-ella-olsson-572949-1640770.jpg") center/cover no-repeat;
    padding: 3em 1em;
    height: 60em;
    width: 100%;
}

.about-us {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 3em 1em;
    width: 30%;
    box-shadow: 0 0.25em 0.3em rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(.2em);
}

.about-us-btn {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 2em;
    width: 7em;
    margin-top: 2em;
    border: 2px solid lightsalmon;
    border-radius: 5px;
    background-color: lightsalmon;
}

.about-us-btn + span {
    display: inline-block;
}

/*******************************************
/* Our Specialty Cuisine Section
/********************************************/

.specialty {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 3em 1em;
    background-color: rgba(186, 241, 223, 0.726);
}

.offerings {
    display: flex;
    flex-direction: row;
    list-style: none;
}

.offerings li {
    font-weight: bold;
    margin: 1em 0;
    padding: 1em 2em;
    border-bottom: 0.2em solid black;
}



.offerings .highlighted {
    color: lightsalmon;
    border-bottom: 0.2em solid lightsalmon;
}

.specialty-dishes {
    display: flex;
    flex-wrap: wrap;
    gap: 1em; /* Added to make the spaces even between pictures */
    list-style: none;
    padding: 0;
    margin: 3em 0; /* Added to keep space above and below */
    max-width: 1400px; /* addded to keep it from getting too wide */
}

.specialty-dishes li{
    flex: 0 0 100%;
    overflow: hidden;
}

.specialty-dishes li img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.specialty-dishes li img:hover {
    transform: scale(1.05);
}

.call-btn {
    color: lightsalmon;
    font-size: 10em;
}

@media (min-width: 768px) {
    .specialty-dishes li {
    flex: 0 0 calc(50% - 0.5em)
    }
}

@media (min-width: 1024px){
    .specialty-dishes li {
        flex: 0 0 calc(25% - 0.75em);
    }
}


/* Opening Hours Section */

.hours {
    height: 60em;
}

.hours,
.reviews {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4em 1em;
    width: 100%;
}

.phone-num {
    font-size: 2em;

}

.time-container {
    display: flex;
    gap: 2em;
}

.time {
    padding: 0 10em;
}

.time > h4 {
    font-style: unset;
}

/* Review Section */

.reviews{
    background-color: rgba(222, 184, 135, 0.5);
}

.review-top span {
    color: lightsalmon;
}

.review-top,
.review-mid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 3em 1em;
}

.review-mid > img {
    height: 15em;
    object-fit: cover;
}

.reviewer {
    height: 15em;
    border-radius: 160em;
    object-fit: cover;
}

.review-mid span {
    font-size: 24px;
    font-weight: bold;
    padding: 2em 0 0 0;
}

.reviewer + span + img {
    transform: rotate(180deg);
}

.reviews ul li {
    color: lightsalmon;
}

/* .review-select ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 2em;
} */

/* Footer */

	#footer {
		padding: 6em 0 4em 0 ;
		background-color: #1d242a;
		text-align: center;
	}

		#footer .icons {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2em;
			font-size: 1.25em;
            list-style: none;
		}

			#footer .icons a {
				color: rgba(255, 255, 255, 0.5);
			}

				#footer .icons a:hover {
					color: #fff;
				}

		#footer .copyright {
			color: rgba(255, 255, 255, 0.5);
			font-size: 0.8em;
			letter-spacing: 0.225em;
			list-style: none;
			padding: 0;
			text-transform: uppercase;
		}

			#footer .copyright li {
				border-left: solid 1px rgba(255, 255, 255, 0.5);
				display: inline-block;
				line-height: 1em;
				margin-left: 1em;
				padding-left: 1em;
			}

				#footer .copyright li:first-child {
					border-left: 0;
					margin-left: 0;
					padding-left: 0;
				}

				#footer .copyright li a {
					color: inherit;
				}

					#footer .copyright li a:hover {
						color: #fff;
					}

				@media screen and (max-width: 480px) {

					#footer .copyright li {
						border: 0;
						display: block;
						line-height: 1.65em;
						margin: 0;
						padding: 0.5em 0;
					}

				}

		@media screen and (max-width: 980px) {

			#footer {
				padding: 4em 3em 2em 3em ;
			}

		}

		@media screen and (max-width: 736px) {

			#footer {
				padding: 3em 2em 1em 2em ;
			}

		}

/************************************************
/* Mobile Styles
/************************************************/

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5em;
    position: fixed;
    top: 1.5em;
    right: 1.5em;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: lightsalmon;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate (-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate (-5px, -6px);
}

@media (max-width: 1176px) {
    .firstHeading {
        font-size: 3em;
    }
    
    section {
        height: 50%;
    }
}

@media (max-width: 860px) {
 
    nav ul {
        gap: 3em;
    }

    nav ul li:last-child {
        padding-right: 3em;
    }

    .welcome {
        /* height: 24em; */
        width: 70%;
        margin: 3em auto 0 auto;
        padding: 0 2em;
        background: rgba(255, 255, 255, 0.85);
        text-align: center;
    }

    .welcome-shift {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .welcome-search,
    .welcome .icons {
        display: none;
    }

    .heading {
        font-size: 3em;
    }

    .firstHeading {
        font-size: 3.5em;
        text-align: center;
        width: 100%;
    }

    .about {
        padding: 3em 2em;
    }

    .about-us {
        width: 85%;
        margin: 0 auto;
        padding: 2em 2em;
        text-align: center;
    }

    .about-us span,
    .about-us h2,
    .about-us p {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .about-us p {
        line-height: 1.6;
        width: 100%;
    }

    .offerings {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5em;
    }

    .offerings li {
        padding: 0.75em 1.5em;
        font-size: 0.95em;
        border: none;
    }

    .specialty {
        padding: 3em 1em 1em 1em;
    }

    .specialty-dishes {
        margin: 2em 0 .05em 0;
    }

    .specialty-dishes li:nth-child(5),
    .specialty-dishes li:nth-child(6),
    .specialty-dished li:nth-child(7),
    .specialty-dished li:nth-child(8) {
        display: none;
    }

    .specialty-dishes li {
        flex: 0 0 calc(50% - 0.5em);
    }

    .time {
        padding: 0 3em;
    }

    .hours {
        height: auto;
        padding: 3em 1em;
    }

    .reviews {
        padding: 2em 1em;
        height: auto;
    }

    .review-mid > img {
        height: 10em;
    }

    .reviewer {
        height: 10em;
        width: 10em;
    }

    .reviews p {
        width: 80%;
        margin: 1em;
        text-align: center;
    }
   
}

@media (max-width: 576px){
    .hamburger {
        display: flex !important;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5em;
        position: fixed;
        top: 1.5em;
        right: 1.5em;
        z-index: 1001;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: background-color 0.3s ease;  /* Smooth transition */
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background-color: lightsalmon;
        margin: 3px 0;
        transition: 0.3s;
        border-radius: 3px;
    }

    .hamburger.active {
        background-color: lightsalmon;
    }

    .hamburger.active span {
        background-color: white;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }

    nav {
        margin-top: 0;
    }

    nav ul {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex !important;
        flex-direction: column !important;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        justify-content: center;
        align-items: center;
        gap: 2em;
        padding: 0;
        margin: 0;
        list-style: none;
        background:
            linear-gradient(
                rgba(255, 255, 255, 0.3),
                rgba(255, 255, 255, 0.3)
            ),
            url("../../images/pexels-fwstudio-33348-129733.jpg") center/cover no-repeat;
    }

    nav ul.active {
        left: 0;
    }

    .nav ul li {
        display: block;
        margin: 0;
        padding: 0;
    }

    nav ul li:last-child {
        padding-right: 0;
    }

    nav ul li a {
        font-size: 2em;
        padding: 1em;
        display: block;
        color: #333;
        
    }

    .welcome {
        width: 95%;
        margin: 2em auto 0 auto;
        padding: 1.5em 1em;
        text-align: center;
        background: rgba(255, 255, 255, 0.6);
    }

    .welcome-shift {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .welcome-search {
        flex-direction: column;
    }

    .welcome-search input {
        width: 100%;
        padding: 1em;
        border-radius: 10px;
        margin-bottom: 0.5em;
    }

    
    .firstHeading {
        font-size: 2.2em;
        line-height: 1.2;
        text-align: center;
        width: 100%;
        margin: 0;
    }

    .heading {
        font-size: 2em;
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    .icons {
        gap: 1em;
        font-size: 1.5em;
        margin: 1em 0;
    }

    .about {
        padding: 2em 1em;
    }

    .about-us {
        width: 90%;
        margin: 0 auto;
        padding: 1.5em 1.5em;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-us p {
        text-align: center;
        word-wrap: break-word;
        line-height: 1.7;
        width: 100%;
        margin: 0.5em 0;
    }

    .about-us span {
        display: block;
        text-align: center;
        margin-bottom: 1em;
    }

    .about-us h2 {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 1em;
        line-height: 1.3;
    }

    .about-us-btn {
        margin: 1.5em auto 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: fit-content;
    }

    .specialty {
        padding: 2em 1em 1em 1em;
    }

    .offerings {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5em;
    }

    .offerings li {
        padding: 0.75em 1em;
        font-size: 0.9em;
        border-bottom: none;
    }

    .offerings li:nth-child(3) {
        color: black;
    }

    .offerings li:nth-child(1),
    .offerings li:nth-child(2),
    .offerings li:nth-child(4),
    .offerings li:nth-child(5) {
        display: none;
    }

    .specialty-dishes {
        margin: 1.5 0 0.5em 0;
    }

    .specialty-dishes li:nth-child(3),
    .specialty-dishes li:nth-child(4) {
        display: none;
    }

    .specialty-dishes li {
        flex: 0 0 100%;
    }

    .hours {
        height: auto;
        padding: 2em 1em;
    }

    .time-container {
        flex-direction: column;
        gap: 2em;
    }

    .time {
        padding: 0 1em;
        text-align: center;
    }

    .time h4 {
        text-align: center;
    }

    .phone-num {
        font-size: 1.5em;
    }

    .reviews {
        padding: 2em 1em;
        height: auto;
    }

    .review-top,
    .review-mid {
        padding: 1.5em 1em;
    }

    .review-mid > img {
        height: 8em;
    }

    .reviewer {
        height: 8em;
        width: 8em;
    }

    .review-mid span {
        font-size: 18px;
        padding: 1em 0 0 0;
    }

    .reviews p {
        width: 90%;
        margin: 1em auto;
        text-align: center;
        font-size: 0.95em;
        line-height: 1.6;
    }

    .review-top .heading {
        font-size: 1.8em;
    }
}

@media (max-width: 375px) {
    .welcome {
        width: 98%;
        margin: 1em auto 0 auto;
        padding: 1em 0.75em;
        background: rgba(255, 255, 255, 0.5);
    }

    .welcome-shift {
        width: 100%;
        align-items: center;
    }

    .firsHeading{
        font-size: 1.8em;
        margin: 0;
    }

    .heading {
        font-size: 1.6em;
    }

    .about {
        padding: 1.5em 0.5em;
        text-align: center;
    }

    .about-us {
        width: 95%;
        margin: 0 auto;
        padding: 1.5em 2.2em;

    }

    .about-us h2 {
        font-size: 1.5em;
    }

    .about-us p {
        font-size: 0.9em;
        width: 100%;
    }

   

    .specialty {
        padding: 1.5em 0.5em 0.5em 0.5em;
    }

    .offerings {
        flex-direction: column;
        width: 100%;
    }

    .offerings li {
        padding: 0.75em;
        text-align: center;
        border-bottom: none;
    }

    .hours {
        height: auto;
        padding: 2em 0.5em;
    }

    .time {
        padding: 0 0.5em;
    }

    .reviews {
        padding: 1.5em 0.5em;
    }

    .reviewer {
        height: 7em;
        width: 7em;
    }

    .reviews p {
        width: 75%;
        font-size: 0.9em;
    }
}
