/*
Theme Name: House of Hobbs – Coming Soon
Theme URI: https://houseofhobbs.com
Author: House of Hobbs
Author URI: https://houseofhobbs.com
Description: A warm farmhouse-style coming soon page for The House of Hobbs — Faith · Family · Home. Features social media integration for Facebook and TikTok.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: coming-soon, one-page, custom-background, custom-logo, full-width-template
Text Domain: house-of-hobbs
*/

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

:root {
  --cream:       #f5f0eb;
  --cream-dark:  #ede5db;
  --olive:       #7d7a5a;
  --olive-light: #a8a57e;
  --brown:       #2a2118;
  --brown-mid:   #5c4a35;
  --warm-white:  #fdfaf7;
  --border:      rgba(125, 122, 90, 0.3);
  --shadow:      rgba(42, 33, 24, 0.12);
  --font-serif:  'Playfair Display', 'Georgia', serif;
  --font-sans:   'Lato', 'Helvetica Neue', sans-serif;
  --transition:  all 0.3s ease;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--brown);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--olive);
  margin: 20px auto;
  border-radius: 2px;
}

/* ============================================================
   HERO — SPLIT LAYOUT
   ============================================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

/* Left panel — collage */
.hero__photo {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 70%,
    rgba(245, 240, 235, 0.6) 100%
  );
  pointer-events: none;
}

/* Right panel — content */
.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 48px;
  background-color: var(--cream);
  position: relative;
}

.hero__content::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--olive-light), transparent);
}

.hero__logo {
  width: min(280px, 80%);
  margin-bottom: 36px;
  filter: drop-shadow(0 4px 12px var(--shadow));
}

.hero__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--brown);
  margin-bottom: 12px;
  font-style: italic;
}

.hero__subtitle {
  font-size: 0.95rem;
  color: var(--brown-mid);
  max-width: 380px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Olive leaf ornament */
.ornament {
  display: inline-block;
  color: var(--olive);
  font-size: 1.2rem;
  margin: 0 6px;
  opacity: 0.7;
}

/* ============================================================
   COUNTDOWN TIMER
   ============================================================ */
.countdown {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px 12px;
  min-width: 72px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: var(--transition);
}

.countdown__unit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow);
}

.countdown__num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brown);
  line-height: 1;
  min-width: 2ch;
}

.countdown__label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  margin-top: 6px;
}

/* ============================================================
   EMAIL SIGNUP
   ============================================================ */
.signup {
  width: 100%;
  max-width: 400px;
  margin-bottom: 44px;
}

.signup__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}

.signup__form {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--olive-light);
  border-radius: 8px;
  overflow: hidden;
  background: var(--warm-white);
  transition: var(--transition);
}

.signup__form:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(125, 122, 90, 0.15);
}

.signup__input {
  flex: 1;
  padding: 13px 16px;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--brown);
}

.signup__input::placeholder {
  color: var(--olive-light);
}

.signup__btn {
  padding: 13px 20px;
  background: var(--olive);
  color: var(--warm-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
}

.signup__btn:hover {
  background: var(--brown-mid);
}

.signup__success {
  display: none;
  font-size: 0.85rem;
  color: var(--olive);
  margin-top: 10px;
  font-style: italic;
}

/* ============================================================
   SOCIAL FOLLOW LINKS (Hero area)
   ============================================================ */
.social-follow {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
}

.social-follow__label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
}

.social-follow__links {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: 1.5px solid transparent;
}

.social-btn--facebook {
  background: #1877F2;
  color: #fff;
}

.social-btn--facebook:hover {
  background: #0f5bb5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.social-btn--tiktok {
  background: #010101;
  color: #fff;
}

.social-btn--tiktok:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 1, 1, 0.3);
}

.social-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about {
  background: var(--cream-dark);
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about__pillars {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.pillar {
  text-align: center;
}

.pillar__icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.pillar__text {
  font-size: 0.85rem;
  color: var(--brown-mid);
  max-width: 180px;
}

/* ============================================================
   FACEBOOK FEED SECTION
   ============================================================ */
.social-section {
  padding: 80px 0;
  text-align: center;
}

.social-section--fb {
  background: var(--warm-white);
}

.social-section--tt {
  background: var(--cream);
}

.social-section__heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 16px 0 12px;
}

.social-section__sub {
  font-size: 0.9rem;
  color: var(--brown-mid);
  max-width: 500px;
  margin: 0 auto 36px;
}

/* Facebook embed container */
.fb-embed-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
}

.fb-page-plugin {
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 24px var(--shadow);
}

/* TikTok profile card */
.tiktok-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: #010101;
  color: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  max-width: 360px;
  box-shadow: 0 8px 32px rgba(1,1,1,0.25);
}

.tiktok-card__icon {
  width: 64px;
  height: 64px;
}

.tiktok-card__handle {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.tiktok-card__desc {
  font-size: 0.85rem;
  opacity: 0.75;
  text-align: center;
  line-height: 1.7;
}

.tiktok-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #ff0050, #00f2ea);
  color: #fff;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.tiktok-card__btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 80, 0.4);
}

/* Social link cards row */
.social-links-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--brown);
  transition: var(--transition);
  min-width: 220px;
}

.social-link-card:hover {
  border-color: var(--olive);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow);
}

.social-link-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-link-card__icon--fb {
  background: #1877F2;
  color: #fff;
}

.social-link-card__icon--tt {
  background: #010101;
  color: #fff;
}

.social-link-card__icon svg {
  width: 22px;
  height: 22px;
}

.social-link-card__name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.social-link-card__handle {
  font-size: 0.78rem;
  color: var(--olive);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--brown);
  color: rgba(245, 240, 235, 0.7);
  padding: 48px 0 32px;
  text-align: center;
}

.site-footer__logo {
  width: 100px;
  margin: 0 auto 20px;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

.site-footer__tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 8px;
  font-style: italic;
}

.site-footer__copy {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.site-footer__social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.site-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: var(--transition);
}

.site-footer__social a:hover {
  background: rgba(245, 240, 235, 0.1);
  border-color: rgba(245, 240, 235, 0.5);
  transform: translateY(-2px);
}

.site-footer__social svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   NOTIFICATION TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--brown);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1000;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__photo {
    min-height: 55vw;
    max-height: 480px;
  }

  .hero__photo::after {
    background: linear-gradient(
      to bottom,
      transparent 60%,
      rgba(245, 240, 235, 0.6) 100%
    );
  }

  .hero__content {
    padding: 48px 28px 60px;
  }

  .hero__content::before {
    display: none;
  }

  .countdown {
    gap: 10px;
  }

  .countdown__unit {
    min-width: 60px;
    padding: 12px 14px 10px;
  }

  .countdown__num {
    font-size: 1.6rem;
  }
}

@media (max-width: 600px) {
  .hero__content {
    padding: 36px 20px 48px;
  }

  .hero__logo {
    width: 200px;
  }

  .section { padding: 56px 0; }

  .social-links-row {
    flex-direction: column;
    align-items: center;
  }

  .social-link-card {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .about__pillars {
    gap: 28px;
  }
}

@media (max-width: 400px) {
  .countdown {
    gap: 8px;
  }
  .countdown__unit {
    min-width: 54px;
    padding: 10px 10px 8px;
  }
  .signup__btn {
    padding: 13px 14px;
    font-size: 0.72rem;
  }
}
