/*
Theme Name: heidi
Theme URI: https://heidiscanlon.com
Author: David Huffman
Description: A warm, personal blog theme inspired by classic lifestyle blogs
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heidiauthorblog
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Import Poppins from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  background-color: #fbf9f4;
  font-weight: 400;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.container {
  max-width: 2000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
}

/* Header Styles - Split Navigation */
.site-header {
  background-color: #fbf9f4;
  padding: 30px 20px 0px;
  text-align: center;
  border-bottom: none;
}

.site-header .container {
	position:relative;
}
/* Split navigation with forced center logo alignment */
.site-navigation-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  padding: 20px 0;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  min-height: 240px;
}

/* Left menu positioned absolutely left */
.nav-left {
  display: flex;
  list-style: none;
  gap: 45px;
  margin: 0;
  padding: 0;
  align-items: center;
  padding-bottom: 0;
}

/* Logo in center - PERFECTLY centered on desktop, normal flow on mobile */
.site-logo-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

.site-logo-center .custom-logo {
  max-width: min(30vw, 450px);
  max-height: min(12vw, 200px);
  width: auto;
  height: auto;
  display: block;
}

.site-logo-center .site-title {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  letter-spacing: 2px;
  display: block;
}

/* Right menu - absolutely positioned to right */
.nav-right {
  display: flex;
  list-style: none;
  gap: 45px;
  margin: 0;
  padding: 0;
  align-items: center;
  padding-bottom: 0;
}

/* Menu link styling */
.site-navigation-split a {
  text-decoration: none;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-navigation-split a:hover {
  color: #FF6600;
}

/* Orange separator line under header */
.site-header::after {
  content: '';
  display: block;
  width: 100%;
  max-width: 1800px;
  height: 2px;
  background-color: #FF6600;
  margin: 20px auto 0;
}

/* Hide old navigation if it exists */
.site-navigation {
  display: none;
}

/* Search Icon + Text Styling */
.search-icon a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-decoration: none;
}

.search-text {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  color: #000000;
  transition: color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.search-icon a:hover .search-text {
  color: #FF6600;
}

.search-icon svg {
  width: 18px;
  height: 18px;
  stroke: #000000;
  transition: stroke 0.3s ease;
  flex-shrink: 0;
}

.search-icon a:hover svg {
  stroke: #FF6600;
}

/* Search Form Container */
.search-form-container {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  background: #FFFFFF;
  margin: 0 auto;
  max-width: 600px;
  border-radius: 0;
}

.search-form-container.active {
  max-height: 100px;
  opacity: 1;
  padding: 20px 30px;
  margin-top: 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Search Form Styling */
.search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-field {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #FFE5D9;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
}

.search-field:focus {
  border-color: #FF6600;
}

.search-submit {
  padding: 12px 20px;
  background-color: #FF6600;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.search-submit:hover {
  background-color: #E65C00;
}

.search-submit svg {
  stroke: #ffffff;
  width: 18px;
  height: 18px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 2px solid #000000;
  padding: 10px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  color: #000000;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

/* Responsive for smaller laptops (13-15 inch) */
@media (max-width: 1440px) {
  .site-navigation-split {
    gap: 30px;
  }
  
  .nav-left,
  .nav-right {
    gap: 30px;
  }
}

@media (max-width: 1200px) {
  .site-navigation-split {
    gap: 20px;
  }
  
  .nav-left,
  .nav-right {
    gap: 25px;
  }
  
  .site-navigation-split a {
    font-size: 11px;
  }
}

/* Mobile Navigation */
@media (max-width: 1024px) {
  .site-header {
    padding: 15px 10px 10px;
  }
  
  .site-header .container {
    max-width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Logo comes first on mobile - always visible */
  .site-logo-center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    order: 1;
    margin: 20px auto;
    display: block !important;
  }
  
  .site-logo-center .custom-logo {
    max-width: 280px !important;
    max-height: 140px !important;
    margin: 0 auto;
    display: block !important;
  }
  
  /* Menu toggle comes second */
  .mobile-menu-toggle {
    display: block;
    order: 2;
    margin: 10px auto;
  }
  
  /* Nav comes third - collapsed by default */
  .site-navigation-split {
    display: block;
    min-height: auto;
    padding: 0;
    order: 3;
    width: 100%;
  }
  
  .nav-left,
  .nav-right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 15px 0;
    border: none;
  }
  
  .nav-left li,
  .nav-right li {
    padding: 0;
    border: none;
  }
  
  /* Hide navigation items by default on mobile */
  .site-navigation-split.mobile-hidden .nav-left,
  .site-navigation-split.mobile-hidden .nav-right {
    display: none !important;
  }
  
  /* Show when menu is opened */
  .site-navigation-split.active .nav-left,
  .site-navigation-split.active .nav-right {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Force all containers to respect viewport */
  * {
    max-width: 100vw;
  }
  
  .site-main,
  .site-main .container,
  .container,
  .blog-posts,
  article.post {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
  
  .site-header {
    padding: 10px 10px 10px;
    width: 100%;
  }
  
  .site-logo-center {
    display: block !important;
    visibility: visible !important;
  }
  
  .site-logo-center .custom-logo {
    max-width: 240px !important;
    max-height: 120px !important;
  }
  
  .site-navigation-split a {
    font-size: 13px;
    padding: 8px 0;
  }
  
  article.post {
    padding: 20px 15px !important;
    margin-bottom: 30px;
  }
  
  .post-title {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .post-meta {
    font-size: 11px;
  }
  
  .post-content,
  .post-excerpt {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .post-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  .post-date-social {
    font-size: 11px;
    flex-wrap: wrap;
  }
  
  .social-share {
    flex-wrap: wrap;
  }
  
  .site-main {
    padding: 20px 0 !important;
  }
  
  .post-thumbnail img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 400px) {
  .post-title {
    font-size: 18px;
  }
  
  .post-content,
  .post-excerpt {
    font-size: 14px;
  }
  
  .post-meta {
    font-size: 10px;
  }
  
  article.post {
    padding: 15px 10px !important;
  }
}

/* Main Content Area */
.site-main {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 40px;
}

@media (max-width: 768px) {
  .site-main {
    padding: 20px 15px;
  }
}

.site-main .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  max-width: 2000px;
  width: 100%;
}

/* Blog Posts Container - Transparent background */
.blog-posts {
  background: transparent;
  padding: 0;
  margin-bottom: 0;
  width: 100%;
  box-shadow: none;
  min-width: 0;
}

@media (max-width: 768px) {
  .site-main .container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0;
    width: 100%;
  }
}

/* Post Article - White cards */
article.post {
  background: #FFFFFF;
  padding: 50px 60px;
  margin-bottom: 60px;
  border-bottom: 2px solid #FF6600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

article.post:last-child {
  border-bottom: 2px solid #FF6600;
}

@media (max-width: 768px) {
  article.post {
    padding: 30px 25px;
  }
}

/* Post Header */
.post-header {
  margin-bottom: 25px;
}

.post-title {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.post-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #FF6600;
}

.post-meta {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 500;
}

.post-meta span {
  margin-right: 15px;
}

.post-category {
  color: #FF00FF;
  font-weight: 600;
}

/* Post Thumbnail */
.post-thumbnail {
  margin-bottom: 30px;
}

.post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Post Content */
.post-content,
.post-excerpt {
  font-size: 17px;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 25px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content p,
.post-excerpt p {
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content a {
  color: #FF00FF;
  text-decoration: underline;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content a:hover {
  color: #CC00CC;
}

.post-content h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 35px 0 20px;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content h3 {
  font-size: 22px;
  line-height: 1.4;
  margin: 30px 0 15px;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.post-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
}

.post-content blockquote {
  border-left: 4px solid #FF00FF;
  padding-left: 25px;
  margin: 30px 0;
  font-style: italic;
  color: #2C3E50;
  font-size: 18px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.post-content li {
  margin-bottom: 8px;
}

/* Read More Link */
.read-more {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FF00FF;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #CC00CC;
}

/* Post Footer - Social Share and Comments */
.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
}

.post-date-social {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.post-date-stamp {
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-share span {
  color: #000000;
}

.social-share a {
  color: #FF6600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-share a:hover {
  color: #E65C00;
}

.post-comments-link {
  color: #000000;
  text-decoration: none;
  font-weight: 400;
}

.post-comments-link .comment-label {
  color: #000000;
  margin-right: 5px;
}

.post-comments-link .comment-count {
  color: #FF6600;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.post-comments-link:hover .comment-count {
  color: #E65C00;
}

@media (max-width: 768px) {
  .post-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .post-date-social {
    width: 100%;
  }
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 40px 0;
  font-family: 'Poppins', sans-serif;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  text-decoration: none;
  border: 1px solid #FFE5D9;
  transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
  background-color: #FF6600;
  color: #fff;
  border-color: #FF6600;
}

/* Sidebar - White cards */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar .widget {
  background: #FFFFFF;
  padding: 35px 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: none;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #FFE5D9;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.widget ul {
  list-style: none;
}

.widget li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.widget a {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.widget a:hover {
  color: #FF00FF;
}

/* Social Media Widget */
.widget.widget-social-media {
  text-align: center;
}

.widget.widget-social-media h3 {
  font-family: 'Poppins', serif;
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 25px;
  color: #000000;
}

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

.social-icons-list li {
  padding: 0 20px;
  border-right: 1px solid #FF00FF;
  margin: 0;
}

.social-icons-list li:last-child {
  border-right: none;
}

.social-icons-list a {
  color: #FF6600;
  font-size: 24px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons-list a:hover {
  color: #E65C00;
}

.contact-link {
  margin-top: 20px;
  display: block;
}

.contact-link a {
  color: #FF00FF;
  font-size: 14px;
  font-style: italic;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link a:hover {
  color: #CC00CC;
  text-decoration: underline;
}

/* Newsletter Section - White card */
.newsletter-section {
  grid-column: 1 / -1;
  background-color: #FFFFFF;
  padding: 50px 40px;
  text-align: center;
  margin-bottom: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: 3px solid #FF6600;
}

.newsletter-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.newsletter-section p {
  font-size: 16px;
  color: #000000;
  margin-bottom: 25px;
}

.newsletter-form {
  max-width: 450px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #FFE5D9;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
}

.newsletter-form button {
  padding: 12px 35px;
  background-color: #FF6600;
  color: #fff;
  border: none;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #E65C00;
}

/* Footer */
.site-footer {
  background-color: #FF00FF;
  color: #fff;
  padding: 50px 20px 30px;
  text-align: center;
  max-width: 2000px;
  margin: 0 auto;
}

.footer-content {
  max-width: 700px;
  margin: 0 auto 30px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section {
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 14px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #E8E8D0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #FF6600;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #000000;
  font-size: 12px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Comments Section - White card */
.comments-area {
  background: #FFFFFF;
  padding: 50px 60px;
  margin-top: 40px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border-top: 3px solid #FF6600;
}

@media (max-width: 768px) {
  .comments-area {
    padding: 30px 25px;
  }
}

.comments-title {
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 600;
  color: #000000;
  font-family: 'Poppins', sans-serif;
}

.comment-list {
  list-style: none;
}

.comment {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #FFE5D9;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #000000;
}

.comment-date {
  font-size: 12px;
  color: #000000;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.comment-content {
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
}

/* Single Post Specific */
.single .site-main .container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}

.single .blog-posts {
  grid-column: 1;
  background: transparent;
  padding: 0;
}

.single article.post {
  background: #FFFFFF;
  padding: 50px 60px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.single .sidebar {
  grid-column: 2;
}

.single .post-content {
  font-size: 18px;
  line-height: 1.8;
}

.single .post-title {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .site-main .container,
  .single .site-main .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .single .post-title {
    font-size: 30px;
  }
  
  .post-title {
    font-size: 26px;
  }
}

/* Force search text to show - debug */
.search-text {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Coming Soon Modal Styles */
.social-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.social-modal-content {
  background-color: #FFFFFF;
  margin: 15% auto;
  padding: 40px 50px;
  border-top: 4px solid #FF6600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: slideDown 0.3s ease;
  text-align: center;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.social-modal-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
}

.social-modal-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.6;
  margin: 0;
}

.social-modal-close {
  color: #000000;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-modal-close:hover,
.social-modal-close:focus {
  color: #FF6600;
}

/* Make coming soon links appear clickable but slightly dimmed */
.coming-soon-link {
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.coming-soon-link:hover {
  opacity: 1;
}