/*
  Basic styles for the Alinox under‑construction page.
  The design uses CSS variables for easy theming and includes responsive
  layouts so the site looks good on mobile and desktop. A lightweight
  slideshow is implemented in script.js.
*/

/* Define colour palette */
:root {
  --primary-color: #004c58; /* deep teal inspired by industrial aluminium */
  --secondary-color: #006d7e; /* mid‑tone teal for accents */
  --light-bg: #f9fafa; /* very light background */
  --dark-bg: #0f2c34; /* dark section background */
  --light-text: #ffffff;
  --dark-text: #27343a;
  --accent-color: #cc413a; /* subtle red accent for buttons */
  --border-radius: 4px;
}

/* Global resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

/* Containers for width control */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header */
.site-header {
  background-color: var(--light-bg);
  border-bottom: 1px solid #e1e8eb;
  text-align: center;
  padding: 20px 0;
}
.logo-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Logo image styling */
.logo-img {
  max-width: 200px;
  height: auto;
  margin: 0 auto 0.3rem auto;
  display: block;
}

/* Hero section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
}
.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.slide.active {
  opacity: 1;
}
/* overlay to ensure white text is readable against bright images */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
.hero-content .tagline {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hero-content .subtagline {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.7em 1.4em;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn.primary {
  background-color: var(--primary-color);
  color: var(--light-text);
}
.btn.primary:hover {
  background-color: var(--secondary-color);
}
.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--light-text);
  color: var(--light-text);
}
.btn.secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Section styles */
.section {
  padding: 50px 0;
}
.section-light {
  background-color: var(--light-bg);
  color: var(--dark-text);
}
.section-dark {
  background-color: var(--dark-bg);
  color: var(--light-text);
}
.section h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.section p {
  font-size: 1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}
.materials-list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
}
.materials-list li {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--light-text);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-content .tagline {
    font-size: 2rem;
  }
  .hero-content .subtagline {
    font-size: 1rem;
  }
}