/* Shared marketing site styles for cansome.com (public-www).
   Page-specific overrides remain in each page's <style> block. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

:root {
  --dark-bg-color: #091E3E;
  --dark-front-color: #090f1f;
}

body {
  color: #333;
  line-height: 1.6;
  background-color: #f7f8fa;
}

.fullwidth {
  overflow: hidden;
  width: 100%;
}

p {
  margin-bottom: 1em;
}

h2 {
  color: #333;
  font-size: 2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 20px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: #ffffff;
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
  position: sticky;
  top: 0;
  z-index: 999;
}

#topmost-contact-bar {
  background-color: var(--dark-bg-color);
  color: white;
  margin-top: -20px;
  display: flex;
  justify-content: space-between;
}

#top-contact-info {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  margin-left: 20px;
  line-height: 1;
}

#top-social-media {
  display: flex;
  margin-right: 20px;
  height: 40px;
}

.button {
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  transition: .5s;
  padding: 2px;
  margin: 5px;
}

.button-light {
  color: #EEF9FF;
  border-color: #EEF9FF;
}

.button-light:hover {
  color: #000;
  background-color: #f1faff;
  border-color: #f0faff;
}

.button-round {
  border-radius: 50% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-icon {
  color: #EEF9FF;
  height: 15px;
  width: 18px;
  margin: 3px;
  margin-right: 6px;
}

.small-button-icon {
  height: 18px;
  width: 18px;
  margin: 3px;
}

.contact-text {
  line-height: 1.7;
}

.contact-link {
  text-decoration: none;
  line-height: 1.7;
  color: white;
}

img {
  max-width: 100%;
  max-height: 100%;
}

.logo-container {
  float: left;
  display: grid;
  grid-template-rows: auto auto;
}

.logo {
  float: left;
  font-size: 1.5rem;
  font-weight: bold;
  color: #090f1f;
  display: flex;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.logo-link:visited {
  color: #090f1f;
}

#cansome-and-slogan {
  display: grid;
  grid-template-rows: auto auto;
}

.slogan {
  font-size: 0.6em;
}

#main-logo-img {
  width: 80px;
  height: 80px;
  margin: 10px;
}

#breadcrumb-links {
  font-size: 0.9em;
}

nav {
  float: right;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0073e6;
}

.hero {
  background: url('https://cansome.com/images/abstract-hero-1600x621px.avif') no-repeat left center;
  background-color: #e0e2e2;
  color: var(--dark-front-color);
  text-align: right;
  padding: 100px 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.hero-button {
  margin-top: 30px;
  margin-right: 40px;
}

.rounded-main-btn {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  border: 2pt solid var(--dark-front-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.2em;
  font-weight: bold;
}

.orange-btn {
  background-color: #f3e69e;
  color: var(--dark-front-color);
}

.orange-btn:hover {
  background-color: #0056b3;
  color: white;
}

.orange-btn:active {
  background-color: #003f80;
}

.btn-primary {
  display: inline-block;
  background-color: #0073e6;
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #005bb5;
}

.features {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.card {
  background: #f7f8fa;
  padding: 40px 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  max-width: 64px;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #0073e6;
}

.card p {
  font-size: 1rem;
  color: #555;
}

.roadmap {
  text-align: center;
  padding: 60px 20px;
  background-color: #ffffff;
}

footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #eaeaea;
  margin-top: 20px;
}

footer p {
  font-size: 0.9rem;
  color: #464545;
}

.back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #0073e6;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 1001;
}

.back-to-top:hover {
  background-color: #e5eef7;
  color: black;
}

@media (min-width: 1550px) {
  .hero-content {
    max-width: 1200px;
  }
}

@media (max-width: 1540px) {
  .hero {
    background: url('https://cansome.com/images/abstract-hero-1200x466px.avif') no-repeat left center;
    background-color: #e0e2e2;
    padding: 40px 20px;
  }
  .hero-content {
    max-width: 90%;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 1240px) {
  .hero {
    background: url('https://cansome.com/images/abstract-hero-850x466px.avif') no-repeat left center;
    background-color: #e0e2e2;
  }
  .hero-content {
    max-width: 80%;
  }
}

@media (max-width: 1000px) {
  .hero {
    background: url('https://cansome.com/images/abstract-hero-800x466px.avif') no-repeat left center;
    background-color: #e0e2e2;
  }
}

@media (max-width: 800px) {
  .hero-content {
    max-width: 95%;
  }
  #main-logo-img {
    max-width: 60px;
    max-height: 60px;
    margin-bottom: 0px;
  }
}

@media (max-width: 768px) {
  #top-contact-info {
    margin-left: 5px;
  }
  #top-social-media {
    margin-right: 5px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-button {
    margin-right: 0px;
  }
}

@media (max-width: 650px) {
  .hero {
    background-image: none;
    background-color: #e0e2e2;
    text-align: center;
  }
  .logo-container {
    width: 90%;
  }
}

@media (max-width: 480px) {
  nav {
    float: none;
    text-align: center;
  }
}

.form-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.form-container button {
  width: 100%;
  background-color: #3498db;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 15px;
}

.form-container button:hover {
  background-color: #2980b9;
}

.form-container h2 {
  text-align: center;
}

.form-container input, textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-container label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.hidden {
  display: none;
  text-align: center;
  margin-top: 15px;
  color: green;
  font-weight: bold;
}

.roadmap h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.specifications {
  text-align: center;
  margin-top: 30px;
}

ul li, ol li {
  margin-bottom: 10px;
}

ul, ol {
  margin-left: 20px;
}
