/* Mobile-Specific Styles - Everything Cloud */
/* This file only loads on mobile devices */

/* Adjust viewport margins for mobile - wider content */
:root {
  --viewport-margin: 10px;
}

/* Header adjustments */
header {
  padding: 0 0 30px 0;
}

/* Grid container override for mobile */
.grid-container {
  display: block;
  max-width: 100%;
}

/* Top Navigation - reorganize for mobile */
.top-nav {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
}

/* Navigation/burger left */
.burger-menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  order: 0;
}

/* Logo right */
.logo {
  order: 1;
}

.logo img {
  max-height: 40px;
  max-width: 150px;
}

.top-nav-links {
  display: none; /* Hidden by default, shown when burger is clicked */
  width: 100%;
  flex-direction: column;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 8px;
  order: 2;
}

.top-nav-links.active {
  display: flex;
}

.burger-menu span {
  width: 30px;
  height: 3px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(3.5px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(3.5px, -8px);
}

/* Hide horizontal scroll services navigation on mobile */
.services-nav-wrapper {
  display: none;
}


/* Typography - larger and more readable */
body {
  font-size: 20px;
  line-height: 28px;
}

h1 {
  font-size: 30px;
  line-height: 38px;
}

nav a,
p {
  font-size: 20px;
  line-height: 28px;
}

strong,
.section-label {
  font-size: 20px;
  line-height: 28px;
}

/* Content layout - single column, full width */
.three-column-content {
  column-count: 1;
  max-width: 100%;
}

.three-column-content p {
  margin-bottom: 1.3em;
}

/* Footer */
footer {
  padding: 30px 0 0 0;
}

.footer-nav {
  gap: 20px;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  font-size: 16px;
  margin: 0 0 20px 0;
}

.footer-nav a {
  font-size: 16px;
  white-space: nowrap;
}

/* Article pages */
.catalogue-grid {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
}

.catalogue-section h2 {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 18px;
}

.hero {
  margin-bottom: 40px;
  max-width: 100%;
}

.hero h1 {
  margin-bottom: 25px;
}

.article-layout {
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 100%;
}

.article-number-col,
.article-content-col {
  grid-column: 1;
}

.article-body {
  max-height: 50vh;
  padding-bottom: 80px;
}

.article-number {
  font-size: 40px;
}
