@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}



html, body {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #f5f0e6;
  color: #4a3728;
}

::selection {
  background: #8b5a2b;
  color: #fff;
}

/* Header Section - Minimalist Version */
.header {
  width: 100%;
  background-color: #6d4c41;
  padding: 0 0 20px 0;
  position: relative;
  box-shadow: 0 2px 15px rgba(101, 67, 33, 0.2);
}

.header h1 {
  font-size: 32px;
  font-weight: 300;
  color: white;
  text-align: center;
  margin-top: 120px;
  letter-spacing: 1px;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container {
  background-color: white;
  padding: 10px;
  border-radius: 2px;
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -80px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
  width: 400px;
  height: auto;
}


.Login-nav-links {
  flex: 1;
  text-align: right;
}

.Login-nav-links ul li {
  list-style: none;
    display: inline-block;
    padding: 100px 15px;
    position: relative;
    margin-top: -150px;
    left: 95px;
    bottom: 28px;
}

.Login-nav-links ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
}

.Login-nav-links ul li::after {
  content: "";
  width: 0%;
  height: 4px;
  transition: 0.5s;
  border-radius: 2px;
  display: block;
  background: #e6ccb2;
  margin: auto;
}

.Login-nav-links ul li:hover::after {
  width: 100%;
}

/* Login Form Styles */
.wrapper {
  max-width: 420px;
  background: #fff9f0;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(101, 67, 33, 0.08);
  margin: 50px auto;
  border: 1px solid #e6d7c3;
}

.wrapper .title-text {
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 70px;
}



.wrapper .title {
  width: 100%;
  font-size: 28px;
  font-weight: 500;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
  color: #333;
  position: absolute;
  padding: 15px 0;
}

.wrapper .title.login {
  left: 0;
  transform: translateX(0);
}

.wrapper .title.signup {
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.wrapper .slide-controls {
  position: relative;
  display: flex;
  height: 50px;
  width: 100%;
  overflow: hidden;
  margin: 25px 0 15px 0;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 5px;
}

.slide-controls .slide {
  height: 100%;
  width: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.6s ease;
}

.slide-controls label.signup {
  color: #666;
}

.slide-controls .slider-tab {
  position: absolute;
  height: 100%;
  width: 50%;
  left: 0;
  z-index: 0;
  border-radius: 5px;
  background: #8b5a2b;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
}

input[type="radio"] {
  display: none;
}

#signup:checked ~ .slider-tab {
  left: 50%;
}

#login:checked ~ .slider-tab {
  left: 0;
}

#signup:checked ~ label.signup {
  color: #fff;
  cursor: default;
  user-select: none;
}

#signup:checked ~ label.login {
  color: #666;
}

#login:checked ~ label.signup {
  color: #666;
}

#login:checked ~ label.login {
  cursor: default;
  user-select: none;
}

.wrapper .form-container {
  width: 100%;
  overflow: hidden;
}

.form-container .form-inner {
  display: flex;
  width: 200%;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.form-container .form-inner form {
  width: 50%;
  transition: all 0.6s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.form-inner form .field {
  height: 50px;
  width: 100%;
  margin-top: 20px;
}

.form-inner form .field input {
  height: 100%;
  width: 100%;
  outline: none;
  padding-left: 15px;
  border-radius: 5px;
  border: 1px solid #d7c8b6;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #4a3728;
  background: #faf6f0;
}

.form-inner form .field input:focus {
  border-color: #8b5a2b;
  background: #fff;
}

.form-inner form .field input::placeholder {
  color: #999;
  transition: all 0.3s ease;
}

form .field input:focus::placeholder {
  color: #b3b3b3;
}

.form-inner form .pass-link {
  margin-top: 8px;
  text-align: right;
}

.form-inner form .signup-link {
  text-align: center;
  margin-top: 30px;
}

.form-inner form .pass-link a,
.form-inner form .signup-link a {
  color: #a87d45;
  text-decoration: none;
  font-weight: 500;
}

.form-inner form .pass-link a:hover,
.form-inner form .signup-link a:hover {
  text-decoration: underline;
}

form .btn {
  height: 50px;
  width: 100%;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
  margin-top: 25px;
}

form .btn .btn-layer {
  height: 100%;
  width: 300%;
  position: absolute;
  left: -100%;
  background: linear-gradient(135deg, #8b5a2b, #6d4c41);
  border-radius: 5px;
  transition: all 0.4s ease;
}

form .btn:hover .btn-layer {
  left: 0;
}

form .btn input[type="submit"] {
  height: 100%;
  width: 100%;
  z-index: 1;
  position: relative;
  background: none;
  border: none;
  color: #fff;
  padding-left: 0;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
.menu-toggle {
  display: none;
}

.error-container {
  display: none;
  color: #e74c3c;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  margin: 5px 0;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 5px;
}

.error-container.success {
  color: #27ae60;
  background-color: rgba(39, 174, 96, 0.1);
}

.footer {
  background-color: #222;
  color: white;
  padding: 60px 30px 30px;
  margin-top: 40px;
  border-top: 3px solid #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 30px;
  text-align: center;
}

.footer-logo img {
  width: 180px;
  height: auto;
  background-color: white;
  padding: 10px;
  border-radius: 5px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

.footer-column p {
  color: #ccc;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #333;
  color: white;
}

.newsletter-form button {
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #444;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-form button:hover {
  background-color: #555;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  text-align: center;
  font-size: 14px;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: white;
}

/* For Font Awesome Icons (you'll need to add the link to FontAwesome in your head) */
.social-links li a i {
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-links {
      flex-direction: column;
      gap: 30px;
  }
  
  .footer-column {
      width: 100%;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 10px;
  }
}

@media only screen and (max-width: 768px) {
  .header h1 {
    font-size: 24px;
    margin-top: 90px;
  }
  
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 24px;
    color: white;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
  }
  
  .Login-nav-links {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.9);
    height: 100vh;
    width: 80%;
    top: 0;
    right: -80%;
    text-align: left;
    z-index: 2;
    transition: 0.3s ease-in-out;
    padding: 60px 20px 20px;
    overflow-y: auto;
  }
  
  .Login-nav-links.active {
    right: 0;
    box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.3);
  }
  
  .Login-nav-links ul li {
    display: block;
    padding: 8px 12px;
    margin: 10px 0;
  }
  
  .logo-container {
    width: 80px;
    height: 80px;
    margin-left: 0;
  }
  
  .wrapper {
    margin: 20px auto;
    padding: 20px;
    width: 90%;
  }
}