/* Colour palette: cheerful blues, greens, and soft backgrounds */
:root {
  --primary: #2bb7b3;
  --secondary: #5ec576;
  --accent: #f7c948;
  --background: #f9fafb;
  --text: #222;
  --header-bg: #e3f6f5;
  --footer-bg: #e3f6f5;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--header-bg);
  padding: 1em 0.5em;
  box-shadow: 0 2px 8px rgba(43,183,179,0.05);
}

.logo-link {
  margin-right: 1em;
}

.site-logo {
  height: 48px;
  width: 48px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(43,183,179,0.15);
  background: white;
}

.site-title {
  font-size: 1.7em;
  color: var(--primary);
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.site-main {
  max-width: 600px;
  margin: 2em auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(43,183,179,0.08);
  padding: 2em 1em;
}

.site-footer {
  text-align: center;
  background: var(--footer-bg);
  padding: 1em 0;
  color: var(--primary);
  font-size: 1em;
  margin-top: 2em;
  border-top: 1px solid #e0e0e0;
}

/* Navigation styles */
.site-nav {
  display: flex;
  justify-content: center;
  gap: 1.5em;
  background: var(--header-bg);
  padding: 0.5em 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1em;
  font-size: 1.1em;
  border-radius: 0 0 16px 16px;
}
.site-nav a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  padding: 0.3em 0.7em;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover {
  background: var(--secondary);
  color: white;
}

/* Product features table */
.product-features-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}
.product-features-table td {
  border: 1px solid #e0e0e0;
  padding: 0.5em;
  font-size: 1em;
}
.product-features-table tr:nth-child(even) {
  background: #f3fdfd;
}

/* Headings and links */
h1, h2, h3 {
  color: var(--primary);
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Dropdown styles */
.dropdown {
  position: relative;
  display: inline-block;
}
.dropbtn {
  background: var(--header-bg);
  color: var(--primary);
  padding: 0.3em 0.7em;
  font-size: 1.1em;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(43,183,179,0.08);
  z-index: 1;
  border-radius: 8px;
  margin-top: 0.5em;
}
.dropdown-content a {
  color: var(--primary);
  padding: 0.5em 1em;
  text-decoration: none;
  display: block;
  border-radius: 8px;
}
.dropdown-content a:hover {
  background: var(--secondary);
  color: white;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropbtn {
  background: var(--secondary);
  color: white;
}

/* Product image styles */
.product-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(43,183,179,0.08);
}

/* Responsive design */
@media (max-width: 700px) {
  .site-main {
    max-width: 98vw;
    padding: 1em 0.5em;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1em 0.5em;
  }
  .site-title {
    font-size: 1.2em;
    margin-top: 0.5em;
  }
  .site-logo {
    height: 36px;
    width: 36px;
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
    font-size: 1em;
    border-radius: 0 0 16px 16px;
  }
  .site-nav a, .site-nav .dropbtn {
    width: 100%;
    text-align: left;
    padding-left: 1em;
  }
  .dropdown-content {
    position: static;
    min-width: 100%;
    box-shadow: none;
    margin-top: 0;
  }
}