/* ============================================
   Addi J Charters - Shared Styles
   Clean, modern multi-page site
   ============================================ */

:root {
  --teal-dark: #0a4d52;
  --teal: #0d7377;
  --teal-light: #14919b;
  --coral: #e07a5f;
  --coral-hover: #c96a52;
  --cream: #f8f5f0;
  --white: #ffffff;
  --text-dark: #1a2a2e;
  --text-muted: #5a6a6e;
  --shadow: 0 10px 40px rgba(10, 77, 82, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ========== HEADER / NAV ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
  padding: 0.85rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal-dark);
}

.logo-icon { display: none;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--coral);
  color: white;
}

.btn-primary:hover {
  background: var(--coral-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 122, 95, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: white;
  color: var(--teal-dark);
  border-color: white;
}

.btn-dark {
  background: var(--teal-dark);
  color: white;
}

.btn-dark:hover {
  background: var(--teal);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--teal-dark);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(10, 77, 82, 0.88), rgba(13, 115, 119, 0.75)),
              url('images/charleston-skyline.webp') center/cover no-repeat;
  color: white;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 340px;
  margin-left: auto;
}

.hero-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.hero-card-badge {
  background: white;
  margin: -1.5rem 1.25rem 1.25rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-card-badge span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card-badge strong {
  font-size: 1.35rem;
  color: var(--teal-dark);
}

/* ========== SECTIONS ========== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: white;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--teal-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(13, 115, 119, 0.06);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 77, 82, 0.14);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Content pages */
.page-hero {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.9;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.content-block {
  max-width: 760px;
  margin: 0 auto;
}

.content-block h2 {
  color: var(--teal-dark);
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p {
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.content-block ul {
  margin: 1rem 0 1.5rem 1.25rem;
}

.content-block ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.content-block ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: bold;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.info-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow);
}

.info-card h4 {
  color: var(--teal-dark);
  margin-bottom: 0.4rem;
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta-band p {
  opacity: 0.9;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--coral);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-card {
    margin: 1.5rem auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    gap: 1rem;
  }

  .hero {
    min-height: 78vh;
  }
}

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}
