/* Rlino Photo — site styles */

:root {
  --bg: #ffffff;
  --bg-alt: #eceeee;
  --bg-soft: #bbbfbf;
  --bg-mid: #05ad98;
  --text: #1a1a1a;
  --text-muted: #878787;
  --accent: #05ad98;
  --accent-soft: rgba(5, 173, 152, 0.14);
  --teal: #05ad98;
  --teal-soft: rgba(5, 173, 152, 0.25);
  --teal-dark: #037868;
  --border: #bbbfbf;
  --error: #d1453b;
  --success: #2e8b67;
  --max-width: 1100px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--teal);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

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

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: #000000;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  text-decoration: underline;
  opacity: 0.65;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--teal);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    display: none;
  }

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

/* Hero */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78)),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero .container {
  width: 100%;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  margin-bottom: 0.3em;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2em;
}

.hero .eyebrow {
  color: var(--accent);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #1b1b1b;
}

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

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

.btn-outline:hover {
  background: var(--accent-soft);
}

/* Sections */
section {
  padding: 88px 0;
}

section:nth-of-type(even) {
  background: var(--bg-alt);
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0.6em auto 0;
}

.eyebrow {
  display: block;
  color: var(--teal-dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.service-card {
  display: block;
  padding: 32px 24px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

a.service-card:hover {
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}

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

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.gallery-grid .frame {
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.gallery-grid .frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid .frame:hover img {
  transform: scale(1.05);
}

.gallery-grid .frame.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  background: linear-gradient(135deg, var(--bg-mid), var(--bg-soft), var(--bg-alt));
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.pricing-card {
  padding: 36px 28px;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3em;
}

.pricing-card .price {
  font-family: Georgia, serif;
  font-size: 2.1rem;
  color: var(--teal-dark);
  margin: 0.2em 0;
}

.pricing-card .duration {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.4em;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.pricing-card ul li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-card ul li:first-child {
  border-top: none;
}

/* Booking form */
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: flex-start;
}

@media (max-width: 820px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

.booking-info h2 {
  font-size: 1.9rem;
}

.booking-info p {
  color: var(--text-muted);
}

.booking-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.booking-info li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.booking-info li strong {
  color: var(--text);
  display: block;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.booking-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

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

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-dark);
}

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

.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.field.error .field-error {
  display: block;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: var(--radius);
  display: none;
}

.form-status.visible {
  display: block;
}

.form-status.success {
  background: rgba(46, 139, 103, 0.12);
  color: var(--success);
  border: 1px solid rgba(46, 139, 103, 0.35);
}

.form-status.error {
  background: rgba(209, 69, 59, 0.12);
  color: var(--error);
  border: 1px solid rgba(209, 69, 59, 0.35);
}

/* Legal / policy pages */
.legal-page {
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 0.2em;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2em;
}

.legal-notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3em;
}

.legal-page h2 {
  font-size: 1.25rem;
  margin-top: 2.2em;
  margin-bottom: 0.5em;
}

.legal-page p {
  color: var(--text-muted);
  margin-bottom: 1em;
}

.legal-page ul {
  color: var(--text-muted);
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.legal-page li {
  margin-bottom: 0.5em;
}

.legal-page a {
  color: var(--teal-dark);
}

/* Footer */
.site-footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  margin: 0 auto 24px;
}

.site-footer a {
  color: var(--teal-dark);
  text-decoration: none;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.social-links a:hover {
  color: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.services-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid > .reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid > .reveal:nth-child(5) { transition-delay: 0.4s; }

.gallery-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.gallery-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.gallery-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }
.gallery-grid > .reveal:nth-child(4) { transition-delay: 0.36s; }

.booking-layout > .reveal:nth-child(2) { transition-delay: 0.15s; }

.pricing-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.pricing-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
