/* * Andre-Cloud - Main Stylesheet
 * Architecture: Mobile-first with Desktop Enhancements
 */

/* Base Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Archivo", sans-serif;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Judson", serif;
}

/* Reusable UI Components */
button {
  background-color: #db955c;
  border: 1px solid #db955c;
  border-radius: 10px;
  padding: 0.8rem 1.5rem;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #333;
  color: #db955c;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* ==== Navigation Bar ==== */
header {
  background-color: #5cdb95;
  padding: 1.5rem 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo h1 {
  font-size: 2rem;
}

.navbar-menu-list {
  display: flex;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  margin-left: 2rem;
  color: #333;
  font-weight: bold;
  transition: border-bottom 0.2s ease;
}

.nav-link:hover {
  border-bottom: 2px solid #333;
}

/* ==== Hero / Request Demo ==== */
.requestDemo {
  background-color: #5cdb95;
  padding-bottom: 6rem; /* Space for the diagonal effect */
  position: relative;
}

.requestDemo-card-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.requestDemo-card-detail {
  width: 50%;
}

/* Diagonal Background Effect */
.requestDemo::after {
  content: "";
  position: absolute;
  height: 100px;
  bottom: -50px;
  right: 0;
  left: 0;
  background: #ccf4de;
  transform: rotate(-2deg);
  z-index: 0;
}

/* Floating Lead Form */
.requestDemo-card-form {
  background-color: #edf5e1;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
}

.requestDemo-card-form input[type="text"],
.requestDemo-card-form input[type="email"] {
  margin: 1rem 0;
  padding: 0.8rem;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  width: 100%;
  outline: none;
}

.requestDemo-card-form input[type="submit"] {
  background-color: #db955c;
  border: none;
  border-radius: 5px;
  padding: 1rem;
  width: 100%;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

/* ==== Platform Details & Grid ==== */
.platformDetail {
  background-color: #ccf4de;
  padding: 5rem 0;
}

.platformDetail-card-cli {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

/* Animations */
.platformDetail-icons {
  animation: slideFromLeft 1.5s ease-out;
}

.platformDetail-imageAndText {
  animation: slideFromRight 1.5s ease-out;
}

@keyframes slideFromLeft {
  from { transform: translateX(-100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideFromRight {
  from { transform: translateX(100px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==== Tech Stack Logos ==== */
.supportedLanguages-card-logo-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 3rem 0;
}

.supportedLanguages-card-logo {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.supportedLanguages-card-logo:hover {
  transform: translateY(-10px);
}

/* ==== Footer ==== */
footer {
  background-color: #5cdb95;
  padding: 3rem 0;
}

.footer-items {
  display: flex;
  justify-content: space-between;
}

.footer-menu-list {
  list-style: none;
}

.footer-link {
  text-decoration: none;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

/* ==== Responsive Design ==== */
@media (max-width: 768px) {
  .requestDemo-card-items, 
  .navbar, 
  .footer-items, 
  .platformDetail-card-cli {
    flex-direction: column;
    text-align: center;
  }

  .requestDemo-card-detail, .requestDemo-card-form {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .platformDetail-card-cli {
    display: block;
  }
}
