/* sailConnect - landing page (styled after Sail Friday) */

:root {
  --teal: #00bcd4;
  --deep-teal: #0097a7;
  --sunny-yellow: #ffd93d;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --dark: #2d3436;
  --gradient-1: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--dark);
  background: var(--off-white);
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
}

header {
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--gradient-1);
  color: var(--white);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.35rem;
  opacity: 0.95;
  line-height: 1.8;
}

footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-content a {
  color: var(--sunny-yellow);
  text-decoration: none;
  font-weight: 600;
}

.footer-content a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .header-container {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero p {
    font-size: 1.15rem;
  }
}

/* Site cards */
.hero {
  flex: 0 0 auto;
}

main {
  flex: 1;
  max-width: 1300px;
  width: 100%;
  margin: -3rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  background: var(--gradient-1);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

footer {
  margin-top: 5rem;
}

@media (max-width: 768px) {
  main {
    padding: 0 1.5rem;
  }
}
