/*
    Added box-sizing: border-box to all elements
    Original CSS Reset is below
*/

*,
*:before,
*:after {
  box-sizing: border-box;
}


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General page setup */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #d9f0ff; /* Ice blue */
  min-height: 100vh;
}

/* Grid container */
.grid-container {
  display: grid;
  grid-template-areas: 
    "header header header"
    "sidebar content extra"
    "footer footer footer";
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: auto 1fr auto;
  gap: 10px;

  height: 100vh;
  width: 100vw;
  
  background-color: #0b3d91; /* Dark glacier */
  padding: 20px;
}

.sidebar ul {
  padding: 0;
}

.sidebar li {
  margin: 10px 0;
}

.sidebar a {
  color: #00ff7f;
  text-decoration: none;
  font-weight: bold;
}

.sidebar a:hover {
  color: white;
  transform: scale(1.1);
}


/* Grid areas */
.header {
  grid-area: header;
  background: #1e90ff; /* Ski blue */
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.5em;
  border-radius: 8px;
}

.sidebar {
  grid-area: sidebar;
  background: #0b3d91; /* Dark glacier */
  color: white;
  padding: 20px;
  border-radius: 8px;
}

#content {
  grid-area: content;
  background: #ffffff; /* Snow white */
  color: #0a0a0a;
  padding: 20px;
  border-radius: 8px;
}

.extra {
  grid-area: extra;
  background: #b8e6ff; /* Light ice */
  color: #0a0a0a;
  padding: 20px;
  border-radius: 8px;
}

.footer {
  grid-area: footer;
  background: #002d62; /* Night blue ski patrol */
  color: #00ff7f; /* Neon snowboard pop */
  text-align: center;
  padding: 15px;
  border-radius: 8px;
}

#myLinks {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}

#myLinks a {
  color: #00ff7f;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 16px;
  transition: 0.3s;
}

#myLinks a:hover {
  color: white;
  transform: scale(1.15);
}

/* Logo */
.logo {
  width: 50px;
  height: 50px;
  background: #002d62; /* Matches footer */
  color: #00ff7f; /* Accent */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

/* Responsive: Stack layout on smaller screens */
@media (max-width: 768px) {
  .grid-container {
    grid-template-areas: 
      "header"
      "content"
      "sidebar"
      "extra"
      "footer";
    grid-template-columns: 1fr;
  }
}

.products {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product {
  background: #b8e6ff;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  width: 150px;
}

.product button {
  background: #1e90ff;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

.product button:hover {
  background: #0b3d91;
}

/* Cart Table */
#cart {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

#cart th, #cart td {
  border: 1px solid #0b3d91;
  padding: 5px;
  text-align: center;
}

#cart input[type="number"] {
  width: 50px;
  text-align: center;
}


.map-container {
  margin-top: 20px;
}

.map-container h3 {
  color: #00ff7f;
  margin-bottom: 10px;
  font-size: 1.2em;
}

.Image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.Image-item {
  background: #b8e6ff; /* light ice background */
  padding: 5px;
  border-radius: 8px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.Image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

.Image-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about {
  background: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 12px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  backdrop-filter: blur(8px);
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  color: #0066aa; /* ski-themed cold blue */
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.about p:last-child {
  margin-bottom: 0;
}

.required {
  color: red;
  font-weight: bold;
}
input[required] {
  border: 2px solid red;
}
textarea {
  border: 2px solid #555;
}

#myLinks a {
  display: inline-block;
  margin: 0 10px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 600;
  color: #003c6e;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
