/* css/common.css - Common styles for all GLOWSKYN pages */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background (used on all pages) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 30% 50%,
      rgba(189, 129, 95, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(198, 134, 66, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  max-width: calc(100% - 100px);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Decorative Floating Orbs */
.floating-orb {
  position: fixed;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(189, 129, 95, 0.4),
    transparent
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: -150px;
  animation: float 15s ease-in-out infinite;
}

.orb-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -100px;
  animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

/* Header Styles */
header {
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid rgba(189, 129, 95, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
  font-weight: normal;
  color: #fff;
  line-height: 1;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

header.scrolled .logo {
  font-size: 48px;
}

.logo:hover {
  color: #bd815f;
  transform: scale(1.05);
}

/* Navigation */
.nav-desktop {
  display: flex;
  gap: 84px;
  align-items: center;
}

.nav-desktop a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #bd815f;
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after,
.nav-desktop a.active::after {
  width: 100%;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #bd815f;
}

/* Login Button */
.login-btn {
  background: rgba(189, 129, 95, 0.6);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.login-btn:hover::before {
  left: 100%;
}

.login-btn:hover {
  background: #bd815f;
  transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

.nav-mobile a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-mobile a:hover {
  color: #bd815f;
  transform: translateX(10px);
}

.nav-mobile.show {
  display: flex;
}

/* Common Button Styles */
.btn {
  font-size: 1.4rem;
  padding: 1rem 2.5rem;
  border: none;
  outline: none;
  border-radius: 0.4rem;
  cursor: pointer;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #c68642;
  color: rgb(234, 234, 234);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0px 0px 60px #4d4e4c;
  -webkit-box-reflect: below 10px
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: scale(0.95);
}

.btn:hover {
  background: linear-gradient(270deg, #8d5524 100%, #f1c27d 60%);
  color: rgb(4, 4, 38);
  transform: translateY(-2px);
  box-shadow: 0px 10px 80px rgba(189, 129, 95, 0.4);
}

/* Common Text Gradients */
.gradient-text {
  background: linear-gradient(90deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-fade {
  background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer Styles */
footer {
  padding: 48px 0;
  background: #000;
  border-top: 1px solid rgba(189, 129, 95, 0.2);
  position: relative;
  z-index: 2;
}

.footer-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #bd815f, #c68642);
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-company {
  flex: 1;
}

.footer-logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 64px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-contact {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 24px;
  font-weight: 400;
  background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column h5 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.footer-column ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #bd815f;
  transition: width 0.3s ease;
}

.footer-column ul li a:hover::after,
.footer-column ul li a.active::after {
  width: 100%;
}

.footer-column ul li a:hover {
  color: #bd815f;
  transform: translateX(5px);
}

.footer-column ul li a.active {
  color: #bd815f;
}

.footer-copyright {
  background: linear-gradient(90deg, #bd815f, #c68642);
  text-align: center;
  padding: 16px;
  margin-top: 32px;
  border-radius: 10px;
}

.footer-copyright p {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

/* Common Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
  opacity: 1;
  transform: scale(1);
}

.slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.parallax-element {
  will-change: transform;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: calc(100% - 40px);
    padding: 0 10px;
  }

  .logo {
    font-size: 40px;
  }

  header.scrolled .logo {
    font-size: 32px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo {
    font-size: 48px;
  }

  .footer-tagline,
  .footer-contact {
    font-size: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}