* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:root {
  --main-padding: 60px;
  --main-color: #eb9011;
  --main-transition: 0.3s linear;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins";
  position: relative;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* start header */
header {
  background-color: #3f181c;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

header a {
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
}

.menu-toggle.active {
  filter: blur(5px);
}

header ul {
  display: flex;
  align-items: center;
}

header ul li {
  padding-left: 10px;
}

.close-btn {
  display: none;
}
header ul li a {
  display: block;
  padding: 10px 15px;
  border-radius: 40px;
  font-weight: 300;
  transition: var(--main-transition);
}

header ul li:hover a {
  background-color: #eb9011;
  color: black;
}

.blur-effect {
  position: relative;
}

.blur-effect.blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  header ul {
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    width: 300px;
    height: 100vh;
    justify-content: center;
    color: black;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  header ul.active {
    transform: translateX(0);
  }

  header ul li a {
    color: black;
    font-weight: normal;
    padding: 30px;
  }

  header ul li {
    width: 100%;
    padding: 0;
  }

  header ul li:hover a {
    background-color: #3f181c;
    width: 100%;
    border-radius: 0;
    color: white;
  }
  .close-btn {
    display: block;
    text-align: right;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
  }
}

/* start home */

.home {
  padding-top: calc(80px + var(--main-padding));
  background-color: #3f181c;
  min-height: 100vh;
}

.home .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
}

.coffee-image {
  max-width: 500px;
  width: 100%;
}
.home img {
  max-width: 100%;
  height: auto;
}
.home-text {
  color: white;
  width: 500px;
}

.home-text h1 {
  color: var(--main-color);
  font-family: "Miniver";
}

.home-text p:first-of-type {
  font-weight: 600;
  font-size: 27px;
  line-height: 40px;
  margin-bottom: 20px;
}

.home-text p:last-of-type {
  font-weight: 300;
}

.home-buttons {
  margin-top: 30px;
}
.home-buttons button {
  border: 0;
  margin-right: 20px;
  background-color: transparent;
}

.home-buttons button:first-of-type {
  margin-right: 10px;
}

.home-buttons a {
  display: block;
  background-color: var(--main-color);
  color: #702501;
  padding: 10px 0;
  width: 110px;
  border-radius: 20px;
  font-size: 14px;
  border: 2px solid var(--main-color);
  transition: var(--main-transition);
}

.home-buttons button:last-of-type a {
  color: white;
  background-color: transparent;
  border: 2px solid white;
}

.home-buttons a:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.home-buttons button:last-of-type a:hover {
  background: white;
  color: black;
  border: 2px solid white;
}

@media (max-width: 767px) {
  .home .container {
    flex-direction: column-reverse;
  }
  .coffee-image {
    max-width: 215px;
  }
  .home-text {
    width: auto;
    text-align: center;
  }
}

/* start about */

.about {
  padding: 120px 0;
}

.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about img {
  width: 400px;
  height: 400px;
  border-radius: 100%;
  object-fit: cover;
}

.about-content {
  flex-basis: 50%;
  text-align: center;
}

.special-header {
  text-transform: uppercase;
  margin-bottom: 80px;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.special-header::before {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 5px;
  border-radius: 10px;
  background-color: var(--main-color);
}

.about-content p {
  line-height: 30px;
  margin: 50px 0 30px;
}

.about-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 20px;
  margin-top: 40px;
}

.about-icons a {
  color: black;
}

.about-icons i {
  transition: 0.3s;
}
.about-icons i:hover {
  color: var(--main-color);
  cursor: pointer;
}

@media (max-width: 991px) {
  .about .container {
    flex-direction: column-reverse;
    gap: 100px;
  }
  .about-content {
    flex-basis: 100%;
  }
  .about img {
    width: 250px;
    height: 250px;
  }
}

/* start menu */

.menu {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: #252525;
  color: white;
}

.menu .container {
  margin-top: 200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 120px;
}

.menu-content {
  text-align: center;
}

.menu-content img {
  max-width: 80%;
  aspect-ratio: 1;
}

.menu-content h3 {
  text-transform: capitalize;
  margin: 20px 0;
}

.menu-content p {
  font-size: 16px;
  font-weight: 300;
}

@media (max-width: 767px) {
  .menu-content img {
    max-width: 50%;
  }
}

/* start testimonials */
.testimonials {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: #fbf4f6;
}
.swiper-button-next,
.swiper-button-prev {
  color: #eb9011;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #eb9011;
  opacity: 1;
}

.swiper-pagination {
  position: relative;
  margin-top: 50px;
}

.swiper-wrapper {
  margin-top: 50px;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.swiper-slide img {
  border-radius: 50%;
  max-width: 40%;
}

.swiper-slide h3 {
  padding: 20px 0;
}

.feedback {
  font-size: 14px;
  max-width: 300px;
}

/* start gallery */

.gallery {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
}

.gallery .container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
}

.gallery-image {
  overflow: hidden;
  cursor: pointer;
}
.gallery-image:hover img {
  transform: rotate(5deg) scale(1.1);
}

.gallery-image img {
  aspect-ratio: 1;
  border-radius: 10px;
  height: 300px;
  transition: var(--main-transition);
}

/* start contact */

.contact {
  padding-top: var(--main-padding);
  padding-bottom: var(--main-padding);
  background-color: #fbf4f6;
}

.contact .container {
  display: flex;
  justify-content: space-between;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.contact-info i {
  margin-right: 20px;
}
.contact-info a {
  color: #eb9011;
  transition: var(--main-transition);
}

.contact-info a:hover {
  color: #702501;
}
.contact form {
  display: flex;
  flex-direction: column;
  flex-basis: 60%;
  gap: 20px;
}

.contact form input,
textarea {
  border-radius: 10px;
  border: 0;
  padding: 20px;
}

.contact form input {
  height: 50px;
}

.contact form input:last-of-type {
  width: fit-content;
  height: auto;
  border-radius: 50px;
  background-color: #702501;
  color: white;
  cursor: pointer;
  transition: var(--main-transition);
}

.contact form input:last-of-type:hover {
  background-color: black;
}

@media (max-width: 991px) {
  .contact .container {
    flex-direction: column-reverse;
    gap: 80px;
  }
  .contact-info {
    display: none;
  }
  .contact form {
    flex-basis: 100%;
  }
}

/* start footer */

footer {
  background: #2c2c2c;
  color: #fff;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}

footer .container {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand {
  margin-bottom: 20px;
}

.footer-brand h2 {
  color: #eb9011;
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  font-size: 14px;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #eb9011;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin: 6px 0;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #eb9011;
}

.footer-social {
  margin-bottom: 20px;
}

.footer-social h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #eb9011;
}

.footer-social a {
  color: #fff;
  margin-right: 15px;
  font-size: 18px;
  transition: 0.3s;
}

.footer-social a:hover {
  color: #eb9011;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #aaa;
}
