/* Dr Coleen Jones — Mobile-First Responsive Stylesheet
   Based on Cork Psychotherapy & Counselling Centre visual identity */

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

body {
  background: #EEEDED;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  text-align: justify;
  -webkit-text-size-adjust: 100%;
}

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

a { color: #F06C00; }
a:hover { text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  color: #F06C00;
  text-align: left;
}

ul { margin-left: 1.5em; padding-left: 0; list-style-type: circle; }
ul li { margin-bottom: .3em; }

/* ===== LAYOUT WRAPPER ===== */
.site-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

/* ===== HEADER ===== */
#header {
  background: url(images/image01.jpg) no-repeat center center;
  background-size: cover;
  color: #fff;
  padding: 1.2em 1em;
  text-align: center;
  position: relative;
}
#header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(232, 104, 0, 0.55);
}

#header h1 {
  color: #fff;
  font-size: 1.25em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .15em;
  position: relative;
  z-index: 1;
}

#header h1 a { color: #fff; text-decoration: none; }

#header .tagline {
  font-size: .85em;
  color: rgba(255,255,255,.9);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
#menu {
  background: #333;
  position: relative;
}

#menu-toggle {
  display: block;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: .85em 1em;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

#menu-toggle::after {
  content: '\2630';
  float: right;
  font-size: 1.2em;
}

#menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

#menu ul.open { display: block; }

#menu li { border-top: 1px solid #444; }

#menu a {
  display: block;
  padding: .75em 1.2em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: .8em;
  letter-spacing: .5px;
}

#menu a:hover,
#menu a.active {
  background: #E86800;
}

/* ===== CONTENT AREA ===== */
#content-wrap {
  padding: 1.2em;
}

#content { overflow: hidden; }

#columnA h2 {
  border-bottom: 1px #FFA66B dashed;
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: bold;
  padding-bottom: .3em;
  margin-bottom: .8em;
}

#columnA strong, .content-strong {
  color: #555;
  font-size: 1em;
}

#columnA p { margin-bottom: 1em; }

#columnB {
  margin-top: 1.5em;
  text-align: left;
}

#columnB img {
  border-radius: 4px;
  margin-bottom: .8em;
}

#columnB h2 {
  font-size: .95em;
  font-weight: bold;
  color: #555;
  padding-top: .5em;
  margin-bottom: .4em;
}

#columnB strong {
  font-size: .85em;
  color: #575757;
}

#columnB p {
  font-size: .9em;
  line-height: 1.5;
}

/* ===== SIDEBAR CONTACT CARD ===== */
.sidebar-card {
  background: #f9f5f0;
  border-radius: 6px;
  padding: 1em;
  margin-top: .8em;
  text-align: left;
}

.sidebar-card strong { display: block; margin-top: .6em; }
.sidebar-card strong:first-child { margin-top: 0; }
.sidebar-card ul { margin-left: 1em; margin-bottom: 0; }
.sidebar-card a { white-space: nowrap; }

/* ===== BLOG ===== */
.blog-post-preview {
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #ddd;
}

.blog-post-preview h3 {
  font-size: 1.15em;
  font-weight: bold;
  margin-bottom: .3em;
}

.blog-post-preview .date {
  font-size: .8em;
  color: #999;
  margin-bottom: .6em;
}

.blog-post-preview .read-more {
  display: inline-block;
  margin-top: .5em;
  font-weight: bold;
  font-size: .9em;
}

/* Full blog post */
.blog-article h2 {
  border-bottom: 1px #FFA66B dashed;
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: bold;
  padding-bottom: .3em;
  margin-bottom: .8em;
}

.blog-article h3 {
  font-size: 1em;
  font-weight: bold;
  margin: 1.2em 0 .5em;
}

.blog-article p { margin-bottom: 1em; }

.blog-article blockquote {
  border-left: 3px solid #F06C00;
  margin: 1em 0;
  padding: .6em 1em;
  color: #666;
  font-style: italic;
  background: #faf7f3;
}

.blog-article .attribution {
  text-align: right;
  font-size: .9em;
  color: #888;
  margin-top: -.5em;
  margin-bottom: 1em;
}

/* ===== CONTACT TABLE ===== */
.contact-details { margin: 1em 0; }

.contact-details dt {
  font-weight: bold;
  color: #555;
  margin-top: .6em;
}

.contact-details dd {
  margin-left: 0;
  margin-bottom: .3em;
}

/* Google Map embed */
.map-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1em 0;
  border-radius: 4px;
}

.map-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== QUOTES ===== */
.quote {
  font-style: italic;
  color: #666;
  margin: 1em 0;
  padding: .6em 0;
}

.quote .source {
  display: block;
  text-align: right;
  font-size: .85em;
  color: #888;
  margin-top: .3em;
}

/* ===== CTA BUTTON ===== */
.btn {
  display: inline-block;
  background: #E86800;
  color: #fff;
  padding: .6em 1.5em;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: .85em;
  border-radius: 3px;
  letter-spacing: .5px;
  min-height: 44px;
  line-height: 44px;
  padding-top: 0;
  padding-bottom: 0;
}

.btn:hover { background: #d45e00; color: #fff; }

/* ===== FOOTER ===== */
#footer {
  background: #333;
  color: #ccc;
  text-align: center;
  padding: 1em;
  font-size: .8em;
}

#footer a { color: #FFA66B; }
#footer a:hover { color: #fff; }

/* ===== DESKTOP BREAKPOINT (768px+) ===== */
@media (min-width: 768px) {
  body { margin-top: 20px; }

  #header {
    padding: 1.8em 2em;
  }

  #header h1 { font-size: 1.6em; }
  #header .tagline { font-size: .95em; }

  /* Desktop nav: horizontal bar */
  #menu-toggle { display: none; }

  #menu ul {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
  }

  #menu li { border-top: none; }

  #menu a {
    padding: .7em 1.4em;
    margin: .4em .15em;
    background: #E86800;
    border-radius: 2px;
    font-size: .75em;
  }

  #menu a:hover,
  #menu a.active {
    background: #d45e00;
  }

  /* Two-column layout */
  #content-wrap { padding: 1.5em 2em; }

  #content {
    display: flex;
    gap: 2em;
  }

  #columnA {
    flex: 1;
    order: 2;
  }

  #columnB {
    width: 180px;
    flex-shrink: 0;
    order: 1;
    margin-top: 0;
  }

  /* Footer horizontal */
  #footer { padding: 1.2em 2em; }
}

/* ===== LARGE SCREENS ===== */
@media (min-width: 960px) {
  .site-wrap {
    box-shadow: 0 0 12px rgba(0,0,0,.1);
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  #columnB { width: 200px; }
}
