/*
Theme Name: DreamLab
Description: Custom theme for DreamLab - Dream Therapy & Workshops
Version: 2.0
*/

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  color: #444;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: #c9a96e; text-decoration: none; transition: color 0.3s; }
a:hover { color: #a8873d; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; }

/* === TOP BAR === */
.top-bar {
  background: #333;
  color: #aaa;
  font-size: 0.75em;
  padding: 6px 20px;
  letter-spacing: 0.5px;
}

/* === HEADER === */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

.site-logo a {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8em;
  color: #333;
  letter-spacing: 3px;
  text-decoration: none;
}

/* === HAMBURGER MENU === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === NAVIGATION === */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.main-nav li { display: inline-block; }

.main-nav a {
  color: #555;
  font-size: 0.8em;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 12px;
  display: block;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a {
  color: #c9a96e;
}

/* === CONTENT === */
.front-page-content,
.page-content {
  max-width: 100%;
}

.entry-content {
  max-width: 100%;
}

.page-content .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* === SIDEBAR LAYOUT === */
.content-sidebar-wrap {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  padding: 0 20px;
}

.content-area { flex: 1; }

.sidebar {
  width: 280px;
  flex-shrink: 0;
  padding-top: 40px;
}

/* === FOOTER === */
.site-footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 50px 20px 30px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  color: #c9a96e;
  font-size: 1em;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a { color: #aaa; }
.footer-col a:hover { color: #c9a96e; }

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #777;
  font-size: 0.85em;
}

/* === BLOG POSTS === */
.blog-post {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.blog-post h2 a { color: #333; }
.blog-post h2 a:hover { color: #c9a96e; }

.post-meta {
  color: #999;
  font-size: 0.85em;
  margin-bottom: 15px;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide nav by default on mobile */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 0;
  }

  .main-nav li {
    display: block;
    text-align: center;
  }

  .main-nav a {
    padding: 12px 20px;
    font-size: 0.9em;
    border-bottom: 1px solid #f5f5f5;
  }

  /* Header */
  .site-logo a {
    font-size: 1.4em;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
  }

  /* Sidebar */
  .content-sidebar-wrap {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  /* Homepage hero adjustments */
  .homepage-hero {
    min-height: 350px !important;
  }

  .homepage-hero h1 {
    font-size: 1.4em !important;
  }

  .homepage-hero p {
    font-size: 0.7em !important;
  }
}

@media (max-width: 480px) {
  .homepage-hero {
    min-height: 280px !important;
  }

  .homepage-hero h1 {
    font-size: 1.2em !important;
  }

  .top-bar {
    font-size: 0.65em;
  }

  .site-logo a {
    font-size: 1.2em;
  }
}


/* === PAGE TITLES === */
.page-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2em;
  font-weight: 400;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

/* === INNER PAGE CONTENT === */
.page-content .entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  line-height: 1.8;
}

.page-content .entry-content p {
  margin-bottom: 1.2em;
  color: #555;
}

.page-content .entry-content img {
  margin: 10px 15px 10px 0;
}

.page-content .entry-content a {
  color: #c9a96e;
  text-decoration: underline;
}

.page-content .entry-content h2,
.page-content .entry-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #333;
}

/* === FOOTER LINK STYLES === */
.site-footer a {
  color: #c9a96e;
}
.site-footer a:hover {
  color: #e0c080;
}
.site-footer ul {
  list-style: none;
  padding: 0;
}
.site-footer li {
  margin-bottom: 6px;
}
.site-footer p {
  line-height: 1.6;
  color: #aaa;
}
