/* ============================================
   Sit Happens - Main Stylesheet
   CIS 300 | Reilly Kelly | rfkelly
   ============================================ */

/* ---- CSS VARIABLES (from realtimecolors.com) ---- */
:root {
  --text: #050316;
  --background: #fbfbfe;
  --primary: #ffdbf2;
  --secondary: #9edca1;
  --accent: #ffffff;

  /* Additional custom variables */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Nunito', sans-serif;
  --shadow: 0 4px 20px rgba(5, 3, 22, 0.08);
  --radius: 12px;
  --max-width: 1100px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* ---- HEADER ---- */
.site-header {
  background-color: var(--primary);
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--text);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  border: 2px solid var(--text);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
}

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

.header-nav {
  display: flex;
  gap: 0.75rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
  background-color: var(--text);
  color: var(--accent);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: opacity 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--text);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 2px solid var(--text);
  font-weight: 700;
  font-family: var(--font-body);
  transition: background-color 0.2s;
  display: inline-block;
}

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

.btn-outline {
  background-color: transparent;
  color: var(--text);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  border: 2px solid var(--text);
  font-weight: 700;
  font-family: var(--font-body);
  transition: background-color 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  background-color: var(--secondary);
}

/* ---- NAVIGATION ---- */
.main-nav {
  background-color: var(--text);
  padding: 0.75rem 2rem;
}

.main-nav ul {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.subpage-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.subpage-hero {
  background-color: var(--primary);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  text-align: center;
  padding: 2rem 1.25rem;
  margin-bottom: 2rem;
}

.subpage-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.35rem;
}

.subpage-hero p {
  font-size: 1rem;
  opacity: 0.85;
}

.page-hero-logo {
  width: 44px;
  height: auto;
  margin: 0 auto 0.45rem;
  display: block;
}

.content-section {
  background-color: var(--accent);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.content-section h2 {
  margin-bottom: 0.75rem;
}

.content-section p {
  margin-bottom: 0.8rem;
}

.table-wrap {
  overflow-x: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.info-table th,
.info-table td {
  border: 1px solid rgba(5, 3, 22, 0.2);
  padding: 0.7rem;
  text-align: left;
}

.info-table th {
  background-color: var(--secondary);
}

.video-wrap {
  border: 2px solid var(--text);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0.75rem 0;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(5, 3, 22, 0.2);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font-family: var(--font-body);
  font-size: 1rem;
}

.contact-form .btn-primary {
  margin-top: 0.6rem;
  width: fit-content;
}

.contact-photo {
  width: 100%;
  max-width: 520px;
  border: 2px solid var(--text);
}

/* ---- MAIN / HERO ---- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--text);
  /* Placeholder style until you add your own photo */
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  min-height: 280px;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.hero-dog-logo {
  width: 40px;
  height: auto;
  margin-bottom: 0.5rem;
}

.hero-text .subheading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  font-style: italic;
}

.hero-text p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---- FEATURES ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-card {
  background-color: var(--accent);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(5, 3, 22, 0.12);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.85;
}

/* ---- TWO COLUMN SECTION ---- */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background-color: var(--secondary);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--text);
}

.testimonials h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text);
}

.testimonials li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed rgba(5, 3, 22, 0.2);
}

.testimonials li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.testimonials p {
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.testimonials span {
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---- BLOG POSTS ---- */
.blog-posts {
  background-color: var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--text);
}

.blog-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--text);
}

.blog-item {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed rgba(5, 3, 22, 0.2);
}

.blog-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.blog-item h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.blog-item h4 a:hover {
  text-decoration: underline;
}

.blog-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--text);
  color: var(--accent);
  padding: 2.5rem 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.footer-dog-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--primary);
}

.social-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--secondary);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .two-col-section {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo-main {
    height: 38px;
  }

  .main-nav ul {
    justify-content: center;
    gap: 1rem;
  }

  .subpage-hero h1 {
    font-size: 1.8rem;
  }
}

/* ============================================
   Services Page Styles
   Consolidated into styles.css for CIS300
   ============================================ */

/* PAGE HERO */
.page-hero {
  background-color: var(--primary);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  border-bottom: 2px solid var(--text);
}

.page-hero-logo {
  width: 42px;
  height: auto;
  margin: 0 auto 0.5rem;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  opacity: 0.8;
}

/* MAIN WRAPPER */
.services-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* INTRO TEXT */
.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.85;
}

/* SERVICE CARDS GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.service-card {
  background-color: var(--accent);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(5, 3, 22, 0.14);
}

/* Featured card gets the secondary (green) accent */
.service-card.featured {
  background-color: var(--secondary);
  border-width: 3px;
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2.75rem;
  line-height: 1;
}

.service-card h2 {
  font-size: 1.6rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

/* PRICING TABLE */
.pricing-table {
  border-top: 1px solid rgba(5, 3, 22, 0.15);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-label {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}

.price-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(5, 3, 22, 0.25);
  margin: 0 0.35rem;
  margin-bottom: 3px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

.price-row.additional .price-label,
.price-row.additional .price-amount {
  opacity: 0.7;
  font-size: 0.82rem;
}

.price-row.overnight {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(5, 3, 22, 0.2);
}

.price-row.overnight .price-label,
.price-row.overnight .price-amount {
  font-weight: 700;
  color: var(--text);
}

.price-row.overnight .price-amount {
  font-size: 1.05rem;
}

/* CTA BUTTON inside card */
.service-cta {
  margin-top: auto;
  text-align: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
}

/* GOOD TO KNOW SECTION */
.service-notes {
  margin-bottom: 3rem;
}

.service-notes h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.note-item {
  background-color: var(--primary);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.note-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.note-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.note-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* CTA BANNER */
.cta-banner {
  background-color: var(--text);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.cta-banner h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.cta-banner .btn-primary {
  background-color: var(--primary);
  color: var(--text);
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

.cta-banner .btn-primary:hover {
  opacity: 0.9;
}

/* SERVICES RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
