/*
   Googly, LLC — Custom styles for professional home page
*/

/* Hero: stronger headline and spacing */
#banner.googly-hero .inner {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
}

#banner.googly-hero h2 {
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

#banner.googly-hero p {
  font-size: 1.05em;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

@media screen and (max-width: 736px) {
  #banner.googly-hero h2 {
    font-size: 1.5em;
  }
  #banner.googly-hero p {
    font-size: 0.95em;
  }
}

/* Section inner: consistent readable width */
#wrapper .inner {
  max-width: 55em;
}

/* Our Applications: two-column card layout */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
  margin-top: 1.5em;
}

@media screen and (max-width: 736px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 1.5em;
  }
}

.app-card {
  background: rgba(53, 56, 73, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 2em;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.app-card:hover {
  background: rgba(53, 56, 73, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
}

.app-icon {
  display: block;
  font-size: 2em;
  margin-bottom: 0.75em;
  color: rgba(255, 255, 255, 0.7);
}

.app-card .major {
  margin-top: 0;
  padding-bottom: 0.5em;
}

.app-card p {
  margin: 0 0 1.25em 0;
  font-size: 0.95em;
  line-height: 1.65;
}

.app-card .store-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.app-card .store-links li {
  margin: 0;
}

.app-card .store-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.5em 1em;
  font-size: 0.85em;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(76, 92, 150, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.app-card .store-links a:hover {
  background: rgba(76, 92, 150, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}

.app-card .store-links .icon {
  font-size: 1.15em;
  opacity: 0.95;
}

/* Team section */
.team-intro {
  max-width: 42em;
  margin-bottom: 2em;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2em;
  margin-top: 1em;
}

.team-member {
  background: rgba(53, 56, 73, 0.4);
  border-radius: 8px;
  padding: 1.5em 1.75em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-member h3 {
  font-size: 1em;
  margin-bottom: 0.5em;
  border-bottom: none;
  padding-bottom: 0;
}

.team-member p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* What we stand for: feature cards spacing */
#four .features article {
  padding: 1.75em;
}

#four .features article .major {
  font-size: 1em;
}

#four .features article p {
  font-size: 0.9em;
  line-height: 1.65;
}

/* Footer: mailto link */
#footer .contact a {
  color: inherit;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

#footer .contact a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

#footer p {
  margin-bottom: 1.25em;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer: Legal & support links (visible block above copyright) */
#footer .footer-links-label {
  width: 100%;
  margin: 2em 0 0.5em 0;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

#footer .footer-links {
  list-style: none;
  margin: 0 0 2em 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5em;
}

#footer .footer-links li {
  margin: 0;
  padding: 0;
}

#footer .footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
  font-size: 0.95em;
}

#footer .footer-links a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}
