﻿/* ==========================================================
   Pictou Waterview Restaurant — site stylesheet
   Colors:  primary red #a3282a · pink tint #fef3f3 · tan #cdad96
            body text #5e5e5e · footer black #000
   Fonts:   Merriweather (headings) · Open Sans (body)
            Herr Von Muellerhoff (script accent)
   ========================================================== */

:root {
  --red: #a3282a;
  --red-dark: #7e1f21;
  --pink: #fef3f3;
  --tan: #cdad96;
  --text: #5e5e5e;
  --dark: #1a1a1a;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #5e5e5e; color: var(--text);
  background: #fff;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 400;
  color: #333;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 20px; }
h2 { font-size: 1.9rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 14px; }
h4 { font-size: 1.2rem; margin-bottom: 12px; }

p { margin-bottom: 1em; }

a { color: #a3282a; color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: #7e1f21; color: var(--red-dark); }

.container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.script-accent {
  font-family: "Herr Von Muellerhoff", cursive;
  font-size: 4rem;
  color: #cdad96; color: var(--tan);
  line-height: 1;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-primary { background: #a3282a; background: var(--red); color: #fff; }
.btn-primary:hover { background: #7e1f21; background: var(--red-dark); color: #fff; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline:hover { background: #fff; color: #1a1a1a; color: var(--dark); }
.btn-light { background: #fff; color: #a3282a; color: var(--red); }
.btn-light:hover { background: #fef3f3; background: var(--pink); color: #7e1f21; color: var(--red-dark); }

/* ==================== Top bar ==================== */
.topbar {
  background: #1a1a1a; background: var(--dark);
  font-size: 15px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}
.top-menu {
  list-style: none;
  display: flex;
  gap: 26px;
}
.top-menu a {
  color: #ddd;
  font-weight: 600;
  line-height: 40px;
  display: block;
}
.top-menu a:hover { color: #fff; }
.social-icons {
  list-style: none;
  display: flex;
  gap: 8px;
}
.social-icons a {
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}
.social-icons a:hover { color: #fff; }

/* ==================== Header ==================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo img { max-height: 72px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
}
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}
.main-nav a:hover { color: #a3282a; color: var(--red); }
.main-nav .active a { color: #a3282a; color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: .25s;
}

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.45);
  z-index: -1;
}
.hero-content { padding: 90px 20px; }
.hero-content h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* Small page banner for interior pages */
.page-banner {
  background: #a3282a; background: var(--red);
  padding: 34px 0;
}
.page-banner h1 {
  color: #fff;
  margin: 0;
  font-size: 2.2rem;
}

/* ==================== Sections ==================== */
.section { padding: 60px 0; }
.section-pink { background: #fef3f3; background: var(--pink); }
.section-red { background: #a3282a; background: var(--red); padding: 34px 0; }
.section-red h2, .section-red h1 { color: #fff; margin: 0; text-align: center; }

.section-title-red { color: #a3282a; color: var(--red); }
.text-center { text-align: center; }

.two-col {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 44px;
  align-items: center;
}
.two-col.flip { grid-template-columns: 5fr 7fr; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Feature boxes (Prepared Fresh / Quality Ingredients / Drinks) */
.feature-box { text-align: center; }
.feature-box img {
  margin: 0 auto 20px;
  max-height: 90px;
  width: auto;
}
.feature-box h4 { color: #333; }

/* Photo cards */
.photo-card figcaption {
  font-family: "Merriweather", serif;
  font-size: 1.1rem;
  color: #333;
  text-align: center;
  padding: 14px 0 0;
}
.photo-card img { width: 100%; object-fit: cover; }

/* ==================== Testimonials ==================== */
.testimonials {
  background: #a3282a; background: var(--red);
  color: #fff;
  padding: 55px 0;
  text-align: center;
}
.testimonials h2 { color: #fff; margin-bottom: 30px; }
.testimonial-slider { position: relative; max-width: 820px; margin: 0 auto; min-height: 170px; }
.testimonial-item {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transition: opacity .8s;
  pointer-events: none;
}
.testimonial-item.active { opacity: 1; position: relative; pointer-events: auto; }
.testimonial-item p {
  font-size: 1.15rem;
  font-style: italic;
  color: #fff;
  margin-bottom: 14px;
}
.testimonial-item span {
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: .9rem;
}
.testimonial-dots { margin-top: 24px; }
.testimonial-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  margin: 0 5px;
  cursor: pointer;
  padding: 0;
}
.testimonial-dots button.active { background: #fff; }

/* ==================== Forms ==================== */
.form-card {
  background: #fff;
  padding: 34px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: #333;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 16px;
  color: #333;
  background: #fff;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #a3282a; outline: 2px solid var(--red);
  outline-offset: -1px;
}
.radio-row { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-row label { font-weight: 400; display: flex; align-items: center; gap: 6px; margin: 0; }

/* Honeypot field — hidden from humans */
.hp-field { position: absolute; left: -6000px; opacity: 0; height: 0; overflow: hidden; }

.alert {
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 16px;
}
.alert-success { background: #e7f6e7; color: #1e6b1e; border: 1px solid #b7e2b7; }
.alert-error   { background: #fdecec; color: #a3282a; border: 1px solid #f3c1c1; }

/* ==================== Footer ==================== */
.site-footer {
  background: #000;
  color: #fff;
  margin-top: 0;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 45px;
}
.footer-box h3 { color: #fff; font-size: 1.25rem; }
.footer-box p { color: #fff; font-size: 16px; margin-bottom: 8px; }
.footer-box a { color: #fff; }
.footer-box a:hover { color: #cdad96; color: var(--tan); }
.footer-icon {
  color: #cdad96; color: var(--tan);
  margin-bottom: 12px;
}
.copyright-bar {
  background: rgba(255,255,255,.1);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: 14px;
  color: #ccc;
}
.copyright-bar a { color: #ccc; }
.copyright-bar a:hover { color: #fff; }

/* ==================== Legal pages ==================== */
.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.legal-content ul { margin: 0 0 1em 24px; }

/* ==================== Responsive ==================== */
@media (max-width: 991px) {
  .two-col, .two-col.flip { grid-template-columns: 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-columns { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 1.9rem; }
  .hero-content h1 { font-size: 1.9rem; }
  .topbar-inner { justify-content: center; }
  .topbar .social-icons { display: none; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .main-nav a { padding: 12px 6px; border-top: 1px solid #eee; }
}


