/* =========================================
   Global reset / base
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  
  
  /*font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif; */

    font-family: "Inter", system-ui, -apple-system, sans-serif;   
     
    
    
}

/* FIXED: clamp(min, preferred, max) must have min < max 
html {
  font-size: clamp(16px, calc(16px + 0.1vw), 18px); 
}
*/
html {
  font-size: 12px;   /* phones & tablets */
}

@media (min-width: 1024px) {
  html {
    font-size: 18px;
  }
}

body {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #252553;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
   Layout container: full width on small screens,
   centered column on desktop
========================================= */
.wrapper {
  width: 100%;
  padding: 0 16px; /* breathing room on small screens */
}

@media (min-width: 1024px) {
  .wrapper {
    width: 60vw;       /* change to 65vw if you prefer */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;        /* or keep 0 24px if you want */
  }
}

/* =========================================
   Header (full-width background; centered content via wrapper inside)
========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  /*background-color: #10172b;*/
  color: #90abdc;
  z-index: 1000;

   background: 
  linear-gradient(180deg, #152b66, #10172b)
  
  
  ;
  
  
}

/* Put this on the wrapper INSIDE the header */
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo / company name */
.site-header .logo {
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 1px;
}

/* =========================================
   Images
========================================= */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-header .logo img {
  max-height: 10vh;
  width: auto;
}

/* =========================================
   Navigation
========================================= */
.site-header nav a {
  color: #8ea5d1;
  margin-left: 30px;
  font-size: 1.4rem;
}

.site-header nav a:hover {
  color: rgb(57, 172, 249);
}

/* =========================================
   Main (full-width background; content constrained via wrapper inside)
========================================= */
.site-main {
  margin-top: 15vh;   /* pushes content below fixed header */
  min-height: 85vh;
  width: 100%;
  /*background-color: #b2cde3;*/
  padding: 40px 0;    /* vertical padding; wrapper handles horizontal */


  background: 
  linear-gradient(135deg, #b2cde3, #6f94e2),
  radial-gradient(circle at 30% 20%, rgba(179, 36, 36, 0.708), transparent 40%)
  
  ;


}

.site-main a:hover {
  color: rgb(7, 54, 243);
}

/* =========================================
   Typography scale
========================================= */
h1 { font-size: 2rem; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.5rem; }
h4 { font-size: 1.12rem; margin: 0 0 0.4rem; }


p  { font-size: 1rem; margin: 0 0 0.25rem; }


.item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* image behaves nicely */
.item-image {
  flex-shrink: 0;
}

.item-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* text/table column */
.item-text {
  flex: 1;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
  .item {
    flex-direction: column;
  }
}

/* table */
.specs{
  width:100%;
  border-collapse:collapse;
  font-size: 1rem;
}

.specs th,
.specs td{
  padding:10px 12px;
  border-bottom:1px solid rgba(0,0,0,0.15);
  vertical-align:top;
}

.specs th{
  text-align:left;
  width: 40%;
  font-weight:600;
  white-space:nowrap;
}


/* Gallery business */
/* Mobile: stack */
@media (max-width: 768px){
  .item{ flex-direction:column; }
  .item-image{ flex-basis:auto; }
  .specs th{ white-space:normal; }
}

/* Mobile/tablet: stacked */
.gallery a {
  display: block;
  margin-bottom: 16px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop: turn into a grid gallery */
@media (min-width: 1024px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 16px;
  }

  .gallery a {
    margin-bottom: 0; /* remove stacking spacing */
  }
}