/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Mobile-first styling for Liz Pantalone site */

/* Base mobile styles */
* {
  box-sizing: border-box;
}

html {
  background: linear-gradient(135deg, #14b8a6, #3b82f6); /* Gradient for overscroll areas - swapped */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #3b82f6, #14b8a6);
  min-height: 100vh;
  color: white;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* Header - Mobile first */
header {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

/* Logo container with star background */
.logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.star-background {
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
  z-index: 0;
  width: 200px;
  height: 200px;
  background: #14b8a6;
  clip-path: polygon(
    50% 0%,
    55% 20%,
    75% 10%,
    65% 30%,
    95% 35%,
    70% 45%,
    85% 70%,
    60% 55%,
    70% 90%,
    50% 70%,
    30% 90%,
    40% 55%,
    15% 70%,
    30% 45%,
    5% 35%,
    35% 30%,
    25% 10%,
    45% 20%
  );
}

.main-logo {
  width: 150px;
  height: auto;
  max-width: 100%;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

nav li {
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
}

nav a:hover {
  opacity: 0.8;
}

/* Main content */
main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
  max-width: 100%;
  width: 100%;
}

/* Typography - Mobile optimized */
h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

p.intro {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

p.experience {
  margin-bottom: 2rem;
}

/* New section styles */
.tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.expertise-section,
.services-section,
.location-section,
.clients-section,
.cta-section {
  margin-bottom: 2.5rem;
  text-align: left;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.experience-years {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-top: -0.5rem;
}

.ai-expertise {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.location-info {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.timezone-info {
  font-size: 0.9rem;
  opacity: 0.85;
}

.services-list,
.client-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services-list li,
.client-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.services-list li:before,
.client-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0.7;
}

.services-list strong,
.client-list strong {
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
}

.client-types {
  margin-bottom: 1rem;
}

.cta-section {
  text-align: center;
  margin-bottom: 2rem;
}

.cta-section h2 {
  text-align: center;
}

/* reCAPTCHA notice */
.recaptcha-notice {
  margin-top: 1rem;
  text-align: center;
  opacity: 0.7;
  font-size: 0.8rem;
}

.recaptcha-notice a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  opacity: 0.8;
}

/* Contact form - Mobile first */
.contact-form {
  max-width: 100%;
  margin: 1.5rem 0 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-control:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Flash messages */
.flash-notice, .flash-alert {
  padding: 0.75rem 1rem;
  margin: 0 auto 1rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
  max-width: 600px;
  width: calc(100% - 2rem);
}

.flash-notice {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.flash-alert {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer */
footer {
  padding: 1rem;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: auto;
}

/* Tablet styles - 768px and up */
@media (min-width: 768px) {
  header {
    padding: 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .main-logo {
    width: 180px;
  }

  .star-background {
    width: 240px;
    height: 240px;
  }

  nav ul {
    flex-direction: row;
    gap: 1rem;
    width: auto;
  }

  nav li {
    background: none;
    border: none;
    padding: 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  p {
    font-size: 1.1rem;
  }

  p.intro {
    font-size: 1.2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .expertise-section,
  .services-section,
  .location-section,
  .clients-section,
  .cta-section {
    margin-bottom: 3rem;
  }

  .contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
  }

  .btn {
    width: auto;
  }


  .footer-logo {
    width: 100px;
  }
}

/* Desktop styles - 1024px and up */
@media (min-width: 1024px) {
  header {
    padding: 2rem;
  }

  .main-logo {
    width: 200px;
  }

  .star-background {
    width: 260px;
    height: 260px;
  }

  nav ul {
    gap: 2rem;
  }

  main {
    padding: 2rem;
  }

  h1 {
    font-size: 3rem;
  }

  p {
    font-size: 1.2rem;
  }

  p.intro {
    font-size: 1.3rem;
  }

  .tagline {
    font-size: 1.3rem;
  }

  h2 {
    font-size: 2rem;
  }

  nav a:hover {
    text-decoration: underline;
    opacity: 1;
  }
}

/* Large desktop styles - 1200px and up */
@media (min-width: 1200px) {
  .container {
    max-width: 800px;
  }
}
