/*===================================================
Project: cuppa - coffee shop HTML5 website template   
Auther: ERRAMIX
Version: 1.0
====================================================*/

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@200;300;400;500;600;700&display=swap");

/* start global classes */
:root {
  /* body bg color */
  /* --bodyColor: #141110; */

  --bodyColor: #ffd700;

  /* primary brand color */
  /* --primary-color: #ede275; */
  --primary-color: #4d4711;
  /* white color */
  /* --white: #fff; */
  --white: #202a4a;
  /* grey color */
  --grey: #202a4a;

  /* box color */
  /* --box-color: #2f2c2a; */
  --box-color: #ffeb3b;

  /* border radius */
  --border-radius: 5px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bebas Neue", sans-serif;
  color: var(--white);
  background-color: var(--bodyColor);
  text-align: left;
  position: relative;
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
}

::selection {
  color: var(--white);
  background-color: var(--primary-color);
}

.primary-text {
  color: var(--primary-color) !important;
}

.grey-text {
  color: var(--grey, #cecece) !important;
}

.white-text {
  color: var(--white, #fff) !important;
}

.b-radius {
  border-radius: var(--border-radius);
}

.bg-box {
  background-color: var(--box-color);
}

.heading-1,
.heading-2,
.heading-3,
.heading-4 {
  color: /*var(--white)*/ #202a4a;
}

.heading-1 {
  font-size: 64px;
  font-weight: bold;
  line-height: normal;
}

.heading-2 {
  font-size: 48px;
  font-weight: bold;
}

.heading-3 {
  font-size: 36px;
  font-weight: bold;
}

.heading-4 {
  font-size: 24px;
  font-weight: bold;
}

.body-1 {
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  color: var(--grey);
  font-family: "Outfit", sans-serif;
}

.body-2 {
  font-size: 16px;
  font-weight: 300;
  line-height: 28px;
  color: var(--grey);
  font-family: "Outfit", sans-serif;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-32 {
  gap: 32px;
}

.gap-64 {
  gap: 64px;
}

@media (max-width: 990px) {
  .heading-1 {
    font-size: 42px;
  }

  .heading-2 {
    font-size: 24px;
  }

  .heading-3 {
    font-size: 18px;
  }

  .body-1 {
    font-size: 16px;
    line-height: 28px;
  }

  .body-2 {
    font-size: 14px;
    line-height: 26px;
  }

  .gap-8 {
    gap: 4px;
  }

  .gap-16 {
    gap: 8px;
  }

  .gap-32 {
    gap: 16px;
  }

  .padding-32 {
    padding: 16px;
  }

  .padding-16 {
    padding: 8px;
  }

  .padding-8 {
    padding: 4px;
  }

  .icon-lg {
    font-size: 36px;
  }

  .icon-md {
    font-size: 22px;
  }

  .icon-sm {
    font-size: 14px;
  }

  .section {
    padding-block: 3rem;
  }
}

a {
  text-decoration: none;
  text-transform: capitalize;
}

.w-fit {
  width: fit-content;
}

.padding-32 {
  padding: 32px;
}

.padding-16 {
  padding: 16px;
}

.padding-8 {
  padding: 8px;
}

.icon-lg {
  font-size: 48px;
}

.icon-md {
  font-size: 32px;
}

.icon-sm {
  font-size: 24px;
}

p {
  color: var(--grey);
  font-family: "Outfit", sans-serif;
}

.section {
  padding-block: 6rem;
}

input,
textarea,
select {
  border: 0;
  outline: 0;
  background-color: transparent;
  color: var(--grey);
  background-color: var(--box-color);
}

.text-description p {
  height: 240px;
  overflow-y: overlay;
}

/* start buttons style */
.btn,
.btn-outline {
  background-color: var(--box-color);
  color: /*#38392c*/ #000;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  text-transform: capitalize;
  align-items: center;
  text-align: center;
  letter-spacing: 0.5px;
  outline: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out 0s;
  cursor: pointer;
  z-index: 1;
  transition: color 300ms ease-in-out;
  border: 0.5px solid var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 0.5px solid var(--white);
}

.btn:hover {
  color: var(--white);
  border: 0.5px solid var(--white);
}

.learn-more {
  text-transform: capitalize;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.learn-more i {
  font-size: 22px;
  margin-left: 8px;
}

.learn-more:hover {
  letter-spacing: 1.5px;
  transition: all 0.5s;
  color: var(--white);
}

/* end main button style */

ul {
  list-style: none;
}

img {
  width: 100%;
  z-index: 9999;
}

/* end global classes */

/* ==== start  preloader style  ===== */

.pace {
  pointer-events: none;
  user-select: none;
  z-index: 9999;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  border: 0px;
  height: 1.5px;
  overflow: hidden;
  background: #1d1d1d;
}

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 400px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: var(--primary-color);
}

.pace.pace-inactive {
  display: none;
}

#preloader {
  z-index: 999;
  width: 100%;
  height: 100vh;
  background: var(--bodyColor);
  overflow: hidden;
  position: fixed;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.p {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  color: transparent;
  background: url(../images/logoY.webp);
  height: 204px;
  width: 180px;
  background-size: cover;
  background-position: center;
}

/* ==== end  preloader style  ===== */

/* ======== start scroll-to-top button style  =========== */

#progress {
  position: fixed;
  bottom: 100px;
  right: 10px;
  height: 70px;
  width: 70px;
  display: none;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 99;
}

#progress i {
  color: var(--grey);
  font-size: 20px;
}

#progress-value {
  display: block;
  height: calc(100% - 15px);
  width: calc(100% - 15px);
  border-radius: 50%;
  display: grid;
  background-color: var(--bodyColor);
  place-items: center;
  font-size: 35px;
  color: var(--blueColor);
}

/* ======== end scroll-to-top button style  =========== */

/*================== start navbar section ==================*/

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: none;
}

.header {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  width: 100%;
}

.navbar {
  position: absolute;
  /* background-color: #53534f80; */
  background-color: var(--bodyColor);
  backdrop-filter: blur(8px);
  top: 0;
  right: 0;
  z-index: 99;
  width: 100%;
  transition: all 0.5s ease;
  box-shadow: 0 0 10px rgb(0 0 0 /0.5);
}

.navbar.active {
  background-color: #e9e96a80;
}

.navbar img {
  transition: all 0.5s ease;
  max-width: 100%;
}

.navbar.active img {
  max-width: 85%;
}

.navbar.active .logo-text {
  color: #fff !important;
}

.navbar.active .btn,
.btn.invert {
  background: #202a4a !important;
  color: var(--bodyColor) !important;
  border: 2px solid #fff;
  box-shadow: 0 0 3px 2px rgb(8 103 0);
}

.btn:not(.none):hover,
.navbar.active .btn:hover {
  background: linear-gradient(#cb6565, #7a7ad3, #8bc38b) !important;
  color: #fff !important;
}

.navbar i {
  font-size: 20px;
  color: var(--grey);
}

.navbar > * {
  z-index: 999;
}

.navbar .logo {
  width: 9rem;
}

.navbar ul li a {
  font-weight: 600;
  color:
    /*var(--grey)*/ #202a4a;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  background: linear-gradient(#cb6565, #7a7ad3, #8bc38b) !important;
  -webkit-background-clip: text !important; /* Propiedad específica de Webkit para clipar el fondo al texto */
  color: transparent !important;
  /* color: var(--box-color) !important; */
  font-weight: 900;
  /* text-shadow: 0 0 4px rgb(0 0 0 /0.5); */
}

.navbar i {
  font-size: 24px;
  color: var(--grey);
  z-index: 999 !important;
}

/*================== End navbar section ==================*/

/*================== start hero section ==================*/
.hero {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero .img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero .img img {
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  object-fit: cover;
}

.hero .backdrops {
  /* background: rgba(0, 0, 0, 0.6); */
  /* background: rgb(255 255 255 /0.6); */
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero .heading-1 {
  font-size: 96px;
}

@media (max-width: 990px) {
  .hero .heading-1 {
    font-size: 60px;
  }
}

@media (max-width: 720px) {
  .hero .heading-1 {
    font-size: 40px;
  }
}

/*================== end hero section =====================*/

/*============== Start menu section ==========*/

.menu .box img {
  width: 100px;
  height: 100px;
}

/*============== End menu section ==========*/

/*============== Start testimonials section ==========*/

.testimonials i {
  font-size: 20px;
  color: #ca8504;
}

.testimonials .box {
  border-radius: var(--border-radius);
  background-color: var(--box-color);
}

.testimonials img,
.testimonials i.icon-review {
  width: 55px;
  height: 55px;
}
.testimonials i.icon-review {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
}

/*============== End testimonials section ==========*/

/*============== start FAQ section ==========*/

.faq .btn {
  color: var(--white) !important;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: transparent !important;
  border: none !important;
}

.faq .btn span {
  font-weight: 900;
}

.rotate-icon {
  transition: transform 0.3s ease-in-out;
}

.rotate-icon.rotated {
  transform: rotate(180deg);
}

/*============== End FAQ section ==========*/

/*============== Start contact section ==========*/
.contact .blury-1 {
  top: -400px;
  left: -600px;
}

.contact .blury-2 {
  top: -400px;
  right: -600px;
}

.done-msg {
  color: var(--white);
  font-family: "Outfit", "sans serif";
}

.contact-map {
  height: 100%;
}

/*============== End contact section ==========*/

/*============== End Footer section ==========*/

.footer-link {
  font-size: 16px;
  color: var(--grey);
  font-family: "Outfit", sans-serif;
}

.footer a i {
  font-size: 16px;
  color: var(--grey);
}

.footer i:hover {
  color: var(--primary-color);
}

.copy {
  font-size: 12px;
  color: var(--dark-grey);
}

/*============== End Footer section ==========*/

@media (max-width: 992px) {
  #progress {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 5px rgb(0 0 0 /0.2);
  }

  .navbar {
    background-color: #e9e96a !important;
  }
}

/* Estilos para el scroll */
::-webkit-scrollbar {
  width: 12px;
  /* Ancho del scroll */
}

::-webkit-scrollbar-thumb {
  background-color: var(--white);
  /* Color de fondo del scroll */
}

.text-description p::-webkit-scrollbar-track {
  background-color: var(--box-color);
}

::-webkit-scrollbar-track {
  background-color: var(--bodyColor);
  /* Color de fondo del área del scroll no ocupada */
}

/* Estilos para navegadores que no son WebKit (Firefox, Edge, etc.) */
body {
  scrollbar-width: 12px;
  /* Ancho del scroll */
}

body {
  scrollbar-color: var(--white) var(--bodyColor);
  /* Color del thumb y track del scroll */
}

.text-description p {
  scrollbar-color: var(--white) var(--bodyColor);
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.logo-text label {
  font-size: initial;
  margin-top: -13px;
  background: linear-gradient(#cb6565, #7a7ad3, #8bc38b);
  -webkit-background-clip: text; /* Propiedad específica de Webkit para clipar el fondo al texto */
  color: transparent;
  font-weight: bold;
  text-align: center;
}

.section-invert {
  --bodyColor: #ffeb3b !important;
  --box-color: #ffd700 !important;
  --primary-color: #ede275 !important;
  /* --white: #fff !important; */
  /* --grey: #cecece; */

  background: var(--bodyColor);
}

.hero.section-invert {
  background: transparent !important;
}

/* Galerias */

.gallery {
  columns: 5 250px;
  column-gap: 0.5em;
  position: relative;
  min-height: 400px;
}

.gallery.home {
  columns: 4 250px !important;
}

.gallery .img-content {
  display: block;
  width: 100%;
  margin-bottom: 0.5em;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery .img-content.loaded {
  opacity: 1;
  transform: translateY(0);
}

.gallery .img-content img {
  max-width: 100%;
}

.img-content span {
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  font-weight: 900;
  font-size: 20px;
  color: #584e3e;
  width: 80%;
  background: rgba(254, 254, 29, 0.964);
  height: 10%;
  transition: all 0.5s ease;
  overflow: hidden;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}

.img-content:hover span {
  opacity: 1;
  height: 90%;
}

/* Transiciones para cambio de página */
.gallery-container {
  position: relative;
  overflow: hidden;
}

.gallery.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos para paginación */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.pagination button {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  background: white;
  color: #666;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.pagination button:hover {
  background: #f0f0f0;
  border-color: #d0d0d0;
  transform: translateY(-2px);
}

.pagination button.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: scale(1.1);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination button:disabled:hover {
  background: white;
  border-color: #e0e0e0;
  transform: none;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  font-size: 18px;
  color: #666;
  width: 100%;
}

.loading::after {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #e0e0e0;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.gallery-info {
  text-align: center;
  margin: 20px 0;
  color: #666;
  font-size: 14px;
}

/* End galerias */

.navbar-nav {
  gap: 20px !important;
}

.item_info span {
  font-size: 36px;
}
p.text_bold {
  font-weight: 600;
}
.item_info p {
  padding-left: 20px;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  letter-spacing: 0.06em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact .info {
  background: var(--box-color);
}

.info-locate p {
  margin-bottom: 0;
}

.logoY {
  position: absolute;
  width: 260px;
  top: 0;
  right: -10px;
  z-index: 0 !important;
}

.box-menu {
  height: 150px;
}

@media (max-width: 768px) {
  .navbar-nav {
    gap: initial !important;
  }
  .logoY {
    width: 200px;
  }
}

@media (max-width: 992px) {
  .box-menu {
    height: 270px;
  }
  .box-menu h3 {
    font-size: 30px;
  }
}
