/* ============================================================
   Florida Nature Prints — soft blue & green theme
   ============================================================ */

:root {
  --blue-50: #f0f7fb;
  --blue-100: #d9ecf5;
  --blue-200: #b3d9eb;
  --blue-400: #5a9fc4;
  --blue-600: #2d6f95;
  --blue-700: #245a7a;
  --blue-800: #1a435c;

  --green-50: #f2f8f4;
  --green-100: #dceee3;
  --green-200: #b8dcc6;
  --green-400: #6aab84;
  --green-600: #3d7a56;
  --green-700: #2f5f43;

  --sand: #f7f4ef;
  --cream: #faf9f6;
  --text: #1e3340;
  --text-soft: #4a6270;
  --border: #d4e4dc;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(36, 90, 122, 0.08);
  --shadow-hover: 0 14px 40px rgba(36, 90, 122, 0.14);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1120px;
  --header-h: 72px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--green-600);
}

/* ---- Layout ---- */
.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

main {
  flex: 1;
}

/* ---- Header / Nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}

.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-800);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo span {
  color: var(--green-600);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-700);
  border-bottom-color: var(--green-400);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--blue-700);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.15s ease;
  text-decoration: none;
  font-family: inherit;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: var(--blue-700);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--green-600);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--green-700);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--blue-400);
  color: var(--blue-700);
}

.btn-outline:hover {
  background: var(--blue-50);
  color: var(--blue-800);
}

.btn-payment {
  background: linear-gradient(135deg, #635bff 0%, #0a2540 100%);
  color: var(--white);
  width: 100%;
  max-width: 320px;
}

.btn-payment:hover {
  color: var(--white);
  box-shadow: var(--shadow-hover);
  opacity: 0.95;
}

.btn-block {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      rgba(45, 111, 149, 0.72) 0%,
      rgba(61, 122, 86, 0.55) 55%,
      rgba(26, 67, 92, 0.65) 100%
    ),
    url("../images/hero-bg.svg") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 3.5rem 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  opacity: 0.95;
  margin-bottom: 1.75rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--blue-700);
}

.hero .btn-primary:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* ---- Sections ---- */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--blue-50);
}

.section-green {
  background: var(--green-50);
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--blue-800);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.page-hero {
  background: linear-gradient(135deg, var(--blue-100), var(--green-100));
  padding: 2.75rem 0 2.25rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--blue-800);
  margin-bottom: 0.4rem;
}

.page-hero p {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 50ch;
}

/* ---- Feature cards (home) ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--blue-800);
  margin-bottom: 0.4rem;
}

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

/* ---- Photo grid ---- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.photo-card .photo-img-wrap {
  aspect-ratio: 4 / 3;
  width: 100%;
  background: linear-gradient(160deg, var(--blue-100), var(--green-100));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-card .photo-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* show full image — nothing cut off */
  object-position: center;
}

.photo-card .photo-body {
  padding: 1.1rem 1.25rem 1.35rem;
}

.photo-card h3 {
  font-size: 1.05rem;
  color: var(--blue-800);
  margin-bottom: 0.25rem;
}

.photo-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.photo-card .photo-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.5rem;
}

.photo-card .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ---- Shop layout ---- */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.shop-info h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
}

.shop-info > p {
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.size-list {
  list-style: none;
  margin-bottom: 1.75rem;
}

.size-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.size-list .size-label {
  font-weight: 500;
  color: var(--text);
}

.size-list .size-price {
  font-weight: 600;
  color: var(--green-600);
}

.payment-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.payment-box h3 {
  font-size: 1.05rem;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.payment-box p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.payment-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-top: 0.75rem;
}

/* ---- Forms ---- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue-800);
  margin-bottom: 0.35rem;
}

.form-card .form-intro {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.35rem;
}

.form-group .hint {
  font-weight: 400;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(90, 159, 196, 0.2);
  background: var(--white);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-message {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid var(--green-200);
}

.form-message.error {
  display: block;
  background: #fdecea;
  color: #9b2c2c;
  border: 1px solid #f5c6c2;
}

/* ---- About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--blue-800);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--blue-100), var(--green-100));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.contact-details h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
}

.contact-details p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.contact-details a {
  font-weight: 600;
}

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

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.6rem;
}

.cta-band p {
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--blue-700);
}

.cta-band .btn-primary:hover {
  background: var(--green-50);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--blue-800);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-brand span {
  color: var(--green-200);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ---- Preview notice (when Formspree not set up) ---- */
.setup-notice {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #6b5200;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.setup-notice code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ---- Mobile ---- */
@media (max-width: 800px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a.active {
    border-bottom-color: var(--green-400);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .shop-layout,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: min(70vh, 520px);
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }
}
