@import url("variables.css");

/* =========================================
   LOADER STYLES
   ========================================= */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s;
  opacity: 1;
}

body.loaded .loader-wrapper {
  opacity: 0;
  pointer-events: none;
}

.smoke-loader {
  width: 100px;
  height: 100px;
  position: relative;
  margin-top: -50px;
}

.coffee-cup {
  height: 80px;
}

.smoke-wave {
  width: 50px;
  height: 50px;
  position: relative;
  top: 15px;
  margin: 0 auto;
}

.smoke1,
.smoke2,
.smoke3 {
  float: left;
  margin: 0 4px;
  border-radius: 3px;
  position: relative;
}

.smoke1 {
  width: 6px;
  height: 30px;
}

.smoke2 {
  width: 6px;
  height: 15px;
  margin-top: 15px;
}

.smoke3 {
  width: 6px;
  height: 30px;
}

.smoke1:before,
.smoke1:after,
.smoke2:before,
.smoke2:after,
.smoke3:before,
.smoke3:after {
  content: "";
  background: var(--primary);
  position: absolute;
  border-radius: 3px;
  width: 100%;
  height: 100%;
}

.smoke1:before,
.smoke1:after {
  animation: load 2s infinite reverse ease-in-out;
}

.smoke2:before,
.smoke2:after {
  animation: load 2s infinite reverse ease-in-out 0.5s;
}

.smoke3:before,
.smoke3:after {
  animation: load 2s infinite reverse ease-in-out 1s;
}

@keyframes load {
  0% {
    top: 0;
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    top: -20px;
    opacity: 0;
  }
}

/* =========================================
   FOOTER LAYOUT
   ========================================= */
.footer {
  background: var(--background);
  color: white;
  font-family: var(--font-secondary);
  padding: 4rem 200px 2rem;
  margin-top: 4rem;
}

.footertop {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.footerbottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footerbottom p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin: 0;
  text-align: center;
}

/* =========================================
   SUBSCRIBE SECTION
   ========================================= */
.subscribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 4rem;
}

.subscribe p {
  font-size: 1.5rem;
  color: var(--primary);
  max-width: 600px;
  margin-bottom: 2rem;
}

.subscribe p span {
  color: white;
  font-size: 1rem;
  display: block;
  margin-top: 0.5rem;
}

.subscribeinput {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 400px;
}

.subscribeinput input {
  background-color: var(--input-bg, rgba(255, 255, 255, 0.1));
  border: 1px solid var(--white);
  border-radius: 100px;
  padding: 1rem 1.5rem;
  color: var(--white);
  width: 100%;
  outline: none;
  font-family: var(--font-primary);
}

.subscribeinput input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.subscribeinput button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.subscribeinput button i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.subscribeinput button:hover {
  background-color: var(--white);
}

.subscribeinput button:hover i {
  color: var(--primary) !important;
  transform: translateX(4px);
}

/* =========================================
   FOOTER COLUMNS & CONTENT
   ========================================= */
.footer-column {
  flex: 0 1 auto;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 300;
}

.footer-logo {
  max-width: 100px;
  filter: brightness(0) invert(1);
  display: block;
  margin-bottom: 1.5rem;
}

.legal-links {
  font-size: 0.85rem;
  opacity: 0.7;
  line-height: 1.6;
}

.legal-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s;
}

.legal-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* About Column Animation */
.about-column a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  color: white;
  text-decoration: none;
  font-weight: 300;
}

.about-column a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

/* Contact Column */
.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-list a,
.contact-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

.contact-list i {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: var(--primary);
}

.contact-list a:hover,
.contact-list a:hover span {
  color: var(--primary);
}

/* Social Display */
.socialdisplay i {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.socialdisplay a:hover i {
  transform: scale(1.1);
  color: var(--primary);
}

.responsivemedia {
  width: 100%;
  text-align: center;
  padding-top: 2rem;
  display: none;
}

/* =========================================
   MEDIA QUERIES
   ========================================= */
@media screen and (max-width: 968px) {
  .footer {
    padding: 4rem 5% 2rem;
  }

  .footertop {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .footer-column {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-column,
  .about-column,
  .contact-column {
    align-items: center;
  }

  .footer-logo {
    margin: 0 auto 1.5rem auto;
  }

  .contact-list a,
  .contact-list span {
    justify-content: center;
  }

  .footerbottom {
    flex-direction: column;
    text-align: center;
  }
}