/* ──────────────────────────────────────────────────────────
   Full styles.css for LIMAT.SA – Edge‑to‑Edge Responsiveness
   ────────────────────────────────────────────────────────── */

/* Base Reset & Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden; /* prevent horizontal scroll */
}

body {
  font-family: 'Poppins', sans-serif;
  background: url('assets/blank cargo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

/* Hero Section */
#hero {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-content {
  background: rgba(0, 0, 0, 0.884); /* darken slightly */
  width: 65%;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.hero-content h2 {
  font-size: 2rem;
  border-bottom: 1px solid #6b6b6a;
  margin-bottom: 0.5rem;
}
.hero-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1rem;
  line-height: 1.6;
}


/* Glass effect container */
.glass {
  background: rgba(12, 12, 12, 0.678);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem auto;
  width: 90%;
  max-width: 1000px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(229, 255, 0, 0.281);
}

.glass ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.glass h3 {
  font-size: 1.25rem;
  border-bottom: 2px solid #6b6b6a;
  margin-bottom: 1rem;
}
.glass p {
  font-size: 1rem;
  line-height: 1.6;
}

.glass a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.glass a:hover {
  text-decoration: underline;
  color: #f8e07e; /* Optional hover color */
}





/* Header + Nav */
header {
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;       /* Prevent wrapping */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  margin-right: 1rem;      /* Give room for nav */
}

.logo-img {
  height: 40px;
  margin-right: 10px;
}

/* Nav sits on one line; links share space */
.animated-nav {
  display: flex;
  flex-wrap: nowrap;       /* Prevent wrapping */
  justify-content: space-between;
  align-items: center;
  width: 100%;
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
  animation-delay: 0.5s;
}

/* Nav link styling */
nav a {
  flex: 1 1 0;             /* Grow & shrink equally */
  min-width: 0;            /* Allow shrinking */
  text-align: center;
  white-space: nowrap;
  font-size: clamp(0.65rem, 1.8vw, 1rem);
  padding: 0.3rem 0.2rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  border-radius: 5px;
  transition: color 0.3s ease, background 0.3s ease;
}

nav a:hover {
  color: #ffce00;
  background: rgba(255, 255, 255, 0.1);
}

.animated-nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #ffce00;
  transition: width 0.3s ease;
}

.animated-nav a:hover::after {
  width: 100%;
}

/* Footer */
footer {
  text-align: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 1rem;
  margin-top: 2rem;
}

/* Entrance animation */
@keyframes fadeIn {
  to { opacity: 1; }
}

/*──────────────────────────────────────────────────────────
  Responsive Tweaks & Full‑Width Overrides
──────────────────────────────────────────────────────────*/

/* Tablets & small desktops */
@media (max-width: 768px) {
  /* Header/Nav expands flush */
  .nav-container {
    max-width: auto;
    margin: 0;
    padding: 0.5rem 1rem;
  }
  header {
    padding: 1rem 1rem;
  }

  /* Hero full‑width */
  #hero {
    padding: 2rem 1rem;
  }
  .hero-content {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  /* Glass full‑width */
  /* .glass ,{
    width: 95%;
    max-width: none;
    margin: 2rem auto;
    padding: 1.5rem 1rem;
  } */

  /* Logo/Nav text scale */
  .logo {
    font-size: 1.3rem;
  }
  .logo-img {
    height: 30px;
  }

  nav a {
    font-size: clamp(0.6rem, 1.6vw, 0.9rem);
    padding: 0.3rem 0.2rem;
  }
}

/* Extra‑small phones */
@media (max-width: 400px) {
  header {
    padding: 0.5rem 1rem;
  }
  nav a {
    font-size: clamp(0.5rem, 1.4vw, 0.8rem);
    padding: 0.25rem 0.15rem;
  }
}

@media (max-width: 380px) {
  header {
    padding: 0.3rem 0.5rem;
  }
  .logo {
    font-size: 1.1rem;
    margin-right: 0.1rem;
  }
  .logo-img {
    height: 24px;
    margin-right: 2px;
  }
  nav a {
    /* smallest possible readable font & padding */
    font-size: auto;
    padding: 0.15rem 0.1rem;
    letter-spacing: auto;
  }
}